What does agentic RAG uniquely enable compared to naive single shot RAG?
Agentic RAG turns retrieval into a tool the agent calls when and how it chooses, unlocking multi-hop and iterative retrieval that single shot retrieve once RAG cannot do.
Imagine researching a question at the library. Single shot RAG is like sending an assistant to grab a fixed stack of books once, before you have even read the question carefully. Whatever they bring back is all you get. Agentic RAG is like walking into the library yourself. You read a bit, realise you need a specific reference, go fetch it, read that, notice it points to another source, and go grab that one too. You decide each time whether you have enough or need another trip. The agent works the same way. It looks at the question, retrieves something, reasons about what it found, and only then decides whether to search again, search for something new, or stop and answer. The cost is more trips, so more time and money per question.
Detailed answer & concept explanation~8 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Frame the difference as control flow, define multi-hop and iterative retrieval with a dependent-lookup example, then cover the per-hop cost trade off, the need for a retrieval budget, trajectory evaluation, and the router pattern that keeps average cost near single-shot.
| Property | Single shot RAG | Agentic RAG |
|---|---|---|
| When retrieval fires | Once, at query time | Any step, decided by the agent |
| Query source | Original user phrasing | Reformulated from reasoning and prior hits |
| Multi-hop support | No, retrieval is fixed up front | Yes, each hop can depend on the last |
| Latency and cost | One retrieval plus one generation | Grows with the number of hops |
| Failure mode | Misses context not reachable from the first query | Over retrieval or looping without a budget |
Real products, models, and research that use this idea.
- Perplexity's research mode reformulates the query, retrieves, reads, and retrieves again across several hops before composing a cited answer, rather than searching once.
- LangGraph's self-RAG and corrective-RAG templates wrap a retriever as a tool node with a grader that decides whether to re-retrieve or rewrite the query.
- Claude Opus 4.7 with a search tool issues follow up searches based on what earlier results revealed, a multi-hop pattern naive single shot RAG cannot express.
- LlamaIndex agentic retrievers route a query to sub question planning, where each sub question triggers its own retrieval call against the index.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow would you stop an agentic RAG loop from over retrieving or issuing near-duplicate queries?
QHow does evaluation change when you move from single-shot to agentic RAG?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Thinking agentic RAG is just a better embedding model or a bigger context window. The real difference is control flow: the agent decides at runtime when and what to retrieve, not the pipeline at query time.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.