CLI reference
This reference is auto-generated from the agnify CLI. Re-run bun run docs:cli (or cd backend && uv run python scripts/emit_cli_docs.py) after CLI changes.
Installation
Section titled “Installation”One line (installs uv if needed, then the CLI):
curl -LsSf https://app.agnify.ai/install.sh | shOr with an existing Python toolchain (uv tool / pipx / pip):
uv tool install 'agnify[keyring]'The [keyring] extra stores tokens in your OS keychain; plain agnify falls back to a 0600 file under ~/.config/agnify/.
Authentication
Section titled “Authentication”Two credential paths:
- Human users —
agnify loginruns the device-code flow and stores a refresh token in your OS keychain. The CLI auto-refreshes access tokens. - CI / cron / integrations — set
AGNIFY_API_KEY=ak_…andAGNIFY_API_BASE=https://app.agnify.ai. API keys are org-scoped, minted at Settings → API keys, and never expire on their own.