Skip to content
mentoor

Topic 2 of 5 · 4 min read

When agentic retrieval beats a single pass

Goal: Classify a set of questions as single-pass or agentic and justify each with the number of hops it needs.

Use agentic retrieval when a question needs more than one hop or an open-ended search, and use a single retrieval pass when one lookup reliably holds the answer.

Check yourself · 1 of 3

In retrieval design, what is a hop?

Choose one answer

Why it matters

An agent loop costs more calls, more tokens and more seconds than one retrieval. It is worth that price only when the extra steps change the answer. Many questions in a support bot or an internal wiki are simple lookups, and a single pass answers them faster and just as correctly.

Count the hops

A hop is one retrieval whose result you need before you can ask the next one. Count them before you pick the design.

  • Zero or one hop. "What is our password reset policy?" One query returns the page. Single pass.
  • Two or more dependent hops. "Who manages the team that owns the billing service?" First find the owner team, then find that team's manager. The second query cannot be written until the first result is read. Agentic.
  • Open-ended breadth. "What changed in the EU rules for data transfers this year, and which of our contracts mention them?" The agent does not know how many sources there are. It has to explore, compare and decide when it has enough. Agentic, often with several searches in parallel.
  • Unclear question. If the first query is likely to miss because the user's wording does not match the documents, a loop that reformulates helps. A single pass with query rewriting may be enough; test both.

Before and after

Weak: routing every question through an agent. A user asks "What are the opening hours?" and waits for five tool calls and a planning step to get one sentence that sat in the first result.

Better: classify first.

Question                                   Hops  Design
Opening hours of the Berlin office         1     single pass
Which plan includes SSO, and its price?    2     agentic (plan, then price page)
Summarise all incidents tagged "payments"  n     agentic, parallel searches

A cheap router, a rule or a small model call, sends each question down the right path.

What goes wrong

  • Agent for everything. Latency and cost rise on questions that never needed the loop.
  • Single pass for multi-hop questions. The first query retrieves the wrong team's page and the model answers from it with confidence.
  • No measurement. Teams pick a design by feel. Run both on a set of real questions and compare answer quality, calls and time.
  • Assuming more steps means better answers. Extra steps help only when each one adds evidence the earlier ones lacked.

Examples

A two-hop question

"Who approves travel above 2,000 EUR for the Lisbon office?" Hop 1 finds that travel above the limit goes to the regional director. Hop 2 finds who the regional director for Southern Europe is. The second query depends on the first result, so a single pass tends to return the policy page and no name.

A question that looks hard but is not

"Summarise the onboarding guide." It sounds like research, but the guide is one document. One retrieval fetches it and the model summarises it. No loop is needed.

Key points

  • A hop is a retrieval whose result you must read before you can write the next query.
  • Questions with two or more dependent hops, or open-ended breadth, justify an agent loop.
  • Simple lookups are faster, cheaper and equally accurate in a single pass.
  • A router that classifies the question first avoids paying agent cost on easy questions.
  • Choose by measuring both designs on real questions: answer quality, tool calls and seconds.

Common mistakes

  • Routing every question through the agent, including one-line lookups.
  • Using a single pass for a question whose second query depends on the first result.
  • Choosing the design by taste instead of running both on a sample of real questions.
  • Counting documents instead of dependent steps when deciding if a question is multi-hop.

Check yourself · 2 of 3

A user asks "What is the notice period in our standard contract?" and the contract is one indexed document. Which design fits best?

Choose one answer

Check yourself · 3 of 3

Which question most clearly needs agentic retrieval?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic