Agentic retrieval
For engineers
Letting an agent decide what to search, read results, judge them and search again across indexes, files and the web
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
What is the main difference between single-pass RAG and agentic retrieval?
Check yourself · 2 of 5
In retrieval design, what is a hop?
Check yourself · 3 of 5
Why does the token cost of an agent run grow faster than the number of steps?
Check yourself · 4 of 5
An agent runs the same search query three times in a row and gets the same hits each time. Which failure is this?
Check yourself · 5 of 5
Why might an agent prefer grep to a vector index when asked where the constant MAX_RETRY is used?
Topics
- The search, read and search again loop4 min read · Retrieval as a tool the agent calls repeatedly, reading results, refining queries and stopping when evidence is enough
- When agentic retrieval beats a single pass4 min read · Multi-hop, open-ended and research questions versus simple lookups where one retrieval is faster, cheaper and just as accurate
- Latency and token cost of agent searches5 min read · Counting calls, tokens and seconds per answer, setting budgets on steps and results, and parallel sub-agents for breadth
- Search loops, drift and premature stopping4 min read · Repeated identical queries, wandering off the question, trusting the first weak hit and context filling with raw results
- Agentic search with grep and file tools5 min read · Coding agents that search codebases with grep, glob and file reads instead of a vector index, and when that beats embeddings
Start here
- How we built our multi-agent research system (Anthropic) (opens in a new tab)ArticleFree
How a lead agent plans, fans out parallel search sub-agents and merges results, with the costs and failure modes the team met.
- ReAct: Synergizing Reasoning and Acting in Language Models (opens in a new tab)PaperFree
The original reason-act-observe loop that every search-and-read agent is built on.
- Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection (opens in a new tab)PaperFree
Shows a model deciding when to retrieve and critiquing what it retrieved, the judge step in the loop.
Helps to know first
110 questions · last verified 2026-12