What are grounded answers?
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.
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
Answer three questions about one AI answer you have in front of you
Grounded answer
Every claim traces to a source you can open, and a missing answer is a refusal.
Retrieved, not yet grounded
The model saw real passages, but some claims still need a check against them.
No grounding
The answer may be right, but there is no way to check it from the documents.
How grounding works
Grounding is a property you can test, claim by claim. Take each claim in the answer and ask three questions:
- Is there a source? The claim names a document, a file and line, or a passage.
- Does the source say it? The cited words support the claim, not just the topic.
- 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.
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.
Say Not Found
If the documents do not support an answer, Reader-1 replies Not Found. That is a refusal, not a guess. The 24-hour launch post is where XERJ states why that refusal matters.
Read it, run it again
Because the program or formula is visible, an accountant or an auditor can run it later. That is the check the product is built around.
Plain model, RAG and grounded answers side by side
| Plain model | RAG | Grounded answer | |
|---|---|---|---|
| Where the answer comes from | Training data | Retrieved passages plus training data | Only the cited sources |
| Each claim has a source | No | Sometimes | Yes |
| When the documents are silent | Answers anyway | Often answers from the closest passage | Says Not Found |
| How you check it | You cannot, from the answer | Open the passages and compare | Open each cited source |
How XERJ grounds answers
XERJ grounds answers at two levels.
- Search. XERJ returns passages with their file path and line, so an agent can quote and cite them. A lookup for a symbol that is not in the corpus returns no match. The guide is retrieval that says not found, with file and line citations.
- Answers. XERJ Reader-1 writes a formula over the exact words of the document. A separate engine calculates the value. Every value comes back with the formula and the words it was read from. If the documents do not support an answer, it replies Not Found. The product description is on the Reader-1 waitlist, and Reader-1 after 24 hours explains why that refusal matters.
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
- What is extractive answering?
- What are neurosymbolic models?
- Neurosymbolic AI vs LLMs
- Symbolic execution for LLMs
- XERJ Reader-1
- Reader-1 launch
- XERJ Query-1
- Retrieval that says not found, and cites file and line when it does answer
- Verify claims in a report against the saved sources
- Neurosymbolic AI frameworks in 2026: open source tools for LLM reasoning and agent memory · same intent: Science
- What is hybrid search? · same intent: Science
- Hybrid search vs vector search vs semantic search · same intent: Science