CLI commands
ak licenses
Show licensed AgentKit kits
ak licenses
Show licensed AgentKit kits
Synopsis
What it does:
List the kits the current account is licensed for. Same entitlement query as ak whoami, scoped to the per-kit grants.
Who it's for: Both: CI gating remote-kit installs on a grant (--json) and users checking what they own.
When to use it:
Before ak kit init <kit> for a licensed remote kit, to confirm the grant exists.
Examples: ak licenses ak licenses --json
What changes on disk: Read-only. Reads ~/.agentkit/auth/session.json (AGENTKIT_HOME overrides the base dir) and reads AGENTKIT_REGISTRY_URL (default: $AGENTKIT_REGISTRY_URL, then dev/staging https://staging.agentkit.best or release https://agentkit.best) to resolve grants.
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 licenses [flags]Options
-h, --help help for licenses
--json Emit machine-readable JSON (implies --no-interactive)
--no-interactive Disable interactive prompts (CI-safe)
-q, --quiet Suppress non-error output on stderr
--registry-url string AgentKit registry base URL (default: $AGENTKIT_REGISTRY_URL, then dev/staging https://staging.agentkit.best or release https://agentkit.best)
-V, --verbose Extra diagnostic output on stderr (loses to --quiet)
-y, --yes Assume yes for all promptsSEE ALSO
- ak - AgentKit CLI