Simon Willison describes external sandboxes for coding agents

Made by AIWritten by AI (Claude) from the source below. Check anything important against the source.How it's made

Simon Willison introduces a way of putting an external sandbox around a coding agent — only the code the agent runs goes inside the sandbox while the agent itself stays outside, and he wrote that the point is to make it safer to try out local models even when there are mistakes or prompt injection. He listed three demo servers that use the same local API: one running Alpine Linux on WebAssembly, one using Apple Containers, and one putting QEMU and Alpine on top of Microsoft Quicksand. The sandbox has an optional allow-list proxy for network traffic and a credential substitution layer that lets authenticated calls be made without holding the secrets themselves. He wrote that Pi, Claude Code and Codex can be run under this sandbox, and offered no security claims backed by testing.

Why it matters

It is a boundary that proposes caging the code an agent produces rather than the agent itself. It splits by structure the place where two demands collide — the harness has to be outside for work to get done, while execution has to be inside to be safe — and it addresses the same problem as OpenAI's publication of its Codex sandbox design the same week. This is his own design write-up, not a checked effect.

Source — Primary sources first; secondary reports are labelled “Press”

Officialsimonwillison.nethttps://simonwillison.net/2026/Nov/17/external-sandboxes-for-coding-agents/

Added in Week 48, 2026 · See that week

On the map — ㉒ Agent Security line

  1. Previous stopOpenAI releases GPT-6 Cyber, raises cyber rating from High to Critical
  2. This recordSimon Willison
  3. Next stopOpenAI and Cisco release Shirudo, an open-source Linux runtime
See it on the map

Same week

OpenAI proposes measuring pretraining progress with perplexityOfficialHugging Face releases adapters that tune a model to each harnessOfficialThinking Machines releases Inkling 2 MiniOfficialAnthropic announces completion of its initial public offeringOfficial

Nearby on the same axis

OpenAI publishes how Codex sandboxes the code its agent runsOfficialOpenAI publishes its approach to countering adversarial distillationOfficialOpenAI and Cisco release Shirudo, an open-source Linux runtimeOfficialOpenAI releases GPT-6 Cyber, raises cyber rating from High to CriticalOfficial