Architecture
- Engine - a TypeScript HTTP API (the same Trace/Monitor/Evaluate logic the hosted product runs) compiled to a single native binary, so no Node or Bun is needed at runtime. SQLite by default, Postgres via one connection string, and an enterprise tier that moves span storage to ClickHouse - see Deployment tiers.
- CLI (
agentx/agentx-server) - a small Go launcher: starts the engine, opens the dashboard, forwards shutdown signals. - Dashboard - the real AgentX Governance UI, not a rebuild: the same frontend the hosted product uses, built in self-host mode and served by the engine itself.
What’s included
Observe - Live Traces with span-tree Timeline/Graph views and trajectory metrics, Sessions with conversation-level judging, per-framework tracing guides in the UI. Monitor - built-in and custom patterns, online evaluators (per-trace and per-session), custom evaluators, topics, signal triage with archiving, outcomes and judge calibration, model comparison. Evaluate - datasets with version history, code scorers, LLM judge scorers, runs with judge scores and trajectory matching, datasets curated from production, model portability, and the interactive Playground with conversation simulation. Improve - Prompt Management and Tools registries with evidence-backed suggestions and measured proposal validation, plus CI gates with recorded history. Operate - bulk NDJSON export of every project-scoped entity, a Prometheus/metrics endpoint, an append-only
audit trail, and a documented
HA & DR posture.
Features that call an LLM - judge scoring, online evaluators, semantic
patterns, suggestion drafting, Playground runs - need a provider key
(
OPENAI_API_KEY / ANTHROPIC_API_KEY / GEMINI_API_KEY), settable via
environment or the dashboard’s Platform Settings. Trace ingest, phrase/regex
patterns, and code scorers run with no keys at all.What stays hosted-only
Hosted’s native autotune workflow (candidate config branching for AgentX-built agents) is tied to the hosted agent-builder and is an explicit non-goal for self-host - self-host centers on the prompt/tool registries instead (the sidebar’s Manage → Prompts / Tools & MCPs, with the improvement inbox in Insights → Suggestions), which serve the same “make the agent better” purpose for externally-built agents.Source availability and licensing
The engine and CLI are Elastic License 2.0: free for any use - including commercial self-hosting - except offering the software to third parties as a hosted or managed service, or circumventing license-key functionality. The Python SDK stays permissively licensed (Apache-2.0), since it ships inside your application. The dashboard is built from AgentX’s private frontend; only its compiled bundle is published, attached to the repo’s releases - so installs and source builds never need access to the private repo, and dev mode fetches the bundle automatically on first boot.Installation
curl | bash, pip, Docker, or from source
Configuration
Ports, Postgres, auth mode, provider keys
Tracing
What gets recorded on every traced call
GitHub
Source, issues, and the full README

