> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Module 5: RAG and agentic RAG

> Ground agents in your data with retrieval, and let them drive retrieval agentically.

## RAG and agentic RAG

[Module 5: RAG and agentic RAG](https://www.youtube.com/embed/IOv0-LbqOCk)

Use retrieval-augmented generation to ground agents in your data, and let them drive retrieval agentically.

## Labs

### Lab 5: RAG for agents

[Lab 5: RAG for agents](https://www.youtube.com/embed/3ueLnUQo8zk)

Build a retrieval pipeline for an agent and give it agentic control over what to retrieve.

## Up next

> [card] [Module 6: Agent evaluation](/docs/ax/learn/courses/ai-agent-mastery/module-6-agent-evaluation.md)
>
> Measure agent quality with code-based and LLM-as-a-judge evaluations.
