Cursor's agent CLI as a mixin — the agent in an overlay, with the Cursor credential (API key or...
74
Cursor's agent CLI as a mixin — the agent in an overlay, with the Cursor credential (API key or OAuth), scoped egress, and the workspace pre-trust and config seeds the agent needs. Layer it onto a shell base and run `cursor-agent`.
| Name | Required | Default | Description |
|---|---|---|---|
version | Optional | 2026.09.18-9a7762b | Cursor Agent release to install (calendar version plus build hash) |
[email protected]| Type | Required | Description | |
|---|---|---|---|
com.docker.sandbox/network-policy@1 | Required | — | |
com.docker.sandbox/credential@1 | Optional | Cursor API access (API key or Cursor OAuth) | |
com.docker.sandbox/lifecycle@1 | Required | — | |
com.docker.sandbox/agent-context@1 | Required | — | |
sbx run <agent> --kit docker/sbx-kit-cursor-mixin:latestRun the following command to install sbx on your machine.
brew install docker/tap/sbxwinget install Docker.sbxNote
Experimental: Sandbox Kit v3This kit uses the experimental Sandbox Kit specification, specifically v3. The format and runtime behavior may change before v3 is stable.
Cursor's agent CLI as a v3 mixin: the same agent the cursor
workload kit ships, packaged as an overlay that lands on a shell base instead
of as a root filesystem of its own.
Use this when you want cursor-agent alongside something else — a different
base image, another agent, a set of tools — rather than as the sandbox's entire
identity. Use cursor when Cursor is the sandbox.
The overlay itself: the agent tree at /opt/cursor-agent with a
/usr/local/bin/cursor-agent shim, and /etc/profile.d/cursor-env.sh carrying
IS_SANDBOX and AGENT_CLI_CREDENTIAL_STORE=memory.
Declaratively it makes the same asks as the workload kit: the Cursor credential
(API key or OAuth, with the camelCase token-response mapping Cursor needs), the
egress the agent reaches, the per-workspace pre-trust hook the interactive TUI
needs, and the cli-config.json seed that pins HTTP/1.1 + SSE so agent traffic
goes through the forward proxy.
--yolo. Pass it
yourself if you want it.filename is workload-only; this kit contributes
a context body and the workload names the profile.cursor kit refreshes its base image's apt cache
at boot and allows the mirrors that needs. Which package manager a base ships
and which mirrors it trusts are the base's business, so neither the hook nor
the mirror hosts are declared here.sbx create --kit ./shell --kit ./cursor-mixin --name my-task /path/to/task
Then run cursor-agent inside the sandbox.
Composing this with the cursor workload kit is refused: both
provide the name cursor, and one capability name has one owner.
Pulls:
3
Last week