Skip to main content

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

PostgreSQL driver runtime

agent-control-server depends on plain psycopg. The published Docker image installs Debian libpq5 and sets PSYCOPG_IMPL=python so the server uses psycopg's Python implementation with the OS libpq library.

For wheel-based deployments outside Docker, either install the OS libpq runtime package for your platform, or install agent-control-server[binary] if you want psycopg's bundled binary package.

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

Metadata

Release files for agent-control-server 8.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-control-server 8.10.0
File Size Uploaded
agent_control_server-8.10.0.tar.gz 300.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-control-server 8.10.0
File Interpreter ABI Platform
agent_control_server-8.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 500.5 kB

Release files / agent_control_server-8.10.0.tar.gz

Download URL agent_control_server-8.10.0.tar.gz
Size 300.5 kB
Tags Source
SHA-256 checksum
How to use checksums
43c4c9ee634c56640eaabb2310bb2cfbb5a8e5cd83e3f5e0bd0644a80c7e12e7
BLAKE2b-256 checksum
How to use checksums
c503ea7a76e1e2d432f11420b86c1d21bae03602df2fd8f3202dc5d4aeefedec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / agent_control_server-8.10.0-py3-none-any.whl

Download URL agent_control_server-8.10.0-py3-none-any.whl
Size 200.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e449c490577ecf8bb486c2d55b80f4b6eb5a79b47e1bbe7c5ea79b6275ab1347
BLAKE2b-256 checksum
How to use checksums
147a7b799a805f71f9c791a4c37580ce78422b6175fa3fc9e73f254a4b1d4190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

8.13.0

2 release files

This release

8.10.0 This release

2 release files

8.9.0

2 release files

8.8.0

2 release files

8.7.0

2 release files

8.6.0

2 release files

8.5.0

2 release files

8.4.0

2 release files

8.3.0

2 release files

8.2.0

2 release files

8.1.2

2 release files

8.1.1

2 release files

8.1.0

2 release files

8.0.0

2 release files

7.10.0

2 release files

7.9.0

2 release files

7.8.1

2 release files

7.8.0

2 release files

7.7.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page