Caveman Cloud· Hosted & VPCSandboxes
Caveman Sandboxes: Zero-Credential Firecracker microVMs
Run untrusted code, full Linux workspaces, browsers, or desktops in isolated Firecracker microVMs where provider keys never enter the VM and sleeping sandboxes cost nothing.
Caveman Sandboxes are isolated Firecracker microVMs driven from outside through the Caveman relay. Provider API keys and user logins never enter the VM, idle sandboxes pause automatically so you pay nothing while asleep, and disk snapshots fork into new sandboxes in seconds.
Need the full command reference and TypeScript, Python, and Go examples? Go to Sandbox CLI & SDKs.
Fastest ways to start#
Boot a Firecracker microVM, run one command with zero network egress, stream stdout and stderr, get its exit code, and clean up in a single command:
cvm run-box --network none -- "uname -a && python3 --version"Pass --keep-alive to keep the sandbox running and reuse its ID with --sandbox ID.
Auto-detect your repository stack and .env bindings, bind credentials on the host egress proxy (zero secrets written inside the VM), create a sandbox, and sync workspace files into /workspace:
# Preview detected stack and zero-secret .env broker bindings (writes .caveman/sandbox.toml with --write)
cvm sandbox init
# Launch sandbox and sync this repository
cvm sandbox upRun commands or open an interactive sandbox shell with standard ssh and zero CLI or SDK installed:
ssh gh-<github_user>@run.caveman.so -- python3 -c "print('hello from firecracker')"
ssh run.caveman.so new dev-box && ssh dev-box@run.caveman.soYou can even register the zero-install MCP stdio transport over SSH:
{ "command": "ssh", "args": ["run.caveman.so", "mcp"] }Authentication for sandboxes#
Sandboxes use a scoped organization code:run key (set in CAVE_TOKEN). Each key sees only the sandboxes and snapshots created by its own service account.
Three ways to get a key:
- Bootstrap from an existing login: run
cvm login, thencvm key quick(creates a personal 30-daycode:runkey automatically, orcvm sandboxbootstraps one on first use). - Headless agent signup (no browser):
cvm signup --email you@company.com --accept-terms, thencvm verify <6-digit-OTP>. - Service account key for CI and production: create a
code:runkey under Settings -> Service accounts in the console and exportCAVE_TOKEN=cave_live_....
Key capabilities#
How credentials stay outside the VM#
- Model API keys and user logins remain in the host harness and relay, never inside the Firecracker guest.
- Commands, file transfers (
cp,ls), and port forwarding flow through the Caveman relay rather than opening SSH daemons or placing SSH keys inside the VM. - Set
--network nonewhenever executing untrusted code or model-generated scripts.
Pricing and plan limits#
Firecracker sandbox compute (CPU and RAM) uses the same pay-as-you-go rates across all plans, drawn from included universal credits or pay-as-you-go, and bills only while awake. Paused sandbox RAM, disk, and network egress cost $0, while retained snapshots are billed while stored:
Example awake sandbox hourly rates: 2x4 ($0.03/hr), 2x8 ($0.04/hr), 4x16 ($0.08/hr), 8x32 ($0.16/hr), 16x64 ($0.32/hr).
Per-plan Cloud sandbox limits (unlimited seats on every plan):
Hobby includes 30 hours/mo of 2x4 Firecracker sandboxes recurring monthly. Business adds Warm Snapshot Pools (<200ms). On Pro, Scale, or Business, bolt on a Concurrency Pack (+$50/mo) in one click for +25 concurrent sandboxes (+200 GiB awake), +30/min base start rate, +25 kept sandboxes, and +25 concurrent harness runs. See Billing for full workspace plans and credit top-ups.
Check live sandbox availability#
Check real-time sandbox health from the public status endpoint (no authentication required):
cvm sandbox statusVerify and undo#
List active sandboxes and delete one permanently (along with its disk):
cvm sandbox list
cvm sandbox delete SANDBOX_ID --yesNext: see every cvm sandbox command plus TypeScript, Python, and Go examples in Sandbox CLI & SDKs.