Skip to content
GuideAI Data & Training
Xither Staff12 min read

RAG & Retrieval · Decision guide

Agentic RAG for the Enterprise: What It Is, When It Wins, and What It Costs

Agentic RAG moves retrieval inside a reasoning and tool-use loop: the model plans queries, evaluates what comes back, and retrieves again until it can answer. It beats single-pass RAG on multi-step, multi-source questions — at the price of more LLM calls, more tokens, and a harder system to operate. This guide maps where the tradeoff pays and how to control the bill.

In this guide · 9 steps
  1. 01What agentic RAG actually is
  2. 02When it wins: the shape of the workload
  3. 03When it is overkill
  4. 04The boundary with general-purpose agents
  5. 05Does it actually reduce hallucination?
  6. 06The cost model: more calls, bigger contexts
  7. 07What scaled deployment looks like
  8. 08Honest objections
  9. 09The read

Agentic RAG is retrieval-augmented generation with the retrieval step placed inside a reasoning and tool-use loop. Instead of one retrieve-then-generate pass, the model plans queries, judges what comes back, and retrieves again until it can answer. It wins on multi-step, multi-source questions — and it costs more, in LLM calls, tokens, latency, and operational complexity.

That one-sentence tradeoff is the whole decision. The rest of this guide unpacks it: what actually changes architecturally, which enterprise workloads justify the loop, where a plain pipeline or a general-purpose agent is the better call, what the research evidence really says about hallucination, and how the cost model behaves once every query can trigger several model invocations.

4

agentic design patterns — reflection, planning, tool use, and multi-agent collaboration — define how agentic RAG systems adapt retrieval, per the 2025 survey of the field[^arxiv-agentic-rag-survey].

Agentic RAG survey (arXiv)

10%

of the standard input price is what a cached input token costs on the Claude API — the single biggest published lever for containing the repeated-context cost of multi-call agentic workloads[^anthropic-pricing].

Anthropic pricing docs

50%

discount on input and output tokens for asynchronous batch processing, published by both Anthropic and OpenAI — a lever for the non-interactive share of agentic RAG workloads[^anthropic-pricing][^openai-pricing].

Anthropic and OpenAI pricing docs

1. What agentic RAG actually is

Classic RAG is a 2020 idea that aged well. Lewis et al. introduced models that combine "pre-trained parametric and non-parametric memory for language generation" — a generator plus a dense vector index — and showed they "generate more specific, diverse and factual language than a state-of-the-art parametric-only seq2seq baseline"[4]. The enterprise translation: ground the model in your documents instead of retraining it.

But the standard pipeline is a straight line: embed the query, fetch top-k chunks, stuff them into the prompt, generate. The comprehensive RAG survey by Gao et al. traces the field's evolution through three paradigms — Naive, Advanced, and Modular RAG — and credits the approach with enhancing "the accuracy and credibility of the generation, particularly for knowledge-intensive tasks"[5]. What none of those paradigms change is who decides. Retrieval happens once, whether or not the retrieved passages are any good, and the model must answer from whatever the retriever happened to return.

Agentic RAG changes who decides. The 2025 survey of the field defines it as embedding "autonomous AI agents into the RAG pipeline," using the agentic patterns of reflection, planning, tool use, and multi-agent collaboration to manage retrieval dynamically and iteratively refine understanding[1]. The intellectual root is the ReAct line of research, which showed that interleaving reasoning traces with actions — letting the model decide when to query an external source mid-thought — outperforms fixed pipelines on knowledge-intensive tasks[6]. In practice that means the model can reformulate a bad query, split a compound question into sub-queries, call a calculator or a structured database instead of a vector index, and check its own draft against the evidence before answering.

This is no longer a research-only pattern. Microsoft has productized it as agentic retrieval in Azure AI Search: "a multi-query pipeline designed for complex questions" that can "use a large language model (LLM) to break down a complex query into smaller, focused subqueries," runs those subqueries in parallel, semantically reranks each one, and merges the results[7]. Google's Vertex AI RAG Engine and Amazon Bedrock Knowledge Bases cover the managed grounding layer underneath — ingestion, chunking, embedding, indexing, retrieval — that any of these loops sits on top of[8].

