DigestAI news desk

Cut through the AI noise.

Agents & Tools2 min read

Prime Radiant releases three external sandbox implementations for coding agents

The core idea is that the agent itself lives outside the sandbox, while the code it executes runs inside a dedicated, isolated environment. This approach aims to prevent damaging actions on the host machine caused by mistakes or prompt injection attacks, particularly when experimenting with local models.

1 source

Key points

  • Prime Radiant released three sandbox server implementations: external-sandbox-v86, external-sandbox-container, and external-sandbox-quicksand.
  • The pattern keeps the agent outside the sandbox while code execution happens inside, reducing risk from prompt injection.
  • Sandboxes include an optional HTTP/HTTPS allow-list proxy and credential replacement mechanism for secure API calls.

To demonstrate this pattern, the team released three specific sandbox server implementations. The first, external-sandbox-v86, uses a Node.js server to run Alpine Linux inside WebAssembly via v86. The second, external-sandbox-container, is a Python web server that runs the sandbox in Alpine Linux inside an Apple Containers instance. The third, external-sandbox-quicksand, is another Python web server utilizing Microsoft's Quicksand sandboxing library, which bundles QEMU and Alpine Linux in a Python package.

All three implementations offer the same localhost API, allowing tools like Pi, Claude Code, or Codex to send API calls to the sandbox for code execution. They also include an optional HTTP/HTTPS allow-list proxy to control which hosts the agent's code can communicate with, along with a credential replacement mechanism that enables authenticated API calls without sharing secrets with the agent.

Full story from Simon Willison · by Simon WillisonOpen source ↗
Topics · follow one to build your own front page
Prime RadiantMicrosoft

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Agents & Tools

All →

Related stories