Skip to content

Evaluate an Agent Before You Trust It

Build Bramble's evaluation through ten lessons: task and trajectory graders, repeated-trial reliability, regression gates, reviewer calibration, interactive user fixtures, training-data checks, component comparisons and a versioned release suite.

4 modules10 lessons~5 hours2 free to read

Bramble is a fictional company whose coding agent proposes fixes to a billing service. A demo patch does not establish whether the agent can repeat the result, whether it weakened the tests, or whether the grader rewards the wrong behavior. This course builds evidence for those questions.

The first modules define tasks and graders, separate outcomes from trajectories, report repeated-trial reliability and compare versions on paired tasks. You then calibrate a model reviewer, simulate clarification with a requester whose private state stays outside the agent, qualify training trajectories and isolate which component earned its added cost. The final investigation and project assemble those checks into a versioned suite.

Worked counts are synthetic and labeled. Python examples run offline on recorded results or scripted interactions. They show how the measurement and control code behaves; they do not establish the quality of a particular model or predict production success from a small fixture set.

The task-design lesson is free, and the trajectory-grading lesson requires a free account. The reliability arithmetic workshop is also public. The release gate, diagnostic lessons and final evaluation project are Premium. Continue with the coordination course for planning, memory, protocols and interaction boundaries, or the production course for live operations.

When you finish, you can

  • Turn a vague sense that an agent works into a task set where every task has a grader
  • Grade what the agent changed and how it changed it, and catch a pass that came from editing the tests
  • Report reliability as pass^k and pass@k with the number of tasks, runs and the grader named
  • Compare two agent versions on the same tasks and block a change whose drop is larger than run-to-run noise
  • Investigate a falling score by separating grader drift, case mix and environment changes from agent changes
  • Assemble an evaluation suite a release depends on, with its limits written down
  • Calibrate subjective reviewers and isolate requester knowledge from hidden grading state
  • Qualify adaptation data and attribute improvements through controlled component comparisons

BEFORE YOU START · You can read Python and have used an automated test suite. The Build an Agent Harness course helps but is not required. Every example runs offline on recorded results; the company, its codebase and its bugs are invented.

Syllabus

01

Decide what passing means

Turn tickets into tasks with graders, then grade how the agent got its result as well as the result itself.

02

Measure with a denominator

Report reliability across repeated runs with every number's basis stated, and compare two versions task by task before a change ships.

03

Diagnose before optimizing

Calibrate subjective grading, simulate clarification conversations, qualify training data and isolate the change that actually improves the agent.

04

When the numbers move

Investigate a score that dropped, then assemble the evaluation suite the next release depends on.