Citation-grounded RAG

Answers you can verify, line by line.

A retrieval-augmented question-answering engine where every claim is grounded in a specific source passage — with inline, checkable citations and an abstain path when the corpus doesn't support an answer. Built for high-stakes text, where a confident wrong answer is worse than no answer.

The demo corpus is the U.S. founding documents — the Constitution, the Bill of Rights, and the Federalist Papers (public domain) — so every answer is externally checkable.

Try the demo →Source & eval

Runs offline on the bundled corpus with no API key. Add an ANTHROPIC_API_KEY (answers) and OPENAI_API_KEY (dense retrieval) for the full hybrid pipeline.