ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents
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/.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.CV
Related papers
CocoonBench: Can Multilingual Search Agents Escape Language Information Cocoons?
Shared title terminologycs.CLHongchuan Zeng, Bowen Liu, Changjiang Gao et al.
Retrieval-Augmented Generation in the Agentic Era: Tradition, Present, and Prospect
Shared title terminologycs.CLChenming Tang, Haolin Li, Yiran Li et al.
Automatic Construction of Persian E-Commerce Dialogue Datasets for Conversational Product Search
Shared title terminologycs.CLFariba Nafar, Hassan Naderi
HyperHarness: Learning to Generate Personalized Agent Harnesses from User Histories
Shared title terminologycs.CLZhaoxuan Tan, Jiachen Zhao, Jingbo Yang et al.
From Reward Engineering to Data-Centric Reinforcement Learning for Effective Agentic Visual Tool Use
Shared title terminologycs.CLJin Cui, Xinyue Long, Jiepeng Zhou et al.
fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration
Shared title terminologycs.CLAnkit Chadha, Pratyay Banerjee