AI Aulis

AI NEWS IN ENGLISH · 17 November 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

← Issue 17 November 2026Paper

New prototypes run Claude Code, Codex and Pi commands in a Linux sandbox

AI-generated contentWritten by AI

blog.primeradiant.com, x.com · 2 sources · Sources published: 17 November 2026

In experimental tools from Simon Willison and Prime Radiant, Claude Code, Codex and Pi run on the user’s Mac, but the agent’s commands execute in a Linux sandbox. The sandbox sees only the folders and web addresses the user allows.

In a post on the Prime Radiant blog on 16 November, Simon Willison presented an approach the authors call an external sandbox. ‘External’ means the sandbox is separate from the agent. Both can still run on the same machine.

A coding agent is a program that writes and runs code using a language model. In this setup, the agent sends its commands to a Linux virtual machine. The virtual machine sees only the folders the user mounts, either read-only or with write access. By default it has no network access.

Willison said approving every action by hand is slow, and decision fatigue leads users to approve everything on reflex without thinking. Claude Code’s auto mode and Codex’s auto-review use AI to assess the agent’s actions. In Willison’s view they appear to work well, but they still rely on a model’s judgement. A sandbox does not. Willison considers this especially important for cheaper and locally run models, which make mistakes more easily and are easier to trick with prompt injection.

The authors chose a design in which the agent runs outside the sandbox rather than inside it. This avoids situations where the agent modifies itself or its immediate environment, and keeps the boundary clear and easier to audit, the authors said.

Three implementations, one interface

One prototype is a Node.js program that runs Alpine Linux in the v86 emulator, compiled to WebAssembly. The other two are Python programs: one uses Apple’s Containers technology, the other Microsoft’s Quicksand and a QEMU virtual machine. All three share the same local interface, and the authors have published a specification and a compatibility test for it.

The agents use the sandbox to different extents. Claude Code sends only its Bash commands there. Its own tools for reading and editing files still run on the Mac and work on files directly. Codex routes its processes and file operations to the sandbox. Pi uses an extension to replace all its own tools. With the built-in tools switched off, nothing runs on the user’s machine, even if the extension fails to load.

Proxy restricts connections and hides keys

Users can allow HTTP and HTTPS traffic through a proxy. The traffic can then reach only selected servers, using only selected HTTP methods. Code that tries to bypass the proxy is blocked. In the browser, users can change the rules mid-session and monitor allowed and blocked requests.

The proxy can also add an API key to a request. Code in the sandbox uses a placeholder value, which the proxy swaps for the real key, so the agent never sees the key. An allowed service could still return the key in its response, however. Willison therefore advises using the feature only with trusted services and tightly restricting methods and paths.

Willison calls the tools experimental prototypes. They have not been audited to a level where they could be trusted with sensitive work. The agent can still damage a folder it has write access to, so that folder should be kept under version control. Dependencies already installed on the Mac, such as a node_modules folder, may need reinstalling in the sandbox. The interface Codex uses is experimental, and the tests were run with Codex CLI version 0.164.0.

The v86 version requires Node.js 22.19 or later, the Python versions an Apple silicon Mac, and the Pi extension Pi 1.5 or later. Instructions for Claude Code, Codex and Pi are in the post, and a helper script for Claude Code is in the external-sandbox repository on GitHub.

Report an error in this story