The independent reference for AI agent sandboxesLast reviewed
Agent Sandboxesagentsandboxes.org
Sandbox profile · Local / OS-level

Anthropic Sandbox Runtime

Answer in brief

Open-source CLI and library (srt) that restricts filesystem and network access for any local process at the OS level, without a container or VM. Excellent lightweight guardrail for local agents; pair with a VM for untrusted multi-tenant code.

By the Agent Sandboxes editors · Updated

Overview

Sandbox Runtime is the OS-level sandbox developed for Claude Code and released as open source. It wraps any process with filesystem write restrictions and a deny-by-default network proxy, using native OS mechanisms instead of a VM.

Because there is no VM, it starts instantly and works on the host filesystem — but it is a weaker boundary than a microVM and is labelled a beta research preview.

Notable

  • Labelled “Beta Research Preview”.
  • Reads allowed by default; writes denied by default.

Anthropic Sandbox Runtime specifications

AttributeDetails
IsolationOS-level: macOS Seatbelt profiles; Linux bubblewrap with network namespace removed and traffic forced through host proxies; Windows support in alpha
DeploymentLocal / OS-level · Self-hostable
Open sourceYes (Apache-2.0)
SDKs and interfacesCLI (srt), TypeScript (npm)
Cold start (vendor claim)Not documented
Max session lengthNot documented
PersistenceOperates on the host filesystem; writes only to explicitly allowed paths
GPUNot documented
NetworkingDeny-all by default; domain allowlists and denylists enforced by host HTTP and SOCKS5 proxies
PricingFree and open source
Free tierOpen source
ComplianceNot documented
RegionsNot documented

Facts from Anthropic Sandbox Runtime’s public documentation, verified November 8, 2026. Performance numbers are vendor claims.

Strengths and trade-offs

Strengths

  • You want near-zero-overhead sandboxing for a local agent or CLI
  • You need strict network allowlisting on a developer machine
  • You want to wrap existing tools without containers

Trade-offs

  • OS-level boundary, weaker than a VM
  • Beta; configuration format may change
  • Not a hosted or multi-tenant service

Best for: Lightweight local sandboxing of coding agents and CLI tools.

Where Anthropic Sandbox Runtime ranks

How Anthropic Sandbox Runtime compares

SandboxIsolationOpen sourceSelf-host / BYOCCold start (vendor)Max sessionSnapshots / pauseGPUSDKs
Anthropic Sandbox RuntimeOS-level (Seatbelt / bubblewrap)YesYes / Not documentedProcess startNot documentedNo / NoNot documentedCLI (srt), TypeScript (npm)
Docker SandboxesMicroVMNoYes / NoNot documentedUntil removed (local)Yes / YesYessbx CLI, TypeScript (cloud), REST API (cloud)
MicrosandboxMicroVM (libkrun)YesYes / Yes<100 msNot documentedYes / Not documentedNoTypeScript, Python, Rust, Go, Ruby, CLI, MCP server

Head-to-head: Docker Sandboxes vs Anthropic Sandbox Runtime

Frequently asked questions

What is Anthropic Sandbox Runtime?
Open-source CLI and library (srt) that restricts filesystem and network access for any local process at the OS level, without a container or VM. Excellent lightweight guardrail for local agents; pair with a VM for untrusted multi-tenant code.
How does Anthropic Sandbox Runtime isolate code?
Anthropic Sandbox Runtime documents its isolation as: OS-level: macOS Seatbelt profiles; Linux bubblewrap with network namespace removed and traffic forced through host proxies; Windows support in alpha.
Is Anthropic Sandbox Runtime open source?
Yes (Apache-2.0). It can be self-hosted.
How much does Anthropic Sandbox Runtime cost?
Free and open source Check the official pricing page for current rates.
What are the best Anthropic Sandbox Runtime alternatives?
Common alternatives include Docker Sandboxes, Microsandbox.

Sources

  1. github.com/anthropics/sandbox-runtime

Cite this page

Agent Sandboxes. (2026). Anthropic Sandbox Runtime. agentsandboxes.org. Last reviewed November 8, 2026. https://agentsandboxes.org/sandboxes/anthropic-srt/

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