Use this page when an abx command fails or hangs. Start with abx status, which starts no VM and tells you what is missing and what to run next. Messages are quoted as abx prints them, with names and paths shown as placeholders. When stderr is not a terminal, each one starts with abx: .
Failures that carry a machine-readable code are listed in Error codes. The sections below are keyed by what you see. Linux-specific problems are on Linux hosts.
Diagnostic logs
Once the abx home is initialized, each invocation appends JSON lines to $ABX_HOME/logs/YYYY-MM-DD.jsonl, with the date in UTC. The default home is ~/.abx, so the logs are in ~/.abx/logs/. There is nothing to enable. To watch today’s file while you reproduce a problem, run this in another terminal:
tail -F "${ABX_HOME:-$HOME/.abx}/logs/$(date -u +%F).jsonl"Follow the records that share a runId to reconstruct one command. What to look for:
- A command hangs. A
backend-startentry is written beforeabxcalls smolvm. Look for the last start without a matchingbackend-finishorbackend-failedin that run. Both outcomes include the elapsed time in milliseconds. - A command fails. The
failedentry gives the error code, exit status and available source locations. Check the preceding step and backend records for the operation, the subprocess exit code or a recognized system error such asENOSPC. - A launch or credential refresh misbehaves.
launch-requestidentifies the agent or shell and the terminal mode.box-selectedrecords the box name, workspace kind and whether the box already existed. Aguest-launchentry marks the handoff, and a one-shot command records its final status inexit. For detached credential renewal, matchrenewal-workerentries byboxId.
The files are private to the host user. The log stores host metadata and step labels, which can include box names. Raw arguments (only flag names are kept), environment values, subprocess output and free-form error messages stay out of the log, and the terminal shows the full diagnostic. abx keeps today’s log and the previous six dates, and prunes older files the next time it writes. If the home is not initialized yet or cannot be used safely, the terminal is the only source of diagnostics.
smolvm
Could not find smolvm. Set ABX_SMOLVM to its absolute path. abx never searches PATH. When ABX_SMOLVM is set, abx uses that path alone, with no fallback. When it is unset, abx checks fixed locations:
| Host | Locations checked |
|---|---|
| macOS | ~/.local/bin/smolvm, /opt/homebrew/bin/smolvm, /usr/local/bin/smolvm |
| Linux | ~/.local/bin/smolvm, /usr/local/bin/smolvm, /opt/smolvm/smolvm |
Install smolvm 1.38.2 at one of them, or set ABX_SMOLVM to its absolute path.
Expected smolvm 1.38.2. Found ... abx accepts only smolvm 1.38.2. Install that version; see Upgrading.
ABX_SMOLVM must be an absolute executable path. ABX_HOME and ABX_SMOLVM_STATE_DIR must also be absolute. abx help, abx auth status and parse errors work without smolvm.
Unsafe or incomplete smolvm installation: <path> (...) on Linux: see Linux hosts.
The abx home
<path> is not an abx layout 2 home. Point ABX_HOME elsewhere or remove it. The directory has files but no layout.json with {"layout": 2}, or it has another layout. abx never migrates an older home such as ~/.agent-box. Point ABX_HOME at a new or empty directory, or remove the old one.
Created a new abx home. State from an older release in ... is ignored and can be deleted. Printed once, when the default home ~/.abx is created and ~/.agent-box or ~/.config/agent-box exists. Old boxes, logins and config.toml are not imported, so set up authentication again with abx auth set. smolvm machines named abx-* from the old release remain until you delete them with smolvm.
<path> must be a directory owned by you with no access for other users. The home is a symlink, belongs to someone else or is open to other users. Use a real private directory with mode 0700.
Workspaces
abx does not use <dir> as a workspace. cd into a project folder or pass -C DIR. abx will not use $HOME, or any folder inside ABX_HOME, as a scratch workspace. Run it from a project folder or pass -C DIR. A Git checkout rooted at $HOME is allowed.
<dir> has the same workspace marker as <other>, so it looks like a copy, and its boxes stay with <other>. The folder was copied together with its .git/abx/workspace.json or .abx/workspace.json, and the original still exists. Run abx workspace new in the copy to give it its own workspace, or abx workspace link --force to move the original’s workspace and boxes to this folder instead.
A moved or renamed folder shows no boxes. Boxes follow the marker, not the path. If the marker did not come along (a fresh clone, or a deleted .git/abx/ or .abx/), find the workspace with abx workspace ls and attach the folder with abx workspace link <name | id | path>. A scratch workspace needs --no-git. link refuses when a live box starts from a commit the repository does not have, so link from the repository the boxes came from, or fetch that commit.
<path> is not a valid abx workspace marker. Remove it to give this folder a new workspace. The marker is not exactly {"id": "<uuid>"}, is a symlink, or is owned by someone else or writable by others. A marker in a downloaded folder is untrusted. Remove it, or replace the folder’s workspace with abx workspace link.
<dir> has a missing or invalid workspace.json. It was preserved; repair or remove it. A directory under $ABX_HOME/workspaces has boxes but no readable record. abx leaves it alone so it cannot create a second workspace for the same id. Restore its workspace.json or move the directory away.
See Workspaces.
Image
No offline base template is installed. Run abx image build. abx status and abx image show whether an image is installed. The build needs network access to download the agents and takes several minutes. Without a terminal it prints one abx: <step> line per step.
The offline template digest changed., an invalid template, or The offline template does not match the pinned guest artifacts. Rebuild the image. Run abx image build --rebuild.
Boxes keep the template they were created from. A new image affects only boxes created after it. To pick up new agent versions, build an image and create a new box. See Images.
Finding a box
This repository has no managed boxes., No managed box has that name in this repository. or Choose a box: a, b. Boxes belong to a workspace: a Git repository or, for scratch boxes, the exact directory they were created in. Pass the box name, run from the owning directory, use -C DIR, or find the box with abx ls --all and abx workspace ls. To stop or remove a box in an unlinked or missing-folder workspace without relinking first, pass --workspace <id> to abx stop or abx rm.
A Git box needs a checkout with at least one commit. Without one, use --no-git.
A script created a box it should not have. Without a box name, a launch creates one when the scope has none. Name the box and pass --no-create, or set ABX_JSON=1. See Headless runs.
Starting and stopping
Box X has active guest processes. Use abx stop X --force to stop it. Exit what runs in the box, or stop it anyway with --force. Unflushed guest writes can be lost.
Box X has unverified network or host attachments. Use abx stop X --force to force-stop it without syncing. The machine’s settings no longer match what abx recorded, so it will not sync or run the box normally. --force stops it after checking its identity. The matching error code is policy-mismatch; to change the policy, remove the box and create another.
Could not lock "..." (errno N). Retry when the lock is free. Another abx command holds the box. Locks never wait. Wait for the other command, then retry.
Detaching. Press Ctrl-\ to detach from an interactive session. Run the same command to reattach. See Sessions.
Network
A box cannot reach a host. Check abx net <box>. The network policy is fixed when the box is created. Cursor and Antigravity boxes start with networking off until a login is chosen. To change hosts, remove the box with abx rm <box> and create another with --allow HOST. See Network policy.
Review and landing
Review is stale. land asks you to run abx diff again. Do that with the same landing mode you will land with.
The destination has tracked or staged changes. Save them before landing. Commit or stash your changes, then land.
The candidate overlaps existing worktree paths. Move them before landing. A path the guest added already exists in your worktree. Move it, then land.
Review these host or CI executable paths, then rerun abx land with --allow-executable: Read the listed paths, then repeat the command with --allow-executable. See Executable paths.
Removing boxes
abx stop keeps the disk. abx rm <box> deletes the machine and archives the box directory, with its transcripts, under $ABX_HOME/workspaces/<name>-<id8>/archive/. See Removing boxes.
Box X has guest commits that were never landed. Review with abx diff X and land with abx land X, or delete the commits with abx rm X --force.
Box X is running. Stop it first, or use abx rm X --force.
Machine ... of box X is missing. The smolvm machine is gone. Check ABX_SMOLVM_STATE_DIR, or use abx rm X --force to archive the box. If the box still holds a shared guest login profile, restore its smolvm state and run abx stop X first. If an archived box’s machine reappears later, it has no transcript directory and must be deleted with smolvm.
Credentials
<agent> authentication is unavailable. A masked credential is released only after abx auth verify <agent> passes for the active image on this host. Rebuilding the image, upgrading smolvm, or moving $ABX_HOME to another host needs a new verification. abx auth status <agent> shows what is configured. See Verification.
Login is stuck after an interrupted stop. A shared guest login profile stays with its owning box. Run abx stop <owner> again. abx ls --all shows the owner.
codex openai/device is available with more than one access route. Choose --access masked|global|local. abx auth set prints this when the selected mode offers several access routes. Add --access masked, --access global or --access local. For masked, also select an existing host-managed login with --profile NAME, or create one first with abx auth login. (When you launch a box, the matching option is --auth-profile NAME.) See Access modes.
Install codex 0.173.0 for host authentication. (or pi, opencode) The host’s native CLI must live in a trusted install directory and print exactly the version the adapter pins. Install that version. On Linux, see Linux hosts. See Host-managed login.
An unlocked desktop Secret Service is unavailable. A headless Linux host has no unlocked Secret Service to store a prompted secret. Pass a reference with --from, for example pass://store/entry or sops:///path/to/secrets.enc.json#key. See Secret providers.
The systemd-creds provider requires a version supporting --user. Debian 12 (systemd 252) and other releases without systemd-creds --user cannot use systemd-creds://. Use pass://, sops:// or op://.