Skip to content
← back

2026

Proofstep

Evaluation CI for production AI agents

The problem

Most eval tools score an agent's final output, but agents fail in the middle. An agent can write a flawless email and still have sent it before a human approved it, and no output evaluator can see that. And most CI gates fire on noise: a threshold says what size of change matters, but not whether the change is real, so a small eval suite passes or fails on sampling luck while the build stays green.

What I built

An evaluation CI platform that answers the question a dashboard cannot: should this change be allowed to merge? It grades the full tool-call trajectory (order, arguments, budgets, loops and duplicate side effects) against policy-as-code YAML rules, attributes every failure to its offending span, and gates merges with statistical tests rather than bare thresholds. Self-hostable, multi-tenant, and published to PyPI as a tracing SDK and a CLI.

Architecture

Your agent + proofstep SDK · @trace / @tool decorators
        ↓  OpenTelemetry ingestion
Proofstep server · Python 3.12
  ├── PostgreSQL  multi-tenant, row-level security
  ├── Redis
  └── MinIO
        ↓
proofstep-cli in GitHub Actions
  exit 0 merge · exit 1 regressed · exit 2 run too small

Highlights

Engineering decisions

Grade the tool-call trajectory

instead of Scoring only the agent's final output

The failures that matter in a tool-using agent happen in the middle: an email sent before approval, a document read from the wrong tenant. The final output can be byte-identical between a safe run and a dangerous one, so only the trajectory can tell them apart.

Paired statistical tests with an explicit power check

instead of A fixed score threshold

A threshold says how big a change matters, not whether it is real. At forty examples a gate guarding a 0.02 regression can only detect around 0.1, so it is effectively firing on noise. Erroring on an underpowered run makes that visible instead of letting a green build lie.

Policy-as-code in YAML

instead of Rules buried in evaluator code or prompts

A policy that decides whether code can merge should be reviewable by whoever changes it. YAML rules show up in the PR diff, and each violation points back to the exact policy line it broke.

Stack