ReferenceCLI commands
CLI commands
ak agents list
List installed agents
ak agents list
List installed agents
Synopsis
What it does: Enumerate the agents installed on this machine, optionally filtered by kit or tag.
Who it's for: Both: power devs scripting installs (--json) and users browsing what's available.
When to use it:
Run before ak agents install / remove to confirm what is and isn't already on disk.
Examples: ak agents list ak agents list --kit engineer ak agents list --json | jq .agents
What changes on disk: Read-only.
Output modes: pretty default on TTY (colors, ASCII markers) plain auto when stdout piped or --no-interactive json --json (single-object envelope, NDJSON-safe)
Exit codes: 0 success 1 runtime error 2 invalid flags 3 user-cancel (SIGINT, prompt-cancel)
ak agents list [flags]Options
-h, --help help for list
--json Emit machine-readable JSON (implies --no-interactive)
--kit string Filter by kit name
--no-interactive Disable interactive prompts (CI-safe)
-q, --quiet Suppress non-error output on stderr
--tag strings Filter by tag (repeatable)
-V, --verbose Extra diagnostic output on stderr (loses to --quiet)
-y, --yes Assume yes for all promptsSEE ALSO
- ak agents - Per-agent management commands