Create a sandbox
runtools sandbox get, runtools sandbox watch, or await sandbox.waitForReady() when you need to wait for SSH readiness.
Templates
Command Execution
Command execution wakes a paused sandbox when possible before dispatching the command.SSH
Register an SSH key once:Protected Dev URLs
Ask Runtools for a protected URL for any port:Workspace Mounts
Mount org workspaces under/workspace or a safe subpath:
/workspace or a safe subpath under /workspace.
For agents linked to this sandbox, the mounted workspace is their persistent filesystem memory. Anything the agent writes under /workspace remains in the workspace for future runs and for new sandboxes that mount the same workspace.
See Workspaces for workspace creation, file APIs, and the agent memory model.
Pause, Resume, Destroy
Monitoring
The SDK subscribes to live state and metrics when you register listeners:Common Fields
Sandbox lists are paginated. By default, list views show active lifecycle states rather than destroyed or orphaned history.
Best Practices
Use names for day-to-day CLI work
Use names for day-to-day CLI work
IDs are precise, but friendly names make repeated commands easier.
Mount persistent workspaces for important files
Mount persistent workspaces for important files
Sandbox-local files are removed when a sandbox is destroyed. Workspace mounts are the durable boundary.
Pause long-lived environments
Pause long-lived environments
Pause when you want to keep state for later. Destroy when the environment is no longer needed.