Skip to content
mentoor

Agentic retrieval

For engineers

Letting an agent decide what to search, read results, judge them and search again across indexes, files and the web

See where you stand

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?

Choose one answer

Check yourself · 2 of 5

In retrieval design, what is a hop?

Choose one answer

Check yourself · 3 of 5

Why does the token cost of an agent run grow faster than the number of steps?

Choose one answer

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?

Choose one answer

Check yourself · 5 of 5

Why might an agent prefer grep to a vector index when asked where the constant MAX_RETRY is used?

Choose one answer

Topics

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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

110 questions · last verified 2026-12