A concrete, low-ceremony sequence for bootstrapping agent evals from nothing, from Alexey Grigorev’s “How to Do Evals in 2026.” Where Evaluating AI Agents gives the vocabulary and taxonomy (grader types, capability vs. regression, agent-type patterns) and Eval-Driven Agent Development gives Anthropic’s 8-step organizational roadmap, this page is the improvisational, solo-builder version of the same loop: how you actually get there using a coding assistant as your labelling and alignment partner, before you have a dedicated evals team or harness.

The core move that distinguishes this workflow: instead of hand-writing grading logic, you and a coding assistant iterate on a single judge.md file until it reliably predicts your own good/bad calls. The file is the judge — the classifier’s “weights” are natural-language rules instead of numbers.

Each stage below adds new cases to the same growing gold standard (ground truth) dataset. It’s one artifact that compounds; the stages differ in how you find new cases to put in it.


Stage 1 — Vibe-Check and Log

Before any tooling: poke the agent, ask the questions you want it to answer, look at the results. Nothing wrong with this — but even at this stage, log every interaction (question + answer + relevant retrieved context). 10-15 logged sessions is enough to move to the next stage.

Stage 2 — Manual Labelling → Version 0 of the Dataset

Vibe-code a small labelling tool: show a logged record, offer Good / Bad / Skip. Classify all 10-15 records yourself.

Key

Don’t delegate this step to a coding assistant. It’s only a few examples — you can go through them fast, and doing it yourself is how you build an intuition for what the agent actually gets wrong. That intuition is what you’ll need next, to check the judge’s work.

This produces “version 0” of the gold standard dataset.

Stage 3 — Judge Alignment (judge.md)

Now automate the labelling using a coding assistant:

  1. Ask the assistant to classify the same logged examples as good or bad.
  2. Compare its calls to yours. Where they differ, ask it to explain its reasoning — you may have missed context, or it may lack context you have.
  3. Iterate until you agree.
  4. Ask the assistant to write a judge.md file describing the classification rules it converged on.
  5. Read judge.md carefully. The rules must be generic, not tailored to the specific examples in your dataset — otherwise the judge has memorized your dataset instead of learning the underlying criteria.

Then verify the file is self-sufficient: start a fresh session, have a subagent classify records using only judge.md (no other context), and check whether it still agrees with you. Tune the file — not the subagent’s ad hoc reasoning — until alignment holds.

Key

This is binary classifier training with a text file instead of weights. The alignment loop (predict → compare → explain → adjust) is the same shape as fitting a classifier to labels. judge.md is the parameter set. Grigorev notes a train/test split is worth adding here too, once there’s enough data to split.

Once aligned, you have a metric for free: fraction of “good” results. Every future agent change gets re-scored against it — a regression in this number is a signal, not a vibe.

This is a concrete implementation of two things Anthropic’s roadmap only states abstractly (see Eval-Driven Agent Development Step 5): “design graders thoughtfully” and “calibrate LLM judges with humans, repeatedly.”

Stage 4 — Break the Agent Like a QA Engineer

10-15 examples describe what already happened. To find what hasn’t happened yet but should be tested, borrow two classic software-QA techniques:

Equivalence partitioning — divide the input space into groups that should each produce similar agent behavior, then write 2-3 test questions per group. For a RAG doc-QA agent, natural partitions are:

  • Questions about topics that are in the docs
  • Questions about relevant topics not in the docs
  • Questions about irrelevant topics entirely
  • Ambiguous questions
  • Questions in a different language

Boundary testing — push harder at the edges of each partition. For the same RAG agent:

  • Query that exactly matches a document (easy case)
  • Semantically related query using different words (typical case — paraphrase)
  • Query semantically related to multiple documents (ambiguous case)
  • Completely off-topic query (boundary case)

This alone can add 30-40 new cases to the dataset. Have the coding assistant help generate the actual questions once the partitions and boundaries are defined — the taxonomy is the hard, human part; generating instances against it is the easy, delegable part.

Run all the accumulated data through the agent, then through the judge, and inspect its calls with a lighter agree/disagree interaction (faster than re-labelling from scratch). Where disagreement clusters, go back to Stage 3 and tune judge.md again. Perfect alignment is not the bar — the judge should be right most of the time.

Stage 5 — Automate the Improvement Loop

With the judge aligned, the pipeline is fully mechanical:

gold standard dataset → agent → judge (reads judge.md) → metric (% good)

