---
title: "Verification"
description: "What abx auth verify checks, what a receipt binds, what invalidates it, and how to read abx auth status."
---

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

# Verification

A masked credential is released to a box only after `abx auth verify <agent>` has passed on this host for the active image. Verification proves that the agent can complete a real request through a masked handle with your configured credential. This page explains what the command does, what its result is tied to, and when you need to run it again.

Until verification passes, launching the agent with a masked credential fails with the error code `auth-unavailable`, for example:

```text
abx: claude authentication is unavailable. Check abx auth status claude.
```

The same error appears when the saved mode is one a box cannot use. Guest logins (`global`, `local`) need no verification.

## Run verification

```sh
abx auth verify claude
```

On success it prints `Verified <agent> <provider> <mode> for the active template.` The agent must already be configured with `abx auth set` or `abx auth login`, and an image must exist (`abx image build`).

Verification does the following:

1. Removes any earlier receipt for the same host, image and policy.
2. Starts a short-lived box from the active template with the real binding.
3. Asks the agent for one bounded model turn.
4. Writes a new receipt, only if the template has not changed meanwhile.

A key-based mode uses one disposable VM. A renewable mode, such as a host-managed ChatGPT login, uses two VMs, to test streaming, token rotation and independent revocation. OpenCode renews close to its native expiry, so verifying it can wait for that window.

> **Verification can cost money**
>
> `abx auth verify` runs a real model request on the selected account and can incur provider charges. For Claude it is one request to `claude-sonnet-5-5` with tools disabled and a CLI budget cap of `$0.05`. Other agents run their own bounded probe.

## What a receipt binds

A passing result is stored as a private receipt file named `auth-<hash>.verified` in the active template's directory under `$ABX_HOME`. Its header is `abx-provider-v3`. The receipt is bound to all of:

- the local machine identity: the platform UUID on macOS, `/etc/machine-id` on Linux
- the host OS and CPU architecture
- the smolvm implementation and version, and the network backend (`virtio-net`)
- the template ID and image pack digest
- the adapter policy: agent and pinned version, provider, mode, credential binding, network hosts, guest arguments and setup, and the probe

If `abx` cannot determine a trusted machine identity, masked credentials stay unverified.

## What invalidates a receipt

Any change to the bound items means the saved receipt no longer matches, and the agent shows as unverified until you run `abx auth verify <agent>` again.

| Change | Why |
| --- | --- |
| A different smolvm version, which comes with an `abx` release that pins it (`0.3.0` accepts only `1.38.2`) | The smolvm version is part of the binding. |
| `abx image build --rebuild` | A new template has a new ID and digest. |
| Copying `$ABX_HOME` to another host | The machine identity differs, even with the same OS and architecture. |
| Cloning a Linux machine without a new `/etc/machine-id` | Clones must have distinct machine IDs. |
| Changing the agent's provider, mode, credential binding or an `abx` release that changes the adapter | The policy fingerprint changes. |
| A failed repeat of `abx auth verify` | The earlier receipt is removed before the new run starts. |

After an upgrade that changes smolvm or the image, run verification again for every agent that uses masked credentials. See [upgrading](https://sandrinodm.github.io/agent-box/operate/upgrading/).

## Read `abx auth status`

```sh
abx auth status
abx auth status claude
abx auth status --json
```

`abx auth` alone is `abx auth status`. Without an agent it lists every agent, then a GitHub line. For each agent it prints one row per provider, mode and access route, with a status and, when it matches your saved choice, a `(configured)` marker (`(configured, host profile NAME)` for a host-managed login), plus a `connectors` row (`on` or `off`) for agents that offer account connectors:

| Status | Meaning |
| --- | --- |
| `verified` | A receipt matches the active image, host and policy. The detail reads `Streaming was verified for the active template.` |
| `unverified` | The mode is supported but has no matching receipt. Every `local` guest-login route always shows `unverified`, which is expected, because guest logins are never verified. |
| `experimental` | Shown for every `global` access route, whether or not it was used. |
| `unsupported` | The route exists upstream, but a box cannot use it. |

With `--json`, each agent has `name`, a `configured` object (`provider`, `mode`, `access`, `profile`), a `modes` array (`provider`, `mode`, `kind`, `access`, `status`, `configured`, `description`), and `connectors` (`"on"`, `"off"` or `null` for agents without connectors). GitHub reports `credentialBinding: false`, because GitHub credential binding is disabled; mappings can be saved but are not used to bind credentials.

To inspect a running box instead of the configuration, use `abx auth status --box NAME` in the box's workspace. It reports the renewal worker and the last credential check; see [host-managed login](https://sandrinodm.github.io/agent-box/authentication/host-managed-login/).

See also the [`abx auth` reference](https://sandrinodm.github.io/agent-box/reference/cli/) and [Access modes](https://sandrinodm.github.io/agent-box/authentication/access-modes/).

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