Anthropic open-sources sandbox-runtime, the OS-level sandbox behind Claude Code

solyarisoftware · x · 2026-10-24

Anthropic has open-sourced sandbox-runtime, the lightweight sandboxing tool used by Claude Code. It enforces filesystem and network restrictions at the OS level on arbitrary processes — using macOS's built-in Seatbelt and bubblewrap on Linux — without requiring a full container. It works not only with Claude Code but also with your own agents, MCP servers, or plain CLI tools.

The post also flags the real challenge: agents need to install dependencies, fetch docs, and call APIs. Whitelists that are too tight break tasks; too loose, the sandbox loses its value. The hard part of agent sandboxing is balancing security with usability.

Original post →

More from coding & agent

coding & agent channel →