Skip to content
AgenticAIWiki

← Chapter 24. Agentic RAG

An agent that decides when to search

questionUserAgentdecides next stepsearch_docsreturns 5 passagesKnowledge baseAnswerwith citationstextQuestion:Who manages the team thatowns the billing service?Notes:(none yet)

Swipe to change step

Step 1 of 8. Naive RAG retrieves once, for every question. In agentic RAG, search is a tool. The model decides whether to search, what query to use, and whether to search again. User. Agent (decides next step). search_docs (returns 5 passages), highlighted. Knowledge base. Answer (with citations). arrow from User to Agent, labelled question.

Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.