How to Build Better AI Evals with Claude Code in 5 Steps | Shreya & Hamel

Peter Yang · · 54 min

Shreya Shankar and Hamel Husain walk through a 5-step workflow for building AI evaluations using Claude Code, starting with manual error analysis before any automation.

Watch the episode 54 min · YouTube

The gist

  1. Do manual error analysis first by reviewing 10 to 20 diverse samples, because you cannot automate judgment you have not yet put into words.
  2. Separate your evals into top-down criteria from domain expertise and bottom-up criteria found by looking at real outputs, since AI is poor at generating the latter.

What they recommend · 5 picks

Claude AI tools

“I'm going to start out by just invoking a Claude session. The interface that it comes up with is going to be so much better than me looking at my data in say Google Sheets or something. It's just very very hard on the human eyes to read.”

Shreya Shankar ·256 creators recommend it·Shreya's AI tools →
Claude Code AI tools

“Finally, last but not least, it runs an interactive loop. So that is Claude Code or Codex — whatever I'm going to use — basically looks at the interactions I make in the user interface, compiles those interactions into open-ended feedback,…”

Shreya Shankar ·113 creators recommend it·Shreya's AI tools →
Codex AI tools

“I've been using Codex a lot more and it's mainly because of the Codex app itself is so incredible in its functionality. Mobile support is at a completely different level — you can see all the sessions across all your devices on your mobile…”

Hamel Husain ·100 creators recommend it·Hamel's AI tools →

Get a Sunday email on what Peter and 5 other AI builders start using

Free. Paid ads left out. Unsubscribe in one click.

Also mentioned

15:46 Error Discovery Skill · "What I am going to say is: use my error discovery skill to build me an interface to help me look at my AI..."
44:06 BrainTrust · "Here's one in Brain Trust where there's a trace viewer on the left and then you can chat with your AI, ask..."

Ads in this episode

Wispr Flow. They're paid, so we keep them out of the picks above.

See what Peter recommends without being paid →

◎

Related episodes

Episodes covering similar topics

What do Peter and experts like them all swear by?

49 things in common

See