auth
Activate, refresh, and inspect local authentication state.
Free Tier Note
Free usage does not require authentication. You can run free vectors without a key. Auth commands are for Pro activation and entitlement refresh.
activate
Stores an API key locally in ~/.agentprey/credentials.toml. Supports CLI flag input or interactive prompt.
bash
agentprey auth activate --key <KEY>bash
agentprey auth activaterefresh
Re-validates stored credentials and refreshes local tier metadata.
bash
agentprey auth refreshstatus
Shows whether auth is activated and which tier is currently resolved.
bash
agentprey auth statuslogout
Clears locally stored credentials and returns the CLI to unauthenticated mode.
bash
agentprey auth logoutRecommended Pro Flow
bash
agentprey auth activate --key <KEY>agentprey auth statusagentprey auth refreshagentprey vectors sync --proagentprey auth logout