OPEN SOURCE · APACHE 2.0
The microVM sandbox for AI coding agents.
Run Claude Code, Codex and other agents inside an ephemeral microVM on Mac or Linux.
Free and open source, under Apache 2.0.
Built by NOFire AIA REAL SESSION
Claude Code in a sandbox, working on one project.
01 / ISOLATION
Why a microVM?
Coding agents install packages, execute commands and use credentials. With auto-approval, they can do this without stopping to ask.
Brig contains the agent's execution inside a microVM, with its own Linux kernel and a hardware-enforced isolation boundary.
A Docker dev container shares the host's kernel. Docker Sandboxes boots a microVM, from a closed-source tool. Brig boots one under an open-source hypervisor.
Read the security model → Compare Brig with Docker sandboxes →02 / NETWORK
You choose where it connects.
A policy names the hosts and ranges the agent can reach. Brig enforces it outside the guest, at a gateway on macOS and in nftables on Linux.
A name you did not allow does not resolve, and an address you did not allow does not connect.
Write a policy →03 / CREDENTIALS
Keys stay on your machine.
With a route, the agent gets a session token in place of the key. The broker on your machine adds the key to each request the route allows, by method, path and git repository.
Any other request is refused before the key is read.
Set up the broker →04 / COMPATIBILITY
Use your usual agent.
Curated profiles, ready to run.
Or bring your own environment using OCI images.
Write a profile →05 / OPEN SOURCE
Apache 2.0.
Brig, hull and hvi.
Free to use, inspect and contribute to.
On macOS, hull boots each sandbox on hvi, a microVMM built for Brig. hvi owns the guest's memory and vCPUs, serves its virtio devices, and confines itself before the guest runs. It is about 15,000 lines of Rust, plus tests.