← All work2025 · AI Agents · Infrastructure

LLM-as-a-Judge Framework

Behavioral testing for AI agents — judges that converse, verify with tools, and score.

RoleAuthor
StackPython 3.11+ · LLM-as-a-judge · pytest
Year2025

Client work — case study anonymized; architecture and metrics are real.

Judges that do more than opine

The framework's judges are pluggable across three model providers and come in tiers — default at 80, strict at 100, lenient at 60 — so different scenarios can be held to different bars. Crucially, judges can be equipped with tools through a registry, so a judge verifies a claim (does the cart actually contain what the reply says?) instead of just grading prose.

Goal-driven conversations

Beyond single-turn and scripted multi-turn tests, the framework supports goal-driven mode: the judge itself generates the follow-up queries, conducts an adversarial conversation toward a goal, decides when stopping conditions are met, and evaluates the full transcript. Every test captures token counts, duration, and time-to-first-token.

Built with

Every technology this project runs on, and the job it does here. Each one links to the other projects it appears in.

By the numbers

3Judge tiers
4Test types
3Judge model providers