Frontier Foundry

Deep research vs RAG

42 sourced facts · updated

Deep 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 researchRAG
What happens to the questionIt 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 happensWhile 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 searchesMany. 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 backA 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 doneThe 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 wrongInvented 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 pointGetting 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]

Each one on its own

from their concept pages

What is Deep research?

A deep research agent takes a question, searches many sources, reads them and writes a report with citations. It plans the search, follows leads and compares claims across sources over many steps. It compresses hours of reading into minutes, and is only as reliable as the sources it trusts.

A deep research agent turns one open question into a cited report: a plan splits it into sections, searchers run many queries in separate contexts and return short memos, the lead drafts each section from the memos, and every claim has to trace back to a note. The sources agree on the shape; they disagree on whether a better harness or a better model closes the gap, and on whether lexical search is enough.

68.1
BrowseComp score of a 30B model trained on harness-guided delegation (SearchSwarm paper) Hugging Face
about 350,000 tokens
Context a model can hold before quality starts to degrade, in the speaker's opinion (Bergum, Hornet) Jo Kristian Bergum
up to 21%
Hallucinated reference rate in autonomous research systems tested on 75 papers (ScientistOne paper) Hugging Face

Deep research, explained in full: how it works as a machine, every part and its sources.

What is RAG?

Retrieval-augmented generation looks up relevant documents when a question arrives and places them in the prompt. The model then answers from that text and not from memory alone. It gives a model current and private facts without retraining, and the answer is only as good as what was fetched.

Retrieval-augmented generation fetches relevant pieces of a document set at question time and puts them in front of the model. The sources describe a pipeline: documents are cut into chunks and filed by meaning and by exact words; a question fetches a short list, merged and reranked; the model answers from it and a check can refuse figures it cannot trace. Its limits are a short desk, a chunk size no one gets right for every query, and answers that can come from the wrong page.

about 2,000 characters
Size a chunk is packed to before it is cut, in one rulebook assistant (reported by the builders) Nina Žižakić
top 50 + top 50 to 30 to 10
Candidates per list, kept after fusion, and given to the agent (reported by the builders) Eleonora Drykina
2 to 4 calls
Search calls most questions need; the prompt asks the agent to reconsider before the sixth (reported by the builders) Eleonora Drykina

RAG, explained in full: how it works as a machine, every part and its sources.

In AI coverage over the last four weeks, Deep research took 0.00% and RAG 0.81%. Deep research, week by week

The facts behind this page

