AI evaluation guide

AI Evaluation Framework for Startup Founders

A convincing demo is not a release decision. Use this seven-step framework to define what good means, test representative cases, set risk-based release gates, and keep quality visible after launch.

For founders moving an LLM workflow, RAG product, or AI agent from promising output to dependable software.

  • 7Framework steps
  • 3Grader types
  • 1Continuous loop

Quick verdict

An eval is a decision system, not a score

An AI evaluation gives a defined input to an AI system, observes the result, and applies grading logic to decide whether the result meets expectations. But a product-level evaluation must cover more than the final answer. It should test the workflow, retrieval, tool use, permissions, failure paths, latency, cost, and human handoffs that shape the user's actual outcome.

Define the decision first. Then build the smallest evaluation that gives your team enough evidence to make it.

OpenAI recommends task-specific evaluations based on real-world distributions and continuous testing. Anthropic describes a complete picture that combines automated evals with production monitoring, user feedback, transcript review, A/B tests, and human evaluation.

Sources: OpenAI evaluation best practices, Anthropic on evals for AI agents

Continuous evaluation loop

  1. 01

    Decision

  2. 02

    Test cases

  3. 03

    Graders

  4. 04

    Workflow run

  5. 05

    Failure review

  6. 06

    Release gate

  7. 07

    Production feedback

Production feedback returns to the test cases. The loop is the product, not any single run through it.

What to evaluate

Evaluate the product system, not only the model

LayerWhat to measureFounder question
User outcomeTask completion, usefulness, correctnessDid the user get the result they came for?
Output qualityGrounding, completeness, format, toneWhat does "good" mean for this exact task?
WorkflowRetrieval, tool choice, handoffs, multi-turn behaviorDid the system take the right path?
OperationsLatency, cost, failure rate, retriesCan this work at the expected volume and margin?
Safety and controlData exposure, prompt injection, permissions, harmful actionsWhat is the worst plausible failure?
Human oversightEscalation, review, override, accountabilityWhen must a person remain in control?

This distinction matters because an accurate answer can still arrive too late, cost too much, expose sensitive data, or trigger the wrong action. NIST treats evaluation as part of lifecycle risk management, while OWASP highlights application risks including prompt injection, sensitive-information disclosure, improper output handling, excessive agency, misinformation, and unbounded consumption.

Sources: NIST Generative AI Profile, OWASP Top 10 for LLM applications

Step 01

Define the decision and the user outcome

Founder check

If product, engineering, and domain experts disagree on what success means, fix the definition before buying an evaluation platform.

Start with the decision the evaluation must support: release a feature, compare two prompts, change a model, expand an agent's permissions, or approve wider use. Then describe the user outcome in observable terms.

Make the task testable

“Helpful response” is too loose. “Extracts the correct renewal date, cites the source clause, and abstains when the contract is missing” is testable.

Write down:

  • the user task and operating context
  • the result the user needs
  • the unacceptable failures
  • the change being evaluated
  • the decision the team will make from the result

Step 02

Turn expectations into criteria and failure boundaries

Founder check

A rare privacy leak or unauthorized action should not disappear inside an acceptable average.

Choose criteria that match the task. A support classifier may use an exact label. A RAG answer may need grounding and citation coverage. A drafting assistant may need a rubric for accuracy, completeness, tone, and policy compliance. An agent may need task completion plus correct tool use and safe stopping behavior.

Google distinguishes computation-based metrics for tasks with a known reference answer from rubric-based measures for qualities such as grounding, safety, instruction following, tone, and style.

Success criteria

What a strong result contains or accomplishes.

Failure boundaries

What must block release even if the average score looks good.

Sources: Google Cloud on evaluation metrics

Step 03

Build a representative evaluation set

Founder check

Ask what important user behavior is absent from the test set, not only how many rows it contains.

Your evaluation set is a product asset: a structured collection of inputs, context, expected outcomes, rubrics, and known risks. It should reflect the work the product will actually receive.

  • Normal

    High-frequency cases the product will see every day.

  • Difficult

    Hard but valid inputs a competent person could still handle.

  • Ambiguous

    Inputs where the system should clarify or abstain.

  • Historical

    Known failures the product has already produced once.

  • Adversarial

    Abuse and injection attempts against the workflow.

  • Variation

    Different users, languages, formats, and operating conditions where relevant.

OpenAI recommends typical, edge, and adversarial cases and advises teams to mine logs for new evaluation examples. There is no universal minimum dataset size: coverage and consequence matter more than a decorative number.

Sources: OpenAI evaluation best practices

Step 04

Match each question to the right grader

Founder check

Use automation for scale, not authority. Keep a reviewed set of examples that shows what strong, weak, and unacceptable outputs look like.

