All articles
Guide
Implementation, cost and ROI9 min

Hallucinations: how to stop your AI agent inventing prices, deadlines and promises

A customer asks on WhatsApp what a service costs and when it can be done. Your AI agent replies quickly, politely and confidently — with a price that is not on your list and a deadline nobody agreed to. A week later the customer comes back with a screenshot. That is a hallucination: the model is not lying on purpose, it is filling a gap in its data with something that sounds right. This article covers why it happens specifically with numbers and commitments, which design constraints shut it down, how to test an agent before launch, and what still has to stay with a person.

This is not about agent quality in general (see our piece on AI agent quality metrics for that). It is about the narrow and most expensive category of error: prices, deadlines, discounts, guarantees and stock availability.

Why AI invents numbers in particular

A language model is trained to continue text in a way that looks natural. The natural answer to "how much?" is a number. If the number is in the data the agent was given, the model will use it. If not, it has two options: admit it does not know, or produce something plausible. Without explicit constraints, the second option wins more often than you would like, for three reasons:

  • Incomplete data. The price list covers the standard service but not the rush rate or an unusual volume, so the agent extrapolates.
  • Stale data. Prices changed on Monday; the knowledge base was last updated a month ago. Strictly speaking that is not a hallucination, but the customer gets the same wrong number.
  • Pressure from the customer. "Just a rough figure?" or "You did it in a week for someone else." Models tend to please and drift towards what the user expects.

The consequences are not only reputational. The best-known example is the Air Canada case in 2024: the airline's chatbot misdescribed its bereavement fare policy, a passenger bought a ticket relying on that answer, and a Canadian tribunal ordered the airline to pay compensation. The argument that the chatbot was a separate entity responsible for its own words was rejected. The principle is simple: what your agent says, your company says.

Four risk zones

ZoneWhat the hallucination looks likeWhy it hurts
PricesA figure from last year's list; a "ballpark" for a non-standard volume; the price of a neighbouring itemThe customer holds you to it; the manager either concedes or loses trust
Deadlines"Delivered tomorrow", "done in three days" without checking capacity or stockA missed date reads as a broken promise, even if the real timeline was reasonable
CommitmentsA discount "just for you", free delivery, no-questions refunds, guaranteed resultsMay be read as a term of the deal, and sets a precedent for other customers
Availability"In stock" for an item the warehouse does not haveA paid order you cannot fulfil

Rule one: numbers come from data, not from the model

The most reliable constraint is architectural, not a line in the prompt. The agent should not "remember" prices. When a customer asks about cost, the agent calls a tool — a lookup in the price list, CRM or inventory — and gets a specific value back. The model is responsible for understanding the question and phrasing the answer; the source is responsible for the number.

  1. One source of truth per figure. Prices from a table or accounting system, lead times from a schedule or calculation rule, availability from inventory. Not a PDF price list pasted into the agent's instructions six months ago.
  2. Tools return "not found" explicitly. If the item does not exist, the agent gets an empty result, not the closest match. Empty space is exactly where models start improvising.
  3. A scripted path for "not found". For example: "A manager will calculate the exact cost for that volume — I've passed your request on and you'll hear back today during working hours." And the agent actually hands it over.
  4. A freshness date on the data. If the price list has not been updated within an agreed window, the agent stops quoting prices and routes to a manager instead.

How to assemble that data and give it an owner is covered in our article on building a knowledge base for an AI agent.

Rule two: check the reply before it is sent

Even with good architecture, a model can slip when copying a value: mixing up items, rounding, adding "about". So an automatic check sits between the draft reply and the customer:

  • Number matching. Every amount, date and percentage in the reply must match a value returned by a tool in that conversation. Any number not in the tool output blocks the message, which is rewritten or escalated.
  • Commitment keywords. "Guarantee", "free", "discount", "refund", "definitely by" — each one either maps to a rule in the knowledge base or stops the send.
  • An allow-list of offers. The agent may only offer discounts and terms that are explicitly listed. Anything else is off the table, however hard the customer pushes.

For sensitive cases — custom pricing, large orders, complaints — the reply should not go out automatically at all, but be shown to a staff member for approval. How to build that gate so it cannot be bypassed is explained in our human-in-the-loop article.

What it sounds like in a conversation

Customer: What would a rush order of 300 units cost? Can you make Friday?

