ToolSmith enables automatic tool creation for multimodal search agents

ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents

Computation and LanguageArtificial IntelligenceComputer Vision and Pattern Recognition

Summary

Multimodal search agents use various tools to answer questions involving images, text, and live web information, but creating these tools by hand is slow and limited. The authors introduce ToolSmith, a framework that automatically builds and reuses new tools from a small set of basic ones, allowing the search agents to handle more types of queries and evidence. They tested ToolSmith on many tasks and found it improves performance, especially with larger AI models. This helps make search agents more adaptable and scalable without manual tool crafting.

What this means in practice

  • For software developers: Automatically generate and maintain new search and analysis tools for AI agents without manual coding, enabling them to handle diverse multimodal queries.
  • For digital content platforms: Improve user search experiences by deploying AI agents that adapt their toolsets to fresh query types and evidence formats automatically.$Commercial implications: Makes possible adaptive AI search services that evolve with user demands without manual tool updates, enabling ongoing improvements.

Authors

Rui Sun, Junhua Huang, Luca Zancato, Md Mofijul Islam, Kai-Wei Chang

Abstract

Recent multimodal search agents use reasoning, vision, and live web search across many turns to answer questions beyond parametric knowledge by orchestrating a small library of hand-crafted search and visual tools. However, the library is laborious to create and maintain, and frozen when new query types, evidence formats, and failure modes are encountered in the wild. Human practitioners, by contrast, cope with insufficient tools by fashioning new ones from familiar parts and reusing them across tasks. Inspired by this, we propose ToolSmith, an automatic tool-generation framework that grows and reuses modules on top of a lean base tool library. We evaluate ToolSmith on three in-domain multimodal search benchmarks and ten out-of-domain benchmarks under a VLM-as-a-Judge protocol. ToolSmith consistently improves over the base library across deployed agents of varying scales, with larger backbones reaping greater gains, demonstrating the scalability of the approach. Our code and data are available at https://threesr.github.io/toolsmith/.