mishal brands

Anthropic Sandbox Runtime: developer tools for developers

Visit official site

Official site link, not an affiliate link. We do not have an approved referral link for Anthropic Sandbox Runtime.

Anthropic Sandbox Runtime helps you build software by this route: open-source sandbox that limits the files and network an AI agent or command can reach. It is best for developers who run AI agents, MCP servers or scripts and want OS-level file and network limits. People also use it to automate repetitive work. A free plan is available.

Illustrative preview: a generic illustration of the tool’s job
Illustrative preview

What it does

srt uses the operating system’s own sandboxing (sandbox-exec on macOS, bubblewrap on Linux, and an alpha Windows mode) plus proxy-based network filtering. By default network access is denied and writes are allowed only where you list them, so you open only the holes a task needs. Its README shows sandboxing a local MCP server by putting srt in front of the server command, and it can be used as a CLI or a library.

Official site:github.com/anthropics/sandbox-runtime.

Editorial note

Anthropic Sandbox Runtime (srt) is an open-source tool that wraps a command in OS-level file and network restrictions, without a container. Anthropic describes it as a research preview developed for Claude Code.

Who it’s for

Key use cases

What you can do with it

How to use Anthropic Sandbox Runtime: step-by-step tutorial

Five to eight steps from the account to a first useful result. Where the official guide names a control, the step uses that name. Where it does not, the step stays general.

  1. Open github.com and create an account on the free plan. You can reach a first result before you choose a paid plan.
  2. Install it: npm install -g @anthropic-ai/sandbox-runtime (Linux also needs bubblewrap, socat and ripgrep, per the README).
  3. Test it: srt "curl example.com" should be blocked unless the domain is allowed.
  4. Create ~/.srt-settings.json with the domains and folders the tool may use.
  5. In your .mcp.json, put "srt" as the command and the original server command in its arguments.
  6. Run your agent and check any blocked actions, then allow only what is truly needed.

These steps follow the official guide: sandbox-runtime on GitHub.

Frequently asked questions

Is Anthropic Sandbox Runtime free?

Yes. The npm package lists the Apache-2.0 license, checked October 24, 2026.

Does srt need Docker?

No. Its README says it enforces restrictions at the OS level without requiring a container.

Which systems does it support?

macOS and Linux, with Windows support in alpha, per the README.

Is it production-ready?

Anthropic labels it a beta research preview whose APIs and configuration may change.

Pricing

Prices checked on the official pricing page.

Open source

Free

Apache-2.0; install with npm install -g @anthropic-ai/sandbox-runtime

Facts

Access
Ongoing free plan
Paid plans from
Free
Checked
Category
Category: Development tools (31 in the library).
On the record
Anthropic Sandbox Runtime is open source under the Apache-2.0 license, per its npm package.
Sources