Start studying
Module 9 · RAG Module contents
Module 9  ·  Card 17 / 19advanced

Agentic RAG

Agentic RAG lets the model control the retrieval process itself.

It decides whether to search at all, and what to search for.

It can run several searches, read the results and search again.

It can judge whether what it found is sufficient before answering.

It handles complex multi-part questions far better, at higher cost and latency.

Learn in depth ↓
Module 09 · RAG · 19 concepts
In depth  /  15 lines

Agentic RAG, in more detail

Agentic RAG hands control of the retrieval process to the model itself.

Plain RAG always retrieves once and always with the user's question.

An agent decides whether to search at all, since some questions need no documents.

It chooses what to search for, which may be nothing like the original phrasing.

It can read the results and decide they are insufficient.

It can then search again with a better query, or search a different source.

It can break a multi-part question into parts and handle each separately.

It can compare what it found against the question before committing to an answer.

That self-correction is the real gain, since plain RAG cannot recover from a bad retrieval.

Corrective RAG formalises it by grading retrieved documents and re-searching when they score badly.

Self-RAG adds tokens that let the model decide when retrieval is needed.

The cost is several model calls per question instead of one.

Latency goes from a second or two to five or ten.

It needs a hard cap on iterations, or a confused agent will search indefinitely.

Use it for genuinely complex questions and keep plain RAG for the simple majority.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
What distinguishes agentic RAG from standard RAG?
RAG

19 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close