automaintainer/ docs
Dashboard →

Worker & fleet health

The Workers tab shows every connected worker with live health and readiness, so you always know what's available to run your work.

What each card shows

  • Status dot + hostname — connected/healthy/high‑load/offline.
  • RAM bar — memory use of the whole machine.
  • Machine CPU — how busy the machine's CPUs were over about 30 seconds, for everything running on it, not only AM.
  • Load (1 min) — work running or waiting to run, including on disk. It is not a CPU percentage; compare it with the CPU count shown beside it.
  • Accepting work — whether the worker would take a run now, and why not. It refuses when memory or disk is low, its run limit is reached, CPU use stays at or above 90% for a minute, or the 5-minute load reaches 150% of the CPU count (AM_MAX_CPU_PCT, AM_MAX_LOAD_PCT).

Older workers show Machine CPU: unknown: the number they send is load divided by the CPUs the worker may use, which can read 100% on a mostly idle machine. Update them for real readings. In a container, load and CPU figures usually describe the host.

  • Harness chips — per‑harness readiness from the "Say HI" probe, with the reason on failure (e.g. ⚠ opencode (out of balance)).
  • Infra deps — gh, a2a, a2a-spawn present/missing.
  • Active runs and last seen.
  • A ready badge when at least one harness has a working provider key.

The fleet

Connect multiple workers and AM routes work across them:

  • Spawns prefer probe‑ready workers that have the a2a / a2a-spawn tools.
  • Bus reads target the worker actually running a given team.
  • Unhealthy or disabled workers are skipped.

Managing workers

  • Disable a worker from the tab to take it out of rotation without uninstalling.
  • Remove by uninstalling on the host — see Add a worker.

Readiness, not just connectivity

A connected worker can still be unable to do real work (no key / empty balance). The chips and the Test button tell you the truth — see Verify readiness.

Notifications

Set an alert webhook (ALERT_WEBHOOK_URL, a Slack or Discord incoming webhook) and AM pushes a message when:

  • a repo hits 3 consecutive failed runs (re‑armed after the next success),
  • a run's verification gate stays red (verify_failed → draft PR), or
  • an account's daily spend cap is reached (autonomous runs paused).

The payload works for both Slack and Discord, and each event fires once (no re‑spam on the scheduler's periodic checks).

Naming a worker

A worker's ID comes from its hostname, which in a container is often a random string. Rename on a worker's card (also under Not connected) gives it a name that appears on cards, repo assignments and messages. The ID stays visible, and stays what routing and assignments use, so renaming needs no restart.

Names are unique in your account, up to 40 characters; empty clears it. A name belongs to the ID: if a recreated machine reports a new ID, it appears as a new, unnamed worker. Forgetting a worker deletes its name.

Assigning a repo to a worker

In repo settings → Access, Assigned worker limits a repo to one worker. Everything that needs the repo (runs, scouts, PR verification, architecture scans) goes there or nowhere, and other workers don't receive it when they connect. There is no fallback.

While the worker is offline or disabled, runs are recorded as skipped with the reason; they don't count as failures. A connected worker without a2a / a2a-spawn counts as a failure, because something is broken.

A worker's ID comes from its hostname. If a machine or container is recreated with a new hostname, update the assignment.

Forgetting a worker

Workers → Not connected lists workers that have saved settings or assigned repos. Forget deletes the settings. If repos are assigned, choose whether to assign them to another worker, pause them and remove the assignment, or only remove the assignment. A connected worker can't be forgotten.