SDK Environment Variables
For server database configuration, use the
AGENT_CONTROL_DB_* variables in the server section below.
Server Environment Variables
Core Settings
CORS
Database
Observability
Evaluators
Authentication
Agent Control supports API key authentication for production deployments. For provider-based management auth, HTTP upstream authorization, namespace scoping, and runtime JWT claims, see the Authentication reference.Configuration
Usage
Include the API key in theX-API-Key header:
Access Levels
Key Rotation
Agent Control supports multiple API keys for zero-downtime rotation:- Add new key to
AGENT_CONTROL_API_KEYS(e.g.,key1,key2,new-key) - Deploy the server
- Update clients to use the new key
- Remove the old key from the variable
- Redeploy
UI Environment Variables
Database Setup
Agent Control uses PostgreSQL. The easiest way to run it locally:- User:
agent_control - Password:
agent_control - Database:
agent_control - Port:
5432