Hub · 11 guides · 31 answers · 12 template packs

AI Evals: the complete guide for every team

What is an AI eval?

An AI eval is a repeatable test for an AI product. It runs real inputs through the product, grades each output against a definition of good that was written in advance, and counts how often the product gets there. Rerun it on every change and the score tells you whether the change made the product better or worse.

When AI builds the first draft, the scarce skill is knowing whether the draft is good. Every team that touches an AI product owns a piece of that answer, and the evals are where those pieces meet.

Start here
Evals From Zero: The Complete Guide to Testing AI Products, for EveryoneThe whole method in plain words: read real outputs, turn each failure into a pass or fail check, build a fixed test set, check the graders, set the bar, and run the loop. Templates for every step.31 min read

Evals for every team

Each guide covers what that team owns, a step-by-step method, templates to copy, and five real-world examples.

How to build an AI eval, in six steps

  1. 01Read before you writePull 30 to 100 real outputs and write one note on each. Group the notes into failure types.
  2. 02Turn failures into checksWrite each failure type as a pass or fail question a person or a grader can answer.
  3. 03Build a fixed test setCollect real cases with agreed answers, including the hard and rare ones.
  4. 04Check the gradersCompare every AI judge with people on the same cases before you trust it.
  5. 05Set the bar firstWrite the score that means ship, hold, or roll back before you see the result.
  6. 06Run the loopRerun the eval on every change, sample live usage, and add each new failure to the set.

The full method, with a template for each step, is in Evals From Zero.

Real-world examples

  • ShopifySidekick's AI judge went from near-random agreement with experts to close to human agreement after calibration rounds. Read the example
  • AirbnbNamed one decision-maker per feature, sampled live traffic daily, and reviewed the eval weekly with the PM. Read the example
  • HarveyLawyers graded old and new answers side by side, and the eval decided which version shipped. Read the example
  • Khan AcademyWrote the ship rule before running the tests: a change ships only if it beats the current tutor and harms nothing. Read the example
  • GustoContent designers wrote voice principles and built one AI judge per principle. Read the example
  • ZendeskSplit contained conversations from verified resolutions, so reports count problems actually solved. Read the example
  • EBU and BBCJournalists graded thousands of AI assistant answers about the news and found significant issues in almost half. Read the example
  • Thomson ReutersAttorneys graded legal AI output for whether it was fit for professional use. Read the example
  • VercelRan its lead agent in shadow mode until the best rep had no corrections left. Read the example
  • GoogleIts public search rater guidelines show how a written rubric lets thousands of people grade the same way. Read the example

Every guide has five more, each with its source.

Questions about AI evals

The basics

Graders and judges

Agents, retrieval, and production

Who does what

Templates

In the handbook

AI evals glossary

AI eval
A repeatable test for an AI product: real inputs, a definition of good written in advance, and a count of how often the product gets there.
Error analysis
Reading real outputs, writing one note on each, and grouping the notes into a short list of failure types.
Golden set
A fixed set of test cases with agreed answers, rerun on every change.
Grader
Whatever scores an output: a code rule, an AI judge, or a person.
LLM-as-a-judge
A second AI model that grades the first model's output against a written rule. Trust it only after checking it against people.
Binary grading
Pass or fail, with nothing in between. Easier to agree on than a 1 to 10 scale.
Offline eval
A test run before release on a fixed set of cases.
Online eval
Grading a sample of real, live usage after release.
Regression eval
A test that guards what already works. It should sit near 100%.
Capability eval
A test of what the product can't do well yet. It starts with a low pass rate.
Pass^k
The chance an agent succeeds on all k tries of the same task. The number that matters for agents that act.
Never-rule
Something the AI must never do, whatever anyone asks, written as a pass or fail test.
Red teaming
People trying to make the product fail on purpose, so the failures become test cases before customers find them.
Verified resolution
A support conversation where the customer's problem was actually solved, not just closed or deflected.

Frequently asked

