---
title: "Overview"
description: "What an abx box is, what it isolates, and how it differs from running a coding agent directly on your machine."
---

> Documentation Index
> Fetch the complete documentation index at: https://sandrinodm.github.io/agent-box/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

`abx` runs coding agents and shells in isolated [smolvm](https://github.com/smol-machines/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.

> **Early release**
>
> abx is before `1.0`, so expect breaking changes; see the [releases page](https://sandrinodm.github.io/agent-box/project/releases/).

## 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](https://sandrinodm.github.io/agent-box/concepts/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](https://sandrinodm.github.io/agent-box/agents/) for what each one supports.

## Where to go next

- [Install](https://sandrinodm.github.io/agent-box/get-started/install/) — Install abx and smolvm 1.38.2.
- [Quickstart](https://sandrinodm.github.io/agent-box/get-started/quickstart/) — Run your first box and land its work.
- [Boxes](https://sandrinodm.github.io/agent-box/concepts/boxes/) — Lifecycle, disks and how a box is selected.
- [Security model](https://sandrinodm.github.io/agent-box/concepts/security-model/) — What isolation covers and what it does not.

Source: https://sandrinodm.github.io/agent-box/get-started/overview/index.mdx
