Anthropic Sandbox Runtime: Lightweight Process Isolation Without Containers

Repositoryanthropics/sandbox-runtimeTool

Anthropic's Sandbox Runtime (srt) is an open-source tool designed to enforce OS-level filesystem and network restrictions on arbitrary processes. Developed as a safety component for Claude Code, it isolates AI agents, MCP servers, and shell commands without requiring containerisation.

Key points

  1. Uses native OS sandboxing primitives: sandbox-exec on macOS and bubblewrap on Linux, combined with proxy-based network filtering.
  2. Implements a secure-by-default design where processes start with minimal privileges and require explicit access rules.
  3. Usable both as a standalone CLI utility and as an importable library.
  4. Provides fine-grained controls for HTTP/HTTPS domains, filesystem read/write paths, and local Unix sockets.
  5. Supports real-time violation monitoring on macOS via the system sandbox violation log store.

Why it matters

Autonomous AI agents and MCP servers routinely execute shell commands and file operations on developer workstations. Full container environments often introduce too much friction for interactive CLI tools. srt fills this gap by leveraging operating system primitives directly, preventing data exfiltration and unintended modifications with minimal overhead.

Analysis

Anthropic explicitly marks the project as a 'Beta Research Preview', noting that configuration formats and APIs may still evolve. Architecturally, leaning on established mechanisms like bubblewrap and sandbox-exec keeps the runtime fast and lightweight. For teams integrating autonomous agents or untrusted MCP servers into their workflows, srt offers a practical security guardrail against accidental or malicious host system access.

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Article:Anthropic Engineering

    How Anthropic Isolates and Contains Claude Agents Across Products

    Anthropic outlines its containment architecture designed to cap the blast radius of autonomous AI agents across claude.ai and Claude Code. As human oversight falters due to approval fatigue, security relies primarily on deterministic OS and container sandboxes.

    AI & LLMs· Research

  • Repository:microsoft/mxc

    Microsoft eXecution Container (MXC): Sandboxed Execution for Untrusted Code

    Microsoft eXecution Container (MXC) is a cross-platform sandboxed code execution framework designed for running untrusted workloads such as AI model output, plugins, and tools across Windows, Linux, and macOS. It wraps native OS containment mechanisms and VMs into a unified policy engine and typed SDKs.

    1.8kstarsRust

    AI & LLMs· Tool

  • Repository:nanocoai/nanoclaw

    NanoClaw: Container-Isolated Open-Source Alternative to OpenClaw

    NanoClaw is a lightweight AI assistant framework running directly on Anthropic's Agents SDK. Unlike complex alternatives like OpenClaw, it isolates agents inside dedicated Linux containers and connects them to platforms such as Slack, Telegram, WhatsApp, and Discord.

    30.7kstarsTypeScript

    AI & LLMs· Tool

  • Repository:NVIDIA/OpenShell

    NVIDIA OpenShell: Isolated Runtime for Autonomous AI Agents

    NVIDIA OpenShell is an open-source runtime written in Rust designed to run autonomous AI agents in secure sandboxes. It enforces declarative policies at the kernel level and guards access to network routes and credentials.

    16.6kstarsRust

    AI & LLMs· Tool

  • X post:Simon Willison

    Microsoft MXC: Open-Source Sandboxing for AI Agents and Untrusted Code

    Simon Willison highlights Microsoft's newly open-sourced MXC (Microsoft eXecution Container). The cross-platform library enables sandboxed execution of untrusted code—such as model outputs, plugins, and tools—across Windows, Linux, and macOS.

    545bookmarks45.5kviews

    AI & LLMs· Tool

  • Repository:agent-substrate/substrate

    Agent Substrate: Zero-Trust Sandboxing for Autonomous Agents on Kubernetes

    Agent Substrate is an open-source Go runtime designed to run millions of agent workloads securely and efficiently on Kubernetes. It isolates untrusted code using microVMs or gVisor and snapshots idle agents to save resources.

    5.4kstarsGo

    AI & LLMs· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.