Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Anthropic Sandbox Runtime

github.com

  • Free plan
  • Windows
  • macOS
  • Linux
  • Self-hosted
7.7 Club score Visit github.com

What Anthropic Sandbox Runtime is

Anthropic Sandbox Runtime (srt) is an open-source tool for restricting filesystem and network access for processes at the operating-system level. It runs as a command-line tool or library and can be used to sandbox agents, local MCP servers, bash commands, and other processes. File writes and network access are blocked by default; users can allow specific paths and configure permitted or denied domains. HTTP, HTTPS, and other TCP traffic pass through proxies. The project documents macOS, Linux, and Windows support, using sandbox-exec, bubblewrap, and a dedicated Windows sandbox account with egress filtering, respectively. It is a self-hosted research preview licensed under Apache-2.0, available free at no cost, with no paid plans or usage limits stated. Installation is through npm. Linux requires bubblewrap, socat, and ripgrep; macOS requires ripgrep, and Windows requires a one-time elevated setup. Windows is marked alpha, and APIs and configuration formats may change. Linux filtering relies on proxy settings, and the project cautions that its network filter does not inspect proxied traffic.

Who it suits

It suits developers and teams that want OS-level restrictions for agent processes, MCP servers, or commands. Users should be comfortable with platform-specific setup and a research preview whose interfaces may evolve.

Good to know, and what to watch

  • Blocks filesystem writes and network access by default
  • Runs as a CLI tool or library
  • Supports macOS, Linux, and Windows
  • Free and licensed under Apache-2.0
  • Linux requires bubblewrap, socat, and ripgrep
  • Windows is marked alpha
  • Linux filtering depends on proxy environment variables
  • APIs and configuration formats may evolve

Anthropic Sandbox Runtime

Free

Open source

The verdict

Anthropic Sandbox Runtime offers configurable process restrictions without requiring a container. Its preview status, platform-specific dependencies, and documented network-filtering limitations are important considerations.

What the maker publishes

Availability
The project is an open source research preview licensed under Apache-2.0. source
Filesystem controls
Filesystem configuration supports read and write restrictions, with writes denied by default unless paths are explicitly allowed. source
How to install
The README gives `npm install -g @anthropic-ai/sandbox-runtime` as the installation command. source
Integrations
The README shows using srt to sandbox Model Context Protocol servers and documents a Java agent for JVM tools on macOS and Linux. source
Intended users
Anthropic describes the release as an early open source preview for the broader ecosystem to build more secure agentic systems; APIs and configuration formats may evolve. source
Interfaces
It is available as both a command-line tool and a library, installed from npm as @anthropic-ai/sandbox-runtime. source
Linux dependency
Linux requires bubblewrap, socat, and ripgrep; macOS requires ripgrep. source
Linux limitation
Linux network filtering relies on proxy environment variables, so programs that ignore them may be unable to connect to the internet. source
Linux requirements
Linux requires bubblewrap, socat, and ripgrep, and some configurations also require additional system setup. source
Maker
Anthropic describes itself as an AI safety and research company that builds reliable, interpretable, and steerable AI systems. source
Monitoring
The runtime tracks sandbox violations, and on macOS it can tap into the system sandbox violation log store for real-time alerts. source
Network controls
Network access is denied by default and can be restricted with allowed and denied domain lists; HTTP, HTTPS, and other TCP traffic are mediated by proxies. source
Operating systems
The project documents macOS, Linux, and Windows support; Windows is marked alpha. source
Platform implementation
It uses sandbox-exec on macOS, bubblewrap on Linux, and a dedicated local user account with Windows Filtering Platform and filesystem ACLs on Windows. source
Platform mechanisms
The README says macOS uses sandbox-exec, Linux uses bubblewrap, and Windows uses a dedicated local sandbox account with Windows Filtering Platform egress filtering. source
Platforms
The project supports macOS and Linux, and lists Windows support as alpha. source
Preview status
The README describes the runtime as an early research preview developed for Claude Code and warns that APIs and configuration formats may evolve. source
Purpose
Anthropic Sandbox Runtime (srt) enforces filesystem and network restrictions on arbitrary processes at the OS level without requiring a container. source
Security caveat
The project warns that enabling weaker nested sandboxing on Linux considerably weakens security and should be used only with additional isolation. source
Security limitation
The README says network filtering restricts reachable domains but does not otherwise inspect traffic through the proxy, so users are responsible for allowing only trusted domains. source
Use cases
The README says srt can sandbox agents, local MCP servers, bash commands, and arbitrary processes, and can be used as a CLI tool or library. source
Violation monitoring
On macOS, srt can tap the system sandbox violation log store for real-time alerts; Linux bubblewrap does not provide built-in violation reporting. source
Windows limitation
On Windows, tools using schannel with certificate revocation checking enabled by default can fail because revocation requests are blocked by the egress fence. source
Windows limitations
On Windows, per-user tool installations may not be accessible to the sandbox account, and some schannel clients can fail when certificate revocation checks are enabled. source

Checked against the maker's pages on 5 Oct 2026.