Agent Sandboxesagentsandboxes.org
Sandbox profile · Local / OS-level

agents-sandbox

Answer in brief

GPL-3.0 launcher that gives each project and coding agent its own microsandbox microVM on Linux/KVM or Apple Silicon macOS, with secrets kept on the host. A focused per-project microVM launcher for opencode users; support for other agents is still experimental.

By the Agent Sandboxes editors · Updated

Overview

agents-sandbox "allows you to isolate your coding agents from the rest of your dev environment" by building or reusing a microsandbox VM for each project and agent, then attaching the agent inside it. Supported agents are opencode and opencode2 (the tested defaults; opencode2 is in beta) plus pi, Claude Code, Codex, Hermes Agent and Oh My Pi, which are "experimental - not well tested with agents-sandbox". The host project is mounted at /workspace; other host files are invisible unless copied or mounted, and env.secret keeps real credential values on the host while the guest sees a placeholder.

Egress is controlled by profiles from public to allowlist-only none. The README warns that the default setup copies the active agent's host configuration into the VM, which may include credentials. It runs on Linux with KVM and macOS on Apple Silicon ("Platform requirements change; check upstream docs") and does not need a system-wide microsandbox install. GPL-3.0.

Notable

  • GPL-3.0; built on microsandbox VMs with a separate Linux kernel per project
  • opencode2 is the default agent and in beta; five other agents are marked experimental
  • Secrets via env.secret stay on the host; guest sees a placeholder

agents-sandbox specifications

AttributeDetails
IsolationDedicated microsandbox microVM per project and agent with a "separate microVM and Linux kernel"; the README does not name the hypervisor
DeploymentLocal / OS-level
Open sourceYes (GPL-3.0)
SDKs and interfacesCLI
Cold start (vendor claim)Not documented
Max session lengthNot documented
PersistenceVM is built or reused per project; agent state persists in a /home/dev volume; the project directory is mounted read-write at /workspace, or an isolated VM-internal worktree for some agents
GPUNot documented
NetworkingEgress profiles: public (default), private and host extend it, none is allowlist-only "deny-by-default egress, not a complete air gap"; links can open in the host browser for allowlisted schemes
PricingFree (GPL-3.0)
Free tierFree
ComplianceNot documented
RegionsNot documented

Facts from agents-sandbox’s public documentation, verified November 9, 2026. Performance numbers are vendor claims.

Strengths and trade-offs

Strengths

  • You want one microVM per project rather than one shared sandbox
  • You need secrets kept off the guest while the agent still works
  • You want configurable egress without a full air gap

Trade-offs

  • Most agents other than opencode are marked experimental
  • Hypervisor and boot behaviour are inherited from microsandbox and not documented here
  • GPL-3.0; Linux/KVM or Apple Silicon only

Good fit for: Developers who want each coding agent confined to a per-project microVM on their own Linux or Apple Silicon machine.

How agents-sandbox compares

SandboxIsolationOpen sourceSelf-host / BYOCCold start (vendor)Max sessionSnapshots / pauseGPUSDKs
agents-sandboxmicrosandbox microVMYesNo / NoNot documentedNot documentedNot documented / Not documentedNot documentedCLI
Minimalnamespaces or libkrun microVMYesNo / NoNot documentedNot documentedNot documented / Not documentedNot documentedCLI, MCP server
MicrosandboxMicroVM (libkrun)YesYes / Yes<100 msNot documentedYes / Not documentedNoTypeScript, Python, Rust, Go, Ruby, CLI, MCP server
Docker SandboxesMicroVMNoYes / NoNot documentedUntil removed (local)Yes / YesYessbx CLI, TypeScript (cloud), REST API (cloud)
nonoLandlock / SeatbeltYesNo / NoNot documentedNot documentedYes / Not documentedNot documentedCLI, Rust, Python, JavaScript/TypeScript, Go
Anthropic Sandbox RuntimeOS-level (Seatbelt / bubblewrap)YesYes / Not documentedProcess startNot documentedNo / NoNot documentedCLI (srt), TypeScript (npm)
Celesto (SmolVM)Firecracker / QEMU microVMYesYes / No~500 ms (claim)Not documentedYes / YesNot documentedPython, JavaScript/TypeScript, CLI, MCP server

See all agents-sandbox alternatives →

Frequently asked questions

What is agents-sandbox?
GPL-3.0 launcher that gives each project and coding agent its own microsandbox microVM on Linux/KVM or Apple Silicon macOS, with secrets kept on the host. A focused per-project microVM launcher for opencode users; support for other agents is still experimental.
How does agents-sandbox isolate code?
agents-sandbox documents its isolation as: Dedicated microsandbox microVM per project and agent with a "separate microVM and Linux kernel"; the README does not name the hypervisor.
Is agents-sandbox open source?
Yes (GPL-3.0).
How much does agents-sandbox cost?
Free (GPL-3.0) Check the official pricing page for current rates.
What are the alternatives to agents-sandbox?

Sources

  1. github.com/inoio/agents-sandbox
  2. github.com/inoio/agents-sandbox/blob/main/docs/get-started.md

Cite this page

Agent Sandboxes. (2026). agents-sandbox. agentsandboxes.org. Last reviewed November 9, 2026. https://agentsandboxes.org/sandboxes/agents-sandbox/

Found an error or a missing sandbox? Submit a correction — every entry links to the sources it relies on.