AgentKit
ReferenceCLI commands

CLI commands

ak projects list

List all registered AK projects

ak projects list

List all registered AK projects

Synopsis

What it does: Display every project registered in ~/.agentkit/projects.json as a tab-aligned table with name, directory, and registration date.

Who it's for: Both: power devs (--json) and non-technical users (table).

When to use it: Checking which projects AK knows about.

Examples: ak projects list # human-readable table ak projects list --json # JSON array for scripting ak projects list --quiet # suppress header (plain list)

What changes on disk: Read-only: ~/.agentkit/projects.json.

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) 0 success (empty registry is still exit 0) 1 registry file unreadable (permissions, corrupt)

ak projects list [flags]

Options

  -h, --help             help for list
      --json             Emit machine-readable JSON (implies --no-interactive)
      --no-interactive   Disable interactive prompts (CI-safe)
  -q, --quiet            Suppress non-error output on stderr
  -V, --verbose          Extra diagnostic output on stderr (loses to --quiet)
  -y, --yes              Assume yes for all prompts

SEE ALSO

On this page