Agentic retrieval for RAG: when an agent should read the document
Agentic retrieval gives a model tools to search a long document, list its headings and read exact line ranges instead of handing it the top few chunks; on one 780-page financial report it answered 58.8% of questions against 15.7% for chunk-and-embed, at a higher token cost, and it depends on a conversion that keeps reading order and headings.
When should an AI agent read the whole document instead of top-k chunks?
Agentic retrieval did best in the published test covered here, on one long, structured document, where a number only means something next to a header far above it. Give the agent search, outline and read tools over a clean conversion. For a library of short files, top-k passages are still cheaper, and dense search may keep an edge when questions use different words from the document.
Two things now sold as agentic retrieval
Agentic retrieval is all over November's launch posts, and it means two different things. In the first, a model plans several searches over the index you already have. AWS describes this for Bedrock Managed Knowledge Base: the model breaks a question into sub-queries, searches, checks whether the results are enough, and searches again within an iteration limit. Microsoft's Retriever 1 does similar work in Foundry IQ, rewriting queries and deciding whether to search again.
In the second, the model stops asking an index for the nearest chunks and reads the document itself, through tools that search the text, list its headings and fetch a span of lines. Both are loops. Only the second changes what the model is allowed to look at, and the best evidence so far says that is the part that matters.
What a 780-page report showed
The clearest test is Beyond Top-K, a 2026 paper by Sagar Tamang, Ayush Vyas and Tabarakul Hazarika, summarised by The Batch on November 13. They used a 780-page government finance report where, by their count, 86.8% of content lines are table rows and a figure's unit sits in a header a median of 13 lines above it. Cut that into chunks and a number routinely lands in a different chunk from the line saying whether it is in lakh or crore.
Their system, READ, is a read-only MCP server over the report as Markdown, with grep, list, outline and read tools. On 51 checked questions with the same model, it answered 58.8% correctly. Dense chunk-and-embed retrieval answered 15.7% at the shared settings, and 35.3% at its best after the authors swept chunk size and depth. An agent with the same loop but a vector-search tool reached 27.5%, which is why the authors credit the interface rather than the iteration.
The paper is also clear about what it did not show. Plain BM25 keyword search scored 51.0% and was statistically indistinguishable from READ. The finding separates reading the text from ranking embeddings. It does not prove agents beat keyword search.
What it costs, and where the evidence stops
Reading costs tokens. In the authors' pilot on one question, READ read 9,428 to 58,320 input tokens depending on the model, against 6,702 for dense retrieval, and their main results table puts READ at about $0.058 per question against $0.020 for BM25. A loop that reads is slower and more expensive than one search, so it belongs on the questions that need it.
The limits are in the paper itself: one document, one model, 51 questions, and a benchmark built by the system's own authors, who say it grew during the experiment and that the questions they added fall where chunking is weak. They scope the claim to single, long, structured documents read by capable tool-calling models, and note that dense search may keep an edge when questions use different words from the document. Treat it as a strong case for one document class, not a verdict on RAG.
An agent can only read what conversion kept
Every tool in that loop depends on the converted text. An outline needs real headings. A line read needs the text in reading order. A search needs characters, not a picture of characters, so a scanned PDF needs OCR first. The authors converted their PDF to Markdown with pymupdf4llm and counted the damage: 3.0% of numeric rows affected and 0.09% with an outright magnitude error, a ceiling they say every retrieval method shares. One of their own analysis bugs came from a running header that had been converted as a table row instead of a heading.
That is the part a converter controls. RAG Converter keeps two views of the same parse. `chunks.jsonl` holds passages for top-k search. `documents.jsonl` holds one row per file, with the whole document as ordered Markdown and its headings and lists intact, and the browser offers it as a download next to the chunks. On the API it is `-F "format=documents"`, covered in the developer API guide. Word headings are read from the file's own styles, which gives an outline tool something to list, and heading paths shows the same outline on the chunk side. A PDF's headings depend on what its text layer carries, so open the Markdown and check before you build on it. The Word, PowerPoint and Excel readers are pure-Rust libraries from Remade with Rust, which is what lets that whole conversion fit inside a browser tab.
Use passages for the library, documents for the long read
Most corpora are many short files and repeated questions, and top-k passages are still the cheap, citable default; RAG vs long context covers that trade. The case for an agent that reads is narrower: one long report, contract or filing where a number or a defined term only means something next to a heading far away. Tables are the usual culprit, covered in RAG for tables.
You don't have to choose once. Index the passages, keep the document rows beside them, and give an agent a read tool for the questions top-k keeps missing. RAG Converter doesn't ship that read tool: the MCP server converts files, it doesn't serve them back. Test both paths on your own questions before you decide, the way the paper did. Convert in the browser first, since the free converter runs in your tab and a long report never leaves the machine. Keeping the agent on that machine too is the case MATA makes for local AI without uploading your life.