---
title: "agent-box"
description: "Run coding agents and shells in isolated smolvm microVMs, then review and land their work in your checkout."
---

> 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.

# agent-box

`abx` runs coding agents and shells in isolated [smolvm](https://github.com/smol-machines/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](https://sandrinodm.github.io/agent-box/_nimbus/md/elauhe/agent-box-banner.webp)

## Try it

Install `abx`, then install [smolvm 1.38.2](https://github.com/smol-machines/smolvm/releases/tag/v1.38.2). The [install page](https://sandrinodm.github.io/agent-box/get-started/install/) covers the requirements and options.

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

<div class="flex flex-wrap gap-3">

Quickstart

Overview

</div>

> **Using a coding agent?**
>
> These docs are also published for agents at [`llms.txt`](https://sandrinodm.github.io/agent-box/llms.txt), an index with a Markdown version of every page. Copy this prompt into your agent:
>
> ```text
> Read https://sandrinodm.github.io/agent-box/llms.txt, then fetch only the pages you need to help me install abx and run my first box.
> ```

## 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.](https://sandrinodm.github.io/agent-box/_nimbus/md/6yhpml/agent-box-architecture.webp)

## Features

- **Isolated boxes** — Each box is a microVM with a dedicated disk. Stop keeps the disk, and remove archives the record. [Learn more](https://sandrinodm.github.io/agent-box/concepts/boxes/).
- **Six built-in agents** — Claude Code, Codex, OpenCode, Pi, Antigravity and Cursor. [Learn more](https://sandrinodm.github.io/agent-box/agents/).
- **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](https://sandrinodm.github.io/agent-box/git-workflow/review-and-land/).
- **Credentials stay on the host** — In `masked` mode the guest gets an opaque handle scoped to one endpoint, not your key. [Learn more](https://sandrinodm.github.io/agent-box/authentication/access-modes/).
- **Secret providers** — Read keys from the keyring, 1Password, pass, gopass, sops or systemd-creds. [Learn more](https://sandrinodm.github.io/agent-box/authentication/secret-providers/).
- **Network allowlist** — A box reaches only the hosts its agents need, and a plain shell starts offline. [Learn more](https://sandrinodm.github.io/agent-box/network/policy/).
- **Executable-path protection** — Landing refuses changes to CI workflows, Git hooks and other paths that can run code on your host. [Learn more](https://sandrinodm.github.io/agent-box/git-workflow/executable-paths/).
- **Terminal UI and wizard** — A dashboard for the current repo, and a menu-driven command builder. [Learn more](https://sandrinodm.github.io/agent-box/interfaces/tui/).
- **Automation** — Headless runs with `--json` and `--no-tty` for scripts and other coding agents. [Learn more](https://sandrinodm.github.io/agent-box/automation/headless/).

## Where to go next

- [Get started](https://sandrinodm.github.io/agent-box/get-started/quickstart/) — Install abx and run your first box.
- [Concepts](https://sandrinodm.github.io/agent-box/concepts/boxes/) — Boxes, workspaces, images, sessions and the security model.
- [Agents](https://sandrinodm.github.io/agent-box/agents/) — Setup and sign-in for each built-in agent.
- [Authentication](https://sandrinodm.github.io/agent-box/authentication/access-modes/) — Access modes, secret providers and verification.
- [Git workflow](https://sandrinodm.github.io/agent-box/git-workflow/review-and-land/) — Review, land and remove boxes.
- [Operate](https://sandrinodm.github.io/agent-box/operate/troubleshooting/) — Troubleshooting, Linux hosts and upgrading.
- [Reference](https://sandrinodm.github.io/agent-box/reference/cli/) — CLI, JSON output, error codes and environment variables.
- [Project](https://sandrinodm.github.io/agent-box/project/architecture/) — Architecture, contributing, security and releases.

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