Skip to content
Research · Oct 17, 2026

Apple study finds Plan-then-Retrieve outperforms Retrieve-then-Plan for multi-tool agent queries

A 47k-API evaluation shows a complexity-dependent crossover: RtP leads on single-tool tasks, while PtR wins on multi-tool tasks, with a stub-hallucination failure mode and doubled inference cost for PtR.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • Apple’s ML Research proposes Plan-then-Retrieve (PtR), an alternative to the dominant Retrieve-then-Plan (RtP) paradigm for tool-augmented LLM agents.
  • Evaluated on ToolBench with 46,984 unique API endpoints across single-tool, intra-category multi-tool, and cross-category multi-tool subsets.
  • PtR outperforms RtP on multi-tool queries; RtP outperforms PtR on single-tool queries, with the crossover robust across retrieval budgets and registry sizes.
  • PtR’s Abstract Tool Stubs can hallucinate plausible but non-existent API names, and increase inference cost roughly twofold.
  • Authors propose complexity-adaptive routing using RtP’s top-1 retrieval score as a zero-cost signal.

Apple’s Machine Learning Research group introduced Plan-then-Retrieve (PtR), an alternative to the prevailing Retrieve-then-Plan (RtP) paradigm for tool-augmented LLM agents. In RtP, the model receives the user query and retrieves relevant tools via approximate nearest-neighbor search, whereas PtR first asks the model to generate Abstract Tool Stubs—hypothesized function signatures that describe the needed capabilities—and then uses those stubs as retrieval queries against the tool registry.

The team evaluated both paradigms on ToolBench, which contains 46,984 unique API endpoints across 50 categories, using three progressively harder query subsets: single-tool (G1), intra-category multi-tool (G2), and cross-category multi-tool (G3). They observed a complexity-dependent crossover: RtP outperforms PtR on single-tool queries, while PtR outperforms RtP on multi-tool queries. This pattern held across every retrieval budget tested (k = 1 to 20) and across registry sizes ranging from 1,000 to 47,000 APIs, and was consistent across two model families (Gemini 2.5 Flash and gpt-oss-120b).

The authors characterize a stub-hallucination failure mode in PtR, where the model invents plausible but non-existent API names. On simple queries, these hallucinations can remove proper-noun signals that RtP matches directly, hurting performance; on complex queries, the same mechanism helps decompose multi-faceted intent into functional sub-needs, improving performance.

They further analyze token overhead and show that PtR’s extra discovery call roughly doubles inference cost compared to RtP. This additional cost pays off on multi-tool queries but harms efficiency on single-tool ones, leading the authors to propose complexity-adaptive routing as a practical direction. They suggest using RtP’s top-1 retrieval score as a zero-cost signal to drive routing decisions.

Sources
  1. 01Apple — Machine Learning Research — Plan or Retrieve First? A Scale Study of Tool Discovery Architectures
Also on Research

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.