ap auth
What ap auth covers
Section titled “What ap auth covers”Agenda Panda supports both interactive browser auth and non-interactive API key auth. It also supports multiple saved profiles so you can switch between accounts without re-copying keys.
ap auth login
Section titled “ap auth login”ap auth loginUse this when you want the CLI to authenticate you directly.
ap auth loginap auth login --key ap_abc123ap auth login --manualap auth loginstarts the device-auth browser flowap auth login --key ...stores a known API key directlyap auth login --manualprompts you to paste a key without echoing it
Agenda Panda saves successful logins as reusable profiles keyed by email.
ap auth status and ap whoami
Section titled “ap auth status and ap whoami”ap auth statusap whoamiap auth status --jsonThese commands show the current user, plan, active project, and saved-account status. ap whoami is a shorter alias for ap auth status.
ap auth switch
Section titled “ap auth switch”ap auth switch --listap auth switch --name work@example.comap auth switch --add --name staging --key ap_abc123ap auth switch --delete --name stagingUse profile switching when you work across multiple accounts, workspaces, or environments.
ap auth api-keys
Section titled “ap auth api-keys”ap auth api-keys listap auth api-keys create --name github-actionsap auth api-keys revoke <id>Use API keys for CI/CD, local scripts, and agent workflows where browser auth is not practical.
ap auth logout
Section titled “ap auth logout”ap auth logoutThis clears the stored login plus the saved active project and connection defaults.
AP_API_KEYtakes precedence over the saved login for the current shell session.- Config lives at
~/.config/agendapanda/config.json. AP_API_URLmust be HTTPS unless you are targeting localhost during development.