Your AI agent is live, customers are getting replies, and the vendor report says "1,200 conversations handled". Is the agent good or bad? That number cannot tell you. A thousand conversations might be a thousand questions resolved, or a thousand customers who got the wrong price and quietly left. This article gives you a set of metrics that show whether the agent answers correctly, hands over to a human at the right moment and stays away from things it must not do. You also get a template for a test set, a simple labelling scheme for real conversations and a review rhythm a small team can actually keep.
This is not about money. Payback is covered in our piece on measuring AI ROI. Quality comes first: if the agent gets things wrong, the hours it saves are eaten by the customers it loses.
Why "containment rate" on its own misleads
The most popular metric is containment: the share of conversations that ended without a human. It is convenient, it is calculated automatically and it climbs nicely on a chart. The catch is that a conversation also counts as "contained" when the customer simply stopped writing. Someone asks about delivery times, gets a confident but wrong answer and goes to a competitor. In the report, that is a success.
Read containment only next to two other numbers: how many contained answers were actually correct (from a labelled sample) and how many customers came back with the same question within a couple of days. If containment rises while correctness falls, the agent has not improved. It has become bolder.
Four layers of metrics
It helps to split metrics into four layers. Each answers a different question, and strength in one does not make up for failure in another.
| Layer | Metric | How to measure | Warning sign |
|---|---|---|---|
| Correctness | Share of correct answers | Label a random weekly sample of conversations | "Nearly right" answers: correct idea, outdated figure or condition |
| Correctness | Grounded answers | For each fact in a reply, is there a source in the knowledge base? | The agent states terms that appear in no document |
| Boundaries | Handover accuracy | From labels: handed over when needed / failed to / handed over needlessly | The agent settles refunds, discounts or complaints on its own |
| Boundaries | Off-topic refusals | Trap questions in the test set | Medical or legal advice, opinions on other companies' products |
| Actions | CRM record accuracy | Compare records the agent created with the chat | Duplicates, wrong stage, empty required fields |
| Actions | Actions without approval | Action log versus approval log | Anything above zero |
| Customer experience | Repeat contact on the same issue | Same customer, same topic within 48 hours | Rising while containment stays flat |
| Customer experience | Time to reply and time to human | From logs: first message to agent reply; handover to a manager's reply | Fast handover, but the manager picks it up three hours later |
The last row is easy to miss. An agent can route difficult cases perfectly, but if nobody is on duty on the other side, the customer still waits.
A test set: the exam before every change
Live conversations show what has already happened. To catch mistakes before a customer does, keep a fixed list of questions with pass criteria and run the agent through it after any change: an edited instruction, a new price list, a model switch.
- Take 30–40 frequent questions from real chats. Use the customers' own wording, typos and shorthand included.
- Add 10–15 traps. A product you do not sell. A discount request. An off-topic question. An attempt to get another customer's details. A message that mixes two languages, which is common in Dubai or Tashkent alike.
- Add 5–10 cases where the agent must hand over. A complaint, a refund, an unusual bulk order, a threat to leave a bad review.
- Write a criterion, not a script. Not "the reply should read like this" but "must say 2–3 days and must not promise next-day delivery". The model will phrase things differently; you are grading substance.
- Grow the set from real failures. Every mistake found in live chats becomes a test question so it cannot quietly return.
A set of 50–70 questions runs quickly, and a person can check the answers against criteria in about an hour. One rule worth adopting: if any "must hand over" case fails after a change, the change does not ship.
Labelling live conversations
Once a week, pull a random sample (30–50 conversations is enough to start) and put each into one of five buckets: correct; incomplete (right in substance, but the customer had to ask again); wrong (an error in a fact, price or condition); should have handed over; handed over needlessly (the answer was in the knowledge base).
An illustrative example:
Customer: hi, the sofa from my last order arrived scratched, can I swap it?
Agent: Hello! Of course, exchanges are possible within 14 days. Please bring the sofa to our showroom with your receipt.
Polite and fluent, and still in the "should have handed over" bucket. A damaged item is a manager's call: photos, an inspection, maybe a visit. "Bring the sofa yourself" may not even be company policy. The chat is technically closed and practically a dispute in the making.
Record a cause for every error: missing from the knowledge base, outdated information, instruction ignored, question misread. The cause tells you what to fix: the knowledge base, the instructions or the handover rules.
Zero-tolerance events
Some errors should never be averaged. If the agent invents a discount once in a thousand chats, that is not "99.9% quality". It is a promise you now have to honour or explain. The target for these is zero, and each one gets its own review:
- the agent quoted a price, discount or deadline that is not in the knowledge base;
- the agent took an outward action (sent a message, changed an order, booked a slot) without the required human approval;
- the agent revealed one customer's data to another;
- the agent discussed a topic it is explicitly barred from.
We know the second one first-hand. In our own outreach automation, the sender read the wrong folder and skipped the approval gate: 42 messages went out unapproved, and it took three days to notice. The full write-up is in the case study "42 messages went out unapproved". The lesson for metrics: an "actions without approval" counter should be computed automatically and alert immediately, not surface in a weekly review.
Who looks, and how often
| Frequency | What to check | Who |
|---|---|---|
| Instantly, automated | Zero-tolerance events | Alert to the agent operator |
| Daily, 10 minutes | Handovers, complaints, repeat contacts | Agent operator |
| Weekly, about an hour | Sample labelling, correctness, error causes | Operator plus team lead |
| After every change | Full test set run | Whoever made the change |
| Monthly | Trends per layer, test set update | Business owner or manager |
Who should play the operator role is covered in this article. If you want metrics and a test set built into the agent from day one rather than bolted on later, that is part of how we build AI agents. More on rollout lives in the implementation section.
FAQ
What share of correct answers is "good enough"?
There is no universal bar: a wrong opening time and a wrong customs calculation carry very different costs. Agree thresholds before launch, separately for routine questions and for zero-tolerance categories, then compare the agent with itself week on week. A useful benchmark is your own staff: label their conversations with the same scheme.
Can another AI do the labelling?
As a first pass, yes. A reviewer model quickly clears obviously fine chats and flags suspicious ones. The final grade on the sample should come from a person who knows the product, because a reviewer model tends to miss the same kinds of errors the agent makes.
What if there are lots of errors in week one?
Look at causes. If most are "not in the knowledge base", that is a content gap, and it is the fastest thing to close. If the agent ignores instructions, narrow its scope and hand over more often until quality settles.
Do I need dedicated software?
Not to start. Conversation logs, a labelling spreadsheet and a test set in a document cover everything above. Worth automating early: zero-tolerance counters and the test set run.