Deep research vs RAG
42 sourced facts · updatedDeep research vs RAG: what is the difference?
RAG sends a query to a search index and passes the top chunks to a model. In deep research, a main agent splits the task and hands pieces to subagents, who bring back short memos, and the finished report has every claim traceable to its evidence. The two share parts: both search and both lean on citations, and Bergum says agentic search needs a capable model, a harness that exposes search and an efficient retrieval engine. The RAG examples in the sources are questions over a known set of documents. The deep research case is the open-ended problem that the agent has to break down itself. [1][2][3][4][5][6][7]
In the knowledge graph: Each searcher retrieves from an index and reads what comes back, over and over.
The difference between Deep research and RAG
| Deep research | RAG | |
|---|---|---|
| What happens to the question | It becomes a plan. A main agent decomposes the task and dispatches subtasks to subagents that return only summarized results. Planning agents first refine a research plan before any section is written. [3][8] | It goes to the search desk. In a managed pipeline the query is optionally rewritten and embedded, vector and keyword search run in parallel, the lists are fused and optionally reranked, and the top chunks go back or to a generation model. [1] |
| When the searching happens | While the question is being answered. A research question becomes a trajectory: the model runs a query, reads the response, reformulates and continues until it has filled its context window or found the answer. [9] | Indexing is done once. Parsing and embedding a codebase is a one-time cost, and in one assistant every chunk is embedded as a dense vector and as a BM25 entry. At run time the query goes to that index. [2][10] |
| How many searches | Many. The Parallel founder says a typical search agent makes 5 to 20 searches even for a quick answer, and turning a research product from quick to deep takes it to hundreds and thousands. [11][12] | A few, in one assistant. In one rulebook assistant most questions needed 2 to 4 search calls, and the prompt asks the agent to reconsider before the sixth. The builders report a median of 38 seconds to answer. [13][14] |
| What comes back | A report. The lead agent answers from the short memos the searchers bring back, and one framework requires every claim to be traceable to its evidence source. In OpenAI's product the result is an editable document with citations. [6][7][15] | An answer with sources. In one assistant every answer must cite the exact rulebook, section and page, and the sources used are listed under the answer so the user can open the rulebook. [16][17] |
| How search is done | The sources disagree on whether lexical search is enough. Bergum says a capable model writes specific queries and exact matching is cheap and easy to inspect. Clavié says even a human cannot find the right information in PDFs with unlimited BM25 searches, so better tools raise the ceiling. [18][19] | Dense search for meaning plus BM25 for exact words, merged with reciprocal rank fusion. Drykina's team reports a hit rate of 92% to 97% for hybrid search over dense only, on 63 retrieval questions. [20][21][22] |
| How it goes wrong | Invented references and content. Autonomous research systems tested on 75 papers had hallucinated reference rates of up to 21%, while a system that keeps an evidence chain for every claim had none in 337 references. A study from Oppo's AI team found nearly 20% of errors in deep research systems were invented content. [23][24][25] | The wrong page or the wrong number. A source attached afterwards does not help when retrieval pulled the wrong source, or the right source and the wrong figure: a 17 in a filing may be millions, billions or yen. A first indexer that did not keep tables whole misaligned their rows. [26][27] |
| The weak point | Getting the evidence. Bergum says that with the evidence supplied up front accuracy is high, and with a retrieval tool it falls. Tuning the search tool matters: with a poorly tuned one an agent is right about 60% of the time, with an optimized one 90%. [28][29] | One-shot retrieval. Mistral says an index may find the right document but cannot open it, go to the table or verify the answer. Mistral reports, as the vendor, that its multi-step agentic search reached 86% correctness on FinanceBench where one-shot retrieval reached 26.7%. [30][31] |
When to use Deep research
- The problem is open-ended. Clavié says in real knowledge work the client's problem is open, so the agent has to break it down itself and use sub-agents that do the research. [5]
- You want a first-pass cited document. LangChain's cookbook builds a seven-section investment memo from four parallel research nodes and a synthesizer in about 90 seconds for about $0.40 in API cost. It is only a starting draft, and an analyst still has to check it. [32][33]
- You want to steer the work as it runs. In OpenAI's product the user can steer the research while it runs and ask for a document, presentation, spreadsheet or site as the output. [34]
When to use RAG
- The question is about a known set of documents and the answer must point to the page. One assistant answers questions on payment rulebooks, cites rulebook, section and page, and is told not to answer from the model's general knowledge. [16][35]
- Exact figures matter. One platform registers each number with value, unit, scale and period, makes the model cite those facts, and refuses any figure it cannot trace. The speaker says this makes it answer less than people want. [36][37][38]
- A few searches can be enough. In one rulebook assistant most questions needed 2 to 4 search calls, and the builders report a median of 38 seconds to answer. [13][14]
Using Deep research and RAG together
Agentic search leans on retrieval. Bergum says agentic search needs a capable model, a harness that exposes search and an efficient retrieval engine. Mistral's agent builds on an existing search index and adds tools to open, navigate, read and grep the documents the index finds. Another source reports that BM25 overtakes a file-system agent at about 10 million tokens, and that agentic reasoning works best after ranked discovery, not in place of it. [4][39][40]
Is plain keyword search enough for a research agent?
The sources disagree. One says yes: a capable model writes specific queries, and exact matching is cheap and easy for the model to inspect. Another says no: with unlimited BM25 searches on PDFs even a human cannot find the right information, so better tools raise the ceiling. A benchmark that shipped a poorly tuned BM25 baseline made lexical search look far worse than it is. [18][19][41]
Does an agent that greps files replace a RAG index?
The sources split. On about 20 bug tasks, agentic search matched vector search in accuracy at a quarter of the cost. At scale, BM25 overtakes a file-system agent around 10 million tokens. Mistral's agent sits on top of an index rather than replacing it. [42][40][39]