linkdrift
How to eval an AI agent, from one question (code + cheat sheet)

How to eval an AI agent, from one question (code + cheat sheet)

shubham
@ShubhamInTech·4.2K followers
·6 min read

Ask a weather agent "What's the weather in Hayes Valley?" It can get it wrong four ways, and one of them looks exactly right. This post builds a full eval setup from that one question. The code, a

Ask a weather agent "What's the weather in Hayes Valley?" It can get it wrong four ways, and one of them looks exactly right. This post builds a full eval setup from that one question. The code, a judge prompt, a Monday checklist and a glossary are all inline, so bookmark it. TL;DR Find failures by reading real traces (error analysis), not by guessing. Catch each failure with the cheapest evaluator that works. Code first. Use an LLM judge only for what code can't check. Make it pass or fail, and

174
0
8
0
Read full article on X