ToolSmith: An Automatic Tool Generation Framework for Multimodal Search Agents

ToolSmith lets multimodal search agents auto-generate and reuse tools, consistently beating hand-crafted tool libraries.
ToolSmith is an automatic tool generation framework for multimodal search agents that addresses the high cost and rigidity of hand-designed tool libraries. On a streamlined base tool library, agents dynamically generate and reuse tools. Evaluated on three in-domain and ten out-of-domain benchmarks via VLM-as-a-Judge, ToolSmith consistently outperforms the base library, with larger backbones yielding greater gains—demonstrating scalability. Code and data are public.
ToolSmith: An Automatic Tool Generation Framework for Multimodal Search Agents
When handling complex queries, multimodal search agents typically rely on a set of hand-designed search and vision tools. However, building and maintaining these tool libraries is costly, and they become rigid when facing new query types, evidence formats, or failure modes. To address this problem, researchers propose ToolSmith—an automatic tool generation framework that enables agents to create new tools from familiar components and reuse them across tasks, much like humans do.

Limitations of Hand-Crafted Tool Libraries and the Introduction of ToolSmith
Current multimodal search agents answer questions beyond parametric knowledge through multi-turn interactions involving reasoning, vision, and real-time web search. They orchestrate a small hand-crafted tool library for search and visual processing. But as the original text notes, this tool library is "laborious to create and maintain, and frozen when encountering new query types, evidence formats, and failure modes." In contrast, human practitioners facing insufficient tools will craft new ones from familiar parts and reuse them across tasks. ToolSmith is inspired by this and automatically grows and reuses modules on top of a streamlined base tool library.
Multimodal search agents are agent systems that can combine textual reasoning, image understanding, and real-time web retrieval to complete complex information queries. Unlike large language models that rely solely on parametric knowledge, these agents actively invoke external tools during reasoning—such as web search, image cropping, OCR, and visual question answering—to acquire and verify evidence. Their typical workflow is multi-turn interaction: the agent first decomposes the query, then selects tools to execute actions, observes the returned results, and adjusts its next strategy accordingly. The quality and coverage of the tool library directly determine whether the agent can handle diverse queries, which is the key bottleneck that ToolSmith attempts to break through via automatic tool generation.
Framework Design and Evaluation Methodology
The core of ToolSmith is to automatically generate new tools and reuse them on top of a lean base tool library. It does not rely on manually predefining all tools; instead, it allows the system to dynamically expand the toolset based on task requirements. For evaluation, researchers tested on three in-domain multimodal search benchmarks and ten out-of-domain benchmarks using the VLM-as-a-Judge protocol. This evaluation method uses a vision-language model as a judge to score the quality of the agent's answers, thereby comprehensively measuring the impact of tool generation.
VLM-as-a-Judge is an evaluation protocol that uses a Vision-Language Model (VLM) as an automatic judge. In multimodal agent tasks, traditional evaluation relies on human annotation or exact matching, which is costly and difficult to cover open-ended answers. VLM-as-a-Judge works as follows: the agent's answer, a reference answer (or scoring rubric), and possibly image evidence are fed together into a capable VLM, which then gives a quality score or preference judgment based on semantic consistency, factual accuracy, and degree of evidence support. The advantages of this method are scalability, reproducibility, and the ability to handle free-text answers; its limitations are that judgments may be influenced by the VLM's own biases, prompt design, and model version, so calibration with human evaluation is usually required.
Experimental Results and Scalability
Experimental results show that ToolSmith consistently outperforms the base tool library across deployed agents of different scales. The original text emphasizes: "Larger backbones gain larger benefits, demonstrating the scalability of the method." This means that as model scale increases, the performance gains from automatic tool generation become more pronounced, offering potential for larger-scale multimodal search agents in the future. Code and data are publicly available at https://threesr.github.io/toolsmith/.
In-domain vs. out-of-domain benchmarks are distinguished to measure generalization ability. In-domain benchmarks refer to test sets that match the task types and data distributions targeted during agent training or tool design; out-of-domain benchmarks come from different task domains, query styles, or evidence formats that the agent has not seen before. Out-of-domain evaluation better reflects the system's adaptability to new scenarios—if automatically generated tools can transfer to out-of-domain tasks and bring gains, it indicates that the tool generation mechanism has captured reusable general capabilities rather than merely overfitting to specific benchmarks. ToolSmith's performance on three in-domain and ten out-of-domain benchmarks is key evidence of its generalization value.
Significance and Outlook
ToolSmith addresses the pain point of rigid tool libraries for multimodal search agents by automatically generating and reusing tools, enabling agents to adapt to dynamic environments. Its scalability suggests that the method could be applied to a broader range of agent systems. Although the original text does not discuss the specific mechanisms of tool generation and failure cases in detail, this direction offers new ideas for automated tool construction and is worth further exploration.
One-line Summary
ToolSmith enables multimodal search agents to automatically generate and reuse tools, consistently outperforming hand-crafted tool libraries on in-domain and out-of-domain benchmarks.
Paragraph Summary
ToolSmith is an automatic tool generation framework for multimodal search agents, designed to address the high cost of creating and maintaining hand-designed tool libraries and their rigidity when facing new query types and failure modes. On top of a streamlined base tool library, the framework allows agents to dynamically generate new tools based on task requirements and reuse them across tasks. Researchers evaluated it on three in-domain multimodal search benchmarks and ten out-of-domain benchmarks using the VLM-as-a-Judge protocol, finding that ToolSmith consistently outperforms the base tool library across deployed agents of different scales, with larger backbones gaining larger performance benefits, demonstrating good scalability. Code and data are publicly available.
Related articles

Anthropic's New Breakthrough and PQC Migration: AI Accelerates Verification, Quantum Computing Power Remains the Key Variable
Starting from Anthropic's new breakthrough, this article analyzes AI's role in accelerating verification of post-quantum cryptographic attacks, outlines the performance advantages of the lattice-based PQC route, China's triple hardening path, and the pace of industrial migration, revealing commercial cryptography firms' moats and the shortening iteration cycle trend.

Did Anthropic's Research Actually Break Encryption? PQC and Quantum Key Fusion Emerges as the Trend
Anthropic's new research did not actually break current cryptography but uses AI to accelerate quantum attack algorithm verification. This article analyzes PQC lattice cryptography performance advantages, the divergent triple-hardening paths between China and the U.S., and the industry pilots and standards implementation pace under PQC and quantum key fusion.

AI Agent Interview Essentials: The Fundamental Difference Between Workflow and ReAct
AI Agent interview deep dive: the fundamental difference between Workflow and ReAct, explained through state management, determinism, fault tolerance, and observability—plus why order payment and other production scenarios need Workflow and how to combine both.