Agentic RAG: how it differs from standard RAG
Agentic RAG is retrieval-augmented generation where an AI agent decides how to retrieve: which source to search, what to search for, whether the results are good enough, and whether to search again. Standard RAG runs one fixed pipeline for every question. It turns the question into a search, takes the top matches and writes an answer from them. The agentic version treats retrieval as a tool the agent can call, check and repeat, which helps on hard questions and costs more on easy ones.
RAG first
Retrieval-augmented generation was introduced by Patrick Lewis and colleagues in 2020 (arXiv:2005.11401, NeurIPS 2020). They described models "which combine pre-trained parametric and non-parametric memory for language generation." The parametric memory is what the model learned in training. The non-parametric memory, in their case, was "a dense vector index of Wikipedia, accessed with a pre-trained neural retriever."
In practice, a standard RAG system splits your documents into chunks, turns each chunk into an embedding, and stores them in a vector index. When a question comes in, it embeds the question, finds the closest chunks and puts them in the prompt. NVIDIA's summary is short: "Traditional RAG is like a quick lookup. The AI queries a knowledge base, retrieves information, and then generates a response" (NVIDIA, July 21, 2025).
That works well for questions answered by one passage. It fails in predictable ways:
- The question uses different words from the document, so the right chunk never ranks.
- The answer needs facts from two places, and one search finds only one.
- The top chunks are close in wording but wrong in substance, and the model answers from them anyway.
- The answer lives in a database or an app, not in the documents that were indexed.
What makes it agentic
A January 2025 survey by Aditi Singh and co-authors puts it this way: "traditional RAG systems are constrained by static workflows and lack the adaptability required for multi-step reasoning." Agentic RAG "transcends these limitations by embedding autonomous AI agents into the RAG pipeline" (arXiv:2501.09136). IBM's definition is shorter still: "Agentic RAG is the use of AI agents to facilitate retrieval augmented generation" (IBM, updated 2026-11-03).
In concrete terms, the agent can:
- Choose the source. Company documents, past conversations, a CRM, the web. Standard RAG usually searches one index.
- Rewrite the query. If "refund policy for damaged goods" finds nothing, try "returns" or "damaged in transit".
- Judge the results. Read what came back and decide whether it answers the question or whether another search is needed.
- Combine steps. Look up a customer, then search for their last order, then check the shipping policy that applies to it.
NVIDIA's contrast: standard RAG is "query, retrieve, generate" and "typically faster and less expensive", while in agentic RAG the agent "queries, refines, uses RAG as a tool, manages context over time."
Standard RAG vs agentic RAG
| Standard RAG | Agentic RAG | |
|---|---|---|
| Who decides to search | The pipeline, every time | The agent, when it needs to |
| Searches per answer | One | As many as the task needs |
| Sources | Usually one index | Several, chosen per question |
| Checking results | None | The agent reads and can retry |
| Speed and cost | Fast, cheap, predictable | Slower, more tokens, varies by question |
| Best for | Single-passage lookups, high volume | Multi-step questions, mixed sources |
What agentic RAG costs
Every extra search the agent decides on means another model call to read the results. IBM's summary: "more agents at work mean greater expenses," and an agentic system usually means paying for more tokens. Each extra search adds a model turn that reads the results, and a confused agent can search five times for something one good query would have found.
So the sensible design uses both. Put the retrieval that every request needs in a fixed step, and let the agent search further only when the question calls for it.
One product, both patterns: Neotask
Neotask's agents get some context handed to them and search for the rest, and the line between the two follows the trade-off above.
Fixed retrieval for procedures. When an agent starts a task, a chat or a coding action, Neotask "automatically finds the SOPs that are most relevant to what the agent is about to do and attaches them to the agent's context." The agent does not have to remember to look up how your company handles refunds. That is classic RAG, chosen because the procedure should always be there.
Agent-driven search for everything else. Agents also have search tools they call themselves:
memory_searchlooks through the agent's memory files and, if enabled, past session transcripts. Its description calls it a "mandatory recall step" before answering about prior work, decisions, dates, people or preferences, so the agent searches before it answers from what it thinks it remembers.workspace_searchcovers the company's tasks, SOPs, conversations, company memory, activity, files and coding threads that the agent is allowed to see, "by meaning, keywords and exact filters".- Connected apps add their own search tools, so the agent can look in a CRM or help desk when the answer is not in any document.
Meaning and keywords together. Memory search mixes vector similarity with keyword matching, weighted 70% and 30% by default. Text is split into chunks of about 400 tokens with an 80-token overlap, and a search returns up to six results that clear a minimum score. Keyword matching catches exact terms such as invoice numbers and product codes that embeddings tend to blur.
Your choice of embedding model. Embeddings can come from OpenAI, Gemini, Voyage, Mistral or Bedrock, or run locally through Ollama, LM Studio or a built-in local model, so memory can be indexed without sending it to an outside provider.
When to use which
Use standard RAG when questions are answered by one passage, volume is high and latency matters, such as a help widget answering "what are your opening hours" thousands of times a day.
Use agentic RAG when questions need several lookups or several sources, when a wrong answer costs more than a slower one, or when the agent is already working on a larger task and retrieval is one step of many, as in the ReAct loop where a search is just another tool call. Memory across sessions is a related but separate problem, covered in AI agent memory.