What is an AI eval?

An AI eval is a repeatable test for an AI product. It runs real inputs through the product, grades each output against a definition of good that was written in advance, and counts how often the product gets there. Rerun it on every change and the score tells you whether the change made the product better or worse.

How do you build your first AI eval?

Pull 30 real outputs from one AI feature and write a sentence about what's wrong with each. Group the notes into failure types, write each type as a pass or fail check, and run the checks on a fixed set of real cases. Set the bar before you look at the score.

Who should own AI evals?

Each function owns its piece: product managers own the bar, designers the experience, engineers the harness, researchers the labels, support the resolution definition, legal the never-rules, marketing and sales the claims. The chief product officer owns the system that ties them together.

Can you trust an LLM judge?

Only after you check it. Have people grade the same cases, compare, and fix the judge's rule until it agrees with them closely. Then recheck it on a schedule, because models and products drift.

How is an eval different from a benchmark?

A public benchmark tests a model on someone else's tasks. Your eval tests your product on your customers' real cases, against your definition of good. A model can top a benchmark and still fail your users.

How many test cases do you need?

Start with 30 to 100 real cases you've read yourself. Grow the set as you find new failures. Coverage of the failure types matters more than the raw count.

Everything else on evals

63 pieces
  1. Salesforce's Voice Agent Customers Signed at About 95%. Nobody Planned That Number. Write the Bar Before the First Test Call.Salesforce's voice agent customers balked at 80 to 85% and signed near 95%. The bar showed up late. Put it, and the test calls, in the contract first.5 min read
  2. Owner Sorted Its Support Tickets Into 2,000 Jobs and Built Its Agent From the List. 13 of My 39 Agents Went Unread. No Ticket, No Agent.Owner grouped its old support tickets into about 2,000 jobs and ranked them by support time. I built 39 agents from my own map and 13 went unread.6 min read
  3. The Same Search Tool Scored 47.5% and 90.5% for One Person. Report Accuracy by Who Is Asking.A course lesson scored one search tool at 47.5% for an adjuster, and 90.5% on the files he may read. Split your accuracy number by role before you report it.5 min read
  4. Workday's Deployment Agent Took 2 Million Questions. The Field Is the Product's Sensor Network.Workday put its field engineers inside product. What they learn should reach every customer in hours. Here's the pipe, and what never travels.10 min read
  5. IBM and Microsoft Ship 6,000 Prebuilt Agents and Assets. The FDE's Job Is the Deciding.IBM and Microsoft ship 6,000 prebuilt agents and assets with engineers attached. When agents do the build, the FDE owns four decisions. Product owns the agent.10 min read
  6. Single-Provider Enterprises Fell From 64% to 28% in a Quarter. The Buyer Picks the Model Now. Ship the Label Set.Databricks: one-provider enterprises went from 64% to 28% in a quarter and the top-scoring model fell to 0.6% of tokens. 150 labels built my router in 3 days.6 min read
  7. LangChain's Eval Loop Starts With a Spec. For PMs, the Spec Is an Eval Now.LangChain's eval-driven development starts with a spec of good and an eval written before the build. That's the PM's artifact for the next five years.9 min read
  8. Nielsen Says Let the AI Work Alone. Chase Says Design for Review. Score the Fourth Arm.Nielsen: in 420 studies human plus AI loses to the better one alone. Chase: review is the bottleneck. Score AI alone on the next run, with the note.7 min read
  9. NN/g Puts a Research Section in the Spec. Add the Unit, the Tripwire, and the Quiet Cohort.NN/g's Tony Alicea puts a Research section in the spec so the agent builds the tracking. Three lines to add, from a migration where 'resolved' broke.7 min read
  10. IDSD, Six Months Later: Where a Spec Earns Its KeepIn May I said kill IDSD and spec-driven development. A 50-ticket benchmark and six months building Heidi changed part of my answer. Here is the rule I use now.10 min read
  11. PM Openings Are Up 56%. PM Hires Are Down. The Posting Is for a Different Job.Lenny's chart has PM openings up 56% since 2023. PM hires are down over the same stretch. The posting now asks for LLMs, Claude, and evals. Read it as a spec.8 min read
  12. Spotify's Three AI PMs Share a Vocabulary. Put a Row Set, a Floor, and a Date on Every Seam.Three Spotify principal PMs say the word eval shifts meaning by layer. No seam in the piece has a number. A row set, a floor, and a date fix that.9 min read
  13. Lesson 11 Lost 83 Documents in 26 Files. Count the Questions Too, and Keep the Copies.Lesson 11 of Becoming FDE counts 83 lost documents, not 26 unreadable files. Add the questions lost, keep unread copies in the loss, and name an owner.9 min read
  14. Cutler Says Let the Customer Pick the Score. Kill the Scorecard Menu.John Cutler says prototype three versions of the engagement score and let the customer choose. In an FDE engagement the score was fixed at signature.9 min read
  15. Cagan Lists Three Product Roles. The Fourth Is the One Hiring Fastest.Marty Cagan sorts the product role into three definitions by operating model. The forward deployed engineer fits none, and demand for it is up 2,100%.8 min read
  16. Salesforce's FDE Slackbot Says Leave the Call With Better Questions. Leave It With Rows.Salesforce's Ask Slackbot tells an FDE to leave discovery with better questions. Leave with three labeled records per firm opinion and the product's number.9 min read
  17. Salesforce Hires PMs to Say What Good Looks Like. The PM Is the Product Builder Now.Salesforce's 700-person AI org hires PMs for prototyping and evals. The PM becomes the Product Builder, inside one loop under the CPO.9 min read
  18. Lesson 10 Tripled the Window and Accuracy Held at 60%. Add the Cited Doc and the Twin Column.Lesson 10 of Becoming FDE tripled the context window. The right doc arrived 90% of the time, the model answered 60%. My agent lost that way, next to a twin.9 min read
  19. Legora Cut the FDE Seat in Two. The Eval Fell in the Gap.Legora has about 100 legal engineers who ship no code and FDEs who never see a client file. Behind a data wall the field owns the rows; only the rate crosses.9 min read
  20. Rules 97.5%, Trained 100%, Model 87.5%. The Bake-Off Table Needs a Slice and a Date.Lesson 09 of Becoming FDE scores rules, a trained classifier, and an LLM on 120 fragments. My 89% was 61% by week six. Add a slice column and a re-run date.7 min read
  21. Reddit's Handoff Ships a Draft PR. Design Should Hand Engineering the Tests.Reddit's feature capsule hands engineering code that may or may not merge. When prototypes are production-shaped, design hands engineering test rows, not code.9 min read
  22. The FDE Writes the Eval: Almost Right Has a NumberAneel Bhusri: 'almost right isn't good enough.' Colin Jarvis: FDEs built the evals. The eval is the deployment artifact, and the FDE writes it.10 min read
  23. The Prompt Commit: Score, Rows, Name, Undo Under Every Prompt ChangeLesson 08 of Becoming FDE says the eval score is a field of the prompt version. My repo says two fields are missing: the rows it was scored on, and the name.7 min read
  24. Kill the Thumb. The Preset Reason Is the Rubric Dimension.Nielsen says the thumbs that train AI deserve usability testing. The widget was never the failure. A thumb is one bit with no dimension, output id, or slice.8 min read
  25. One Interface, Several Providers Is the Easy Half. The Eval Threshold Travels.Lesson 07 of Becoming FDE makes the interface survive a provider switch. LangSmith and Databricks shipped the switch at runtime this week, with no eval on it.9 min read
  26. Two Months, Then One Day: OpenAI Published the FDE ScorecardColin Jarvis published OpenAI's FDE numbers: 90% of custom code gone, a second team live in one day. Put that date on the scorecard, and read the 60% case.10 min read
  27. Code Got Faster. Releases Didn't. The CPO and CTO Have to Split the Substrate.79% of engineering leaders say agents write code faster and releases aren't. The fix is the substrate, and the CPO and CTO have to split who owns it.9 min read
  28. The Threshold Card: Tune the Judge Before You Trust the Score, and Date the Re-TuneHamel Husain and Antaripa Saha show the 0.50 default can catch nothing. My classifier went 89% to 61% in six weeks. One card per judge, six lines, with a date.8 min read
  29. Which Model Is the Smallest Knob in the Architecture ReviewLesson 6 of Becoming FDE opens on a review asking which model, two candidates three points apart. Same week, harness-only changes moved 13.7 points.9 min read
  30. Run the Oracle Before You Swap the ModelA wrong answer is a retrieval miss, a model miss, or a stale page. A no-reasoning oracle splits the first two in two hours. I add the third column.7 min read
  31. Label Before You RouteLangChain's model router cut median cost per thread 64%, proven by an A/B on its own engineers. For a customer-facing agent, label 150 real threads first.6 min read
  32. The Menu Is Not the Error AnalysisHamel Husain tested Claude's auto eval tool and said hold off. Use it to find failures, then read fifty outputs and rank before any grader is built.6 min read
  33. Which Slice Holds the 3%?Marily Nika asks what is inside a 3% hallucination rate. Mine sat in one slice, a fifth of traffic, and an 89% was 61% by week six. Ask which slice, and when.7 min read
  34. The Receipt GateBasia Kubicka's agent said all checks pass while some never ran. The receipt gate: every check writes a receipt with the draft's hash, and a hook reads them.7 min read
  35. Nobody Is Reading AnythingThe viral voxium post is not about Claude Code. It is about a company that made generation free, never funded the reader, and the fix for that.9 min read
  36. I Automated My Reading. The Filter Was Wrong Three Times.A filter over 45 sources cut 102 posts to 34. Version one dropped the best piece of the week. Here is each bug, with the titles that exposed it.8 min read
  37. Every Check Was Green. Four Sources Were Dead.My source monitor reported 43 of 45 feeds healthy. Four had published nothing for 72 to 612 days. Every one returned HTTP 200 and parsed perfectly.8 min read
  38. The AI Eval Starter Kit: Six Templates, Error Analysis to GateTeresa Torres's evals method as six copyable templates: error analysis log, type chooser, code assertions, golden dataset, judge prompt, and the gate.4 min read
  39. Torres Wrote the Evals Guide PMs Needed. Here Is Step Four.Torres's three-step evals guide is the best hands-on primer for product teams. I'd add a fourth step, a cost column, and one warning about the cheap tier.10 min read
  40. The Wince Is the Spec: Bottom-Up Evals a Model Can't WriteClaude writes half your evals. It's the half that catches nothing. Top-down vs bottom-up evals, and how I turn gut reactions into verifiers on Heidi.7 min read
  41. The Eval That Caught What the Demo Did NotThe demo was flawless. The eval I ran against 200 real cases failed on a slice that was a fifth of our traffic. The failure the demo structurally hid.7 min read
  42. The Week the Prototype Beat the SpecA twelve-page spec we argued over for three weeks lost to a prototype I built in an afternoon. The number that ended it, and what I stopped doing.7 min read
  43. What Replaces the PM Ladder When the Deliverables Are GoneIf documents were the evidence promotions ran on, and AI collapsed them, leveling needs a new currency. What counts as evidence from L4 to Principal.7 min read
  44. Twelve Builders, Twelve Products, Zero LandingsThe 2026 CPO Insights Report says product builders replace PMs by 2030. The role is real. The framing points at building, just as building stopped binding.7 min read
  45. What Anthropic's Dianne Penn Taught Me About the FrontierWho Dianne Penn is, what she leads at Anthropic, and the four ideas she argues for: evals as the new PRD, the jagged edge, product overhang, and judgment.14 min read
  46. How I Build Eval RubricsThe eval rubric method I actually use: grade thirty outputs first, tie every dimension to downside exposure, and go binary wherever you can.7 min read
  47. The PM Does Not Make Decisions. Make Sure They Get Made.The PM's job was never to make decisions, it was to make sure decisions get made. In the AI era, when agents build in a day, that job becomes the whole game.7 min read
  48. Writing for Machines Is the New Writing for ExecutivesHalf your readers are now agents. Writing that executes faithfully is its own craft: specs as eval sets, prompt hygiene, GEO basics, and the cold-read test.9 min read
  49. Is This Product Bet Group Stage or Knockout? Reversible vs. IrreversibleThe World Cup is two tournaments bolted together. Knowing whether a product decision is group stage or knockout is the same question as downside exposure.5 min read
  50. Rank AI Features by Downside Exposure, Not EngagementEngagement rewards features people fiddle with. Rank AI features by downside exposure instead: how fast a silent 20% quality drop would cost you customers.4 min read
  51. Downside Exposure, Extended: When the Model Is Wrong About YouDownside exposure covered your AI feature failing a user. The second half: when an AI you don't control represents you inaccurately to a buyer.3 min read
  52. The First 90 Days as an AI-Native CPOFirst 90 days as a CPO in 2026: audit reality, instrument cost and quality, kill dead ceremonies, and defend the judgment calls only you can make.6 min read
  53. The PRD Collapsed Into Three Artifacts (Brief, Prototype, Eval)The PRD collapsed into a one-page brief, a prototype, and an eval. Answering the four objections 21 PMs raised, with copy-paste templates.16 min read
  54. The CEO Who Can't Read Their Own Product AnymoreAgents break the link between dashboards and your product. Numbers stay green while the experience degrades. Three things to read instead of more KPIs.6 min read
  55. Five Questions That Make a Product Review Worth Your TimeMost executive product reviews are status theater. Five questions convert them into decision-forcing sessions that surface judgment, cost, and risk.5 min read
  56. The Five-Row Eval Template That Replaced My PRDFive-row eval template that replaces the PRD: Behavior, Input, Expected, Scorer, Threshold. Six failure modes that kill bad evals. Worked example included.9 min read
  57. Six pushbacks I keep hearing on vibe codingSix confusions I hear most when I say vibe coding isn't a strategy: 'demos sell deals,' 'speed beats clarity,' 'evals slow us down.' Here's how I respond.6 min read
  58. Continuous Discovery Doesn't Scale for AI-Native ProductsTeresa Torres' continuous discovery is the right answer for human-centric SaaS and the wrong answer for agent products. The punctuated discovery alternative.9 min read
  59. 10 AI Agents I Built That Failed. The Honest Retrospective.Ten AI agents that failed in production: auto-approve expenses, sentiment classifiers, autonomous pricing, stale-docs RAG. The lessons that stuck after each.12 min read
  60. The Eval-First Product Org: Rebuild Around Quality, Not VelocityRebuild a product org around evals, not velocity. The Quality Spine, Product Builder pods, Economics Unit, Discovery Network. The 90-day rebuild plan.10 min read
  61. What Replaces the Product Org in 2028: Ten PredictionsTen checkable predictions for product orgs by July 2028: median team size six, evals the highest-status skill, hybrid pricing mainstream, APM programs extinct.12 min read
  62. 200 PM Job Descriptions Reviewed: 98% Hire for a Dead Job200 PM job descriptions audited. 196 could have been written in 2022. The four tells of a dead JD, four tells of a live one, and a before-and-after rewrite.10 min read
  63. The CPO Mandate 2026: What Boards Expect From ProductThe 2026 CPO board deck: outcome ledger, per-outcome unit economics, eval scorecard, agent inventory, cycle time, headcount-to-output, and willing-to-be-wrong.10 min read
The Evals From Zero series, in orderWant your team's first eval built with you? The eval workshop