Prefer a console? The dashboard does all of this in a UI — create agents and credentials, watch and steer sessions live, and inspect webhook deliveries. The API and SDK below are the same surface, scripted.
Core behavior
Built-in runtime supervision
- Runtime crashes restart automatically
- Idle sessions hibernate and wake on the next message
- Hung runs stop cleanly instead of staying stuck
Built-in brain / hands sandboxing
- Brain: agent loop. Hands: files and commands.
- Untrusted work stays contained in the hands sandbox
- Your model key stays in the secret store, never in a sandbox
Live streaming and steering
- Stream events directly from the browser with a session token
- Reconnect from any
seqwithout gaps - Send follow-up messages without exposing your org key
Webhook delivery
- Deliver user-level events to your webhook
- Signed with Standard Webhooks
- Retried, dead-lettered, inspectable, and redeliverable
Flue uses the same session, event, steering, and webhook APIs on a different execution substrate. Your compiled Flue app is the runtime, each session gets its own Durable Object, and no Linux sandbox is created unless the app explicitly uses
ocSandbox.Get started
1
Define an agent
Create a reusable
{ name, model, prompt, runtime } from your backend, using runtime: "claude" for Anthropic models or "codex" for OpenAI models. Run Managed (credential: "managed", billed to your OpenComputer credits) or pass your own model key. Built-in runtime deployments support isolated revisions, skills, repo push-to-deploy, and pointer rollback. To deploy your own Flue app instead, use the Flue guide. (Agents)2
Start a session
Start a session with
{ agent, input }. The agent starts immediately and returns a browser-safe client_token.Architecture
When to use sessions
Use sessions for long-running or interactive agents. For a one-shot command, use a sandbox directly.Next steps
Quickstart
Start a session, stream events, and steer it with concise REST examples.
Events
Event shape, visibility levels, cursors, and resume behavior.
Session lifecycle
Statuses, events, results, and limits.
Repos & GitHub
Private repo checkout with GitHub access kept outside the agent sandbox.
Example apps
A repo of examples built on this API.