Wrong, and completely sure of it.
The AI summary of a contract cites a clause that does not exist. The wording is clean and the clause number looks plausible. Without the original at hand, nobody would notice. That is a hallucination, and it cannot be ruled out completely. A system designed with it in mind can make it rarer and much easier to catch.
- Fluent, confident output that is false
- Cannot be ruled out, but can be reduced
- Sources, tools and checks catch errors early
In short
AI hallucinations are fluent, confident outputs that are false, such as invented facts, numbers, quotes or sources. They happen because language models produce probable text and still answer when reliable information is missing. They cannot be ruled out completely. Supplying the relevant documents, allowing "not found", handing calculations to tools and checking high-stakes outputs can make them rarer and easier to catch.
How it works, step by step
One customer email, six steps.
A customer asks by email whether a replacement part fits an older machine model. The agent drafts the reply, and its first draft claims a fit that no document confirms.
A simplified example for illustration.
- Question readAgent
The agent reads the email and notes the part number and the machine model the customer mentions.
- Draft writtenAgent
The first draft says the part fits. The sentence reads well and cites no source.
- Claim checkedAgent
A validation step requires a source for every compatibility claim. The agent searches the parts list in the ERP and the product documentation.
- Gap foundAgent
The parts list names the part for newer models only. Nothing in the documents covers the older one, so the claim comes out.
- Reply rewordedAgent
The new draft confirms the fit for the newer models and says that the service team will check the older one.
- Checked by serviceHuman
A service engineer checks the machine's drawings and finds that the older model needs a different part. The engineer corrects the draft and sends it.
How it works
Text by probability
A language model writes text by predicting likely next words. It has no built-in check for whether a statement is true.
Gaps get filled
When reliable information is missing, the model answers anyway. Ambiguous questions and outdated training data make that more likely.
Documents and tools
With the relevant documents in front of it, supplied through RAG, the model has less to invent. Calculations and lookups go to tools, and the model reports what they return.
Validation
Structured output, with separate fields for amount, date and supplier, can be checked against your systems. In an invoice agent, comparing the values with the ERP can catch an error before anything is booked.
Limits and risks
There is no zero
No method rules hallucinations out completely. Plan for errors and decide where one would be expensive.
Invented sources
A model can cite a study or a ruling that does not exist. Every source in an answer needs a link someone can open.
Misplaced trust
Fluent answers invite trust, and people stop checking after a run of good results. High-stakes outputs need a fixed review step.
What matters
- 01
Ask for sources
Require a source for every factual statement and show it next to the answer. A statement without one gets flagged.
- 02
Reward "not found"
Tell the model that "I could not find this" is a good answer. Then test whether it actually says so.
- 03
Measure the error rate
Run the system on real cases with known answers and count the mistakes. Repeat after every change of model, prompt or documents.
Common questions
What are AI hallucinations?
They are outputs of a language model that sound fluent and confident and are false. Typical examples are invented facts, numbers, quotes and sources.
Why does AI hallucinate?
Because a language model produces probable text, and a probable sentence can be wrong. When reliable information is missing, it still produces an answer. Ambiguous questions and outdated training data make that more likely.
Can AI hallucinations be prevented?
Not completely. A language model always produces probable text, and probable text can be false. What you can do is make errors rarer and set up a process that catches the rest before it matters.
How can you reduce AI hallucinations?
Supply the relevant documents through RAG and require sources. Let tools handle calculations and lookups, ask for structured output and validate it against your systems. Allow the model to say "not found", and measure the error rate on real cases.
Do newer models still hallucinate?
Yes. Any language model can produce a false statement with full confidence, whatever its version. The safeguards in your process decide how many of those errors reach a customer.
Can an AI agent hallucinate?
Yes, and in an agent a hallucination can turn into an action, such as a booking with an invented amount. Validation steps that compare the agent's values with your systems are there to stop that before anything happens.
How do I spot an AI hallucination?
Check the sources. A statement without a source, a source that does not contain the statement or a reference you cannot find are warning signs. Numbers, names and quotes deserve a second look.
Read on
AI chatbots
Chatbots for your team and for your customers. They answer from your own documents, name the source and show each person only what they may see.
What is RAG?
How a language model answers from your own documents and names its sources.
What is an AI agent?
Software built on a language model that works through a task step by step, using your tools.
Intelligent document processing
Business documents read in any layout, checked against your data and entered as drafts.
Free process check · AI hallucinations
Walk us through your process.
In a 30-minute process check we go through one process with you, on screen or with a few examples. Afterwards you know which steps an agent could take over and where to start.
Prefer email?
Next step
What eats your time?
Pick a topic and describe the task that costs your team the most time. We send you our assessment within one working day.
Free first call