Tool Search
Dynamically routes relevant tools for Large Language Models (LLMs) interacting with extensive catalogs, reducing context window usage and significantly improving routing accuracy.
Tool Search is an open-source, LLM-agnostic implementation of the 'Tool Search' architectural pattern, designed to enhance how LLMs interact with large tool catalogs. Instead of loading all tool definitions upfront, which can lead to context collapse, high costs, and reduced accuracy, this system defers tool loading. It initially provides the LLM with a lightweight catalog summary, then dynamically fetches and presents only the most relevant tool definitions when needed. This approach drastically cuts context window token usage by up to 82%, boosts routing accuracy to 96% (top-1), and accelerates Time To First Token (TTFT) by over 2x, making LLMs more efficient and cost-effective in complex environments.