Skip to main content
Run agentx doctor before your first install, or whenever something looks wrong.

Read the report

If any row is warn or fail, the report ends with a list of issues in place of ✓ No issues detected. Each issue has its fix on a hint: line:
Read this list first. 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.
Each row has a status and a mark. In a terminal, the mark and the status are coloured (see Colour):

What it checks

The source_remotes and staged_imports rows appear only when the account repo exists and opens. Add --verbose to see every git command doctor ran and what git printed.

Exit codes

doctor exits 0 even when some rows warn or fail. Only the git and account_repo checks, or a stop, give another code. See Exit codes for what each code means.
  • 0: any other result, including warnings and other failed rows.
  • 2: git is missing or older than 2.40. The hint names the fix. Ubuntu 22.04 ships git 2.34: install a newer git, or upgrade the distribution. Until you fix git, every other command except version and help refuses to run.
  • 8: agentx cannot read account.git in agentx home as a git repository. Check the directory, or move it aside.
  • 9: you stopped the run with Ctrl-C, or something sent it a SIGTERM. See Exit codes.