A credible evaluation usually combines three grader types.

  • Code-based

    Best for: Exact match, schema validity, tool result, latency, cost

    Limitation: Cannot judge nuanced or subjective quality alone

  • Model-based

    Best for: Rubric scoring, pairwise comparison, groundedness, tone

    Limitation: Can disagree with experts or reward the wrong pattern

  • Human

    Best for: Calibration, domain judgment, subjective quality, high-consequence review

    Limitation: Slower, more expensive, and sometimes inconsistent

Anthropic recommends combining code-based, model-based, and human graders. OpenAI recommends calibrating automated scoring against human labels and warns that model graders can be exploited or drift away from expert judgment.

Sources: Anthropic on evals for AI agents, OpenAI graders

Step 05

Test the complete workflow

Founder check

The final answer may hide a broken process.

For an agent or multi-step AI workflow, inspect the trace as well as the outcome.

  1. 01Was the right data retrieved?
  2. 02Were citations or source records preserved?
  3. 03Did the system select the correct tool?
  4. 04Were arguments valid and permissions appropriate?
  5. 05Did it recover from a failed dependency?
  6. 06Did it stop, clarify, or escalate at the right time?
  7. 07Was the final state actually written to the intended system?

Google's agent evaluation guidance separates task design, trace generation, scoring, analysis, and refinement. Anthropic likewise notes that graders may evaluate the transcript, the outcome, or both.

Sources: Google Cloud on agent evaluation, Anthropic on evals for AI agents

Step 06

Set risk-based release gates

Founder check

Set thresholds according to what the product can see, decide, and change.

Not every failure deserves the same response. A low-risk writing assistant may ship with known stylistic misses. An agent that sends customer messages, changes records, handles regulated data, or triggers financial activity needs stricter controls, narrower permissions, adversarial testing, and explicit human approval for high-impact actions.

  • Blockers

    Privacy, security, unauthorized action, or critical factual failures.

  • Thresholds

    Minimum task-success, grounding, latency, and cost levels.

  • Review triggers

    Meaningful regressions, uncertain cases, or changes that expand autonomy.

OWASP recommends least-privilege access, adversarial testing, and human control over high-impact actions. NIST calls for defined responsibilities, periodic review, incident monitoring, and retained evaluation history.

Sources: OWASP on prompt injection, NIST Generative AI Profile

Step 07

Keep evaluation running after launch

Founder check

Pre-release evaluation measures known conditions. Production reveals the rest.

Production reveals new language, edge cases, user behavior, dependency failures, and distribution shifts. Build a loop:

  1. Log inputs, outputs, traces, latency, cost, and feedback within appropriate privacy boundaries.
  2. Sample normal and high-risk sessions for review.
  3. Turn confirmed failures into evaluation cases.
  4. Rerun the regression suite on prompt, model, retrieval, tool, or code changes.
  5. Compare the candidate against the current production version.
  6. Release, monitor, and repeat.

OpenAI describes evaluation as continuous. Anthropic recommends combining automated pre-launch tests with production monitoring, feedback, transcript review, experiments, and periodic human evaluation.

Sources: OpenAI evaluation best practices, Anthropic on evals for AI agents

Common mistakes

Five evaluation mistakes that make a good demo look safer than it is

  1. 01

    Testing hand-picked prompts

    Replace showcase examples with representative, edge, and adversarial cases.

  2. 02

    Using one generic quality score

    Separate task success, grounding, workflow, operations, and safety.

  3. 03

    Treating an LLM judge as ground truth

    Calibrate it against reviewed human labels.

  4. 04

    Scoring only the final text

    Inspect retrieval, tools, permissions, state changes, and failure handling.

  5. 05

    Running evals once

    Add failures to the dataset and rerun tests on every meaningful change.

Meeting plan

A minimum evaluation plan for your next product meeting

Leave the meeting with one page containing each of these.

01Decision
What are we deciding to release or change?
02Task
What real user job must the system complete?
03Criteria
What does strong, weak, and unacceptable look like?
04Cases
Which normal, edge, historical, and adversarial examples will we test?
05Graders
What can code score, what needs a model rubric, and what needs a person?
06Gates
Which failures block release and which thresholds must be met?
07Owner
Who reviews failures, approves releases, and updates the evaluation set?
08Feedback loop
Which production signals become new tests?

If the team cannot fill this out, the immediate need is not a larger benchmark. It is a clearer product decision and a small, trustworthy evaluation harness.

Evaluation is one part of product readiness

A product can pass its output tests and still lack problem evidence, adoption, commercial logic, operational ownership, or a credible path to scale. Use the readiness guide when the larger question is whether to validate, build, harden, or scale.

AI Product Readiness Guide

Make AI quality visible before users find the gaps

Robust Devs reviews evaluation criteria, datasets, graders, traces, release gates, and production signals around AI products. The goal is not a prettier dashboard. It is a system your team can use to compare changes, catch regressions, and make release decisions with evidence.