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.
Evals for every team
Each guide covers what that team owns, a step-by-step method, templates to copy, and five real-world examples.
- AI evals for product managersWrite the bar, then the productOwns: What good means, the launch bar, and the ship decision.
- AI evals for designersTurn taste into a test anyone can runOwns: Tone, clarity, trust, and what people see when the AI fails.
- AI evals for engineersBuild the harness that runs on every changeOwns: Traces, test sets as code, graders, CI gates, and cost.
- AI evals for forward deployed engineersThe customer's eval is the contractOwns: The customer's own test set, built with their experts.
- AI evals for UX researchersThe labels are the researchOwns: The failure codebook, labeling rules, and failures logs can't show.
- AI evals for product marketersTest what AI says about youOwns: What assistants and your own agents say about the product and its price.
- AI evals for support and CXGrade the resolution, not the deflectionOwns: Verified resolution, handoffs, and the unresolved queue.
- AI evals for sales and GTMCheck every claim before a buyer sees itOwns: Agent claims, compliance, and outcomes over volume.
- AI evals for legal, risk, and complianceWrite the never-rules as testsOwns: Never-rules, red teaming, and the evidence trail.
- AI evals for chief product officersRun AI quality as an operating systemOwns: Who owns what, the gates, the cadence, and the budget.
How to build an AI eval, in six steps
- 01Read before you writePull 30 to 100 real outputs and write one note on each. Group the notes into failure types.
- 02Turn failures into checksWrite each failure type as a pass or fail question a person or a grader can answer.
- 03Build a fixed test setCollect real cases with agreed answers, including the hard and rare ones.
- 04Check the gradersCompare every AI judge with people on the same cases before you trust it.
- 05Set the bar firstWrite the score that means ship, hold, or roll back before you see the result.
- 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
- What is an AI eval, and how do you build your first one?An AI eval is a repeatable test for an AI product. Read 30 real outputs, turn the top failures into pass or fail checks, and score one change against them.
- What can an eval catch that a demo cannot?A demo shows a chosen best case. An eval shows the distribution, including the failing slice a demo cannot reveal. The one that almost shipped.
- Why don't public AI benchmarks tell you if your product works?A public benchmark tests a model on someone else's tasks, often ones it saw in training. Your product needs a test built from your own customers' work.
- What's the difference between offline and online AI evals?Offline evals grade a fixed test set before release. Online evals grade a sample of live use after. Filter with offline, settle close calls with live tests.
- What is error analysis for AI products?Error analysis means reading real AI outputs, writing a note on what went wrong in each, and grouping the notes into failure types you rank and test.
- What is a golden dataset for AI evals, and how big should it be?A golden dataset is a fixed set of real inputs with agreed answers. Start with 20 to 50 cases from real failures. Grow it when the score must be precise.
- What is a regression eval, and why does every AI change need one?A regression eval reruns the cases your AI already passes after every change, to catch what broke. It should sit near 100%, and a drop blocks the release.
- How much do AI evals cost to run?Most of the cost is people's time reading and labeling, not compute. Code checks are nearly free, AI judges cost a model call, and agent runs add up fast.
Graders and judges
- What is LLM-as-a-judge, and when can you trust it?LLM-as-a-judge uses a second AI model to grade the first one's output. Trust it only after it matches a human expert on cases it hasn't seen.
- How do you calibrate an LLM judge against human labels?Label 100 to 200 cases with your best expert, split them three ways, tune the judge on one part, and score it on cases it has never seen.
- How do you write an eval rubric for an AI feature?Grade thirty real outputs on gut feel first, extract the rubric from your own disagreements, tie every dimension to a cost, and score binary, not 1-5.
- Should an auto eval tool pick your first eval?No. Let it find candidate failures, then read fifty outputs and rank by count times customer cost. A feature of mine passed on average and failed a fifth.
- How do you tune a decision model's threshold for evals?Set precision and recall floors, tune on your own labeled traces by cross-validation, check calibration, then date the re-tune. Never ship the 0.50 default.
Agents, retrieval, and production
- How do you evaluate an AI agent that takes actions?Grade the end state, not the chat. Run each task several times and track pass^k, the chance it works every time, not just pass@k, the chance it works once.
- How do you evaluate a retrieval-augmented generation (RAG) system?Test the search step and the answer step separately. Check that the right documents came back, then that every claim in the answer is supported by them.
- What pass rate should an AI agent hit before go-live?Salesforce's voice agent customers hesitated at 80 to 85% and signed near 95%. Write the bar, the test calls, and a human score into the contract first.
- Should a single benchmark score decide whether an AI agent ships?Salesforce's EGI-Bench weights six capabilities into one score, and no model led on all six, so the weights pick the winner. Ship on a 200-row sliced eval.
- How do you run AI evals in continuous integration?Keep test cases in your repository, run a fast set with repeated samples on every pull request, block merges on hard rules, and run the full suite nightly.
- What is red teaming an AI product, and who should do it?Red teaming means attacking your own AI on purpose before strangers do. Mix a lawyer, a support agent, and an engineer. Keep every working attack as a test.
Who does what
- Who should own AI evals in a company?Each function owns its piece: product sets the bar, design the feel, engineering the harness, support and legal their rules. The CPO owns the system.
- What does a product manager do in AI evals?The product manager defines good, writes the pass or fail checks, sets the launch bar before seeing a score, checks the AI judge, and makes the ship call.
- How do designers take part in AI evals?Designers turn taste into pass or fail rubric lines, build exemplar sets, check the experience around the AI, and design feedback that maps to the rubric.
- How do UX researchers help with AI evals?User experience researchers own the method behind AI evals: the failure codebook, rater training, agreement checks, live sampling, and user interviews.
- How do product marketers use AI evals?Product marketers grade what ChatGPT and other assistants say about them, check their own agents' claims, and trace every wrong answer to a page.
- How do you test what ChatGPT says about your product?Ask a fixed set of buyer questions five times each, grade the share of answers that get facts, pricing, and positioning right, then fix the source page.
- How do you evaluate an AI customer support agent?Grade an AI support agent on your human quality scorecard, define a verified resolution in writing, test on closed tickets, and sample live chats weekly.
- How do you evaluate an AI sales agent?Build the test from won and lost deals, check every claim, prospect fact, and promise, let reps grade, then judge the agent on meetings held and deals won.
- How do legal and compliance teams use AI evals?Legal and compliance teams turn policy into never-rules, test both sides of each line, red team, keep dated results, and write four lines per agent.
- How should a forward deployed engineer build a customer's AI eval?Score at scoping, use the customer's real data uncleaned, let their experts label it, set the target from their team's baseline, and put it in the contract.
- What should a CPO do about AI evals?Set who owns quality, write the never-rules, scale launch gates to risk, chair a monthly review, fund it, and check test scores against live results.
- Who owns the eval harness, the CPO or the CTO?Both, split cleanly. The CTO owns the platform that runs and enforces it. The CPO owns the bar it checks. Both sign the gate to production.
Templates
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- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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