Run Coding Agents in Sandboxes. Control Them Over HTTP. Supports Claude Code, Codex, OpenCode, and Amp. https://sandboxagent.dev
Find a file
2026-01-25 04:06:25 -08:00
.agents/skills skills 2026-01-25 00:23:08 -08:00
.claude/skills skills 2026-01-25 00:23:08 -08:00
.codex/skills skills 2026-01-25 00:23:08 -08:00
.github/workflows refactor: rename sandbox-daemon to sandbox-agent 2026-01-25 02:30:12 -08:00
.opencode/skills skills 2026-01-25 00:23:08 -08:00
docker/release refactor: rename sandbox-daemon to sandbox-agent 2026-01-25 02:30:12 -08:00
docs docs theme 2026-01-25 03:37:54 -08:00
engine/packages docs: restore project goals and scope to README 2026-01-25 04:06:25 -08:00
frontend docs: restore project goals and scope to README 2026-01-25 04:06:25 -08:00
research docs: update agent docs with mode/permission info, add amp.md 2026-01-24 23:12:41 -08:00
resources/agent-schemas feat: refresh web console theme 2026-01-25 03:33:34 -08:00
scripts/release refactor: rename sandbox-daemon to sandbox-agent 2026-01-25 02:30:12 -08:00
sdks/typescript docs: restore project goals and scope to README 2026-01-25 04:06:25 -08:00
spec feat: stream sessions and discover agent modes 2026-01-25 01:55:44 -08:00
.gitignore feat: refresh web console theme 2026-01-25 03:33:34 -08:00
AGENTS.md chore: symlink AGENTS.md to CLAUDE.md 2026-01-24 23:20:40 -08:00
Cargo.toml refactor: rename sandbox-daemon to sandbox-agent 2026-01-25 02:30:12 -08:00
CLAUDE.md feat: refresh docs and agent schema 2026-01-25 03:04:12 -08:00
justfile refactor: rename sandbox-daemon to sandbox-agent 2026-01-25 02:30:12 -08:00
LICENSE refactor: rename sandbox-daemon to sandbox-agent 2026-01-25 02:30:12 -08:00
package.json refactor: rename sandbox-daemon to sandbox-agent 2026-01-25 02:30:12 -08:00
pnpm-lock.yaml feat: refresh web console theme 2026-01-25 03:33:34 -08:00
pnpm-workspace.yaml chore: sync workspace changes 2026-01-25 01:57:16 -08:00
README.md docs: restore project goals and scope to README 2026-01-25 04:06:25 -08:00
ROADMAP.md chore: sync workspace changes 2026-01-25 01:57:16 -08:00
spec.md feat: refresh web console theme 2026-01-25 03:33:34 -08:00
todo.md docs: restore project goals and scope to README 2026-01-25 04:06:25 -08:00
turbo.json chore: sync workspace changes 2026-01-25 01:57:16 -08:00

Sandbox Agent SDK

Universal API for running Claude Code, Codex, OpenCode, and Amp inside sandboxes.

  • Any coding agent: Universal API to interact with all agents with full feature coverage
  • Server Mode: Run as HTTP server from any sandbox provider or as TypeScript & Python SDK
  • Universal session schema: Universal schema to store agent transcripts
  • Supports your sandbox provider: Daytona, E2B, Vercel Sandboxes, and more
  • Lightweight, portable Rust binary: Install anywhere with 1 curl command

Documentation lives in docs/ (Mintlify). Start with:

  • docs/index.mdx for the overview
  • docs/quickstart.mdx to run the daemon
  • docs/http-api.mdx and docs/cli.mdx for API references

Quickstart (local dev):

sandbox-agent --token "$SANDBOX_TOKEN" --host 127.0.0.1 --port 2468

Extract API keys from local agent configs (Claude Code, Codex, OpenCode, Amp):

# Print env vars
sandbox-agent credentials extract-env

# Export to current shell
eval "$(sandbox-agent credentials extract-env --export)"

Run the web console (includes all dependencies):

pnpm dev -F @sandbox-agent/web

Project Scope

This project aims to solve 3 problems with agents:

  • Universal Agent API: Claude Code, Codex, Amp, and OpenCode all have put a lot of work in to the agent scaffold. Each have respective pros and cons and need to be easy to be swapped between.
  • Agent Transcript: Maintaining agent transcripts is difficult since the agent manages its own sessions. This provides a simpler way to read and retrieve agent transcripts in your system.
  • Agents In Sandboxes: There are many complications with running agents inside of sandbox providers. This lets you run a simple curl command to spawn an HTTP server for using any agent from within the sandbox.

Features out of scope:

  • Storage of sessions on disk: Sessions are already stored by the respective coding agents on disk. It's assumed that the consumer is streaming data from this machine to an external storage, such as Postgres, ClickHouse, or Rivet.
  • Direct LLM wrappers: Use the Vercel AI SDK if you want to implement your own agent from scratch.
  • Git Repo Management: Just use git commands or the features provided by your sandbox provider of choice.
  • Sandbox Provider API: Sandbox providers have many nuanced differences in their API, it does not make sense for us to try to provide a custom layer. Instead, we opt to provide guides that let you integrate this project with sandbox providers.