Apple ML study compares Retrieve-then-Plan vs Plan-then-Retrieve for LLM agent tool discovery
Apple ML Research · rss · 2026-10-15
Apple ML Research published a scale study of tool discovery architectures for tool-augmented LLM agents. The dominant Retrieve-then-Plan (RtP) paradigm embeds the user query and retrieves similar tools via approximate nearest-neighbor search from large API registries, since finite context windows can't fit all tool definitions.
The study evaluates an alternative Plan-then-Retrieve (PtR) paradigm: the LLM first generates Abstract Tool Stubs — hypothesized function signatures describing the capabilities it needs — which then serve as retrieval queries against the tool registry.
The paper benchmarks both architectures across scales, offering empirical guidance for engineering tool-use in agents.
More from coding & agent
- NVIDIA's GTC talk breaks down coding agent anatomy and where security fits in — nvidia · 2026-12-02
- Dev ports GTA 6 to Apple Metal on M1 Pro with Gemini's help, hits 10 FPS — oyacaro · 2026-12-02
- Why a single passing agent test is mathematically meaningless — abenko83 · 2026-12-02
- Wayfindr: open-source local MCP gateway with built-in credential governance — whatisbread_ · 2026-12-02
- auto-optimize speeds up GPN-Star variant-effect scoring by 1.87x-3.80x in open PR — jmschreiber91 · 2026-12-02
- Custom DeepLIFT/SHAP fast path boosts Cherimoya attribution from ~17s to ~1s per example — jmschreiber91 · 2026-12-02