Overview
Auth profiles let you configure multiple API keys, subscriptions, and provider accounts. ArgentOS automatically rotates between profiles when one hits rate limits or quota caps, ensuring your agent stays online.How Auth Profiles Work
Each profile is a named entry with a provider, authentication credentials, and optional metadata:Profile Location
Auth Types
- Setup Tokens
- API Keys
- Provider-Specific Keys
Generated from Anthropic Max subscriptions via
claude setup-token. These bill against the subscription’s weekly quota.Auth Resolution Priority
When the agent makes an API call:- Auth profiles are checked first (setup tokens from Max subscriptions)
- Environment variables are the fallback (
ANTHROPIC_API_KEY, etc.)
Auth profiles take precedence over any API keys set in your environment.
Adding Profiles
- Via CLI
- Manual
Rotation and Cooldown
When a profile hits a rate limit or quota cap:1
Cooldown
The profile enters a cooldown period (exponential backoff).
2
Next profile
The next profile for the same provider is tried.
3
Alternative providers
If all profiles for a provider are in cooldown, the model router tries alternative providers.
