arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.11705cs.CLcs.AIcs.LGcs.MA
收藏

LLM智能体制作智能体工具

LLM Agents Making Agent Tools

EKFZ for Digital Health, TU Dresden(德累斯顿工业大学数字健康中心);University of St Andrews(圣安德鲁斯大学);Synagen AI;NCT, Heidelberg University Hospital(海德堡大学医院国家肿瘤疾病中心);University Hospital Aachen(亚琛大学医院);University Hospital Dresden(德累斯顿大学医院)

Georg Wölflein, Dyke Ferber, Daniel Truhn, Ognjen Arandjelović, Jakob Nikolas Kather

AI总结:

提出ToolMaker框架,将带代码的论文自主转化为LLM兼容工具,在15个任务基准上实现80%正确率,推动自主科学工作流发展。

摘要:

工具使用已将大型语言模型(LLMs)转变为强大的智能体,使其能够通过动态利用外部软件组件来执行复杂的多步骤任务。然而,这些工具必须由人类开发者预先实现,这阻碍了LLM智能体在需要大量高度专业化工具的领域(如生命科学和医学)中的适用性。受伴随公开代码库的科学研究这一增长趋势的启发,我们提出了ToolMaker,这是一个智能体框架,能够自主将带有代码的论文转化为兼容LLM的工具。给定一个GitHub URL和简短的任务描述,ToolMaker能够自主安装依赖项并生成代码来执行任务,同时使用闭环自纠正机制进行调试。为了评估我们的方法,我们引入了一个基准测试,包含15个跨越不同领域的复杂计算任务,以及超过100个单元测试,以评估正确性和鲁棒性。我们的方法正确实现了80%的任务,显著优于当前最先进的软件工程智能体。因此,ToolMaker向完全自主的基于智能体的科学工作流迈进了一步。我们的代码和基准测试已在https://github.com/KatherLab/ToolMaker上公开提供。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