An agent that decides when to search
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.