Skip to main content

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 the X-API-Key header:
With the Python SDK:

Access Levels

Key Rotation

Agent Control supports multiple API keys for zero-downtime rotation:
  1. Add new key to AGENT_CONTROL_API_KEYS (e.g., key1,key2,new-key)
  2. Deploy the server
  3. Update clients to use the new key
  4. Remove the old key from the variable
  5. Redeploy

UI Environment Variables


Database Setup

Agent Control uses PostgreSQL. The easiest way to run it locally:
Default credentials in docker-compose:
  • User: agent_control
  • Password: agent_control
  • Database: agent_control
  • Port: 5432