Research Report Agent
Build the pipeline behind deep research tools: search a corpus, pull exact snippets, plan the research, write only from evidence, verify every claim, publish an HTML report with footnotes and a trace, then score it on checked-in public evaluation fixtures.
An evidence ledger for technical decisions showing how source updates change published claims.
- Prepare a technical decision memo whose claims link to the supporting source passages.
- Compare reports after source documents change and inspect which claims need revision.
- Rust Build the BM25 index and parse JSON requests using only the standard library.
- Python Compose evidence extraction, recorded model calls, verification and evaluation.
- TypeScript Validate the evidence contract and render an interactive, portable HTML report.
Research Report Agent in 7 stages
Turn a question and a pile of documents into a report where every sentence can be checked.
Search the corpus
Load markdown documents with headers and rank them with BM25.
core · ~5 hours · Rust + Python
document parsingtokenizationBM25IDFExtract snippets you can cite
Split documents into sentences and keep exact character offsets for every snippet.
starter · ~2 hours · Python
sentence spansoffsetssnippet scoringcontext-free sentencesPlan the research
Split the question into facets with a rule planner, then swap in a recorded model safely.
core · ~2 hours · Python
query decompositionModel protocolrecord and replayfallbacksWrite only from evidence
Compose sections from snippets and reject any sentence without a valid citation.
core · ~2 hours · Python
extractive writingcitation formatvalidatorsVerify every claim
Catch swapped names, flipped negations and changed numbers, under a run budget.
core · ~2 hours · Python
claim supportpoisoned draftsbudgetsterminal statesPublish the report
Render HTML with numbered footnotes and write a trace of the whole run.
core · ~2 hours · Python + TypeScript
HTML renderingfootnotestracingpipelinesScore the public fixtures
Measure citation precision, source recall and fact coverage on checked-in public evaluation fixtures.
stretch · ~2 hours · Python
public fixture evaluationcitation precisionrecallscorecards