Agentic RAG
Let an agent plan retrieval: choose sources, rewrite and decompose queries, grade evidence and retry until it can answer or must abstain.
4 objectives 6 steps about 115 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Expose retrieval as tools (vector search, keyword search, web search, SQL or API lookups) and let the agent route each query to the right source.
- Implement query decomposition and rewriting for multi-hop questions.
- Grade retrieved evidence for relevance and sufficiency, then re-retrieve, search elsewhere or abstain within a bounded number of attempts.
- Compare agentic RAG with a single-pass pipeline on answer quality, latency and cost, and choose per query type.
Lesson plan
6 steps, about 115 min · 5 of 5 lessons available so far
- When Single-Pass RAG Is Not Enough Concept · 15 min
- Retrieval Tools: Index, SQL and Web Search Worked example · 20 min
- Lab: Decomposing Multi-Hop Questions Lab · 25 min
- Grading Evidence and Retrying Lab · 25 min
- Single-Pass Versus Agentic: A Measured Comparison Worked example · 20 min
- Check: Design an Agentic Retriever Knowledge check · 8 questions
Practise it
Build an agent that answers questions over a documentation index and a small SQL database, with a relevance-grading step and at most two retrieval retries; compare it with a single-pass RAG pipeline on 20 questions, 5 of them multi-hop, reporting accuracy, latency and cost.
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.