Agent, Environment, Session, and Event
| Concept | Description | Analogy |
|---|---|---|
| Agent | A cloud Agent powered by an installed Agent program. | Cloud teammate |
| Environment | The Agent program, sandbox, model connection, network access, and lifecycle used for a Session. | Desk and toolbox |
| Session | One stateful Agent execution, including its messages, Events, and current state. | A specific piece of work |
| Event | The real-time output and state changes produced by a Session. | Live progress feed |
From deployment to a running Agent
Deploy AstraBox
Run the AstraBox service and OpenSandbox on a Docker host, Kubernetes, or infrastructure you already operate.
Configure an Environment
Choose the Agent program, sandbox image, model connection, network access, and lifecycle.
Create an Agent
Select the Environment and model. Add a system prompt, MCP servers, Plugins, Skills, or a repository only when the Agent needs them.
Start a Session and follow Events
Send a message, follow live output, answer questions or approvals, and return later without keeping the original browser open.
Put cloud Agents to work in your products and operations
Let work continue after you disconnect
Run coding, research, operations, and other tasks without depending on a developer computer or browser staying online.
Use Agents from your products
Start and follow Agent work from an application without building and operating another Agent runtime.
Run independent work in parallel
Start multiple Sessions for bulk requests while keeping each Session's state and output separate.
Start work on a schedule or event
Connect an Agent to schedules, webhooks, external systems, or messaging platforms and keep a Run record for every execution.
AstraBox keeps the Agent available; OpenSandbox runs its sandbox
Clients connect to AstraBox. AstraBox authenticates the caller, stores Session state, creates or resumes a sandbox through OpenSandbox, and sends work to the selected Agent program. Events stream back while Session history remains outside the sandbox.
- 01web console / APIrequests · live output
- 02Session servicestreaming · approvals · Session storage
- 03OpenSandboxsandbox lifecycle
- 04Agent programAstraBox sandbox service · workspace
- 05model serviceconfigured by the operator
Solid lines show live requests and events. The dashed line shows Session history stored by AstraBox. On snapshot-capable deployments, pausing preserves sandbox files; resuming starts fresh processes from those files.
Choose what you want to do next
Run AstraBox locally
Start the maintained Docker deployment, open the web console, and create an Agent. Follow the quickstart →
Deploy for a team
Add authentication, durable storage, TLS, backups, and the sandbox capacity your team needs. Read the deployment guide →
Connect AstraBox to your systems
Use the HTTP API with your applications, and connect your existing authentication, model, storage, and messaging services. Open the API guide →