External sandboxes for coding agents
The point
Simon Willison worked with Prime Radiant on an external sandbox pattern for coding agents. Executed code runs in a dedicated sandbox while the agent lives outside, reducing risk from mistakes or prompt injection.
Why it matters
For builders, this isolates untrusted code without changing the agent workflow.
Key details
- Three servers share one localhost API: v86, container, and quicksand
- v86 uses WebAssembly, container uses Apple Containers, quicksand bundles QEMU and Alpine Linux
- Optional allow-list proxy controls hosts, and credential replacement avoids sharing secrets with the agent
Original ~3 min → 25 sec here Source: Simon Willison, Nov 17, 2026