Anthropic open sourced the sandboxing layer behind Claude Code as a tool that wraps any process with filesystem and network restrictions. You can use it to contain other agents, MCP servers or scripts under the same policy model. It is also a practical way to learn how proxy-based network filtering works.
Read in this order
- Open sourceanthropics/sandbox-runtimeStart here: the tool itself, with config examples you can run today.
- ArticleMaking Claude Code safer with sandboxing (Anthropic)The design thinking behind it, including the network proxy approach.