The Platform PM

Explore

How sandboxes contain an agent

Put a coding agent in a box, one control per step, and see what each control stops and what still gets through. About 10 minutes.

The loop from How software gets built with AI. Everything after the coding agent fades, and the picture zooms in on where its commands run.

Step 01 of 06

The box

At the invoicing software company from How software gets built with AI, a developer hands a coding agent (Claude Code, Copilot, Codex, Cursor) a GitHub issue: upgrade the PDF library from version 4 to 5. The model, at a lab such as Anthropic or OpenAI, proposes commands and never runs them. They run in a sandbox holding a copy of the repo, on the vendor's machines for a cloud agent (this page follows one) or on the developer's laptop for a local one. Under it is the host machine, in the cloud shared with other customers. Containment is everything that limits what the agent can reach and change, whatever the model decides. A container fences off files and processes but shares the host's kernel (the core of the operating system) with every other container on it. Google's gVisor puts a stand-in kernel in between. A micro-VM gets its own kernel: AWS's Firecracker, which runs Lambda, boots one in under 125 milliseconds.

Your guess

The agent installs version 5, and one of its packages runs a script that hunts for keys. In a fresh container in the vendor's cloud, what does the script find?

Make a guess to continue.