GATE: Graph-based Adaptive Tool Evolution Across Diverse Tasks
Jianwen Luo, Yiming Huang, Jinxiang Meng, Fangyu Lei, Shizhu He, Xiao Liu, Shanshan Jiang, Bin Dong, Jun Zhao, Kang Liu
TL;DR
GATE introduces a graph-based, adaptive framework for evolving a reusable tool library across diverse tasks in LLM-enabled environments. By coordinating two agents—the Task Solver and Tool Manager—and employing GraphRank retrieval on a hierarchical Tool Graph, GATE dynamically creates, merges, and prunes tools to balance quantity, complexity, and utility. The approach delivers substantial gains in open-ended environments (e.g., Minecraft) and improves performance across code generation and agent tasks, while demonstrating strong zero-shot generalization to unseen tasks. The findings highlight the value of tool invocation networks and adaptive evolution in scalable, multi-task tool-making for autonomous agents.
Abstract
Large Language Models (LLMs) have shown great promise in tool-making, yet existing frameworks often struggle to efficiently construct reliable toolsets and are limited to single-task settings. To address these challenges, we propose GATE (Graph-based Adaptive Tool Evolution), an adaptive framework that dynamically constructs and evolves a hierarchical graph of reusable tools across multiple scenarios. We evaluate GATE on open-ended tasks (Minecraft), agent-based tasks (TextCraft, DABench), and code generation tasks (MATH, Date, TabMWP). Our results show that GATE achieves up to 4.3x faster milestone completion in Minecraft compared to the previous SOTA, and provides an average improvement of 9.23% over existing tool-making methods in code generation tasks and 10.03% in agent tasks. GATE demonstrates the power of adaptive evolution, balancing tool quantity, complexity, and functionality while maintaining high efficiency. Code and data are available at \url{https://github.com/ayanami2003/GATE}.
