Skip to content

agent-box

Run coding agents and shells in isolated smolvm microVMs, then review and land their work in your checkout.

Updated

abx runs coding agents and shells in isolated smolvm microVMs on Apple silicon macOS and Linux (x86_64, arm64). Each box gets its own disk, allowlisted network and guest Git branch. Its work returns to your checkout only after you review it with abx diff and apply it with abx land.

agent-box

Try it

Install abx, then install smolvm 1.38.2. The install page covers the requirements and options.

curl -fsSL https://raw.githubusercontent.com/sandrinodm/agent-box/main/scripts/install.sh | sh

How it works

You start an agent in a box from a Git checkout. The box runs in a smolvm microVM with its own disk and an allowlisted network, and in masked mode its credentials stay on the host. The agent commits to a guest branch. abx diff shows those commits, and abx land applies exactly what you reviewed to your checkout.

On the host (macOS or Linux), the abx CLI starts a box with abx followed by the agent name. Credentials stay on the host in masked mode, and the box receives only an opaque handle. The box is a smolvm microVM that runs the coding agent, has its own disk that shares only transcripts with the host, and commits to the guest Git branch agent/box-name. Over an allowlisted network it reaches only the upstream model API hosts. abx diff reviews the guest branch and abx land applies it to your checkout, which the box never edits directly.

Features

Isolated boxes

Each box is a microVM with a dedicated disk. Stop keeps the disk, and remove archives the record. Learn more.

Six built-in agents

Claude Code, Codex, OpenCode, Pi, Antigravity and Cursor. Learn more.

Review before landing

Review the guest’s commits with abx diff, then land exactly that review in fast-forward, merge or squash mode. Learn more.

Credentials stay on the host

In masked mode the guest gets an opaque handle scoped to one endpoint, not your key. Learn more.

Secret providers

Read keys from the keyring, 1Password, pass, gopass, sops or systemd-creds. Learn more.

Network allowlist

A box reaches only the hosts its agents need, and a plain shell starts offline. Learn more.

Executable-path protection

Landing refuses changes to CI workflows, Git hooks and other paths that can run code on your host. Learn more.

Terminal UI and wizard

A dashboard for the current repo, and a menu-driven command builder. Learn more.

Automation

Headless runs with --json and --no-tty for scripts and other coding agents. Learn more.

Where to go next

Type to search…

↑↓ navigate↵ selectEsc close