Signal · 2026-11-22

External Sandboxes: A Protocol for Agent Sandboxing That Doesn't Depend on Model Judgment


Prime Radiant releases three open-source external sandbox backends for coding agents — same protocol, VM-isolation instead of AI judgment.

Engraving of a thick, doorless stone wall. On one side a small figure hammers an orange beam that passes straight through the wall. On the other side the beam holds up the corner of a small house, and a crack runs along the beam into the house's splitting masonry.
Reading
A sealed environment protects the host because its walls hold, not because someone inside or outside judges each act correctly. Whatever the agent does in there stays there. The real exposure is whatever is deliberately passed through the wall, such as a shared folder the agent is allowed to change.
Idea drawn
A small figure works a hammer inside a sealed, gateless stone enclosure, and the only thing that suffers outside is the far end of an orange beam that passes through the wall.
Rests on
"The isolation boundary is enforced by the VM/WASM layer, not by a classifier." / "The weak point isn't the isolation — that's sound — but the mounted folders."
E. Tching, The Beam Through the Wall

Signal: an open-source protocol for isolating coding-agent execution that doesn’t depend on another model to judge commands.

What shipped

Prime Radiant released three open-source implementations of an “external sandbox” pattern for coding agents, all speaking the same localhost protocol. The backends are:

  • v86 — a Node.js server running Alpine Linux inside WebAssembly via the v86 x86 emulator (repo)
  • Apple Containers — a Python web server executing a sandboxed Alpine Linux instance inside Apple Containers (repo)
  • Quicksand — a Python server bundling Microsoft’s Quicksand library (documentation) with QEMU and Alpine Linux (repo)

All three run Claude Code, Codex, or Pi’s agent on the host machine while routing code execution to the sandbox. Commands that run inside the sandbox see only the mounted folders and the network hosts on an allow-list proxy. The credential replacement mechanism adds API keys server-side so the agent never sees the secrets.

The protocol specification and conformance test live at the external-sandbox repo.

Why the audience cares

This is infrastructure for the agentic economy’s execution layer. As coding agents move from side-project novelty to production tool, the question of where untrusted agent output actually runs becomes a platform economics problem, not a security-afterthought.

Prime Radiant’s announcement notes that Claude Code’s auto mode and Codex’s auto-review use additional AI checks to decide when it is safe to continue. That works until the judge model is wrong, a risk that grows with cheaper or locally-run models where prompt injection is easier.

An external sandbox is different: it doesn’t depend on model judgment at all. The isolation boundary is enforced by the VM/WASM layer, not by a classifier. If the agent decides to rm -rf /, the VM simply doesn’t have access to the host’s root filesystem. That’s a harder guarantee.

The Quicksand README reports concrete boot figures: about seven seconds on Apple silicon for a fresh Alpine image build, producing a 65 MB Quicksand persistent snapshot; later starts boot from that save and serve requests in about a second (backend README). The announcement does not publish per-command latency benchmarks.

What to watch next

The weak point isn’t the isolation — that’s sound — but the mounted folders. A read-write mount still lets the agent damage anything in that directory. The question is whether these sandboxes can scale to production use cases where agents need access to complex dependency trees, platform-specific build tools, and cloud credentials. The current implementation notes that macOS-built dependencies may need reinstalling inside the Linux sandbox — a friction point that matters at scale.

Also watch: whether the protocol gains adoption beyond the Claude Code / Codex / Pi trio. If other agent frameworks adopt this shared sandbox protocol, we get a standard for agent execution environments — the Open Container Initiative for containers was built the same way.

The caveat

This is a prototype, not a product. The three implementations are from a single research lab (Prime Radiant), tested against three specific agents. Independent security audits have not been published. The v86 backend — the simplest to try out with two npx commands — runs an x86 emulator in WebAssembly, which carries its own performance overhead and attack surface. Whether this pattern becomes the default for coding agents or remains a niche experimentation tool will depend on whether the protocol can survive real adversarial use.