DOCUMENTATION

Everything you need to master Kairo.

Guides, API reference, Python sandbox docs, and examples.

Getting started
Quickstart guide
Your first prompt
Using the Code Lab
Core concepts
Prompt scoring system
Multi-model routing
Evaluation framework
API
Authentication
Prompts API
Sandbox API

Quick Start

  1. 1
    Sign up with email or Google. Your Starter workspace is created instantly.
  2. 2
    Browse the template library and fork any prompt into your workspace.
  3. 3
    Run it. Review the 6-dimension score. Iterate instantly.
  4. 4
    Drop into the Python Lab and run data analysis or agent code with zero setup.

Example: Python Lab

from kairo import Sandbox

sb = Sandbox()
result = sb.run("""
    import pandas as pd
    df = pd.read_csv("customers.csv")
    print(df.head())
""")
print(result.stdout)

API Reference (excerpt)

POST /v1/prompts/generate
Generate from template
Generate and score a prompt with variable substitution.
POST /v1/sandbox/execute
Execute code inside the secure sandbox. Returns stdout, stderr, and artifacts.
Full reference and SDKs (Python, TypeScript, Go) are available inside the app.