Documentation Index
Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Sandboxes are isolated cloud environments you can create from the API, CLI, SDK, or dashboard. They support command execution, SSH, protected dev server URLs, optional desktop access, project grouping, workspace mounts, and pause/resume lifecycle control.Create a Sandbox
Templates
| Template | Use |
|---|---|
base-ubuntu | Headless command-line development, package installs, test runs, build tasks |
desktop-ubuntu | Browser desktop sessions and GUI-oriented automation |
Command Execution
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 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
| Field | Description |
|---|---|
id | Sandbox ID, such as sandbox-abc123 |
name | Optional friendly name. Most CLI commands accept ID or name |
template | Template slug |
status | pending, creating, running, pausing, paused, resuming, destroying, destroyed, failed, error |
tags | String tags for filtering and deploy tracking |
projectId | Optional dashboard project grouping |
mounts | Workspace mounts attached to the sandbox |
sshReady / vncReady | Readiness flags for remote access |
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.