Choose the right fit
A home for the work, and a runtime for the computation.
Use Clanker Workspace for Project context, Sessions, configurable Agents, and reviewed saved deliverables. Use the standalone Sandbox API when an application or agent needs a programmatic hosted shell or runtime. Both can support agent work, but a Project and a sandbox have separate identities, access, persistence, and lifecycle rules.
Start with $20 in included credits. See usage and plans.
Start with the resource you are trying to manage
A workspace organizes the continuing job: its sources, instructions, conversations, reusable roles, and checked results. A sandbox supplies an execution resource with a particular identity, credentials, capabilities, and lifetime. An agent may need either or both, depending on whether the problem is retaining the work or running a computation.
In Clanker, the browser Workspace and standalone Sandbox API are distinct surfaces. Creating a Sandbox API resource does not create a Workspace Project or Session. A Project identifier is not a sandbox identifier, and a hosted MCP token is not a sandbox credential. Choose the intended resource before copying an example or issuing an action.
Compare the documented Clanker surfaces
| Question | Workspace | Standalone Sandbox API |
|---|---|---|
| What is the main object? | Project context and Sessions with saved work. | Returned runtime identity and its capabilities. |
| How does an agent connect? | Native tools, compatible hosted MCP, or supported HTTP access. | Dedicated Sandbox API contract and returned credentials. |
| What is persistent? | Saved Project material under applicable retention rules. | /data across compute sleep for the sandbox lifetime. |
| What ends compute? | The selected environment or worker’s controls and limits. | Runtime status, idle sleep, expiry, or deletion as applicable. |
| What should be inspected? | Actual saved files and task records. | Resource status, capabilities, operation results, and exported files. |
| What must not be assumed? | Every external agent has every native tool. | Sleep, expiry, and deletion preserve the same data. |
Distinguish sleep, stopping, and deletion
The Sandbox API runbook distinguishes scratch /workspace from sandbox-scoped persistent /data. Use the returned expiry and inspect the resource’s actual status. /data survives compute sleep, but deleting the sandbox removes sandbox-scoped data. Export needed results before authorized cleanup and keep the export location with the task record.
Workspace Projects retain saved material under their account and retention rules; their existence does not prove a particular cloud computer remains active. BYOA registration and successfully saved private files can also outlive bounded compute. None of these statements guarantees that unsaved process memory survives an interruption.
Keep authentication attached to its interface
Hosted Workspace MCP uses browser authorization and explicit permissions. Its grant can cover the connected user’s accessible Workspace; the selected Project is task context. Workspace HTTP uses a separately supported authenticated route. Follow the current live instructions rather than interchanging account cookies, CSRF values, and MCP tokens.
The Sandbox API has its own account or anonymous execution contract and returned sandbox credentials. Retain those for the same sandbox and task. Do not substitute a new anonymous resource after a timeout when an existing one may already hold the result. First inspect the known resource and reconcile what happened.
Use a Project for the decision and a runtime for the dependency
A fictional operations team comparing supplier terms benefits from a Project with the proposals, criteria, evidence table, and decision note. If the same task needs a script to normalize a large supplied dataset, identify a supported execution path for that calculation and save its inspected result with the continuing work.
A developer building a service that creates, inspects, and cleans up hosted runtimes may need Sandbox API directly. Follow that API’s capabilities and lifecycle instead of treating a browser Project as a generic shell endpoint. A successful shell command does not establish document preview, recurring work, or agent publication behavior.
Evaluate the whole path to a retained result
For either route, define the output, a check against known evidence, the next task, and a stop condition. Inspect the actual result before claiming completion. Record which resource produced it and where it now lives. A temporary runtime output is not a completed handoff until the intended reviewer can open the retained copy.
Review usage on the active surface and stop resources you no longer need. Closing a viewer may leave an environment running. Check current pricing, account capabilities, and service boundaries before a larger deployment. This comparison explains resource selection; it does not claim a universal sandbox limit or performance advantage over another provider.
Try it with a small example.
Copy into a Workspace Session. Opening Workspace does not send it automatically.
Before you use the result.
- Workspace and sandbox identifiers and credentials are not mixed.
- The persistence claim names the resource and event it survives.
- Needed outputs are inspected before cleanup.
- The next reviewer can access the retained result.
Common questions.
Is a Clanker Workspace Project a sandbox?
No. A Project groups continuing work, files, instructions, and Sessions. A standalone Sandbox API resource is a separate programmatic runtime with returned identity, capabilities, credentials, and expiry.
Does Sandbox API /data survive deletion?
No. The documented /data persistence covers compute sleep during the sandbox lifetime. Deleting the sandbox removes sandbox-scoped data. Export anything needed before authorized cleanup.
Can an agent use both a workspace and a sandbox?
A workflow can need lasting Project context and a separate execution resource. Use the supported interface for each, keep their access and identities separate, and explicitly save or export the checked result for the next task.
Sources: Clanker: Workspace product behavior and feature availability · Clanker: external-agent access, permissions, and managed Sessions · Clanker: standalone Sandbox API contract · Clanker: Sandbox lifetime, files, and recovery runbook · Clanker: BYOA setup, runtime, saved state, and usage
Content reviewed against the Workspace Guide & FAQ. Features and access can depend on your account.