DimensionStandard RAGAgentic RAG
Control flowFixed: retrieve once, then generateDynamic loop: plan, retrieve, evaluate, retrieve again[^arxiv-agentic-rag-survey]
Query handlingThe user's query is the retrieval queryQuery decomposition into parallel subqueries; reformulation on poor results[^msft-agentic-retrieval]
Retrieval sourcesUsually one vector indexMultiple tools: indexes, structured databases, APIs, web search[^arxiv-crag]
Self-correctionNone — the model answers from whatever came backRetrieval evaluators, reflection, and corrective actions on low-confidence evidence[^arxiv-crag][^arxiv-self-rag]
LLM calls per queryOne generation callSeveral: planning, per-step reasoning, synthesis
LatencyOne retrieval plus one generationHigher — Microsoft states agentic retrieval "adds latency compared to a single-query pipeline"[^msft-agentic-retrieval]
Billing shapeRoughly uniform cost per queryVariable cost per token, driven by loop depth and reasoning effort[^msft-agentic-retrieval]
The architectural shift: retrieval as a step vs. retrieval as a decision the model makes inside a loop.

2. When it wins: the shape of the workload

The pattern pays where a single retrieval pass structurally cannot produce the answer. Microsoft's own framing of when to use agentic retrieval is a good field guide: questions "with multiple asks," questions that depend on earlier conversational context, and queries that benefit from rewriting and expansion[7]. The academic survey maps the same idea onto industries, examining applications in healthcare, finance, education, and enterprise document processing[1]. Across those, the winning workloads share a shape rather than a sector:

Multi-document synthesis

Answers assembled from several heterogeneous sources — contracts plus policies plus filings — where relevance must be judged per source and reconciled, not just concatenated.

Regulatory-change analysis

Tracking a rule change, then chasing its downstream impact through internal policy documents — an inherently multi-hop retrieval problem with a verification step at the end.

Financial and market research

Questions that mix document retrieval with structured lookups and computation, so the system must choose between a vector index, a database query, and a calculator per step.

Tiered support and troubleshooting

Diagnosis that narrows over turns: retrieve the runbook, check the config, retrieve again with what was learned — and escalate to a human when evidence runs out.

Research assistants

Evolving questions where intermediate findings should reshape the next retrieval — single-pass RAG retrieves against the question as first asked, not as refined.

Investigation workflows

Fraud or incident review that sequences retrievals across indicators and triggers follow-up queries to confirm or kill a hypothesis before concluding.

The common thread is that the value comes from decomposition and verification, not from the model being smarter. If your evaluation set contains questions whose correct answers require evidence that no single retrieval query would surface, agentic RAG is addressing a real gap. If your questions are answerable from one well-ranked passage, it is adding cost to a solved problem.

3. When it is overkill

The strongest argument for restraint comes from a vendor with every incentive to sell you agents. Anthropic's engineering guidance on building agentic systems is blunt: for many applications, "optimizing single LLM calls with retrieval and in-context examples is usually enough," and agentic systems "often trade latency and cost for better task performance" — a tradeoff you should consciously evaluate rather than default into[11].

We recommend finding the simplest solution possible, and only increasing complexity when needed.
Anthropic, "Building Effective Agents"[^anthropic-agents]

Concretely, agentic RAG is overkill for FAQ-style lookup, policy Q&A where the answer lives in one document, summarization of a known source, and any workload where p95 latency is a product requirement measured in a second or two. It is also the wrong first move when your standard RAG pipeline is underperforming for fixable reasons — bad chunking, a weak embedding model, no reranker, a stale index. An agentic loop layered on top of poor retrieval mostly produces expensive, confident retries against the same bad index. Fix the retrieval quality first; the loop amplifies whatever foundation it sits on.

The two-question screen

Before funding an agentic RAG build, ask: (1) Do our hardest real queries require evidence that no single retrieval query would surface? (2) Can we verify, per query, whether the extra calls changed the answer? A yes to the first justifies the pilot; a yes to the second makes the pilot measurable. Two nos means stay with standard RAG.

4. The boundary with general-purpose agents

