Testing AI agents with simulations: replay real traces, 50 curated sims beat 1000 random ones

HamelHusain · x · 2026-10-13

Raindrop cofounder Ben Hylak joined Hamel Husain's AI Evals course to explain agent testing via simulations: replay real production traces against a change to see what breaks. Key points — cached tool results tip agents off that they're in a sim, so rebuild the world around the agent; 5–50 well-chosen simulations beat thousands of random ones; evals are turning into simple functions over traces; includes how OpenAI tests Codex this way.

Related event: Hamel Husain interviews benhylak on simulation-based agent evals(4 posts)→

Original post →

More from coding & agent

coding & agent channel →