This page lists every abx command with its usage, arguments and options. It is written by hand from the CLI’s own reference. abx help <command> and abx help --json are the authoritative in-tool references, so when a build of abx disagrees with this page, trust the build. JSON output describes the machine-readable form.
abx [-C DIR] [--no-git] <command> [options]
abx --version
abxBare abx opens the TUI in an interactive terminal. When stdin or stdout is not a terminal, or ABX_JSON=1 is set, it prints the command overview instead.
| Command | What it does |
|---|---|
<agent>, run |
Launch a coding agent in a box |
shell |
Open a guest shell or run one command |
ls, list |
List boxes and their current state |
net |
Show the network policy and allowed hosts |
stop |
Stop a box and keep its disk |
rm |
Delete a box and its disk; keep its record and transcripts in the archive |
workspace |
Show or change the workspace that holds the boxes of this folder |
diff |
Review guest commits before landing them |
land |
Apply reviewed work to the host checkout |
status |
Check host support, dependencies and readiness to start boxes |
image |
Show or build the base image for new boxes |
auth |
Inspect and configure agent credentials |
tui |
Open the interactive TUI for the current repo and full abx environment |
wizard |
Choose a common task, preview its command, and optionally run it |
help |
Read help for a command or export the CLI reference |
The built-in agents are claude, codex, opencode, pi, agy and cursor. abx claude is shorthand for abx run claude, and the same holds for the other agent names.
Conventions
- Global options:
-C DIRand--no-gitcan sit before the command name, after it, or between a command and its subcommand, as inabx auth -C dir status.-hand--helpalso work after a command (abx <command> --help).-V,--versionand--agent-modebelong directly afterabx. - Values can be written
--flag valueor--flag=value. A value that starts with-must use the=form. Short names work the same way (-s valueor-s=value). - Options can be given once, except the ones marked repeatable (
--allowand--agents). Repeating any other option is a usage error. --ends host option parsing. On commands that accept guest arguments (runandshell), everything after it goes to the guest verbatim. Any other command rejects--with a usage error.--jsonis available on the commands below that list it. With it, results go to stdout as pretty-printed JSON and a failure ends stderr with a JSON error envelope. See JSON output.- A box name must match
[a-z0-9][a-z0-9-]{0,39}: it starts with a lowercase letter or digit, followed by up to 39 lowercase letters, digits or hyphens. - Without a box name, a launch reopens the only box in the current scope, fails with
ambiguous-boxand lists the names when there are several, or creates a box when there is none. Other commands fail when the scope has no box. In automation, always name the box. See boxes and workspaces.
run
abx <agent> [box] [options] [-- args...]
abx run <agent> [box] [options] [-- args...]Launch a coding agent in a box. Build an image first with abx image build. New boxes start from the current commit in a Git checkout, and with an empty /work elsewhere. Reopen a box by name from the same directory, or from anywhere with -C DIR.
| Argument | Required | Description |
|---|---|---|
agent |
yes | One of claude, codex, opencode, pi, agy, cursor. |
box |
no | Box name. Without one, a launch reopens the only box in the workspace, fails with ambiguous-box and lists the names when there are several, and creates a box when there is none. With --no-create, or ABX_JSON=1 without --create, a missing box is an error instead (no-box). |
| Option | Value | Default | Applies at | Description |
|---|---|---|---|---|
--net |
off or restricted |
restricted when any host is allowed (every agent box has its endpoints), else off |
creation | Set the network policy. |
--allow |
HOST |
none | creation | Allow an additional exact hostname. Repeatable. |
--agents |
A,B |
only the launched agent, none for a shell | creation | Grant these agents, as a comma-separated list. A launched agent is always included. Repeatable. |
-s, --session |
NAME |
the agent name, shell, or root-shell with --root |
Open or reattach to a named interactive session. | |
--no-tty |
Run without a pseudo-terminal, as a one-shot command. | |||
--no-create |
Fail with no-box instead of creating a box when the named box, or any box when none is named, does not exist. This is the default when ABX_JSON=1 is set. |
|||
--create |
Create a missing box even when ABX_JSON=1 is set. The opposite of --no-create. Giving both is a usage error. |
|||
--access |
masked, global or local |
the access saved with abx auth set |
creation | Select the credential access route for the agent. See access modes. |
--auth-profile |
NAME |
none | creation | Select a named host-managed or shared guest login profile. |
--connectors |
the setting saved with abx auth connectors |
creation | Load the agent’s account connectors (claude.ai connectors) in the box. See claude.ai connectors. | |
--no-connectors |
creation | Keep account connectors off in the box. The opposite of --connectors. Giving both is a usage error. |
Network policy, granted agents, credential access and account connectors are fixed when a box is created. The creation options (--net, --allow, --agents, --access, --auth-profile, --connectors, --no-connectors) are still accepted for an existing box when they match what it recorded, so one command can both create and reopen a box. A different value fails with fixed-option, and --allow hosts need only be among the box’s allowed hosts. abx ls <box> --json shows the recorded values. See network policy.
Behavior:
- Arguments after
--go to the guest verbatim. Detach from an interactive session with Ctrl-\ and reattach by running the same command. - A launch is one-shot when it does not attach a terminal: a guest command after
--forshell,--no-ttybefore--, or stdin or stdout that is not a terminal. Agent launches with arguments after--still attach a terminal when one exists. A one-shot launch exits with the guest command’s status, or125whenabxitself fails, so1or2can come from the guest. See exit codes. - In a Git checkout a new box is named after the current branch (lowercased, with other characters replaced by hyphens, at most 40 characters) unless it is
mainormaster. Otherwise, and in a scratch folder, it is namedtask-<8 hex digits>. - Scripts and agents should name the box and pass
--no-create, so a typo cannot create one. The headless form isabx claude <box> --no-create --no-tty -- -p "<task>". See headless automation. terminal: never. Starts the box’s VM.
abx codex fix-auth
abx claude review --agents codex
abx claude fix-auth --no-create --no-tty -- -p "fix the failing test"shell
abx shell [box] [options] [-- command [args...]]Open a guest shell in a box, or run one command there. The shell runs as the guest’s agent user in /work, or as root with --root.
| Argument | Required | Description |
|---|---|---|
box |
no | Box name, resolved as for run. |
| Option | Value | Default | Applies at | Description |
|---|---|---|---|---|
--net |
off or restricted |
restricted when any host is allowed (every agent box has its endpoints), else off |
creation | Set the network policy. |
--allow |
HOST |
none | creation | Allow an additional exact hostname. Repeatable. |
--agents |
A,B |
only the launched agent, none for a shell | creation | Grant these agents, as a comma-separated list. A launched agent is always included. Repeatable. |
-s, --session |
NAME |
the agent name, shell, or root-shell with --root |
Open or reattach to a named interactive session. | |
--no-tty |
Run without a pseudo-terminal, as a one-shot command. | |||
--no-create |
Fail with no-box instead of creating a box when the named box, or any box when none is named, does not exist. This is the default when ABX_JSON=1 is set. |
|||
--create |
Create a missing box even when ABX_JSON=1 is set. The opposite of --no-create. |
|||
--root |
Run the guest shell or command as root. |
shell does not take --access, --auth-profile, --connectors or --no-connectors. Creation options, one-shot rules, detaching and --no-create behave as for run. An interactive shell needs a terminal; without one, or with --no-tty, supply a command after --. terminal: unless a guest command follows --. Starts the box’s VM.
abx shell fix-auth
abx shell fix-auth --no-create -- git status --shortls
abx ls [box | --all] [--sessions] [--json]Alias: list. List boxes and their current state. Defaults to the current Git checkout or scratch directory.
| Argument | Required | Description |
|---|---|---|
box |
no | Show only the box with this name. Without one, every box of the workspace. |
| Option | Value | Default | Description |
|---|---|---|---|
-a, --all |
List boxes across repositories and scratch directories, with their workspace. Cannot be combined with --no-git. |
||
--sessions |
Also list the terminal sessions of each box, asking each running box which are live. | ||
--json |
Print machine-readable JSON on stdout. |
Without --json and without a terminal, ls prints one tab-separated row per box: name, state, network, machine and access entries, with the workspace after the name for --all. The columns stay as they are; new fields appear only in --json. Plain ls runs nothing inside the boxes. --sessions runs one command in each running box. JSON shape: ls.
abx ls --all
abx ls --json
abx ls --sessions --jsonnet
abx net [box] [--json]Show a box’s verified network policy and allowed hosts.
| Argument | Required | Description |
|---|---|---|
box |
no | Box name. Without one, uses the only box in the current workspace. Fails with ambiguous-box and lists the names when there are several, and with no-box when there is none. Never creates a box. |
| Option | Value | Default | Description |
|---|---|---|---|
--json |
Print machine-readable JSON on stdout. |
Run it from the checkout or scratch directory that owns the box, or pass -C DIR. Network settings are fixed when the box is created. Without --json and without a terminal, it prints the mode followed by the allowed hosts on one line. JSON shape: net. See network policy.
abx net fix-auth
abx net fix-auth --jsonstop
abx stop [box | --all] [--workspace WORKSPACE] [--force] [--if-exists] [--json]Stop a box and keep its disk. Use abx rm to delete a box and its disk. Stopping a stopped box succeeds.
| Argument | Required | Description |
|---|---|---|
box |
no | Box name. Without one, uses the only box in the current workspace. Fails with ambiguous-box and lists the names when there are several, and with no-box when there is none. Never creates a box. |
| Option | Value | Default | Description |
|---|---|---|---|
-a, --all |
Stop managed boxes across all repositories and scratch directories. Works from any directory. Cannot be combined with --no-git or --workspace. |
||
--workspace |
WORKSPACE |
Stop a box in a registered workspace by id, short id, name, or path without relinking. Cannot be combined with --all or --no-git. |
|
--force |
Override the safety checks: stop a box with active guest processes, or force-stop one whose policy cannot be verified. Unflushed guest writes may be lost. | ||
--if-exists |
Succeed for a named box that does not exist, reporting it as absent. |
||
--json |
Print machine-readable JSON on stdout. |
Stop a box in the current workspace, another one with -C DIR, or an unlinked workspace with --workspace WORKSPACE. With --if-exists, stopping a box that does not exist succeeds, so stop can be repeated. With --all and a failure, the JSON document is still printed on stdout and abx exits 1 without an error envelope; each failed entry carries its own error. JSON shape: stop.
abx stop fix-auth
abx -C ~/src/app stop fix-auth
abx stop fix-auth --if-exists --jsonrm
abx rm <box>... [--workspace WORKSPACE] [--force] [--if-exists] [--json]Delete each box’s machine and its Git staging repository, then move the box directory, with its box.json and agent transcripts, into the archive/ directory of its workspace under $ABX_HOME/workspaces. Transcripts are never deleted by rm. See removing boxes.
| Argument | Required | Repeatable | Description |
|---|---|---|---|
box |
yes | yes | A box of the current workspace, by name; give several to delete them all. A missing box is an error unless --if-exists is given. |
| Option | Value | Default | Description |
|---|---|---|---|
--workspace |
WORKSPACE |
Delete boxes from a registered workspace by id, short id, name, or path without relinking. Cannot be combined with --no-git. |
|
--force |
Stop a running box first, and delete guest commits that were never landed. Also archives a box whose machine is missing unless it holds a shared guest login profile. | ||
--if-exists |
Succeed for a box that does not exist, and list it as absent. |
||
--json |
Print machine-readable JSON on stdout. |
Without --force, rm refuses a running box (box-running) and a Git box with commits that abx land never landed (unlanded-commits). Checking a stopped Git box starts it briefly. Uncommitted guest changes and scratch box files are not checked. With several boxes and a failure, the JSON document is still printed on stdout and abx exits 1 without an error envelope. Run it from the workspace that owns the box, pass -C DIR, or pass --workspace WORKSPACE to target an unlinked or missing-folder workspace directly. startsBox: true. JSON shape: rm.
abx rm fix-auth
abx rm old-task spike --force
abx rm old-task --workspace c9e7bfe9 --force
abx rm fix-auth --if-exists --jsonworkspace
abx workspace [--json]
abx workspace ls [--json]
abx workspace link <name | id | path> [--force] [--json]
abx workspace new [--force] [--json]Show or change the workspace that holds the boxes of this folder. A workspace is the identity a Git repository or scratch folder keeps in a marker file: .git/abx/workspace.json for Git (in the Git common directory), .abx/workspace.json for a scratch folder. Its boxes live under $ABX_HOME/workspaces and follow the marker when the folder moves. With --no-git inside a Git checkout, the scratch marker is written to .abx/workspace.json in the working tree as an untracked file. See workspaces.
abx workspace takes --json. Without a subcommand it shows the workspace of the current folder: id, name, kind (git or scratch), folder, state directory, and live and archived box counts. Without a marker it says there is no workspace yet.
| Option | Value | Default | Description |
|---|---|---|---|
--json |
Print machine-readable JSON on stdout. |
JSON shape: workspace.
workspace ls
abx workspace ls [--json]List every registered workspace (every directory below $ABX_HOME/workspaces). Without --json and without a terminal, it prints one tab-separated row per workspace: name, kind, live and archived box counts, status, short id and path. The status is ok when the folder carries the workspace marker. With --json the status field is ok, missing-folder (the recorded folder is gone), id-differs (the marker there is missing, invalid or names another workspace) or damaged (the workspace.json is unreadable; the row has null fields besides directory and message). JSON shape: workspace ls.
abx workspace ls
abx workspace ls --json| Option | Value | Default | Description |
|---|---|---|---|
--json |
Print machine-readable JSON on stdout. |
workspace link
abx workspace link <name | id | path> [--force] [--json]Attach this folder to an existing workspace and its boxes. Use it after moving or re-cloning a folder whose workspace marker was lost, or after copying a folder whose boxes should follow the copy.
| Argument | Required | Description |
|---|---|---|
name | id | path |
yes | The workspace: its id, the first 8 characters of the id, its directory name below $ABX_HOME/workspaces, the folder it records, or its name. |
| Option | Value | Default | Description |
|---|---|---|---|
--force |
Take the workspace even though the folder it records still carries its marker. That folder then looks like a copy. | ||
--json |
Print machine-readable JSON on stdout. |
link is refused when the workspace belongs to the other kind of folder (a scratch workspace needs --no-git), when this folder already belongs to a workspace with live boxes, and, in Git, when a live box starts from a commit this repository does not have. Without --force it is also refused while the recorded folder still exists and carries the same marker. Box directories never move. JSON shape: workspace link and workspace new.
abx workspace link my-app
abx workspace link 3f2a9c1e --forceworkspace new
abx workspace new [--force] [--json]Give this folder a new, empty workspace. Use it in a copied folder that should not share boxes with the original. The original keeps its workspace and boxes.
| Option | Value | Default | Description |
|---|---|---|---|
--force |
Replace the workspace even when this folder owns it and it has live boxes. They stay under $ABX_HOME and abx workspace link brings them back. |
||
--json |
Print machine-readable JSON on stdout. |
Without --force, new refuses when this folder is the recorded owner of its workspace and that workspace has live boxes, since they would be unreachable from here.
abx workspace
abx workspace ls
abx workspace newdiff
abx diff [box] [--stat [--json]] [--merge | --squash]Review the guest’s commits before landing them. The patch goes to stdout and the review summary to stderr. Works in Git checkouts only; otherwise it fails with not-git. Run it from the checkout that owns the box, or pass -C DIR. Finish reading the review before running land. See review and land.
| Argument | Required | Description |
|---|---|---|
box |
no | Box name. Without one, uses the only box in the current workspace. Fails with ambiguous-box and lists the names when there are several, and with no-box when there is none. Never creates a box. |
| Option | Value | Default | Description |
|---|---|---|---|
--stat |
Show a diffstat in place of the patch. | ||
--merge |
Review or land divergent history with a merge. | ||
--squash |
Review the final tree or stage it on the host for a later commit. | ||
--json |
With --stat, print the diffstat as JSON on stdout. --json without --stat is a usage error. |
Without --merge or --squash the landing mode is fast-forward. --stat --json records the review for land, like the other forms; abx exits non-zero if recording fails. startsBox: true. JSON shape: diff --stat.
abx diff fix-auth --stat
abx diff fix-auth --stat --jsonland
abx land [box] [--merge | --squash] [--allow-executable] [--json]Apply reviewed work to the host checkout. Run diff in the same checkout with the same landing mode first, and repeat the review if either branch moves. Works in Git checkouts only (not-git otherwise).
| Argument | Required | Description |
|---|---|---|
box |
no | Box name. Without one, uses the only box in the current workspace. Fails with ambiguous-box and lists the names when there are several, and with no-box when there is none. Never creates a box. |
| Option | Value | Default | Description |
|---|---|---|---|
--merge |
Review or land divergent history with a merge. | ||
--squash |
Review the final tree or stage it on the host for a later commit. | ||
--allow-executable |
Accept reviewed changes to execution-sensitive paths, such as Git hooks, CI workflows and executable files. Without it, land refuses and lists them. See executable paths. |
||
--json |
Print machine-readable JSON on stdout. |
Repeating a landing reports already-landed while the guest tip, checkout, mode and applied result still match. Run diff again to target a different checkout or branch. startsBox: true. JSON shape: land.
abx diff fix-auth --squash
abx land fix-auth --squashstatus
abx status [--json]Check host support, dependencies and readiness to start boxes, and report what to run next. It starts no VM, never creates $ABX_HOME and never writes a workspace marker, so it is safe to run first. On Linux, place ABX_HOME and ABX_SMOLVM_STATE_DIR on local ext4. The help text calls btrfs and XFS unqualified; commands refuse any filesystem other than ext4 (see Linux hosts). For a missing Linux state root, status checks the nearest existing parent. Missing host requirements include install hints, and optional tools are advisory.
| Option | Value | Default | Description |
|---|---|---|---|
--json |
Print machine-readable JSON on stdout. |
abx image shows only the image part of this report. JSON shape: status.
abx status
abx status --jsonimage
abx image [--json]
abx image build [--rebuild] [agent...] [--json]Show or build the base image for new boxes. abx image alone shows the installed image and the agents it contains, the same data as image in abx status --json; without an image it says how to build one. It reads the image metadata and does not hash the pack, which is verified when a box is created. See images.
| Option | Value | Default | Description |
|---|---|---|---|
--json |
Print machine-readable JSON on stdout. |
JSON shape: image.
image build
abx image build [--rebuild] [agent...] [--json]Build or rebuild the matching Linux guest image used by new boxes. Existing boxes keep their image.
| Argument | Required | Repeatable | Description |
|---|---|---|---|
agent |
no | yes | Agents to install. Defaults to every built-in agent: claude, codex, opencode, pi, agy, cursor. |
| Option | Value | Default | Description |
|---|---|---|---|
--rebuild |
Build a fresh image even if a matching template exists. | ||
--json |
Print machine-readable JSON on stdout. |
A build takes several minutes. Without a terminal, each step is printed as an abx: <step> line on stderr. Each agent installation has a 10-minute host deadline. JSON shape: image build.
abx image build
abx image build codex
abx image build claude codex
abx image build --rebuild codexauth
abx auth [--json]
abx auth status [agent | github] [--json]
abx auth status --box NAME [--json]
abx auth set <agent> [--provider PROVIDER] [--mode MODE] [--access ACCESS] [--from URI]
abx auth set <agent> --provider PROVIDER --mode MODE --profile NAME
abx auth set github --repo OWNER/REPO --checkout PATH --from URI
abx auth login <agent> [--provider PROVIDER] [--mode MODE] [--profile NAME]
abx auth connectors <agent> on|off
abx auth verify <agent>
abx auth refresh <box> [agent]
abx auth revoke <box> [agent]Inspect and configure agent credentials. abx auth alone is abx auth status. Run abx help auth <subcommand> for one form, or abx help auth <agent> for the modes and access routes of one agent. GitHub mappings can be saved, but GitHub credential binding is disabled. See authentication.
| Option | Value | Default | Description |
|---|---|---|---|
--json |
Print machine-readable JSON on stdout. |
| Subcommand | Summary |
|---|---|
status |
Show available modes, saved settings and verification |
set |
Save how an agent authenticates, or an explicit GitHub mapping |
login |
Sign into a host-managed profile with the native client and select it |
connectors |
Turn an agent’s account connectors (claude.ai connectors) on or off for new boxes |
verify |
Probe the configured host credential on the active image |
refresh |
Refresh the credentials bound to a running box |
revoke |
Remove the credential bindings of a box |
abx auth
abx auth status claude
abx auth set claude
abx auth verify claudeauth status
abx auth status [agent | github] [--json]
abx auth status --box NAME [--json]Show available modes, saved settings and verification. Without a subject it shows every agent and GitHub.
| Argument | Required | Description |
|---|---|---|
agent | github |
no | Limit the report to one subject. |
| Option | Value | Default | Description |
|---|---|---|---|
--json |
Print machine-readable JSON on stdout. | ||
--box |
NAME |
none | Inspect renewal for a box in this workspace. |
JSON shape: auth status.
abx auth status
abx auth status codex
abx auth status --jsonauth set
abx auth set <agent> [--provider PROVIDER] [--mode MODE] [--access ACCESS] [--from URI]
abx auth set <agent> --provider PROVIDER --mode MODE --profile NAME
abx auth set github --repo OWNER/REPO --checkout PATH --from URISave how an agent authenticates, or an explicit GitHub mapping. Without --mode, the agent’s default mode is used; abx help auth <agent> names it. Without --from, the secret is read from a terminal prompt and stored in the keyring. terminal: unless --from is given or the mode needs no secret. --profile selects an existing host-managed login; create one with auth login. See secret providers.
| Argument | Required | Description |
|---|---|---|
agent | github |
yes | The subject to configure. |
| Option | Value | Default | Description |
|---|---|---|---|
--provider |
PROVIDER |
none | Select the upstream provider for this agent. Needed only when several providers offer the mode. |
--mode |
MODE |
the agent’s default mode (oauth-token for Claude, api-key for Codex, OpenCode, Pi and Antigravity, none for Cursor) |
Select a login method. |
--access |
masked, global or local |
none | Use host-managed (masked), shared guest-profile (global) or box-local (local) access. Needed only when the mode offers several routes. |
--from |
URI |
none | Save a secret reference. Omitting it for an API key or token prompts for it on a terminal. |
--profile |
NAME |
none | Name the host-managed login profile. With auth set, select an existing one. |
--repo |
OWNER/REPO |
none | Set the GitHub repository for an explicit mapping (github only). |
--checkout |
PATH |
none | Set the absolute path of the existing host checkout for the mapping (github only). |
abx auth set claude
abx auth set claude --from 'op://Development/Anthropic/oauth-token'
abx auth set claude --mode api-key --from 'op://Development/Anthropic/api-key'
abx auth set codex --provider openai --mode device --access localauth login
abx auth login <agent> [--provider PROVIDER] [--mode MODE] [--profile NAME]Sign into a host-managed profile with the native client and select it. Only modes with masked access support a host-managed login, and the access is always masked. The native client may open a browser or show a device code. terminal: always. See host-managed login.
| Argument | Required | Description |
|---|---|---|
agent |
yes | One of claude, codex, opencode, pi, agy, cursor. |
| Option | Value | Default | Description |
|---|---|---|---|
--provider |
PROVIDER |
none | Select the upstream provider for this agent. Needed only when several providers offer the mode. |
--mode |
MODE |
none | Select the login method. The default mode cannot sign in; choose a mode listed by abx help auth <agent>. |
--access |
masked |
none | Accepted, though the usage line omits it. Only masked is allowed: global and local fail with a usage error that points to abx auth set <agent> --access <route>. |
--profile |
NAME |
default |
Name the new host-managed login profile. |
abx auth login codex --provider openai --mode device --profile workauth connectors
abx auth connectors <agent> on|offTurn an agent’s account connectors (claude.ai connectors) on or off for new boxes. Connectors act with the permissions of the signed-in account, so they are off by default. Only Claude anthropic/login can load them; tokens from claude setup-token and API keys lack the scope. A box records the setting when it is created; override it with --connectors or --no-connectors on the launch that creates the box. The setting is saved as connectors = "on" in an [agent.<agent>] table of $ABX_HOME/config.toml. An agent without connectors is a usage error. terminal: never. See claude.ai connectors.
| Argument | Required | Description |
|---|---|---|
agent |
yes | An agent that offers account connectors, such as claude. |
on|off |
yes | Whether new boxes load the account connectors. |
abx auth connectors claude on
abx auth connectors claude offauth verify
abx auth verify <agent>Probe the configured host credential on the active image. It starts a short-lived probe box from the active image and may incur provider charges (bootsProbeMachine: true). A masked credential is released to a box only after verification passes for the active image on this host. See verification.
| Argument | Required | Description |
|---|---|---|
agent |
yes | One of claude, codex, opencode, pi, agy, cursor. |
abx auth verify claudeauth refresh
abx auth refresh <box> [agent]Refresh the credentials bound to a running box. Run it from the workspace that owns the box, or pass -C DIR.
| Argument | Required | Description |
|---|---|---|
box |
yes | A running box in the current workspace. |
agent |
no | Refresh only this agent. Defaults to every host-managed login of the box. |
abx auth refresh fix-auth
abx auth refresh fix-auth codexauth revoke
abx auth revoke <box> [agent]Remove the credential bindings of a box. Run it from the workspace that owns the box, or pass -C DIR.
| Argument | Required | Description |
|---|---|---|
box |
yes | A box in the current workspace. |
agent |
no | Revoke only this agent. Defaults to every agent bound to the box. |
abx auth revoke fix-auth
abx auth revoke fix-auth claudetui
abx tui
abx --no-git tuiOpen the interactive TUI for the current repository and the full abx environment. It needs a terminal (terminal: always), and running bare abx in an interactive terminal opens it automatically. Inside a Git checkout or scratch directory it opens on 1 Repo; elsewhere (such as $HOME) it opens on 2 All. Press 1 to 5 to switch between Repo, All Boxes, Sessions, Auth and System, and Tab to switch sub-tabs. Attaching to a box hands off the terminal directly, so resizing and dtach work natively. Maintenance actions suspend the TUI, run the matching abx command and return to a refreshed view. abx --no-git tui shows the scratch boxes of the current folder. See the TUI.
wizard
abx wizard
abx --no-git wizardChoose a common task, preview its command, and optionally run it. It needs an interactive terminal (terminal: always). In a Git checkout new boxes start from the current commit; outside Git, new scratch boxes start with an empty guest /work, and host files stay on the host. Use abx --no-git wizard to work with scratch boxes from inside a Git checkout.
- Move with the arrow keys or scroll wheel. Choose a menu item with Enter or a click. Clicking a preview option focuses it, and Enter confirms the choice.
- Press Esc to go back,
qto quit from a menu, or Ctrl-C to quit from any screen. - “Print command” prints the command and exits. “Run command” executes it.
See the wizard.
help
abx help [command [subcommand | subject]]
abx <command> --help
abx help --jsonRead help for a command or export the CLI reference.
| Argument | Required | Description |
|---|---|---|
command |
no | A command, alias or agent name. |
subcommand | subject |
no | A subcommand, or a subject such as an agent for auth. |
| Option | Value | Default | Description |
|---|---|---|---|
--json |
Print the versioned command reference as JSON and exit. | ||
--agent-mode |
Deprecated: use abx help --json. Same as --json; it only prints the reference. Hidden from the help text. |
abx --agent-mode is the same deprecated spelling at the top level (see global options). The JSON reference is described in JSON output.
abx help shell
abx help auth set
abx help auth codex
abx help --json