Token spend without scorecards
Providers invoice tokens. Without deterministic regression reports, “efficiency” is a vibe — not a hash-bound artifact you can recompute offline.
Open source · Local-first · MIT
Token-Efficient Agent Harness Lab is a self-hosted control plane for studying and operating event-sourced agent systems — with deterministic budgets, regression scorecards, adaptive routing evidence, and an operator dashboard that refuses to invent facts.
Built for people who care about the bill and the audit trail
Most stacks optimize demos. This lab optimizes evidence: what ran, what it cost, what changed, when to stop, and how you prove it again next week.
Providers invoice tokens. Without deterministic regression reports, “efficiency” is a vibe — not a hash-bound artifact you can recompute offline.
Unbounded agent loops burn money and trust. Policy-gated auto-pause, auth scopes, cost caps, and audit logs keep autonomy inside explicit rails.
If pricing is not configured, the system says so. Sparse or tampered evidence returns insufficient_evidence — never a silent green check.
A research-grade harness that already ships production-shaped surfaces — not a slide deck.
Deterministic registries, batch recomputation, trends, SQLite/PostgreSQL persistence, and read-only API/SDK/Dashboard history. Report-only by design.
Forecasts and anomaly findings with coverage, confidence, and reason codes. High-confidence pause only through existing authority — idempotent and reversible.
Bounded multi-endpoint routing, experiments, promotion, and operator evidence — activated through a trusted-local profile, not ambient magic.
Event-sourced workflow control, bounded multi-agent semantics, mailbox/step executors, and operator read models sealed through AR-6.
Auditable patch/PR production against real git targets with verification evidence — for labs that want more than mock JSON.
Codegen across Rust, TypeScript, and Python with CI drift checks. One wire truth, three SDK surfaces.
Rust engine as sole runtime/API/storage. Static dashboard. Optional PostgreSQL. Docker when you want it — not required for first run.
Run the control plane on loopback. No cloud account required.
git clone https://github.com/Igzela/token-efficient-agent-harness-lab.git
cd token-efficient-agent-harness-lab
cargo build -p engine
cd dashboard && bun install --frozen-lockfile && bun run build:static && cd ..
ACP_DASHBOARD_DIR=dashboard/out cargo run -p engine
# Open http://127.0.0.1:8080
docker run -d -p 8080:8080 -v acp-data:/data \
igzela/agent-control-plane:latest
Or docker compose --profile combined up -d from a clone.
bash scripts/verify_rust_typescript_stack.sh
uv run --no-project python scripts/acp_local_doctor.py
Primary cutover check: wire drift, Rust, TS SDK, dashboard, live smoke routes.
Architecture book, runbook, and packetized roadmap live in the repo.
Promotion without false promises. Read this before starring for “hosted multi-tenant agents.”