Skip to main content
QUICK REVIEW

[논문 리뷰] LLM Agents Making Agent Tools

Georg Wölflein, Dyke Ferber|ArXiv.org|2025. 02. 17.
Multi-Agent Systems and NegotiationComputer Science인용 수 3
한 줄 요약

ToolMaker는 코드가 포함된 과학 논문을 자율적으로 LLM 호환 도구로 변환하고 재현 가능한 실행 환경을 구축하며 TM-BENCH 벤치마크에서 80%의 작업 정확도를 달성하여 OpenHands를 능가합니다.

ABSTRACT

Tool use has turned large language models (LLMs) into powerful agents that can perform complex multi-step tasks by dynamically utilising external software components. However, these tools must be implemented in advance by human developers, hindering the applicability of LLM agents in domains demanding large numbers of highly specialised tools, like in life sciences and medicine. Motivated by the growing trend of scientific studies accompanied by public code repositories, we propose ToolMaker, an agentic framework that autonomously transforms papers with code into LLM-compatible tools. Given a GitHub URL and short task description, ToolMaker autonomously installs dependencies and generates code to perform the task, using a closed-loop self-correction mechanism for debugging. To evaluate our approach, we introduce a benchmark comprising 15 complex computational tasks spanning various domains with over 100 unit tests to assess correctness and robustness. Our method correctly implements 80% of the tasks, substantially outperforming current state-of-the-art software engineering agents. ToolMaker therefore is a step towards fully autonomous agent-based scientific workflows. Our code and benchmark are publicly available at https://github.com/KatherLab/ToolMaker.

연구 동기 및 목표

  • LLM 에이전트에서 수동 도구 생성 부담을 줄이는 것을 목표로 한다, 특히 생명과학과 의학 분야에서.
  • 논문과 코드 저장소에서 도구를 도출하는 자율 도구 생성 프레임워크를 도입한다.
  • 환경 설정, 설치 및 테스트를 포함한 엔드투엔드 도구 구현을 가능하게 한다.
  • 도구 생성 평가를 위한 현실적 다단계 과학 과제와 광범위한 단위 테스트를 갖춘 벤치마크(TM-BENCH)를 제공한다.
  • 이 설정에서 자율 도구 생성이 최첨단 소프트웨어 엔지니어링 에이전트를 능가할 수 있음을 입증한다.

제안 방법

  • TOOLMAKER, an agentic framework that autonomously downloads, integrates, and implements existing tools from scientific papers and GitHub repositories.
  • Define a minimal tool specification including task description, repository URL, and input arguments; TOOLMAKER also builds a reproducible Docker-based execution environment.
  • Structure TOOLMAKER as a two-stage workflow: environment setup (creating a Docker snapshot) and tool implementation (generating a Python function).
  • Model the workflow as interactions among LLM calls, environment actions, and agent sub-tasks, enabling closed-loop self-improvement through error diagnosis and reimplementation.
  • Perform a closed-loop cycle where an initial tool is implemented, tested via unit tests, diagnosed for failures, reimplemented, and summarized until success.

실험 결과

연구 질문

  • RQ1Can LLM agents autonomously download, install dependencies, and assemble reusable tools from scientific papers and repositories?
  • RQ2Do such autonomously created tools achieve robust performance across diverse, real-world scientific tasks?
  • RQ3How does autonomous tool creation compare to existing software-engineering agents in terms of accuracy, reliability, and cost?
  • RQ4What is the impact of incorporating task- and paper-specific summaries on tool creation efficiency?
  • RQ5What are the limits and risks of fully automated tool creation in life sciences workflows?

주요 결과

  • TOOLMAKER correctly implements 80% of 15 benchmark tasks (12/15).
  • Compared with the OpenHands baseline, TOOLMAKER substantially outperforms in task correctness (12/15 vs. 3/15).
  • TOOLMAKER can create multi-step tools requiring orchestration of multiple functions and dependencies, including GPU-accelerated workflows.
  • The framework uses a closed-loop self-correction mechanism that iterates through planning, implementation, testing, and reimplementation to fix errors.
  • Ablations show paper summaries reduce the number of actions and iterations, while model choice and prompt design influence cost and performance.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.