42 facts from the two knowledge packs
  1. In a managed RAG 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 are either returned or passed to a generation model. Cloudflare blog · 2026-10-01 · RAG
  2. An embedding is cached compute: parsing and embedding a codebase is a one-time cost, and at run time the agent queries it and saves tokens, time and money. AI Engineer · 2026-04-10 · RAG
  3. A main agent decomposes the task and dispatches subtasks to subagents that return only summarized results, which conserves the main agent's context budget. Hugging Face · 2026-06-10 · Deep research
  4. Agentic search is search inside an agent loop and needs three things: a capable model, a harness that exposes search, and an efficient retrieval engine. Jo Kristian Bergum, AI Engineer · 2026-06-30 · Deep research
  5. In real knowledge work the client's problem is open-ended, so the agent has to break it down itself and use sub-agents that do the research. Benjamin Clavié, AI Engineer · 2026-09-16 · Deep research
  6. Searchers go off on their own, find the results and bring back a short memo to the lead agent, which answers from the memos. Benjamin Clavié, AI Engineer · 2026-09-16 · Deep research
  7. Chain-of-Evidence requires every claim in a report to be traceable to its evidence source, kept by construction through literature review, solution and writing. Hugging Face · 2026-05-28 · Deep research
  8. Several planning agents first explore external sources and refine an actionable research plan, called a ResearchSpec, before any section is written. Hugging Face · 2026-09-30 · Deep research
  9. 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. Jo Kristian Bergum, AI Engineer · 2026-06-30 · Deep research
  10. Every chunk is embedded two ways, as a dense vector and as a BM25 entry. Nina Žižakić, AI Engineer · 2026-10-12 · RAG
  11. 5 to 20 searches: Searches a typical search agent makes even for a quick answer, per the Parallel founder; hundreds to thousands when dialled up Sequoia · 2026-08-25 · Deep research
  12. Turning up a research product from quick to deep multiplies searches from a handful to hundreds and thousands. Sequoia · 2026-08-25 · Deep research
  13. 2 to 4 calls: Search calls most questions need; the prompt asks the agent to reconsider before the sixth (reported by the builders) Eleonora Drykina, AI Engineer · 2026-10-12 · RAG
  14. 38 seconds: Median time to answer, the cost of letting the agent search more than once (reported by the builders) Eleonora Drykina, AI Engineer · 2026-10-12 · RAG
  15. The finished research becomes an editable document with citations; it draws on the same allowance or workspace credits as other work and respects connected-source permissions. OpenAI · 2026-09-09 · Deep research
  16. Every answer must cite the exact rulebook, section and page, and the assistant must not answer from the model general knowledge of other payment schemes. Nina Žižakić, AI Engineer · 2026-10-12 · RAG
  17. Under each answer the assistant lists the sources it used, naming rulebook and section, so that the user can open the rulebook. Nina Žižakić, AI Engineer · 2026-10-12 · RAG
  18. Is lexical (BM25) search enough for a research agent? Yes: a capable model writes specific queries, and exact matching is cheap and easy for the model to inspect. Jo Kristian Bergum, AI Engineer · 2026-06-30 · Deep research
  19. Is lexical (BM25) search enough for a research agent? No: even a human cannot find the right information with unlimited BM25 searches on PDFs, so better tools raise the ceiling. Benjamin Clavié, AI Engineer · 2026-09-16 · Deep research
  20. Dense search is good for meaning, but rulebook codes, message names and exact identifiers look like noise to an embedding; BM25 is the mirror image: exact tokens work, paraphrases do not. Eleonora Drykina, AI Engineer · 2026-10-12 · RAG
  21. Both searches run in one Qdrant call and are merged with reciprocal rank fusion, which needs no calibration of the scores of the two lists. Eleonora Drykina, AI Engineer · 2026-10-12 · RAG
  22. 92% to 97%: Hit rate of hybrid search over dense only on 63 retrieval questions (reported by the builders) Eleonora Drykina, AI Engineer · 2026-10-12 · RAG
  23. up to 21%: Hallucinated reference rate in autonomous research systems tested on 75 papers (ScientistOne paper) Hugging Face · 2026-05-28 · Deep research
  24. 0 of 337: Hallucinated references in the system that keeps an evidence chain for every claim (ScientistOne paper) Hugging Face · 2026-05-28 · Deep research
  25. nearly 20% of errors: Share of errors in deep research systems that are invented, plausible-sounding but entirely fake content, in a study from Oppo's AI team; the-decoder's report The Decoder · 2025-12-06 · Deep research
  26. The wrong source, the wrong number. Attaching sources after the fact does not help when retrieval pulled the wrong source (a blog with a wild price), or the right source and the wrong number: a 17 in a filing may be millions, billions or yen, or an earlier year. Vinoo Ganesh, AI Engineer · 2026-10-25 · RAG
  27. The table that lost its rows. The first indexer took plain text from the PDF, which did not keep tables whole: a field spanning several rows came out misaligned, so the agent could fetch the wrong row or column, and fees are in tables. Nina Žižakić, AI Engineer · 2026-10-12 · RAG
  28. With the evidence supplied up front, accuracy is high; with a retrieval tool it falls, so getting the evidence is the bottleneck, not reasoning. Jo Kristian Bergum, AI Engineer · 2026-06-30 · Deep research
  29. With a poorly tuned search tool an agent is right about 60% of the time, with an optimized one it reaches 90% with 20% fewer tool calls. Benjamin Clavié, AI Engineer · 2026-09-16 · Deep research
  30. The limit of one-shot chunk retrieval: an index may find the right document but cannot open it, go to the table, read the surrounding context or verify the answer, so the model must answer from whatever the first retrieval selected. Mistral AI · 2026-08-20 · RAG
  31. 26.7% to 86% (FinanceBench); 6.3% to 51.9% (OfficeQA Pro): Correctness of one-shot retrieval versus Mistral's multi-step agentic search on financial filings and on table-heavy multi-document questions; p90 latency down by up to 39.6% and tokens by up to a third; reported by the vendor Mistral AI · 2026-08-20 · RAG
  32. about 90 seconds for about $0.40: A first-pass cited investment memo of seven sections from four parallel research nodes and a synthesizer; LangChain's cookbook, API cost only LangChain blog · 2026-06-26 · Deep research
  33. The same memo agent is only a starting draft: strongest for well-documented companies, weaker for thinly covered private ones, and its Thesis section is the model's own analysis with no citations, so an analyst still has to check it. LangChain blog · 2026-06-26 · Deep research
  34. The user can steer the research while it runs and ask for a document, presentation, spreadsheet or site as the output. OpenAI · 2026-09-09 · Deep research
  35. Each chunk gets metadata: rulebook name, page, section path and chunk index, so a citation card can link to the PDF and a section or rulebook can be put back together. Nina Žižakić, AI Engineer · 2026-10-12 · RAG
  36. Numbers are stored with value, unit, scale and period, in a registry, and the model must cite those facts rather than write numbers. Vinoo Ganesh, AI Engineer · 2026-10-25 · RAG
  37. A post-processing filter refuses citations that cannot be verified, so a number that is not cited cannot appear in the output. Vinoo Ganesh, AI Engineer · 2026-10-25 · RAG
  38. less powerful: What strict citation checking costs: the platform answers less than people want, because a figure it cannot trace is refused or stripped (the speaker's own words) Vinoo Ganesh, AI Engineer · 2026-10-25 · RAG
  39. Does an agent that greps files replace the ranked index? Agentic search does not replace the index but sits on it: Mistral's agent builds on an existing search index and adds tools to open, navigate, read and grep the documents the index finds. Mistral AI · 2026-08-20 · RAG
  40. Does an agent that greps files replace the ranked index? At scale ranking wins: BM25 overtakes a file-system agent around 10 million tokens, and agentic reasoning works best after ranked discovery, not in place of it. Hugging Face · 2026-07-31 · RAG
  41. The weak baseline that made search look useless. A deep research benchmark shipped with a BM25 baseline whose parameters did not suit long documents, so lexical search looked far worse than it is; with tuned parameters the result changed a great deal. Jo Kristian Bergum, AI Engineer · 2026-06-30 · Deep research
  42. Does an agent that greps files replace the ranked index? On about 20 bug tasks agentic search matched vector search in accuracy at a quarter of the cost, because lone chunks lacked the surrounding logic. Jess Wang, AI Engineer · 2026-10-05 · RAG

Cite this page

the version of 2026-12-02
APA
Han, R. (2026, December 2). Deep research vs RAG: what is the difference?. Frontier Foundry. https://www.ryanhan.ai/compare/deep-research-vs-rag
BibTeX
@misc{han2026-compare-deep-research-vs-rag,
  author       = {Han, Ryan},
  title        = {{Deep research vs RAG: what is the difference?}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = dec,
  url          = {https://www.ryanhan.ai/compare/deep-research-vs-rag}
}

More comparisons

all of them