# What are AI evals? Testing whether AI works well

Address: https://sebastianmusial.pl/en/glossary/ai-evals/ · Glossary: https://sebastianmusial.pl/en/glossary/

An AI feature can look great in a demo and still get some questions wrong. Evals are how you find out before your customers do. Here is what they are and how they work.

- Full name: AI evaluations
- Also called: evals, LLM evaluation, AI testing

**Definition.** AI evals (evaluations) are repeatable tests that check whether an AI feature, such as a chatbot, assistant or agent, does its job well. Each test gives the system a realistic input and checks the output against agreed criteria, automatically or by a person. Evals are run before launch and again after every change of model, instructions or data.

## Why does AI need its own kind of testing?

Ordinary software gives the same output for the same input, so a test passes or fails. A language model can answer the same question differently each time, and a change of model, instructions or documents can quietly make some answers worse. Evals turn “it seems fine” into something you can check again and again.

## How does an eval work?

1. **Tasks.** A set of realistic inputs: questions customers actually ask, documents the system has to read, steps an agent has to complete.
2. **Criteria.** What a good result looks like for each task: the right fact, the right tone, the right action, nothing invented.
3. **Grading.** Anthropic’s guide describes three kinds of grader: code that checks the result exactly, another model that scores it against a rubric, and a person who reviews it.
4. **Repeating.** The same set runs after every change, so you can see whether things got better or worse.

## Where do the test cases come from?

From real use. A good start is a small set built from questions that already caused trouble and from the checks people do by hand today. Every new mistake reported by a customer or an employee becomes another test case, so it cannot quietly come back.

## What to ask a vendor or developer

- **How do you test the answers** before launch, and on what kind of questions?
- **What happens when the model changes:** do the tests run again before the switch?
- **Can we add our own test cases,** for example from questions that went wrong?
- **Who reviews the results** that cannot be checked automatically?

How a chatbot for a business website is set up and kept accurate is covered in the article on [an AI chatbot for your website](https://sebastianmusial.pl/en/blog/ai-chatbot-for-your-website/).

## Frequently asked questions

**Are evals only for large companies?**
No. Even a small business with a chatbot can keep a list of typical questions with the expected answers and run it after every change. The scale grows with the risk of the feature.

**Can AI grade AI?**
Partly. A model can score answers against a clear rubric, which is fast and cheap, but its grading should be checked against a person’s judgement from time to time, especially for important cases.

See also: [AI hallucinations](https://sebastianmusial.pl/en/glossary/ai-hallucinations/), [LLM](https://sebastianmusial.pl/en/glossary/llm/), [AI chatbot](https://sebastianmusial.pl/en/glossary/ai-chatbot/), [AI agent](https://sebastianmusial.pl/en/glossary/ai-agent/), [Human-in-the-loop](https://sebastianmusial.pl/en/glossary/human-in-the-loop/), [Prompt injection](https://sebastianmusial.pl/en/glossary/prompt-injection/)

Sources: [Anthropic: Demystifying evals for AI agents (January 2026)](https://www.anthropic.com/engineering/demystifying-evals-for-ai-agents), [Anthropic documentation: Create strong empirical evaluations](https://docs.claude.com/en/docs/test-and-evaluate/develop-tests), [OpenAI documentation: Working with evals](https://platform.openai.com/docs/guides/evals)

---

Updated: 2026-12-02. Sebastian Musiał, kontakt@sebastianmusial.pl (I reply within 24 hours). Quote after a call, no price list on the site.
All pages: https://sebastianmusial.pl/llms.txt · The whole English text in one file: https://sebastianmusial.pl/en/llms-full.txt
