SW
The brief
- β’The pattern runs agents outside a dedicated sandbox where their code executes.
- β’Implementations use v86 with WebAssembly, Apple Containers, or Microsoftβs Quicksand library; all provide the same localhost API.
- β’Optional features restrict network access with an HTTP/HTTPS host allow-list and replace credentials so agents need not see secrets.
- β’Pi, Claude Code and Codex can be configured to send code-execution calls to the sandbox.