Agent Evaluation & Benchmarking Harness
AI Evaluation · Oct 2026

Agent Evaluation & Benchmarking Harness

A benchmarking harness (the `evalh` CLI) that runs the same 60 hand-labeled triage cases across a matrix of model × skill set × context-loading mode, scores each decision deterministically, and reports accuracy with Wilson 95% intervals alongside tokens, cost and latency per task. It evaluates the skills-support-agent and produced the numbers behind its 72% token reduction, including a 2×2 ablation that separates the effect of each change.

Technical highlights

  • 01

    Built a 60-case labeled dataset spanning billing, account recovery, bug reports, connectivity, out-of-scope, multi-intent, multi-turn and prompt-injection cases, with labels derived from skill rules and mock backend data (never model output) and a changelog recording every label change.

  • 02

    Ran a 2×2 ablation on Claude Haiku 4.5 isolating the two optimizations: progressive loading alone cut tokens 61.6%, concise skill files alone 49.9%, and both together 72.0% — nearly all of it input tokens, with output flat.

  • 03

    Used the evals to find real problems: a routing regression introduced by the token optimization (billing questions like “Do you accept PayPal?” fell through to human escalation), ambiguous business rules tightened before any model run, and a 3-case run-to-run swing at temperature 0 that motivated reporting every accuracy figure with a confidence interval.

  • 04

    Implemented run / compare / baseline / gate / cases commands with an on-disk cache keyed by an agent code + skills + data fingerprint, results exported as JSON, Markdown and HTML reports, and a gate command that exits non-zero on regression for use as a pull-request check.