Skip to content

Kill sandboxes with CLI

Pass one or more sandbox IDs to stop them:

sh
agentbox sandbox kill "$sandbox_id"

agentbox sandbox kill --all stops every running sandbox visible to the current project. Combine --all with --state or --metadata to narrow the selection. The --state and --metadata filters apply only together with --all.

Killing a sandbox is permanent. Use pause when you need to resume it later.