Use this to drive agent improvement itself, via the implementer-tester pattern: one subagent modifies the agent, a separate subagent runs the judge against the result, and you iterate until the “good” ratio is acceptable. This is the same implementer/checker split described in Loop Engineering and Cursor Planner Worker Judge, applied specifically to eval-driven fixing.

Stage 6 — Synthetic Data for Quantity

Stages 1-4 built quality — a small, carefully checked dataset. Agents are non-deterministic, so a small dataset that passes cleanly can still fail once traffic scales; more repetitions mean more chances for something to go wrong. That’s the case for quantity.

Generate it with AI: for a RAG system, take each document in the knowledge base and ask the assistant to generate ~5 plausible user questions from it. Run the resulting large batch through the agent and judge as before. Expect to surface new failure classes this way — loops that don’t terminate, instruction violations, tool breakage mid-task — precisely because a wide, unplanned distribution of inputs finds things a hand-designed partition list won’t. Every new failure found becomes a new case in the gold standard dataset, then a regression check going forward.

Stage 7 — Real Users, as Early as Possible

Confidence from an offline dataset is not confidence from the field. Get the agent in front of real users at whatever scale is available: a formal user-testing session, a small percentage of production traffic, friends and family for a personal project, classmates for a course project, or a social-media share.

Be transparent about what’s logged, and add lightweight +1/-1 feedback buttons. A downvote is a directive to inspect that transcript. New real-world failures graduate into the gold standard dataset the same way synthetic ones do.

Stage 8 — Online Evaluation

Offline evaluation (run dataset → judge → metric) doesn’t scale to continuous monitoring. Online evaluation closes that gap: every live interaction is logged, scored in real time by a stand-alone judge (not something run interactively through a coding assistant session), and shown on a dashboard.

Periodically inspect the bad-scored traffic for new failure patterns to fold back into the dataset, and also spot-check the good-scored traffic — a judge that only gets audited on its failures can silently drift on what it calls a pass.

Multiple Judges

A single good/bad judge conflates several different questions. As a system matures, split it into judges along explicit dimensions:

DimensionQuestion
Task completionDid the agent actually solve the user’s problem?
Relevance / correctnessIs the answer relevant and correct?
GroundednessAre the claims supported by the knowledge base?
CompletenessDoes the answer include everything required?
Following instructionsDid the agent follow its instructions?
Trajectory optimalityWas the tool-call sequence an efficient one?

Start with one judge. Add dimensions only once the single judge’s blind spots start costing you signal — splitting too early adds alignment overhead for dimensions you don’t yet have failures on.


The Checklist

Gold standard dataset:
[ ] Vibe-check the agent and log 10-15 interactions
[ ] Label results as "good" or "bad" yourself
[ ] Define equivalence partitions and test cases within each
[ ] Include boundary cases (exact match, paraphrase, multi-match, off-topic)
[ ] Generate synthetic questions

The judge:
[ ] judge.md describes classification rules in generic terms, not tied to your examples
[ ] The judge runs as a subagent that reads only judge.md
[ ] Check the judge's answers with "agree" or "disagree"
[ ] Use the fraction of "good" results as your metric
[ ] Add more judges as the system matures

Improving the agent:
[ ] The evaluation pipeline is automated: run agent -> run judge -> get metric
[ ] Each change gets the full evaluation set re-run to catch regressions

Online evaluation:
[ ] Put the agent in front of real users
[ ] Collect user feedback (+1/-1)
[ ] Score online traffic with a stand-alone judge, show results on a dashboard
[ ] Inspect bad results periodically, add new failing cases to the eval dataset

How This Fits the Rest of the Cluster

  • It’s the same lifecycle as Capability vs Regression Evals: every case that survives judge alignment either graduates into the regression floor or stays a capability target.
  • judge.md is a hand-built, narrated instance of the “model-based grader” row in Evaluating AI Agents’s grader-type table — this page is the how-to for actually building and calibrating one solo.
  • The agree/disagree loop on judge output is a lightweight version of Eval-Driven Agent Development Step 6 (“read the transcripts”) — cheaper per-case, meant for continuous re-checking rather than deep one-time audits.
  • Equivalence partitioning and boundary testing are not covered elsewhere in this cluster; they’re the concrete technique for Eval-Driven Agent Development Step 3 (“build balanced problem sets”) — a named method for finding the both directions Anthropic’s web-search example argues for.
  • The implementer-tester loop is the same maker/checker split as Loop Engineering and Cursor Planner Worker Judge, applied narrowly to eval-driven agent fixing.