all answers

General agent concepts

Hallucinations

A hallucination is an agent stating something its sources don't support. The term covers three distinct properties of an answer, and each one can be checked on its own.

Faithfulness asks whether the answer accurately represents the sources it cites. An agent can retrieve the right document and still misquote it, invert a number, or attribute a claim the document doesn't make.

Groundedness asks whether the answer comes from the retrieved context or from the model's own priors, with the context left unused. An ungrounded answer can be correct whenever the prior happens to be right, which makes it hard to notice, and it fails when the prior is wrong.

Context presence asks whether the information needed to answer was retrieved at all. When it wasn't, the failure is in the retrieval step, before generation begins.

Hallucination is a problem because a made-up answer looks the same as a right one. The person asking usually can't verify it themselves, and if the answer feeds a decision or another agent, the made-up fact gets acted on.

17 questions

Answered, plainly.

How can an answer be faithful to its context and still be wrong?Faithfulness only checks the answer against what was retrieved, so an answer built entirely from a partial or unrepresentative slice of the source passes even though it's wrong.answer →What's the difference between faithfulness, groundedness, and context presence?Faithfulness vs groundedness: one checks the answer against its source, the other whether the retrieved context was used. Context presence, whether it arrived.answer →How do I catch agent hallucinations when my error rate stays flat?Run a content check against the retrieved context on production traffic, not a test set: a hallucination returns a clean status, so only what the answer says can reveal it.answer →What is a hallucination in an AI agent?An agent stating something its sources don't support, whether it misquotes a document it retrieved, ignores that document entirely, or never retrieved anything to begin with.answer →Why do AI agents hallucinate?A language model generates the most probable next word, not a verified one, so it produces fluent text whether or not anything backs it, unless something forces it to check.answer →Why does a wrong answer often look just as confident as a right one?Nothing about how an answer reads reveals where it came from; a number pulled from the wrong source is written in the same fluent, certain sentence as one pulled from the right one.answer →Does setting temperature to 0 stop an agent from hallucinating?No. Temperature controls how randomly the model samples tokens, not whether its most likely answer is actually true, so a deterministic model still hallucinates.answer →Do bigger models hallucinate less?No, not reliably. On Vectara's leaderboard a 7-billion-parameter model beats GPT-4 on hallucination rate; training predicts it better than size.answer →Why does an AI model make up an answer instead of saying it doesn't know?Because the tests it's graded on score a confident guess the same as a right answer, and score 'I don't know' as a guaranteed loss, so guessing wins.answer →How do you reduce hallucinations in an AI agent?Ground every claim in something the agent actually retrieved or looked up, not the model's own memory, then check what it wrote for claims that still don't trace back.answer →Does checking whether an answer is grounded require the model that generated it?No. A 2026 paper found a separate 'observer' model reading hidden states can flag ungrounded answers about as well as reading the generator's own activations.answer →Does a model with higher accuracy always hallucinate less?No. OpenAI's own SimpleQA results show a model can score lower on accuracy and hallucinate far less, by abstaining instead of guessing.answer →How do you measure whether an answer is grounded?The widely used technique actually measures faithfulness: split the answer into claims, check each against the source, and score the fraction that hold up. Groundedness itself needs a harder check.answer →Which benchmarks measure LLM hallucination?Vectara's HHEM leaderboard, SimpleQA, and TruthfulQA. Each measures a different thing: unsupported summaries, wrong short facts, and imitated misconceptions.answer →Why do AI coding assistants make up package names?In a 2024 study of 16 models, at least 5.2% of packages from commercial models and 21.7% from open-source models didn't exist. The authors call the precise cause an open question.answer →What are real examples of an AI agent hallucinating in production?Air Canada's chatbot invented a bereavement fare rule and the airline had to pay; a nightly agent pipeline turned a captured error page into a fake industry analysis.answer →How do you catch an AI agent's hallucinated shell command before it runs?Check the command statically before it executes. In one preprint, syntax, binary, and flag checks against help text flagged 95.8% of invalid shell commands.answer →

Try Tessary on Cloud.

free · 10,000 traces a month · 1 GB · 30-day retention · $10 one-time credit for triage and RCA · no credit card