What the platform handles for you
Self-healing, managed runtime
- Crash → auto-restart, picks up where it was
- Idle → hibernate (≈ free); an idle session survives sandbox loss
- You never restart anything — details
Brain / hands isolation
- The brain (agent loop) runs apart from the hands sandbox (its files + commands)
- Untrusted work stays contained
- Your model key never enters either sandbox — it lives in the secret store
Durable log & resume
- Every step in one ordered, durable log
- Reconnect from any cursor — nothing missed
Reliable delivery
- At-least-once, retried, dead-lettered
- Signed (Standard Webhooks); dedupe on
webhook-id
Get started
Define an agent (with your key)
A reusable
{ name, model, prompt, runtime } — POST /v3/agents. Pass your Anthropic key inline; it’s stored as a credential. (Agents)Start a session
POST /v3/sessions { agent, input } — the agent starts immediately; you get the session and a browser-safe client_token.How it works
When to use it
Reach for sessions when you want a long-running or interactive agent and don’t want to build the plumbing above yourself. For a one-shot command in a raw box, use a sandbox directly.Next steps
Quickstart
Start a session, stream it, and steer it in a few minutes.
How sessions work
How a session works — lifecycle and events.
Example apps
A repo of examples built on this API.