How To Test AI Agents With Simulations

10 Oct 2026 · 40 min
40:01

Hamel Husain and Raindrop CTO Ben explain why traditional input-output tests fail for AI agents and how to evaluate them instead by replaying production traces in simulated environments that recreate the original tools, databases, and APIs. They cover diff-based metrics like answer changes and latency, sample-efficient trace selection, and when simulations are worth building.

Chapters

More from Hamel

0:31
youtube.com

Not Every Bug Needs an Eval

2d ago
47:59
youtube.com

Can Claude Build Your Evals?

2d ago
0:46
youtube.com

How to Get Your Team to Care About Evals

3d ago
12:47
youtube.com

7 Most Common AI Eval Mistakes (From Teaching 5K+ Engineers & PMs)

3d ago
0:43
youtube.com

Why Your LLM Judge Should Say Pass or Fail, Not 1 to 5

6d ago
0:39
youtube.com

Don't Just Slap a Chatbot on Your Product

1w ago
19:56
youtube.com

Is Opus 5.5 Better At Writing?

1w ago
1:22
youtube.com

How to Do Error Analysis When You Can't Look at the Data

1w ago
13:24
youtube.com

I Ranked Every AI Eval Concept From Worst to Best

1w ago
0:38
youtube.com

Why We Tell People to Read 100 Traces

1w ago
1:07
youtube.com

Your AI Tests Are Supposed to Go Stale

1w ago
See all content