<!-- generated by build_articles.py — edit content/science/grounded-answers.md instead -->
---
title: "Grounded AI answers 2026: cited sources, checks and Not Found"
canonical: "https://xerj.org/science/grounded-answers"
updated: "2026-11-18"
source: "content/science/grounded-answers.md"
---

# What are grounded answers?

**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.

## Agent prompt

```text
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

*Figure: 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.

*Figure: 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 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/retrieval-that-says-not-found-with-file-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](/blog/xerj-reader-1-waitlist), and [Reader-1 after 24 hours](/blog/reader-1-launch-24-hours) explains why that refusal matters.

XERJ Query-1 answers with a program and the facts it used, on [the Query-1 page](/xerj-query-1). Taking answers straight from the source text has its own name, [extractive answering](/science/extractive-answering). Both models sit inside [neurosymbolic models](/science/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](/answers/answer-questions-about-a-docs-folder-with-citations) and [verify AI report claims against sources](/answers/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](/science/symbolic-execution).

## Related terms

[Extractive answering](/science/extractive-answering), [neurosymbolic AI](/science/neurosymbolic-ai), [neurosymbolic models](/science/neurosymbolic-models), and [symbolic execution](/science/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?](/science/extractive-answering)
- [What are neurosymbolic models?](/science/neurosymbolic-models)
- [Neurosymbolic AI vs LLMs](/science/neurosymbolic-ai)
- [Symbolic execution for LLMs](/science/symbolic-execution)
- [XERJ Reader-1](/blog/xerj-reader-1-waitlist)
- [Reader-1 launch](/blog/reader-1-launch-24-hours)
- [XERJ Query-1](/xerj-query-1)
- [Retrieval that says not found, and cites file and line when it does answer](/answers/retrieval-that-says-not-found-with-file-line-citations)
- [Verify claims in a report against the saved sources](/answers/verify-ai-report-claims-against-sources)
- [Neurosymbolic AI frameworks in 2026: open source tools for LLM reasoning and agent memory](/compare/neurosymbolic-ai-frameworks-2026) (same intent: Science)
- [What is hybrid search?](/science/hybrid-search) (same intent: Science)
- [Hybrid search vs vector search vs semantic search](/science/hybrid-vs-vector-vs-semantic-search) (same intent: Science)
