Skip to main content

👩‍💻 Command line interface

Global options​

  • --backend <BACKEND> Select the backend for this invocation instead of the configured one

backends​

Report the backends available on this machine, their readiness and their capabilities

Options:

  • --json Emit structured JSON instead of a table

delete​

Delete a sandbox

Arguments:

  • NAME Name of the sandbox to delete

Options:

  • -f, --force Delete even if the sandbox is active or missing. A missing sandbox's branch may hold unmerged work

doctor​

Report whether this project can create a sandbox on this machine

Options:

  • --json Emit structured JSON instead of a table

list​

List all sandboxes in the current repository

pause​

Pause one or more sandboxes

Arguments:

  • [NAME] Sandbox name to pause

Options:

  • --all Pause all sandboxes in this repository
  • --machine Pause all Litterbox sandboxes on this machine

remote​

Add the Git remote that holds this project's sandbox branches

Arguments:

  • [NAME] Name for the remote

resume​

Resume a paused sandbox

Arguments:

  • NAME Name of the sandbox to resume

shell​

Execute a command in a sandbox

Arguments:

  • NAME Name of the sandbox to run the command in
  • COMMAND Command and arguments to execute

stdio​

Run the MCP (Model Control Protocol) server over stdio

Exit codes​

CodeMeaning
0success
1failed
2usage
3not found
4conflict
5unsupported
6denied
7unavailable

Sandbox lifecycle​

A sandbox is active, paused or missing. active and paused are derived from the sandbox's compute; missing means the record and the branch exist but the compute has exited. Every command that takes a sandbox expects active.

Commands​

Commandactivepausedmissing
listreported as activereported as pausedreported as missing; the listing exits 0
shellruns the commandexits 4, conflict, and names the resume commandrepairs the sandbox, warns on stderr, then runs the command
pausefreezes the sandboxsucceeds, changing nothingexits 3, not found
resumesucceeds, changing nothingthaws the sandboxexits 3, not found
deleterefused without --forceremoves the record and the branchrefused without --force; with it, removes the record, workspace and branch

Creating a sandbox is only available over MCP. There is no create command.

A missing sandbox is repaired on the next command that needs live compute. The repair reuses the workspace, keeps the branch, and is reported before the command's output. A paused sandbox is refused before any join, so the caller returns immediately instead of blocking.

See Sandbox lifecycle for the state diagram, the failure classes and how to recover a missing sandbox.