• Sources: primary
  • Summary: The external sandbox pattern keeps the agent on the host and sends code execution to a dedicated sandbox. Three servers share one localhost API: one runs Alpine Linux in WebAssembly through v86, one runs Alpine in an Apple container instance, and one uses Microsoft's Quicksand library with bundled QEMU. Pi, Claude Code or Codex can be pointed at the API, and an optional HTTP proxy enforces a host allow-list and substitutes credentials so the agent never sees the secret.
  • Why it matters: It gives a way to try local models as coding agents without letting a mistake or prompt injection touch the host machine.