Skip to content
Back to blog

Why AI agents give wrong answers (and how to stop it)

An AI agent that gives a specific, well-written, wrong answer is expensive, because an answer that looks right rarely gets checked.

The short answer: AI agents give confident wrong answers because the model writes fluent text whether or not the information behind it is sound. It has no reliable way to tell that a document is out of date, that a fact was never provided, that a tool returned an empty page or that its own memory of an action is wrong. You stop it by fixing the four places the information comes from: the documents, the gaps, the tool output and the record of what happened. This post calls them the four causes of a confident wrong answer: stale source, missing source, bad tool output and memory instead of source.

What is a confident wrong answer?

A confident wrong answer is a reply that is fluent and specific and presented as fact, but not supported by the right information. It is related to hallucination, which is a model inventing content. The difference is that many confident wrong answers are not invented at all. The agent faithfully reported what it was given. What it was given was old, absent, broken or secondhand.

That distinction matters because the fixes differ. You cannot cure a stale document by choosing a better model.

Why do AI agents give wrong answers?

An agent answers by predicting the most plausible next words from everything in front of it. That includes the instructions, the conversation, anything retrieved from your documents and anything returned by a tool. Retrieval, also called RAG (retrieval-augmented generation), means looking up relevant passages in your own knowledge bases before answering. A tool is a connection to another system, such as a CRM, a ticketing system or a web page. By default the model treats this input as true. A standard retrieval setup does not usually check whether it is still current or whether a tool actually worked.

So the failure usually starts before the model writes a word. The model produced fluent text from bad input. Four kinds of bad input explain the failures this post covers.

Cause 1: stale source

What it looks like. A members chatbot answers a question about fees. The answer is clear, accurate to a document and out of date. The company published a new policy in March, but the old one is still in the knowledge base and the agent retrieved it. Because the answer matches a real document, it looks correct, which makes it worse than a plain hallucination.

Why the model misses it. Old and new documents look the same to a model. Both are well-formed text on the same topic. Unless the document itself says it was replaced, nothing marks it as stale.

The fix. Treat documents as records with a status, not as loose files.

  • Give every document an effective date, a status (current or superseded) and an owner.
  • Remove superseded documents from what the agent can retrieve. Archive them somewhere else.
  • Show the document date in the answer so a reader can judge it.
  • Review the owner's list on a schedule. A document with no owner is the first to go stale.

This is general practice and it applies to any retrieval setup. Commt describes an agent's reach as four boundaries: knowledge, tools, network and retention (see how to control what an AI agent can access). Stale source is a knowledge boundary problem: the agent's answers can only be as current as what it is allowed to read. The internal knowledge agent post covers the ongoing work of keeping a knowledge base current.

Cause 2: missing source

What it looks like. Picture a support agent asked for a customer's renewal date. The date is not in its knowledge base. Instead of saying so, the agent produces a plausible date, delivered in the same calm tone as a real one. The customer plans around it.

Why the model misses it. Language models are trained to continue text. A helpful-sounding answer is a likely continuation. Refusing is a behaviour that has to be set up. Without a clear instruction and a clear test for "do I have this?", the default is to fill the gap.

The fix. Define what the agent reads and what it does when the answer is not there.

  • Scope the sources. List which knowledge bases and tools the agent may use for each type of question.
  • Write the refusal explicitly: if the information is not in the provided sources, say so and offer a next step, such as handing over to a person.
  • Return the source from the retrieval step, not from the model's own account of it. An answer with no retrieved source behind it is a candidate for refusal.
  • Test with questions you know are not covered. An agent that never says "I don't know" in testing will not say it in production.

This is a knowledge boundary problem as well: the edge of the agent's knowledge should be a hard edge. An agent bound to the right sources and instructed to stop at their limit is much easier to trust than a broad one. The four boundaries of agent reach explain how to draw that edge.

Cause 3: bad tool output

What it looks like. Picture a research agent asked whether a company is hiring. It opens the careers page and the page loads as an empty shell, or a login wall, or a redirect back to the homepage. The agent receives almost no text and concludes that the company is hiring, or not. It reports that to the sales team as fact.

Why the model misses it. The model sees only the text the tool returns. A page that failed to load can return a well-formed response with almost nothing in it. The agent has no view of the failure behind it. Soft failures are the worst case: the request technically succeeded, but the content is useless.

The fix. Check tool output before the model sees it.

  • Reject empty or near-empty text.
  • Detect soft errors: login walls, "access denied" pages that return a success code and redirects to a homepage.
  • Return a clear failure message to the agent ("the page could not be read") rather than a blank result.
  • Require the agent to say what it could not check. Keep that in the final answer.

Bad tool output is a tools and network problem. The more places an agent can reach, the more ways a read can fail quietly. That is one more reason to limit which tools and web access each agent has to what its job needs. A failing tool also tends to trigger retries and loops, which cost money as well as accuracy. See why AI agent costs run away through loops and retries.

Cause 4: memory instead of source

