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.
Platform Primitives
| Primitive | What it means |
|---|---|
| Sandbox | A cloud environment for commands, SSH, dev servers, and agent work |
| Agent | A configured model, prompt, tool list, execution mode, and optional linked resources |
| Tool | A hosted integration action. Tools can be public marketplace tools or org-private custom tools |
| Workflow | A graph of nodes with draft/published versions, runs, cron triggers, webhook triggers, and approval resume |
| Workspace | Persistent org storage that can be mounted into sandboxes, used as filesystem memory for sandbox-backed agents, or attached to managed agents |
| Project | A dashboard grouping for resources inside one organization |
Project Layout
runtools init creates a deployable TypeScript project:
tools/, sandboxes/, and agents/ folders in that order:
--prune.
Sandboxes
Sandboxes provide a Linux environment with root access, a workspace directory, optional persistent workspace mounts, public dev URLs, SSH, and optional browser desktop access.| State | Meaning |
|---|---|
pending / creating | The sandbox record exists and startup is in progress |
running | Ready for exec, SSH, URLs, and agent runs |
pausing / paused | Lifecycle state is being preserved or already paused |
resuming | Resume is in progress |
destroying / destroyed | Deletion is in progress or complete |
failed / error / suspected_missing | The service could not verify or complete the lifecycle step |
| Template | Use |
|---|---|
base-ubuntu | Headless command-line development |
desktop-ubuntu | Browser desktop and VNC-style access |
Workspaces
Workspaces are persistent storage outside the sandbox lifecycle. When you mount a workspace into a sandbox, it appears as a filesystem at/workspace or a subpath such as /workspace/data.
Sandbox-backed agents use the same mounted path as their persistent filesystem memory. The agent can edit files, create task notes, keep repo state, and produce artifacts inside /workspace; those files remain available for later runs even if the sandbox is paused, destroyed, or recreated with the same mount.
Threads preserve conversation history. Workspaces preserve files.
Agents
Agents are created in the dashboard, viaPOST /v1/agents, or by deploying agents/*.ts files that call defineAgent().
| Mode | Use |
|---|---|
in_sandbox | Runs against one linked sandbox. This is the default for deployed project agents |
managed | Runs in the managed runtime with attached workspace/sandbox resources |
local-mac | Dispatches to a registered RunMesh device |
Tools
Tools run on the Tools service and return structured results to agents or direct API callers. The public SDK surface is:defineTool() and are deployed with runtools deploy.
Credentials
Runtools separates credentials by purpose:| Credential | Managed by |
|---|---|
| API keys | Dashboard API Keys, runtools auth keys, rt.auth.* |
| OAuth connections | Connected Apps, runtools oauth, rt.auth.* |
| Secrets | Secrets page, runtools secret, rt.secrets.* |
| SSH keys | SSH Keys page, runtools ssh-key, rt.sshKeys.* |
Workflows
Workflows are versioned graph orchestrations. You can save drafts, publish, run, inspect events, create cron/webhook triggers, and resume approval waits:Next Steps
Sandboxes
Lifecycle, SSH, dev URLs, mounts, and monitoring.
Workspaces
Persistent storage, sandbox mounts, and agent filesystem memory.
Agents
Agent definitions, running, threading, and attachments.
Tool Hub
Marketplace and custom tools.
Workflows
Cron and webhook workflow triggers.