Agent Eval Harness Templates
by Rob Louw
$39
A working eval loop today, not after you stand up promptfoo or DeepEval: 40 example cases, an LLM-as-judge scorer with documented bias mitigations, and a stdlib-only Python CLI that scores your agent and writes a report.
You need a way to catch agent regressions before a heavier eval framework is worth the setup cost. This is that starting point — grounded in AgentBench, tau-bench, OpenAI Evals, promptfoo, DeepEval, Ragas, Braintrust, and Zheng et al.'s LLM-as-judge bias research, with every judge bias documented in-line in the code, not just claimed in a README.
What's inside
schema/test_case.schema.json — JSON Schema for a test case.
suites/ — 40 cases across 4 suites (10 each): task_completion, tool_selection, refusal_safety, regression.
harness/judge.py — pointwise LLM-as-judge scorer, biases documented in-line (position, verbosity, self-preference).
harness/runner.py + run_eval.py — suite loading, scoring, CLI.
harness/adapters/ — a one-file ModelAdapter interface, a generic HTTP adapter (bring your own model), and an optional Claude Messages API reference adapter.
examples/sample_report.json — a real run's output, so you know what you're getting before you run anything.
See a real sample before you buy: 5 cases + the full schema + adapter interface, free, at github.com/roblouw2nd/fetchgate/samples/eval-harness.
Dependencies: Python 3 standard library only, except one clearly-optional requests used solely by the reference Anthropic adapter.
Who this is for
Teams that need a working eval loop before a launch, before adding a CI regression gate, or before judging whether a model/prompt change regressed agent behavior — without first standing up a heavier framework.
Honest limits: the 40 cases are a curated seed set to expand with your own domain cases, not a comprehensive benchmark. LLM-as-judge bias is reduced, not eliminated. Not a replacement for mature frameworks — GUIDE.md explains exactly when you'll outgrow this. refusal_safety.jsonl tests ordinary refusal behavior, not adversarial jailbreak techniques — for that, see Fetchgate's Prompt-Injection & Tool-Hijack Test Corpus ($29).
Single-team internal use. Sold by Fetchgate (fetchgate.dev). One-time purchase.