Every business that has tried an AI agent and switched it off again tells a version of the same story. It quoted a price nobody approved. It promised a date that was not available. It agreed to something the business does not do. One incident is enough, because the customer heard it and you now have to honour it or argue.
This is not a reason to avoid agents. It is a reason to insist on four specific controls, and to ask for evidence that they work before anything speaks to a customer.
Why it happens at all
A language model's job is to produce the most plausible next thing to say. Asked a question it has no information about, producing nothing is not one of its instincts. It will fill the gap, fluently, and it will sound exactly as confident as when it is right. That confidence is the whole problem: there is no tone of voice to warn your customer.
So the goal is never “make the model more accurate”. It is to make the gap impossible to reach.
The four controls that actually hold
- Facts live outside the model. Prices, availability, service areas and policies sit in a database or a file the agent reads from. It cannot answer a price question except by looking one up. If it is in the prompt, it can be argued out of it.
- An approved list, not a general ability. The agent can quote what is on the list, and nothing else. Not “it should avoid guessing” — it has no mechanism to guess from.
- Refusal is a designed behaviour. “I do not have that one, I will get someone to call you back” is a success, not a failure, and it should be written, tested and graded like any other answer.
- A handover that happens automatically. Off-script, out of scope, emotionally charged, repeated confusion — each is a rule that routes to a person, decided in advance rather than by the model in the moment.
How you prove it, rather than hope
This is the part most builds skip, and it is the part I came from — seven years testing banking and payment systems, where “it seemed fine when I tried it” was never an acceptable answer.
- A golden set. Thirty or so real questions with the answers you would accept, run on every change. Not written by the person who wrote the prompt.
- Adversarial cases. Price pressure applied twice. Attempts to talk it into a discount. Instructions hidden in what the customer says. Off-topic requests. Abuse.
- Regression on model change. The model underneath you will be updated whether you plan for it or not. The same set, run again, is how you find out before your customers do.
- Grading, not eyeballing. A score per release, written down, so “is it better?” has an answer.
For what it is worth: the voice agent runs 29 offline tests, the speed-to-lead agent is graded across 23 scripted conversations with 150 of 150 checks passing, and the outbound engine runs 94 of 94 evals against the live model before a single email can send.
The same problem in outbound, where it is worse
On a call, a bad answer reaches one person. In outbound it reaches your whole list, in your client's name, with the invented claim in writing and forwardable.
The control there is a gate between writing and sending: every draft is checked against the claims the business can actually support, and anything containing a number, case study or promise that is not in that evidence is blocked and queued for a human. Not flagged. Blocked. A gate that merely warns is a gate that gets clicked through on a busy Tuesday.
What to ask whoever is building yours
- Where do prices live, and can you show me?
- What does it say when it does not know?
- Show me a conversation where it refused.
- What is in your test set, and what currently fails?
- What happens when the model version changes?
- Who sees the transcripts, and how soon?
An honest builder has an answer to all six and a failing case they will admit to. Be most careful with the one who tells you their agent does not get anything wrong.
Questions people ask
Can you stop hallucination completely?
You cannot stop a model from being able to invent. You can stop it from being the thing that decides an answer: facts come from a source it reads, refusal is a designed behaviour, and anything outside the script goes to a person. In the places that matter, prices and commitments, that is the difference between a risk and a non-issue.
Is a better prompt enough?
No. A prompt is a request, not a constraint. Anything held only in the prompt can be talked around, and people will try. Facts belong outside the model where the agent can only read them.
How often should the tests run?
On every change you make, and again whenever the model version moves underneath you. The second one is the one people forget, and it is the one that breaks things quietly.
What does a QA gate do to outbound?
It sits between the draft and the send. Any claim, figure or case study that is not in the client's own evidence blocks the email and hands it to a person. It costs you some volume and saves you the email you cannot take back.
Do I get the tests, or just the agent?
You should get both. A test suite you cannot run yourself is a promise, not a guarantee. Everything I build is handed over with its tests and its eval set.
Want to see the failing cases?
I will show you the tests, including the ones that fail, for any agent I have built. That is a more useful twenty minutes than another demo.