Skip to content
AgenticAIWiki

An agent that decides when to search

Full screen
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.

In this chapter

  1. 24.1Retrieval as a tool4 min read
  2. 24.2Multi-hop questions4 min read
  3. 24.3RAG vs long context vs fine-tuning5 min read

Chapter check

Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.

Loading check…