Simon Willison Ships External Sandboxes: Run Claude Code or Codex with Every Command Sandboxed
JeremyCMorgan · x · 2026-11-24
Simon Willison released the 'external sandboxes' pattern for coding agents: the agent runs on your machine but every command executes in a separate Linux sandbox that only sees mounted folders and allowed hosts — no trust in the model required.
Key points:
- Three prototype implementations with the same protocol: Node.js + WebAssembly (v86 x86 emulator), Apple Containers, and Microsoft's Quicksand with QEMU
- Simplest demo takes two npx commands: spin up an Alpine Linux sandbox via v86 (an x86 emulator compiled to WebAssembly, hosted in Node.js, requires Node 22.19+), then start a Pi coding agent pointed at the sandbox
- Ships three reference servers, a protocol spec, and a conformance suite
- Claude Code and Codex also work with extra setup; the agent can read/write files in the project folder but nothing else on your machine
More from coding & agent
- After 2,500+ customers, Hex argues you can't just shove enterprise context into the window — hwchase17 · 2026-11-24
- Solo dev ships civic AI app via vibe coding: 9,133 contributions, 1,435 commits in two months — IAmAdrianSwish · 2026-11-24
- 23 curated agent skills open-sourced, with a gate that rejects unverified fix claims — GabGarrett · 2026-11-24
- LLM-generated PLC code compiles but is unsafe, so this dev gated it behind a real compiler — hanuhanuhanuman · 2026-11-24
- Claude Code 2.1.331 ships 135 CLI changes and drops the risky-action confirmation guardrail — ClaudeCodeLog · 2026-11-24
- Borrowing aviation CRM, commander's intent and point-and-call to design better agents — minhnguyen · 2026-11-24