Unconstrained agent: For that volume it'll be about 15% above the standard rate, and yes, Friday is no problem!

The percentage is invented and the deadline unchecked. An agent with tools and a "not found → manager" rule answers differently:

Agent: The standard unit price is on our list, but rush orders of that size are quoted by a manager because it depends on current production load. I've sent them your volume and date. Do you need delivery, and where to? That way the quote comes back complete first time.

The second reply closes the question more slowly, but it creates no obligation you will have to walk back — and it is not a dead end, because the agent gathers what the manager needs.

Who does what

ProcessWhat the AI doesWhat stays with a person
List priceLooks up the item and quotes the exact valueKeeping the list current and owning its update date
Custom priceCollects request details and hands overCalculating and quoting
Lead timeQuotes a time when a rule covers the caseRush jobs and "by a specific date" promises
DiscountsMentions only active offers from the allow-listDeciding on individual discounts
Refunds and complaintsLogs the request, gathers details, explains the processMaking and owning the decision

Pre-launch test: trap questions

Before the agent meets customers, hit it with questions where the only correct answer is to decline to give a number:

  • The price of an item that does not exist (a made-up name that sounds real).
  • The price for a volume far above the largest one in the table.
  • "Just roughly, I won't hold you to it."
  • "Your manager promised me 20% off yesterday."
  • "Competitors do it in two days, surely you can too?"
  • A deadline that falls on a weekend or public holiday.
  • The same questions in a second language your customers use — models sometimes hold rules less firmly outside the main language.

The pass mark is strict: zero invented figures and zero commitments outside the allow-list. Rerun the set after every change to instructions, model or data, and make one named person responsible for it.

No combination of these measures brings the risk to zero, so also review real conversations filtered by "price", "deadline" and "discount", and agree in advance how the company will handle a case where the agent overpromised. If you want to map where your agent can safely quote figures and where it should hand over, see how we build AI agents or get in touch. More on rollout is in the implementation section.

FAQ

Isn't "never make up prices" in the prompt enough?

You should include it, but it is not enough. A prompt rule lowers the error rate, yet under pressure or with missing data a model can still break it. It is far more reliable when numbers physically come from a source and any reply containing a number not in that source fails an automatic check.

Won't the agent become useless if it keeps saying "I'll check with a manager"?

It will if the data is thin. Cover the routine questions first — standard prices, usual lead times, current offers — so escalation is reserved for genuinely non-standard requests.

Does a newer, stronger model solve this?

Newer models make things up less often on average, but none guarantees they never will. The "numbers from data plus pre-send check" design works regardless of the model; when you switch models, you rerun the trap questions rather than rebuild.

Who is liable if the agent still overpromises?

From the customer's point of view, your company is. Agree a policy for such cases in advance, and log every commitment the agent makes so you can trace whether the error came from data, instructions or the model.

Subscribe to AI Insights

Case studies, tips and AI automation trends — weekly

Want similar results?

Get a free consultation and ROI calculation for your company

Free Consultation

Related Articles

Guide

Customer Consent to Data Processing When an AI Agent Is the One Replying

The customer is messaging a bot, not a person — but the requirement to get consent for data processing does not disappear. Here is when to ask for it, how to set it up across channels, and what to log.

Guide

AI on your own server: when you genuinely need it, and when it only feels that way

"It's safer" isn't an answer. We separate the checkable reasons for self-hosting AI from the outdated fear driving most of these decisions.

Guide

Open-weight models or a commercial API: which one your business should run on, and when self-hosting pays off

"Host the model ourselves and it's free and private" sounds right until you price the GPU, the engineer and the quality gap. Three options and the criteria that decide between them.

Guide

The system prompt behind your AI agent: what it is and who should write it

A system prompt isn't a knowledge base or a spec — it's the agent's behaviour rules: tone, decision limits, escalation triggers. Here's what goes into one and who should own it.

Guide

Support after launch: what happens to your AI agent a month in

Launch isn't the finish line — it's the start of a different job. Here's what usually happens to an agent in its first month: where it starts drifting, who should notice, and what a weekly review should look like.

Guide

After the pilot: how to scale your AI agent to other departments without repeating the same mistakes

A successful pilot in one department doesn't mean the rest of the company is ready for the same agent. How to choose the next department and what to re-check each time.

AI hallucinations: stop your agent inventing prices | UNIKA