Agentic RAG is a species of agent, so teams reasonably ask why they should not just deploy a general-purpose agent with a retrieval tool and be done. The distinction that matters is the action surface. Anthropic's taxonomy separates workflows — "LLMs and tools orchestrated through predefined code paths" — from agents that "dynamically direct their own processes and tool usage"[11]. Agentic RAG deliberately sits between the two: the model gets autonomy over retrieval decisions, but the tool surface is scoped to reading and reasoning over knowledge — search indexes, databases, document stores, maybe a calculator. It answers questions; it does not act on systems.

A general-purpose agent has an open action surface: it writes and executes code, files tickets, sends messages, changes state. That buys enormous flexibility and creates a correspondingly larger governance problem — every additional tool is an additional way for an autonomous system to do something you did not intend, which is why open-ended agents demand the sandboxing, guardrails, and extensive testing that Anthropic's guidance emphasizes[11]. For a knowledge-heavy, compliance-sensitive workload, scoping the agent to retrieval is not a limitation — it is the control. You get the reasoning-loop quality gains while keeping the blast radius of a search system, and the loop's retrieval trace doubles as an audit log of what evidence informed each answer.

Standard RAGAgentic RAGGeneral-purpose agent
AutonomyNone — fixed pipelineOver retrieval strategy onlyOver process and tool choice[^anthropic-agents]
Action surfaceRead-only, single indexRead-only, multiple knowledge toolsOpen: code, APIs, state changes
Governance burdenLowModerate — bounded, evidence-traceableHigh — sandboxing and guardrails required[^anthropic-agents]
Best fitSingle-hop lookup and summarizationMulti-hop questions over enterprise knowledgeOpen-ended tasks where steps cannot be predicted
Choose by action surface and governance burden, not by which pattern sounds most advanced.

5. Does it actually reduce hallucination?

The honest answer: the research evidence points in that direction, with real caveats. The baseline claim is old and solid — the original RAG paper showed retrieval-grounded models generate "more specific, diverse and factual language" than parametric-only baselines[4], and the major hallucination survey, which characterizes LLMs as "prone to hallucination, generating plausible yet nonfactual content," treats retrieval augmentation as a first-class mitigation while also examining "the current limitations faced by retrieval-augmented LLMs in combating hallucinations"[12]. Grounding helps; it does not close the problem.

The agentic layer adds measurable improvement on top of that baseline in the published benchmarks. ReAct reports that interleaving reasoning with retrieval actions "overcomes issues of hallucination and error propagation prevalent in chain-of-thought reasoning by interacting with a simple Wikipedia API"[6]. Self-RAG — which trains the model to retrieve on demand and critique its own generations — reports that its 7B and 13B models outperform ChatGPT and retrieval-augmented Llama2-chat on open-domain QA, reasoning, and fact-verification tasks, with "significant gains in improving factuality and citation accuracy for long-form generations"[9]. CRAG attacks the failure mode agentic loops exist for — bad retrievals — with a lightweight evaluator that scores retrieved documents and triggers corrective actions, including web-search fallback and a decompose-then-recompose step that filters irrelevant content; the authors report significant improvements across four short- and long-form generation datasets[10].

Three caveats keep this from being a closed case. First, these are benchmark results on public QA datasets, not enterprise deployments; your corpus, chunking, and question distribution will move the numbers. Second, the mechanisms that help — retrieval evaluation, self-critique, corrective re-retrieval — help precisely because retrieval sometimes fails, so their value depends on how often your baseline retrieval fails. Third, an agentic system that retrieves from a stale or thin corpus will produce well-reasoned, well-cited wrong answers; Google's own RAG documentation frames the win as the model being able to "reduce hallucinations," not eliminate them[8].

Procurement language to challenge

Treat any vendor claim of "eliminates hallucinations" as disqualifying on its face. The peer-reviewed record supports reduction, conditional on retrieval quality and corpus coverage — nothing stronger. In an RFI, ask vendors for their measured groundedness rate on a held-out set from YOUR corpus, and for what the system does when its retrieval-confidence signal is low: abstention behavior is where the hallucination story is actually won or lost.

6. The cost model: more calls, bigger contexts

Agentic RAG's cost structure has two multipliers, and they compound. The first is call count: planning, per-step reasoning, and synthesis each hit the model, so one user question becomes several LLM invocations. The second is context growth: because the API is stateless, each step re-sends the accumulated conversation — and under Anthropic's published pricing, tool definitions, tool-use blocks, and tool results all count as input tokens on every request that carries them[2]. Later calls in a loop are therefore the most expensive ones, because they carry everything retrieved so far.

