Skip to main content
Run agentx doctor before your first install, or whenever something looks wrong. It only reads: it never creates or changes anything in agentx home.
When a row is warn or fail, the report ends with an issues block instead, repeating each one with its fix:
Read the last block first: it repeats every warning and failure with its fix. The rows are grouped by what they check:
  • System: git and the home directory.
  • App: agentx’s own state.
  • Clients: every detected agent configuration, with the count in the title.
In a terminal the rows are coloured by status: green for ok, yellow for warn, red for fail, blue for info. The source_remotes and staged_imports rows appear only once the account repo exists; on a fresh machine there is nothing to read.

What it checks

Each row is ok, warn, fail or info, marked ✓, !, ✗ or •. Every warn and fail row is listed again at the end under <n> issues, with its fix as a hint: line under the detail. Add --verbose to see every git command doctor ran and what git printed.

Exit codes

  • 2: git is missing or older than 2.40. The hint names the fix; on Ubuntu 22.04, which ships git 2.34, install a newer git or upgrade the distribution. Every other command except version refuses to run until git is fixed.
  • 8: account.git in agentx home exists but is not a repository git can read. Check the directory, or move it aside.
  • 9: you stopped the run with Ctrl-C. See Output and exit codes.
  • 0: everything else, warnings included.