sandboxd
MIT self-hosted engine that runs each app or agent in its own hardened Docker container on one server, with built-in coding agents, preview URLs, idle stop and wake, and per-task git checkpoints. A self-hosted engine for app-builder and agent platforms that runs each workload in a hardened container on one server; its own docs call the default container a weak security boundary and point to gVisor or separate hosts for untrusted tenants.
Overview
sandboxd describes itself as "the open-source engine behind AI app builders". One Go control plane drives Docker on a single host, Traefik routes preview URLs and SQLite holds state, with a reconciler that converges Docker to the database on boot. Each app gets one sandbox: a hardened runc container with its own workspace, an in-sandbox supervisor (runtimed) and a live preview URL. Coding agents run inside the sandbox (the README lists OpenCode, Claude Code, Codex and Pi; OpenCode works keyless on a free tier), and a credential-injecting proxy keeps model keys out of the container. Before every agent task the workspace is checkpointed to a private git ref, so a task can be reverted. Everything is exposed through an authenticated /v1 REST API with SSE task streams, file read and write, exec and git endpoints; the web console is an optional API client.
The Security page states that "sandboxd runs AI-generated code you did not write" and that the default shared-kernel container is "a strong isolation boundary and a weak security boundary". gVisor is available as an opt-in runtime (the vendor puts syscall-heavy work at about 1.7–4× slower), and Firecracker or Cloud Hypervisor microVMs are on the roadmap. Egress is open by default. Idle sandboxes are stopped after 35 minutes and woken on the next request, which keeps files but not memory. The project is pre-1.0 (v0.3.x) and single-server; multi-host scheduling is listed under "Later". Self-hosting is free; the vendor sells a Managed service on your own server (BYOC) and a Cloud tunnel that gives your server a public URL, and does not host compute.
Notable
- v0.3.26 released 31 October 2026; 997 GitHub stars at verification; the README labels it "Beta · 0.x".
- Configuration docs: /v1 auth is on by default (console session or bearer API key, no loopback bypass) and the API binds to 127.0.0.1:9090.
- Agent tasks are checkpointed to refs/sandboxd/checkpoints/<task> before they run and can be reverted with one API call.
sandboxd specifications
| Attribute | Details |
|---|---|
| Isolation | One hardened runc Docker container per app (--cap-drop=ALL, no-new-privileges, read-only root filesystem with tmpfs /tmp, memory, PID and file-descriptor limits, non-root user); gVisor (runsc) can be switched on for every sandbox with SANDBOXD_RUNTIME=runsc |
| Deployment | Open-source project · BYOC available · Self-hostable |
| Open source | Yes (MIT) |
| SDKs and interfaces | REST API |
| Cold start (vendor claim) | Not documented |
| Max session length | Not documented |
| Persistence | Each sandbox's workspace is a bind-mounted directory on the host that survives stop and reboot; the container's writable layer is read-only and /tmp is tmpfs. Idle sandboxes are stopped with docker stop after 35 minutes by default and started again on the next request, so files persist but memory and running processes are not kept. Snapshot, fork and restore endpoints exist but are labelled experimental on directory storage |
| GPU | Not documented |
| Networking | Each sandbox's dev server gets a preview URL (s-<id>-<port>.preview.<domain>) routed by Traefik; previews are public and plain HTTP by default, with TLS as a config switch. Egress is open by default in the self-hosted build: sandboxes sit on a Docker bridge and can reach the internet, the LAN and cloud metadata endpoints; an nftables egress subsystem is compiled off and a per-domain allowlist is on the roadmap. Model credentials are injected by a control-plane proxy so they never enter the sandbox |
| Pricing | Free to self-host under MIT. Managed (sandboxd installs and runs it on your own server): $199 one-time setup and $79/month ($49/month for the first 10 founding customers). sandboxd Cloud (a public HTTPS URL for a server you run): $9.99 per server per month, $4.99 with the 50% launch discount. Compute is always your own server |
| Free tier | Free to self-host |
| Compliance | Not documented |
| Regions | Not documented |
| Company headquarters | Not documented |
Facts from sandboxd’s public documentation, verified November 18, 2026. Performance numbers are vendor claims.
Strengths and trade-offs
Strengths
- You want a self-hosted, MIT-licensed control plane for many sandboxes with preview URLs on one ordinary server.
- You need coding agents inside each sandbox without putting model keys in the container.
- You want per-task checkpoints and one-call revert of an agent's changes.
- You want idle sandboxes to stop and wake on the next request so one host holds many apps.
Trade-offs
- The default boundary is a shared-kernel container; the vendor recommends gVisor for less-trusted code and one host per trust domain for mutually distrusting tenants.
- Egress is open by default; a per-sandbox domain allowlist is still on the roadmap.
- Single Docker host only; memory is not kept when an idle sandbox stops, and snapshots are experimental on directory storage.
- Pre-1.0: minor versions may carry breaking changes.
Good fit for: Running many agent-built apps or agent workspaces on one server you control, each in its own container with a live preview URL.
How sandboxd compares
| Sandbox | Company HQ | Isolation | Open source | Self-host / BYOC | Cold start (vendor) | Max session | Snapshots / pause | GPU | SDKs |
|---|---|---|---|---|---|---|---|---|---|
| sandboxd | Not documented | Hardened runc container (gVisor opt-in) | Yes | Yes / Yes | Not documented | Not documented | Yes / No | Not documented | REST API |
| OpenSandbox | Not documented | Containers or Firecracker | Yes | Yes / No | 64 ms P50 (claimed) | Not documented | Not documented / Yes | Not documented | Python, JavaScript/TypeScript, Java, Kotlin, Go, C#, CLI, MCP server, REST API |
| Microsandbox | Not documented | MicroVM (libkrun) | Yes | Yes / Yes | <100 ms | Not documented | Yes / Not documented | Not documented | TypeScript, Python, Rust, Go, Ruby, CLI, MCP server |
| Daytona | United States | Containers or VMs | No | Not documented / Yes | <90 ms | Unlimited | Yes / Yes | Yes | Python, TypeScript, Ruby, Go, Java |
| Coder | United States | Template-defined (VM/pod/container) | Yes | Yes / No | Not documented | Not documented | Not documented / Yes | Not documented | CLI, REST API, MCP server |
| OpenHands Runtime | United States | Docker container | Yes | Yes / Not documented | Not documented | Not documented | Not documented / Not documented | Not documented | Python, JavaScript/TypeScript, REST API |
| gVisor | United States | User-space kernel | Yes | Yes / No | ms (claim) | Not documented | Yes / Not documented | Yes | CLI |
Head-to-head: OpenSandbox vs sandboxd
Frequently asked questions
What is sandboxd?
How does sandboxd isolate code?
Is sandboxd open source?
How much does sandboxd cost?
Does sandboxd support snapshots or pause and resume?
What are the alternatives to sandboxd?
Sources
- sandboxd.io
- sandboxd.io/what-is-sandboxd
- sandboxd.io/concepts
- sandboxd.io/security
- sandboxd.io/reference/architecture
- sandboxd.io/reference/configuration
- sandboxd.io/reference/api/
- sandboxd.io/guides/agents
- sandboxd.io/guides/tasks
- sandboxd.io/guides/runtime-and-store
- sandboxd.io/roadmap
- sandboxd.io/managed
- sandboxd.io/cloud
- sandboxd.io/privacy
- github.com/tastyeffectco/sandboxd
- github.com/tastyeffectco/sandboxd/releases
Check before you rely on it. Products change quickly, and this page reflects public documentation as of November 18, 2026. Confirm anything that matters in the provider’s own documentation.
Cite this page
Agent Sandboxes. (2026). sandboxd. agentsandboxes.org. Last reviewed November 18, 2026. https://agentsandboxes.org/sandboxes/sandboxd/