Microsoft's billing design for agentic retrieval makes the structural shift explicit: the classic single-query pipeline bills a "uniform cost per query," while the agentic pipeline bills a "variable cost per token" that depends on reasoning effort, with the LLM's query-planning tokens billed separately on top[7]. That is the general lesson regardless of vendor: agentic RAG converts a predictable per-query cost into a variable per-token cost whose distribution has a long tail. Budget for the tail, not the median.

ModelInput $/MTokCached input $/MTokOutput $/MTok
Claude Opus 5$5.00[^anthropic-pricing]$0.50[^anthropic-pricing]$25.00[^anthropic-pricing]
Claude Sonnet 5$2.00[^anthropic-pricing]$0.20[^anthropic-pricing]$10.00[^anthropic-pricing]
Claude Haiku 4.5$1.00[^anthropic-pricing]$0.10[^anthropic-pricing]$5.00[^anthropic-pricing]
GPT-5.6-sol$5.00[^openai-pricing]$0.50[^openai-pricing]$30.00[^openai-pricing]
GPT-5$1.25[^openai-pricing]$0.125[^openai-pricing]$10.00[^openai-pricing]
GPT-5.6-luna$0.20[^openai-pricing]$0.02[^openai-pricing]$1.20[^openai-pricing]
Published per-million-token API prices, Anthropic and OpenAI, as of August 2026. Both vendors price cached input at a tenth of the base input rate and offer a 50% batch-processing discount.[^anthropic-pricing][^openai-pricing]

A deliberately simple illustration, using Claude Sonnet 5's published rates of $2 per million input tokens and $10 per million output tokens[2]: a standard RAG query that sends 4,000 input tokens and generates 400 costs about $0.012. An agentic run on the same question making six calls with growing context — say 45,000 cumulative input tokens and 2,500 output tokens — costs about $0.12. The assumptions are illustrative, but the shape is the point: roughly an order of magnitude per query, before caching. Whether that is expensive depends entirely on the alternative — ten cents against twenty minutes of an analyst's time is a rounding error; ten cents times millions of deflectable FAQ queries is a budget line.

The published pricing also tells you where the levers are. Prompt caching is the big one for loops, because the repeated prefix — system prompt, tool schemas, accumulated history — is exactly what caching discounts: on the Claude API a cache hit costs 10% of the standard input price, with cache writes at 1.25x (5-minute) or 2x (1-hour) the base rate[2], and OpenAI's pricing page shows the same shape — for example gpt-5.6-terra lists $2.00 per million input tokens against $0.20 for cached input[3]. Model tiering is the second lever — routing planning or extraction steps to a cheaper tier while reserving the flagship for synthesis, against price spreads of 5x or more within each vendor's lineup[2][3]. The third is loop discipline: caps on retrieval iterations, confidence thresholds for early exit, and — for the non-interactive share of the workload — the 50% batch discount both vendors publish[2][3].

Instrument before you scale

Track tokens per answered query — not per API call — as a first-class product metric from the pilot's first day, split by cached vs. uncached input. Agentic loops fail economically in the tail: a small fraction of queries that spiral to the iteration cap can dominate spend. Per-query token telemetry is how you find them while they are still cheap.

7. What scaled deployment looks like

A useful composite, anonymized and illustrative rather than an audited case: a Fortune 500 enterprise rolled agentic RAG out as an internal knowledge assistant to tens of thousands of employees across business units. The architectural decisions that mattered were unglamorous. Retrieval and generation were deliberately decoupled, so the index, the embedding scheme, and the model tier could each be swapped and cost-tuned independently. The document-level access controls of the source systems were enforced inside the retrieval layer itself — the agent can only reason over what the requesting user is entitled to see, which is the difference between an assistant and a data-leak amplifier. And the retrieval trace of every answer was logged, giving compliance an evidence chain for free.

The operational lesson was that launch is the midpoint, not the finish. Per-query token telemetry surfaced runaway loop patterns early; iteration caps and model tiering brought the tail under control; and a standing feedback loop between user ratings and retrieval tuning did more for answer quality over time than any single model upgrade. None of that is specific to one company — it is the operating model the pattern demands, and it should be costed into the business case alongside the API bill.

