Simon Willison describes the external sandbox pattern for coding agents
Start here
Simon Willison describes the external sandbox pattern for coding agents: the agent runs on the Mac, code executes in a WebAssembly, QEMU or Apple Container sandbox, and the virtual machine communicates externally only through mounted directories and a user-controlled allowlist proxy; the linked Prime Radiant blog post provides demos for Claude Code, Codex and Pi.
Generated by AI from reports · Updated 12 days ago
Progress timeline
- X @simonwSimon Willison introduces the external sandbox pattern for coding agents: the agent runs on the Mac, and the code executes in a sandbox
The external sandbox pattern lets coding agents run on a local Mac, but the code generated by the agent executes in a WebAssembly, QEMU or Apple Container sandbox. Simon Willison introduces this pattern in a tweet and links to a detailed article on the Prime Radiant blog, which provides demos for Claude Code, Codex and Pi. In the architecture diagram, the agent sends commands to a Linux virtual machine inside a local localhost:8686 sandbox server (run by v86, Apple container or QEMU); mounted directories (read-only or read-write) and a user-controllable allowlist proxy are the virtual machine's only external channels, and outbound requests are allowed through the proxy to permitted hosts.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@XingeaiA chill down the spine: this morning, overseas developer Simon Willison posted an external sandbox solution specifically for Claude Code, Codex and Pi. The Agent still runs on your own Mac, but every command they execute goes into a Linux sandbox, which by default cannot see what you haven't mounted…(opens the original post in a new tab)
2 likes·Nov 17 12:40Collect
- X@shao__mengSimon Willison introduces external sandboxes: the Agent stays on the Mac, commands enter an isolated environment. In "External sandboxes for coding agents", Simon Willison shares: letting Claude Code,…(opens the original post in a new tab)
1 likes·Nov 17 12:40Collect
- X@sabrielatmojoLetting a coding agent run shell commands isn't the scary part anymore. Letting it run them on your whole laptop is. @s…(opens the original post in a new tab)
2 likes·Nov 17 12:40Collect
Attention trend
New sources per day
- Nov 17: 4 new sources (1 outlets, 3 accounts)
- Nov 18: 0 new sources (0 outlets, 0 accounts)
- Nov 19: 0 new sources (0 outlets, 0 accounts)
- Nov 20: 0 new sources (0 outlets, 0 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)