Documentation Index
Fetch the complete documentation index at: https://docs.argentos.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
ArgentOS uses multiple layers of authentication to secure different parts of the system. Understanding how each layer works helps you configure a secure deployment.Authentication Layers
1. Gateway Auth
Protects the WebSocket control plane from unauthorized access:2. API Provider Auth (Auth Profiles)
Authenticates with model providers (Anthropic, MiniMax, etc.):3. Channel Auth
Controls who can interact with the agent through each channel:Auth Types
- Setup Tokens
- API Keys
Generated from Anthropic Max subscriptions:
- Bill against subscription weekly quota
- Used for Max subscription accounts
- No prompt caching support
Auth Resolution Priority
When the agent makes an API call, credentials are resolved in this order:- Auth profiles (
auth-profiles.json) — checked first - Environment variables (
ANTHROPIC_API_KEY, etc.) — fallback
This means auth profiles always take precedence. If you have both configured, the auth profile wins.
Generating Auth Tokens
Gateway Token
Generate a random token:Anthropic Setup Token
Security Recommendations
- Rotate tokens periodically (monthly recommended)
- Never commit
auth-profiles.jsonto version control - Use file permissions:
chmod 600 auth-profiles.json - Monitor usage through provider dashboards for unexpected activity
- Use separate profiles for different environments (dev/prod)