What it looks like. Picture an agent asked to send a quote. It reports back: "The quote was accepted." In reality the quote is still in drafts. The agent was reporting what it intended or attempted, drawn from its own earlier steps, not checking the system that holds the truth.

Why the model misses it. To the model, its own earlier output is part of the conversation, which makes it look like evidence. "I sent the quote" in the history reads the same as a confirmed fact. Memory here is context carried forward, not a record of what happened. That is the difference from bad tool output: there, a tool returned something wrong; here, the agent reports from its own history without calling a tool at all.

The fix. Make the source system the only authority on state.

  • Verify state by reading it back from the system of record before reporting. Ask the CRM, do not recall the call.
  • Log every action the agent takes with a status: attempted, succeeded, failed.
  • Require human approval for actions that reach outside the company, such as sending, paying or deleting.
  • Treat long-term memory as notes, not facts. Store preferences, not the status of things that change.

This is a retention problem in the four-boundary view: what an agent stores and replays becomes input to later answers. The more it carries between conversations, the more it needs a rule for which stored items may be treated as current.

The four causes side by side

CauseWhat you seeWhy the model misses itFix
Stale sourceCorrect-looking answer from a superseded documentOld and new documents read the sameEffective date, status and owner per document. Remove superseded files from retrieval
Missing sourceA plausible answer to a question the data never coveredFilling the gap is the default behaviourScope the sources. Define refusal. Test with uncovered questions
Bad tool outputA claim built on an empty page, a login wall or a failed callThe model sees only the text returnedValidate output before the model sees it. Return clear failures
Memory instead of sourceA report of what the agent tried, stated as what happenedIts own earlier output looks like evidenceVerify state from the source system. Log actions. Approve external actions

How do you stop an AI agent from making things up?

You stop it by changing what the agent is given and what it is allowed to claim, not by asking it to be more careful. A prompt that says "do not hallucinate" does not fix a stale document or a failed page load. Work through the causes in order.

  • Start with the answers that matter most, such as prices, dates, policies and the status of anything customers act on.
  • For each one, name the source of truth and who owns it.
  • Make sure the agent reads only that source and can show where an answer came from.
  • Decide the response when the source has nothing: refuse, ask or hand over.
  • Check tool results before the model sees them and verify state from the system, not from memory.
  • Test with questions designed to trip each cause: an outdated policy, an uncovered fact, a broken page and a task that has not actually completed.

No setup removes the risk entirely. Retrieval can miss, a validation rule can let an odd failure through and a person can approve something without reading it. The aim is to make wrong answers rarer and, more importantly, easier to catch.

How Commt approaches this

Commt is an AI agent platform where an agent reaches only what you allow. The four causes above are why that matters. This section covers only what ships at release on 9 November 2026.

  • Agents will be built on the dashboard. You will upload knowledge bases and bind them to each agent. RAG is optional. An agent bound to a small, current set of documents has fewer ways to be stale or to answer from the wrong place.
  • Each agent will reach only its own knowledge bases, the tools you connect and web access, which you will set per agent. Twenty tool connectors, such as Slack, Microsoft Teams, Jira and Notion, will connect per agent. See the full list of integrations.
  • Long-term memory will be a per-agent setting, available on Pro and above.

Some fixes in this post are practices rather than features. Document dates and status, output validation, state verification and approval steps are things your team designs and maintains. Commt does not replace them. For the wider picture, see what a private AI agent is and how an AI agent differs from a plain LLM.

Frequently asked questions

Why does my AI agent give wrong answers?

Many wrong answers come from the information the agent was given, not from the model alone. The common causes are a stale source, a missing source, bad tool output and memory instead of source. Identify which one applies before changing the model or the prompt.

Is a confident wrong answer the same as an AI hallucination?

Not always. A hallucination is content the model invents. A confident wrong answer also includes cases where the model accurately reported something that was out of date, empty or secondhand. The result looks the same to a reader, but the fix is different.

Why does RAG return outdated documents?

Retrieval finds passages that match the question. It does not check whether the document is current. If an old version and a new version are both in the knowledge base, either can be returned. Remove superseded documents from retrieval and give each document a date, a status and an owner.

How do I make an AI agent say "I don't know"?

State the rule in the agent's instructions: if the answer is not in the provided sources, say so and offer a next step. Limit what the agent can read and test it with questions you know are not covered. An agent that fills every gap in testing will fill gaps in production.

Can a better model fix wrong answers from my own data?

It can improve reasoning and writing, but it cannot correct a document it was given or a page that failed to load. A stronger model may state a stale fact more convincingly. The fix is in the sources, the tool output and the checks around the model.

Do AI agents need human approval?

For actions that reach outside the company, such as sending messages, changing records or spending money, approval is a sensible default. It limits the damage when an agent reports or acts on wrong information.

Start with the answers that matter

You do not need to fix everything at once. Pick the five questions where a wrong answer costs the most, name the source of truth for each and test the agent against all four causes.