Agentic RAG with create_agent
Notebook· 06.07· 150–180 min· Lesson 52 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Turn retrieval into a tool that returns text for the model and the documents for your code (
content_and_artifact). - Build an agentic RAG assistant with
create_agent+ToolStrategy(CitedAnswer), and verify its citations. - Route across two knowledge bases: let the agent choose a tool, or use an explicit router step.
- Compare agentic and 2-step RAG on calls, tokens and behaviour.
Before you start
Lessons 06.06, 02.03–02.05 (agents, ToolStrategy).
