SCIENCE · MODELS AND CHECKING

What are grounded answers?

AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-11-13 · UPDATED · 2026-11-18
SHORT ANSWER · UPDATED 2026-11-18

What are grounded answers? A grounded AI answer traces every claim back to a source you can open and check, such as a file and line. If the documents do not hold the answer, a grounded system says Not Found instead of guessing. XERJ Reader-1 returns each value with its formula and source words.

TL;DR A grounded AI answer is one where every claim traces back to a source you can open and check, such as a file and line or a page. If the documents do not hold the answer, a grounded system says Not Found instead of guessing. In XERJ Reader-1, every value comes back with the formula that produced it and the words it was read from.

PASTE THIS TO YOUR AI AGENT. IT DOES THE REST Act as a coding agent. Read https://xerj.org/llms.txt, install XERJ, start a local node, index one folder of documents I point you to, and answer my next question only from passages you find there. Cite the file and line for every claim, and reply Not Found if the folder does not hold the answer.

Is this answer grounded? Check one now

Try it: is this answer grounded?

Answer three questions about one AI answer you have in front of you

Does each claim name a source?
When you open a source, does it say the claim?
What happens when the documents do not hold the answer?

grounded

Grounded answer

Every claim traces to a source you can open, and a missing answer is a refusal.

retrieval only

Retrieved, not yet grounded

The model saw real passages, but some claims still need a check against them.

ungrounded

No grounding

The answer may be right, but there is no way to check it from the documents.

Runs in your browser and sends nothing. Each answer adds a point to the option it matches. A checklist, not a benchmark.

How grounding works

Grounding is a property you can test, claim by claim. Take each claim in the answer and ask three questions:

  1. Is there a source? The claim names a document, a file and line, or a passage.
  2. Does the source say it? The cited words support the claim, not just the topic.
  3. Can someone repeat the check? Another person, or another program, can open the same source and reach the same answer.

A model with no sources can still sound right, and that is the problem grounding solves. Retrieval helps, because the model sees real passages before it answers. Retrieval alone does not make the answer grounded, though. The model can still add a detail that is in none of the passages, or cite a passage that says something else. Grounding is the last step: every claim is tied to evidence, and a claim with no evidence is dropped.

So a grounded system needs a way to say no. If the sources do not answer the question, the grounded result is a refusal. A refusal is still useful. It tells you the documents are silent.

Try it: evidence present, or not

Grounded answers: evidence, or Not Found

Return the value, and the formula

Reader-1 is built so every value comes back with the formula that produced it and the words it was read from. Query-1 answers with a program and the facts it used.

The Not Found behaviour and the formula-with-the-value description come from the published Reader-1 waitlist and 24-hour launch posts. This page does not add a new accuracy number.

Plain model, RAG and grounded answers side by side

Plain modelRAGGrounded answer
Where the answer comes fromTraining dataRetrieved passages plus training dataOnly the cited sources
Each claim has a sourceNoSometimesYes
When the documents are silentAnswers anywayOften answers from the closest passageSays Not Found
How you check itYou cannot, from the answerOpen the passages and compareOpen each cited source

How XERJ grounds answers

XERJ grounds answers at two levels.

XERJ Query-1 answers with a program and the facts it used, on the Query-1 page. Taking answers straight from the source text has its own name, extractive answering. Both models sit inside neurosymbolic models.

This page does not add a new accuracy number, and it does not claim that every answer from every model is grounded.

Get grounded answers from your own documents

Install XERJ, index a folder, and ask your agent to answer only from what it finds. Use Copy the prompt on this page and paste it into Claude Code, Cursor or Codex. The prompt asks for a file and line on every claim. It also asks for Not Found when the folder lacks the answer. Step-by-step guides: answer questions about a docs folder with citations and verify AI report claims against sources.

History and research

Retrieval augmented generation put a search step in front of the model so that answers could draw on real documents. Work on attribution and faithfulness then asked the harder question: does the answer stay with what the sources say? The Not Found refusal is XERJ's own wording. The model that writes the formula, and the engine that runs it, are described under symbolic execution.

Related terms

Extractive answering, neurosymbolic AI, neurosymbolic models, and symbolic execution.

FAQ

What are grounded answers?

They are answers taken from evidence in the documents and returned with that evidence, so each claim can be checked against its source.

What does grounded answer mean in AI?

It means the answer stays with what the sources say. Every claim points to a passage, and a claim with no passage behind it is left out.

Is RAG the same as a grounded answer?

No. RAG puts a search step in front of the model, so it sees real passages. The answer is grounded only when each claim is tied to a passage that says it, and a missing answer becomes a refusal.

How does XERJ Reader-1 do this?

Reader-1 writes a formula over a document, and a separate engine calculates the value from the words on the page. If the documents do not support an answer, it replies Not Found.

What does Not Found mean?

It is a refusal. The documents do not support an answer, so the model does not invent one.

Is this the same as extractive answering?

They are related. Extractive answering is about where the words come from: the source text. Grounding is about whether each claim can be traced to a source and checked. An extractive answer is grounded by design.

How do I check that an answer is grounded?

Open each cited source and confirm it says what the answer claims. A citation that points at a real file but does not support the claim is not grounding.

Related