Use Cases
Give each coding agent an on-demand computer for its tests and builds. Agents keep editing their local checkouts while Crabbox syncs uncommitted work, runs commands remotely, and returns output and exit codes. Separate remote leases keep parallel work from competing for one laptop's CPU, memory, and ports.
Choose Linux, macOS, native Windows, or WSL2 when platform behavior matters. Use a warm box for repeated runs, and open a desktop or browser editor when you need to inspect the result. The desktop, VNC, browser, Code, and portal guide explains interactive access and handoffs.
Start with the workload, not the vendor:
crabbox providers recommend
crabbox providers recommend fast-feedback
crabbox providers recommend agent-sandbox --json
With no use case, crabbox providers recommend prints every supported recommendation name. Recommendations use checked-in capability metadata. They do not contact providers, confirm credentials or quota, benchmark startup time, or certify a security boundary.
#Speed Up Test and Build Loops
Use this when a repository command is too slow, memory-hungry, or disruptive locally.
crabbox providers recommend fast-feedback
crabbox providers recommend linux-vm
crabbox run --provider hetzner -- pnpm test
Prefer fast-feedback for local runtimes, reusable caches, and quick edit-run loops. Prefer linux-vm when execution should move off the workstation or full VM and SSH semantics matter.
#Give a Coding Agent a Disposable Environment
Use a remote SSH lease or delegated sandbox when an agent needs to execute repository commands away from the workstation. A local sandbox gives it a separate workspace but still uses the laptop's resources. Crabbox handles execution and cleanup; the calling agent or harness owns orchestration.
For independent agents, create a separate lease from each agent's checkout:
crabbox warmup --provider hetzner --class standard --slug agent-tests
crabbox run --id agent-tests -- pnpm test
crabbox stop agent-tests
Use a distinct slug for each lease. Warm leases preserve setup between commands; review repo configuration and install its tools/dependencies before testing.
crabbox providers recommend agent-sandbox
crabbox providers recommend disposable-execution
crabbox providers recommend isolated-execution
These are three different questions:
agent-sandboxfavors providers shaped for agent and devbox execution;disposable-executionrequires a cleanup-capable temporary runtime;isolated-executionfavors delegated and local sandbox boundaries.
The last recommendation is routing guidance, not a security certification. Crabbox expects trusted operators, repository config, and workloads; a disposable box does not make hostile code safe. Read the selected provider's trust and network model before forwarding secrets.
#Validate Linux, Windows, WSL2, or macOS
Use platform recommendations when behavior depends on the target operating system:
crabbox providers recommend linux-vm
crabbox providers recommend windows
crabbox providers recommend macos
crabbox run --provider aws --target windows --windows-mode wsl2 -- uname -a
Native Windows runs PowerShell and Windows tooling. WSL2 runs the POSIX contract inside a nested-capable Windows VM. macOS targets may be local Apple Silicon VMs or cloud Mac capacity, depending on the provider.
#Test a Browser or Visible Desktop
Use a desktop-capable SSH lease when a test needs a browser, screenshots, input, or a handoff to a teammate:
crabbox providers recommend desktop
crabbox warmup --provider azure --target windows --windows-mode normal --desktop --slug ui-check
crabbox webvnc --id ui-check --open --take-control
WebVNC lets an authorized teammate observe the desktop and take control. Native VNC uses an SSH tunnel; crabbox code opens a code-server editor on supported Linux leases. The coordinator portal shows leases, bridge health, and retained run evidence. Keep the local bridge alive while using the browser. See the combined access guide for prerequisites.
Pair it with evidence routing when the result must survive after the box:
crabbox providers recommend run-evidence
crabbox providers recommend failure-diagnostics
#Reuse Warm State
Use a warm box when repeated setup costs more than keeping or restoring prepared state:
crabbox providers recommend warm-start
crabbox providers recommend versioned-workspace
crabbox warmup --slug warm-tests
crabbox run --id warm-tests -- pnpm test:changed
warm-start uses signals such as local runtime, cache volumes, retained sessions, pause/resume, and workspace state. It does not promise the same snapshot or warm-pool primitive on every provider.
#Fan Out Parallel Experiments
Use fork-capable workspace providers for parallel branches, best-of-N agent attempts, or test shards that should start from prepared state:
crabbox providers recommend fanout-testing
crabbox checkpoint fork <checkpoint-id> --count 4
This is provider-neutral checkpoint and fork routing. It is not a guarantee of live-memory microVM forking.
#Run GPU Workloads
Use the GPU recommendation for model tests, CUDA builds, rendering, or other accelerator-shaped work:
crabbox providers recommend gpu
crabbox run --provider runpod -- nvidia-smi
SSH-lease GPU providers are usually better for interactive debugging. Delegated GPU providers are often a better fit when the provider should own execution and result collection.
#Run Locally Without Cloud Credentials
Use a local container, VM, or policy sandbox for a fast smoke test that stays on the workstation:
crabbox providers recommend local
crabbox providers recommend offline-validation
crabbox run --provider local-container -- pnpm test
Local does not mean one isolation model. A Docker-compatible container, Apple VM, Multipass VM, Windows Sandbox, and a local policy runtime have different host access, persistence, and cleanup contracts. Read the selected provider page before running unfamiliar code.
#Use Infrastructure You Already Own
Crabbox can use a durable SSH host, private virtualization stack, or direct cloud account without a shared coordinator:
crabbox providers recommend byo-ssh
crabbox providers recommend self-hosted
crabbox providers recommend linux-vm
Use ssh for a host whose lifecycle Crabbox must not own. Use a self-hosted provider such as Proxmox, XCP-ng, Incus, KubeVirt, or Firecracker when Crabbox should create and clean up the runtime.
#Share a Governed Team Fleet
Use the coordinator path when a team needs shared provider credentials, lease ownership, cleanup, usage records, active-lease limits, and monthly spend caps:
crabbox providers recommend team-cloud
crabbox login --url https://broker.example.com
crabbox usage --scope user
The coordinator is a control plane. The CLI still connects directly to normal SSH runners for sync and command execution, while recording run evidence with the coordinator. Browse /portal on that coordinator for lease inventory and links to desktops, editors, and run details. Direct-provider registrations add portal visibility without transferring provider credentials or cleanup ownership.
#Need a More Specific Route?
The CLI also recommends providers for artifacts, CI proof, code interpreters, failure diagnostics, MCP attachment, network containment, pause/resume, preview URLs, reachability, remote development, resource observability, reusable run sessions, web-app smoke tests, and Worker/module execution.
See crabbox providers recommend for the complete current list, aliases, filters, scores, and caveats.