Skip to content
Loading the edition.

External sandboxes for coding agents

Simon Willison · AI products · Read No. 34, 18 November 2026

Summary by AI: A new external sandbox pattern isolates code executed by AI agents from the host machine. This approach enhances safety when running local models by preventing prompt injection attacks from causing system damage.

The call, by AI: The author proposes running agent-executed code in a separate external sandbox to prevent local damage from prompt injection or errors.

More in this edition

On The PM Code