Skip to content

What is Agentic RAG?

Agentic RAG uses an AI agent to decide how to retrieve information and, if needed, search again based on the results before answering with cited sources.

Agentic RAG is a way to retrieve information for a language model in which an AI agent can choose search steps and adapt them to the results. RAG, or retrieval-augmented generation, supplies the model with external documents to use in its answer. In a basic pipeline, retrieval always follows the same path; with an agent, it can take several steps, such as finding a contract, reading the results, and running a follow-up search. The agent is a program that uses a model to choose actions within assigned limits, not a person who guarantees the answer is correct. The agent can stop without enough evidence, pick the wrong source, or misread it. The potential benefit is handling questions that need information spread across sources, without forcing every request down the same path. The outcome still depends on the available sources, permissions, and the checks built into the system.

See also: RAGRAG combines search and generation: it retrieves external sources relevant to a question and passes them to a language model, which draws on them to answer.

How the search path changes

In the ReAct paper, reasoning steps and actions alternate: a search result can guide the next step. So an agent can rephrase a question or consult another source, if its tools allow. Not every system needs to do all of this. The survey of Agentic RAG architectures distinguishes different structures and degrees of autonomy.

Adaptive-RAG is a specific method that the survey classifies as one form of Agentic RAG. A classifier sorts each question by its estimated complexity, and the system picks one of three strategies: no retrieval, a single search, or iterative retrieval. The original study evaluated it on public open-domain question-answering benchmarks. If the estimate is wrong, a complex question can get too shallow a search. Corrective RAG, by contrast, checks the retrieved documents.

An enterprise example

Suppose a company wants to help procurement check a product specification against a supplier's obligations. The assistant looks for the supplier's contract among the contracts the user can access, reads the relevant clause, extracts the product code, and only then searches a second repository for the current specification. Fixed-path RAG would search using only the question's wording, which does not include that code. If a document is missing, the assistant flags the gap instead of presenting a definitive conclusion. A staff member then reviews its steps and sources, checking document versions and the interpretation before deciding.

Why it matters for decision makers

Before buying or building the solution, compare it with fixed-path RAG on the same business questions, including those the sources cannot answer. Track correct and verifiable answers, fabricated answers to the unanswerable questions, time and cost per request, and the number of searches. Cap the number of steps and define explicit behavior when evidence runs short. In Self-RAG, the model learns to decide when to retrieve and to assess passages and its own answers. The reported gains in factuality and citation accuracy were measured on public benchmarks, not on a company's documents. Require access controls and source logging, plus human review when an answer affects obligations or consequential decisions. For routine, similar questions, the comparison may show that a fixed path is enough.

Frequently asked questions

Traditional RAG follows a fixed path, the same steps for every question; Agentic RAG can choose its searches and adapt them to the results.

No. Adaptive-RAG is a specific method that the Agentic RAG survey classifies as one form of Agentic RAG: it picks a retrieval strategy based on the question's estimated complexity.
  • RAGRAG combines search and generation: it retrieves external sources relevant to a question and passes them to a language model, which draws on them to answer.
  • AI Agents (Agentic AI)An AI agent is a system that uses a model and external tools to select and perform actions toward a goal, within established boundaries and permissions.
  • Corrective RAGCorrective RAG is a RAG variant that scores the relevance of retrieved documents and, if they fall short, discards them and searches elsewhere before answering.
  • GuardrailsGuardrails are controls that limit an AI system's content and actions, combining filters, permissions, and human review in proportion to the risk of each use.

See it in the universe

If you need the AI in production, not in a demo, that is my job.

See AI integrations

Or write to me.