8. Honest objections

The case against deserves a fair hearing, because each objection is sometimes right. The complexity tax is real: an agentic loop is a stateful distributed system with more failure modes than a pipeline, and the field's own survey lists evaluation, coordination, memory management, efficiency, and governance as open research challenges — meaning the tooling for operating these systems is still maturing under you[1]. The latency cost is admitted even by the vendors selling the pattern[7]. The benchmark-to-production gap cuts both ways — the Self-RAG and CRAG gains were measured on public datasets, and nothing guarantees your corpus reproduces them[9][10]. And the strongest objection of all: most underwhelming RAG deployments are underwhelming because of retrieval quality and corpus hygiene, which an agentic loop works around at per-query expense rather than fixing.

The rebuttal is narrower than advocates admit but still decisive where it applies: for genuinely multi-hop, multi-source questions, no amount of chunking hygiene makes a single retrieval pass sufficient, because the second query depends on the first answer. For that class of work the loop is not an optimization — it is the only architecture that matches the shape of the problem. The discipline is refusing to apply it anywhere else.

9. The read

Treat agentic RAG as a workload-level decision, not a platform-level one. The defensible stack posture for a large enterprise is a portfolio: standard RAG as the default for single-hop knowledge access, agentic RAG deployed selectively on the query classes where decomposition and verification demonstrably change answers, and general-purpose agents reserved for open-ended tasks that justify their governance burden. Because Azure, AWS, and Google are all shipping the loop as a configuration of their retrieval platforms rather than a separate product[7][8], the practical build-vs-buy question is usually which parts of the loop you own — and the answer that preserves your leverage is to own the evaluation set, the corpus quality, and the cost telemetry, while treating the orchestration layer itself as swappable.

How to apply this

  • Classify your real query log: what share of questions genuinely requires multi-hop or multi-source evidence? That share — not the technology's promise — sizes the agentic RAG opportunity.
  • Fix standard RAG first: chunking, embeddings, reranking, index freshness. An agentic loop on top of weak retrieval buys expensive retries, not better answers.
  • Pilot on one high-value query class with a held-out evaluation set from your own corpus, and measure whether the loop changes answers — not just whether it runs.
  • Demand groundedness and abstention metrics from vendors, on your data; reject any claim that hallucinations are "eliminated."
  • Scope the tool surface to read-only knowledge tools; escalate to a general-purpose agent only when the task requires acting on systems, and price in the added governance.
  • Engineer for cost from day one: prompt caching on the stable prefix, model tiering for planning steps, iteration caps, and batch processing for non-interactive workloads.
  • Track tokens per answered query as a product KPI, and review the tail — the most expensive 5% of queries — weekly during the pilot.
  • Log retrieval traces per answer and enforce source-system entitlements inside the retrieval layer; both are prerequisites for compliance sign-off, not afterthoughts.

Sources

Every quantitative or attributed claim above is linked to a primary source. Last verified at publication.

  1. [1]
    Agentic Retrieval-Augmented Generation: A Survey on Agentic RAG
    arXiv (Singh et al.) · · accessed
  2. [2]
    Pricing — Claude API documentation
    Anthropic · accessed
  3. [3]
    API Pricing — OpenAI developer documentation
    OpenAI · accessed
  4. [4]
    Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
    arXiv (Lewis et al.) · · accessed
  5. [5]
    Retrieval-Augmented Generation for Large Language Models: A Survey
    arXiv (Gao et al.) · · accessed
  6. [6]
    ReAct: Synergizing Reasoning and Acting in Language Models
    arXiv (Yao et al.) · · accessed
  7. [7]
    Agentic retrieval in Azure AI Search — overview
    Microsoft Learn · · accessed
  8. [8]
    Vertex AI RAG Engine overview
    Google Cloud · accessed
  9. [9]
    Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
    arXiv (Asai et al.) · · accessed
  10. [10]
    Corrective Retrieval Augmented Generation
    arXiv (Yan et al.) · · accessed
  11. [11]
    Building Effective Agents
    Anthropic · accessed
  12. [12]
Steps9