Skip to content

Overview

What an abx box is, what it isolates, and how it differs from running a coding agent directly on your machine.

Updated

abx runs coding agents and shells in isolated smolvm microVMs, called boxes, on Apple silicon macOS and Linux (x86_64 and arm64). Read this page to decide whether it fits your workflow and to learn the terms the rest of the documentation uses.

What a box is

A box is one microVM with its own disk, its own network policy and, in a Git checkout, its own branch. You start one with a command such as abx claude fix-auth: claude is the agent and fix-auth is the box name. Running the same command again reattaches to the box.

  • Disk. Each box has a dedicated disk. abx stop keeps it, and abx rm deletes the VM and moves its record and agent transcripts to an archive.
  • Network. A box can reach only the hosts its agents and login mode require plus any you add with --allow, or nothing at all. A plain abx shell box starts offline. The policy is fixed when the box is created, and abx net shows it.
  • Git branch. In a Git checkout, /work in the box starts as your current commit on a branch named agent/<box>. Without a checkout, or with --no-git, the box is a scratch box with an empty /work.
  • Transcripts. The only host directory a box mounts is its transcripts directory, at /abx/transcripts.

What abx protects

  • Your checkout. The agent’s commits reach your checkout only through abx diff and abx land. abx land applies exactly what the last diff showed, and it refuses changes to paths that can run code on your host, such as CI workflows or Git hook configuration, until you pass --allow-executable. abx rm refuses to delete commits that were never landed unless you pass --force.
  • Your credentials. In masked access mode, API keys and host-managed OAuth tokens stay on your machine. The guest receives an opaque handle that works for one endpoint. The global and local modes let the agent sign in inside the guest instead.
  • Your network. The guest can connect only to the allowlisted hostnames, and private, loopback and link-local address ranges are denied even if an allowed name resolves into them.

For the full picture of what is and is not covered, see the security model.

Compared with running an agent on the host

Agent on your host Agent in an abx box
Files it can read Whatever your user can read Only /work and the box’s own disk
Network Unrestricted Allowlisted hosts or offline
API keys In your environment or config files On the host in masked mode
Changes to your repository Written directly to your working tree Reviewed with abx diff, applied with abx land
Cost None beyond the agent A microVM per box, a base image to build, and smolvm to install

abx is for developers who want to let an agent run commands and edit code with less trust in it, and who want a review step before its work lands. If you only need an occasional suggestion, running the agent directly is simpler.

Built-in agents

abx has adapters for six agents: Claude Code (claude), Codex (codex), OpenCode (opencode), Pi (pi), Antigravity (agy) and Cursor (cursor). See Agents for what each one supports.

Where to go next

Type to search…

↑↓ navigate↵ selectEsc close