---
title: "Agentic RAG"
description: "Agentic RAG is a form of Retrieval-Augmented Generation (RAG) in which an AI agent dynamically controls retrieval. The agent can decide when to search, select a data source, reformulate queries, inspect results, identify missing evidence, and repeat the process before answering."
canonical_url: "https://promptmetheus.com/resources/llm-knowledge-base/agentic-rag"
---

> Index of every page on this site: [llms.txt](https://promptmetheus.com/llms.txt)

Agentic RAG is a form of [Retrieval-Augmented Generation (RAG)](https://promptmetheus.com/resources/llm-knowledge-base/retrieval-augmented-generation-rag) in which an [AI agent](https://promptmetheus.com/resources/llm-knowledge-base/ai-agent) dynamically controls retrieval. The agent can decide when to search, select a data source, reformulate queries, inspect results, identify missing evidence, and repeat the process before answering.

Conventional RAG often follows a fixed pipeline: transform the user's request into one search query, retrieve a predetermined number of documents, and insert them into a prompt. Agentic RAG replaces some of those fixed decisions with an iterative policy.

A typical workflow may include:

- decomposing a complex request into several information needs;
- routing each need to keyword, vector, graph, web, or database search;
- applying metadata filters and [hybrid search](https://promptmetheus.com/resources/llm-knowledge-base/hybrid-search);
- using [reranking](https://promptmetheus.com/resources/llm-knowledge-base/reranking) to prioritize evidence;
- checking whether retrieved sources support the emerging answer; and
- issuing follow-up searches when evidence is incomplete or contradictory.

This approach can improve multi-hop questions and research tasks, but it adds latency, cost, and nondeterminism. An agent may search excessively, choose an inappropriate source, or converge on evidence that confirms an early assumption.

Agentic retrieval should use explicit stopping conditions, query and tool budgets, source permissions, and provenance tracking. Retrieved content must be treated as untrusted because it can include inaccurate data or [prompt injection attacks](https://promptmetheus.com/resources/llm-knowledge-base/prompt-injection-attack).

Evaluation should measure retrieval recall, source quality, citation support, answer correctness, and efficiency across the complete trajectory. Inspecting only the final answer can hide wasteful or unsafe retrieval behavior.

The [Self-RAG paper](https://arxiv.org/abs/2310.11511) is an influential example of a model learning to retrieve selectively and critique its own use of evidence.

## Sitemap

See the full [sitemap](https://promptmetheus.com/sitemap.md) for all pages.
