How to Evaluate Coding Agents

19 Oct 2026 · 24 min
24:25

In this session Hamel Husain interviews Kwaja about the challenges of building evaluation systems for coding agents. Kwaja explains that evaluating coding agents differs from traditional product evals and is closer to foundation model benchmarking. The talk walks through selecting tasks (balancing measurable vs. representative), generating tasks from internal repositories versus public benchmarks, and the tension between crisp, easy-to-measure unit‑test based tasks and more realistic, ambiguous tasks. Grading strategies are discussed, ranging from deterministic unit‑test passes to using LLM judges for less‑deterministic tasks, and the need for inter‑rater agreement. Sandbox isolation is highlighted as a major difficulty: deterministic tools are easy to contain, but coding agents often make network‑facing tool calls (search, wiki) that are hard to sandbox, leading to leakage and non‑reproducibility. To obtain reliable scores, Kwaja stresses heavy repetition, aggregation, and deep trace analysis to understand failures (e.g., throttling, gateway errors). Evaluation dimensions—speed, correctness, cost, and policy adherence—are identified, and the importance of instrumented harnesses that emit metrics (turn count, cost, latency) is emphasized. The session concludes with practical advice, a caution against over‑interpreting single‑run numbers, and a promotion of a free, stage‑based eval guide (bit.ly/evals-guide).

Chapters

More from Hamel

0:37
youtube.com

Why You Shouldn't Simulate Your Users

20h ago
4:19
youtube.com

How To Get Your Team To Invest In Evals

2d ago
0:47
youtube.com

Stop Splitting One Task Across Multiple Agents

3d ago
3:23
youtube.com

How To Decide Who Owns AI Evals

3d ago
0:41
youtube.com

The Two Biggest Mistakes Teams Make With Evals

4d ago
3:16
youtube.com

Can One Model Run Your App And Evals?

4d ago
0:44
youtube.com

Why Generic Eval Metrics Waste Your Time

5d ago
21:18
youtube.com

How to Ace AI Eval Interview Questions (for Engineers & PMs)

5d ago
0:31
youtube.com

Not Every Bug Needs an Eval

6d ago
47:59
youtube.com

Can Claude Build Your Evals?

6d ago
0:46
youtube.com

How to Get Your Team to Care About Evals

1w ago
See all content