Open-source sandboxes where coding agents build and deploy.
Spin up isolated environments where Claude Code, Cursor, Codex, and other agents code and ship software. With live URLs, logs, and previews.
Website ยท Docs ยท Get Started
demo.mp4
- Sandboxes for yolo agents โ Let agents code with full permissions in isolated environments. No risk to your machine or cloud.
- Run any coding agent โ Claude Code, Cursor, Codex, Gemini CLI, and more. Bring your favorite.
- Real URLs instantly โ Agents deploy to live HTTPS endpoints. Test, share, and iterate.
- Logs and observability โ See what your agent built, debug issues, fix and redeploy.
# Install
uv tool install runtm
# Start a local sandbox session
runtm session start
# Your agent builds inside the sandbox...
# Deploy to a live URL
runtm session deployYou get a live HTTPS endpoint on auto-stopping infrastructure. Machines spin down when idle and wake up on traffic.
Run AI agents in isolated local environments with OS-level sandboxing:
# Start a sandbox (auto-installs deps on first run)
runtm session start
# Start with a template
runtm session start --template web-app
# Use a different agent
runtm session start --agent codex
# List all sandboxes
runtm session list
# Reattach to a sandbox
runtm session attach sbx_abc123
# Deploy from sandbox to live URL
runtm session deployWhat you get:
- OS-level isolation โ Uses bubblewrap (Linux) or seatbelt (macOS) for fast, secure sandboxing
- Instant startup โ Sandboxes start in <100ms, no containers needed
- Multi-agent support โ Works with Claude Code, Codex, Gemini CLI, and more
- Persistent workspaces โ Stop and resume sessions, files preserved
โโโโโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโโ
โ Your Agent โ โโโถ โ Sandbox โ โโโถ โ Runtm โ โโโถ โ Live URL โ
โโโโโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโ โโโโโโโโโโโโ
- Spin up a sandbox โ Your agent gets an isolated workspace
- Agent builds โ Full permissions to code, install deps, run tests
- Deploy โ One command to a real URL with logs and previews
- Iterate โ Agent can see logs, fix bugs, and redeploy
# Recommended
uv tool install runtm
# Alternative
pipx install runtm
# Or with pip
pip install runtm| Command | Description |
|---|---|
runtm session start |
Start a new sandbox session |
runtm session list |
List all sandboxes |
runtm session attach <id> |
Reattach to a sandbox |
runtm session stop <id> |
Stop a sandbox (preserves files) |
runtm session destroy <id> |
Destroy sandbox and delete files |
runtm session deploy |
Deploy from sandbox to live URL |
runtm init |
Initialize a new project |
runtm deploy |
Deploy to a live URL |
runtm logs <id> |
View build, deploy, and runtime logs |
runtm status <id> |
Check deployment status |
runtm destroy <id> |
Tear down a deployment |
See the CLI docs for the full reference.
Runtm can be fully self-hosted. See the self-hosting guide.
git clone https://github.com/runtm-ai/runtm.git
cd runtm
cp infra/local.env.example .env
# Install packages (includes sandbox and agents)
./scripts/dev.sh setup
# Start local services
docker compose -f infra/docker-compose.yml up -d
# Use the development CLI
runtm-dev start # Start a sandbox session
runtm-dev prompt "Build an API" # Send prompt to agentNote: Use runtm-dev (not runtm) when self-hosting. The dev CLI includes sandbox/agents packages.
packages/
shared/ # Types, manifest schema, errors
sandbox/ # Local sandbox runtime (OS-level isolation)
agents/ # AI coding agent adapters (Claude Code, Codex, etc.)
api/ # FastAPI control plane
worker/ # Build + deploy pipeline
cli/ # Python CLI (Typer)
templates/ # Starter projects (backend, static, fullstack)
Full docs at docs.runtm.com:
See CONTRIBUTING.md for development setup and guidelines.
| Component | License |
|---|---|
| Server (api, worker, infra) | AGPLv3 |
| CLI, Sandbox, Shared | Apache-2.0 |
| Templates | MIT |
Open an issue or join our Discord.
