sandbox-runtime (srt)

Anthropic's open-source OS-level sandbox. It restricts files and network access for a command, agent or MCP server, with no containers.

How to try it

  1. You need Node.js 22.12+. On macOS also install `brew install ripgrep`; on Linux run `sudo apt-get install bubblewrap socat ripgrep`.
  2. Install the tool: `npm install -g @anthropic-ai/sandbox-runtime`.
  3. Try `srt "curl anthropic.com"`. By default there's no network and no writes outside allowed paths.
  4. Create `~/.srt-settings.json` with `allowedDomains` (e.g. `*.npmjs.org`, `github.com`) and `denyWrite: [".env"]`, then run `srt npm install` in your project.

Price: free

Official link

More new tools