Run code in Prime Sandboxes
Run code and tools in isolated environments built for agent workloads.
Loading your workspace’s sandbox data…
Hand it to your coding agent
Copy the sandbox setup instructions into your coding agent.
Run it from your terminal
Create a sandbox, run a command, and delete it when finished.
1. Install the CLI
uv tool install -U prime2. Sign in to your account
Complete the browser sign-in before continuing.
prime login3. Create a sandbox with a 5-minute lifetime
Save the sandbox ID printed by this command for the next steps.
prime sandbox create python:3.11-slim --timeout-minutes 54. Run a command
Replace SANDBOX_ID with the ID from the create command.
prime sandbox run SANDBOX_ID "python --version"5. Delete the sandbox when finished
Replace SANDBOX_ID with the same sandbox ID.
prime sandbox delete SANDBOX_ID
Confirm your CLI workspace and billing before creating a sandbox. Running sandboxes incur charges until deleted or timed out.