Server for Agent Control - manage and evaluate controls for AI agents
Project description
Agent Control Server
FastAPI server that powers Agent Control. It manages agents and controls, evaluates requests at runtime, and exposes REST APIs used by the SDKs and UI.
What it provides
- Agent registration and control association
- Control CRUD and evaluator configuration
- Runtime evaluation (
/api/v1/evaluation) with pre/post stages - Observability endpoints for events and stats
- API key authentication for production deployments
Quick start (local)
From the repo root:
make sync
make server-run
Server runs on http://localhost:8000. The UI expects this base URL by default.
To use non-default local ports with make server-run, export
AGENT_CONTROL_PORT for the server listen port. If you also want the local
Postgres container exposed on a different host port, set
AGENT_CONTROL_DB_HOST_PORT and point the server at the same value with
AGENT_CONTROL_DB_PORT.
Database migrations
The server package includes the agent-control-migrate command for bundled
Alembic migrations.
In production, migrations are serialized with a Postgres advisory lock. Alembic runs each migration revision in its own transaction, so if an upgrade across multiple revisions fails, earlier revisions may already be committed. Check the current revision before retrying:
agent-control-migrate current
agent-control-migrate upgrade head
Configuration
Server configuration is driven by environment variables (database, auth, observability, evaluators). For the full list and examples, see the docs.
Full guide: https://docs.agentcontrol.dev/components/server
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_control_server-7.8.0.tar.gz.
File metadata
- Download URL: agent_control_server-7.8.0.tar.gz
- Upload date:
- Size: 261.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dedc6d0ee31bb128eebda37b4f627c297df5462a98927c903e58b04abf4772c8
|
|
| MD5 |
7cf2fc5998c174cf5a1f39fdcaf61773
|
|
| BLAKE2b-256 |
4253ec769a662862b34bdd5e3cd42bedf974290eed68ca219be8b765b0c0545b
|
File details
Details for the file agent_control_server-7.8.0-py3-none-any.whl.
File metadata
- Download URL: agent_control_server-7.8.0-py3-none-any.whl
- Upload date:
- Size: 179.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15ac10953dd96d328f1034a86797056a9765059a8530be74843a770489cdf64e
|
|
| MD5 |
0874d8acfcd7825da57d555a0f0fd06d
|
|
| BLAKE2b-256 |
1165757cca884699893e784cad6f56693405404dd2fe7d3f0e560ff6bb33ee8c
|