Beyond Static Tools: Test-Time Tool Evolution for Scientific Reasoning

Jiaxuan Lu, Ziyu Kong, Yemin Wang, Rong Fu, Haiyuan Wan, Cheng Yang, Wenjie Lou, Haoran Sun, Lilong Wang, Yankai Jiang, Xiaosong Wang, Xiao Sun, Dongzhan ZhouarXiv 2026 · OpenReview

TL;DR

This paper introduces Test-Time Tool Evolution (TTE), a novel paradigm where AI agents dynamically create and refine computational tools during problem-solving, rather than relying on static, pre-defined libraries. This approach significantly boosts scientific reasoning accuracy and enables agents to adapt to new domains by evolving specialized tools on demand.

What Problem Does This Paper Address?

The core challenge in building AI for Science is not just reasoning, but the ability to create and use computational methods in the complex, ever-evolving scientific world. Current AI agents often rely on static libraries of pre-built tools. This paradigm breaks down in scientific domains because:

  • Sparsity and Heterogeneity: Scientific tools are often scarce, diverse, and not standardized, making it impossible to curate a comprehensive static library.
  • Incompleteness: Static libraries cannot anticipate the unique computational needs of novel scientific inquiries, limiting AI agents to passive tool selection rather than active discovery. This imposes an artificial ceiling on their problem-solving potential.

Essentially, scientific reasoning requires an AI that can evolve its tools, not just select them from a fixed toolbox.

Methods

The paper proposes Test-Time Tool Evolution (TTE), a framework that shifts tool creation from an offline process to an online, inference-time activity. The key components are:

  • Structured Task Decomposition: The AI breaks down complex scientific queries into a sequence of executable sub-goals.
  • Dynamic Tool Retrieval: The system searches its current tool library for relevant tools.
  • Generative Tool Synthesis: If no suitable tool is found, the AI synthesizes a new one on-demand. This involves:
  • Chain-of-Thought Reasoning: The LLM generates a proposed tool.
  • Rigorous Verification: The proposed tool is checked for syntax, runtime errors, and domain correctness.
  • Atomic Tool Refinement: Verified tools are broken down into reusable "atomic" components. This decomposition is crucial for flexibility and reusability, allowing the system to build complex solutions from simpler primitives.
  • Redundancy Checking & Pruning: New atomic tools are checked for similarity to existing ones, and low-usage tools are pruned to maintain library efficiency and prevent overload.
  • Runtime Execution Engine: The sequence of retrieved or synthesized tools is executed to produce the final answer.

TTE is instantiated in two main ways: TTE-Zero (starting with an empty library) and TTE-Adapt (adapting a source domain library to a new target domain).

Datasets

The paper introduces SciEvo, a new benchmark designed to evaluate tool evolution. It comprises:

  • 1,590 scientific reasoning tasks.
  • 925 automatically evolved tools.
  • Coverage across 25 sub-disciplines in Physics, Chemistry, Materials Science, and Mathematics.

SciEvo aims to simulate the open-ended nature of scientific research by coupling reasoning accuracy with tool evolution validity. The authors also used existing benchmarks like SciBench and SciEval for evaluation.

Key Insights and Ideas

  • Evolution over Selection: The fundamental insight is that for scientific reasoning, AI agents need to be tool creators, not just tool users. Dynamic evolution is key to overcoming the limitations of static tool libraries.
  • Atomic Primitives: Decomposing complex tools into smaller, reusable atomic functions is critical. This allows for more flexible composition and better adaptation to new problems, preventing the "disposable script" problem seen in other methods.
  • The "Tool Overload" Phenomenon: Simply increasing the number of tools in a library doesn't always improve performance. Too many similar tools can lead to retrieval ambiguity and "choice paralysis" for the LLM, degrading accuracy. This highlights the need for smarter retrieval mechanisms.
  • Substitution Effect in Adaptation: When adapting to new domains, TTE effectively balances retaining useful general-purpose tools with synthesizing new, domain-specific ones, demonstrating a robust adaptation strategy.

Key Results

  • State-of-the-Art Accuracy: TTE-Zero achieved state-of-the-art performance on SciBench, SciEval, and the new SciEvo benchmark, significantly outperforming baselines like Basic-COT, Creator, and CheMatAgent. For example, on SciEvo, TTE-Zero achieved 0.62 accuracy, compared to 0.56 for the best baseline.
  • High Tool Reuse: TTE demonstrated near-perfect tool utilization (TRR@1 ≈ 1.0 on SciEvo), indicating that generated tools are highly relevant and reusable, minimizing computational waste. Baselines often had many generated tools that were never used.
  • Effective Cross-Domain Adaptation: TTE-Adapt successfully adapted tools from one domain (e.g., Materials) to another (e.g., Chemistry/Physics), showing significant accuracy gains and a healthy balance between retaining old tools and evolving new ones.
  • Sub-goal Decomposition Advantage: Using sub-goal decomposition ("S+Tools") consistently outperformed direct query-to-tool matching ("Q+Tools"), especially in domains requiring precise unit handling and domain-specific formulas.

Limitations and Future Work

  • Inference Latency: TTE incurs higher computational cost and latency due to tool synthesis and verification compared to static retrieval. Future work could explore "meta-models" to predict tool necessity and skip evolution for trivial queries.
  • LLM Coding Capability Dependency: The performance of TTE is tied to the backbone LLM's ability to generate syntactically correct and functional code. Smaller LLMs might struggle.
  • Safety and Sandboxing: Generating and executing arbitrary code at test time raises safety concerns, especially in open-ended scientific exploration. While sandboxing was used, more robust safety verification protocols are needed for real-world deployment.
  • Lifecycle Management: Managing an unbounded library requires intelligent pruning and hierarchical indexing to maintain efficiency and prevent knowledge saturation.
  • Robustness and Calibration: Enhancing tool reliability through formal verification or uncertainty-aware generation is a priority. Meta-cognitive calibration to dynamically weigh retrieval vs. evolution costs is also suggested.
  • Multi-Modal Frontiers: Extending TTE to handle multi-modal inputs (e.g., diagrams, instrument readouts) is a promising future direction for more comprehensive scientific research agents.

Summary updated

BibTeX
@misc{lu2026beyond,
  author = {Jiaxuan Lu and Ziyu Kong and Yemin Wang and Rong Fu and Haiyuan Wan and Cheng Yang and Wenjie Lou and Haoran Sun and Lilong Wang and Yankai Jiang and Xiaosong Wang and Xiao Sun and Dongzhan Zhou},
  title = {{Beyond Static Tools: Test-Time Tool Evolution for Scientific Reasoning}},
  year = {2026},
  eprint = {2601.07641},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.07641},
}
Figure