| Concept | What it is | Lifecycle | Use case |
|---|---|---|---|
| Agent | Configuration — snapshot, entrypoint, secrets, elasticity | Indefinite | Define once, reuse |
| Instance | Persistent sandbox, hibernates/wakes, multiplexes conversations | Long-lived | AI coworkers (Slack, Teams) |
| Session | Ephemeral sandbox, runs to completion | Bounded | Batch jobs, webhook handlers |
Base URL
Authentication
All requests require an OpenComputer API key viaX-API-Key. The key is passed through to the OC SDK for sandbox operations.