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 activate

refresh

Re-validates stored credentials and refreshes local tier metadata.

bash
agentprey auth refresh

status

Shows whether auth is activated and which tier is currently resolved.

bash
agentprey auth status

logout

Clears locally stored credentials and returns the CLI to unauthenticated mode.

bash
agentprey auth logout
bash
agentprey auth activate --key <KEY>agentprey auth statusagentprey auth refreshagentprey vectors sync --proagentprey auth logout