Skip to content
AI IntelligenceNov 17, 2026Practical Tip
Article

Simon Willison describes an external sandbox pattern, developed with Prime Radiant…

…where code executed by a coding agent runs inside a dedicated sandbox while the agent itself lives outside it. Three sandbox server implementations were released (external-sandbox-v86, external-sandbox-container, external-sandbox-quicksand), each offering the same localhost API that tools like Pi, Claude Code, or Codex can be configured to call.

AI-generated: summaries written by AI from the linked sources. How we use AI

AI-generatedSource: Simon Willison
01

Source Brief

Simon Willison describes an external sandbox pattern, developed with Prime Radiant, where code executed by a coding agent runs inside a dedicated sandbox while the agent itself lives outside it. Three sandbox server implementations were released (external-sandbox-v86, external-sandbox-container, external-sandbox-quicksand), each offering the same localhost API that tools like Pi, Claude Code, or Codex can be configured to call.

02

Practical Tip

Run agent-executed code in an external sandbox separate from the agent, and point your coding agent at the sandbox's localhost API to reduce risk from mistakes or prompt injection.