Retrieval & RAGadvanced12 min · 9 steps
Agentic RAG
Turn the fixed retrieve-then-generate pipeline into a loop that decides what to search next and when it has enough — with a budget.
latency1s
searches1
requesterrortool calldatasignalresponse
metrics are illustrativeProblemStep 1 of 9
A single retrieval can't follow a chain of facts
“In which city is the company that acquired GitHub headquartered?” A linear pipeline embeds that question and retrieves once. It finds the acquisition article — which never mentions the headquarters.
The second fact can only be searched for after the first one is known. A predetermined pipeline has no step for that.
Lesson 8 of 37 in Retrieval & RAG