arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.20819physics.chem-ph
收藏

DynaMate2:使代理AI民主化,用于专家设计的定制工作流

DynaMate2: runtime registration of expert-defined tools for agentic scientific workflow automation

University of Notre Dame(圣母大学);Universidad de Puerto Rico – Mayagüez(波多黎各大学马亚圭兹分校)

Orlando A. Mendible-Barreto, Ajay Vallabh, Ubaldo M. Córdova-Figueroa, Yamil J. Colón

AI总结:

本文提出DynaMate2,一种分层代理框架和开源模板,旨在降低研究人员将现有专家定义的Python函数转换为AI可调用工具的门槛,通过让LLM负责任务路由和工具选择,而非生成科学代码,从而实现自动化科学工作流的民主化。

摘要:

计算化学和材料科学中的科学工作流通常涉及多个相互依赖的步骤,如模型准备、系统构建、模拟执行和数据分析,这些步骤经过多年研究已发展成高度专业化的验证代码库。尽管大型语言模型(LLM)代理框架已显示出自动化此类工作流的潜力,但现有系统是为特定、预定义的任务序列构建的。适应新领域或集成定制专家开发工具需要大量编程专业知识,限制了其在更广泛科学社区中的应用。本文介绍了DynaMate2,一种分层代理框架和开源模板,其核心设计目标是降低任何研究人员将现有专家定义的Python函数转换为AI可调用工具的门槛。关键设计原则是LLM从不被要求生成科学代码,因为所有领域逻辑都位于专家定义的工具中。LLM的唯一职责是路由任务、选择适当的工具,并使用输出指导后续行动。工具和代理可以在运行时从内联代码、现有源文件或纯语言描述中注册,且所有扩展会自动保留跨会话。我们通过端到端的分子动力学工作流演示了该框架。我们提供了一种工具注册协议,指导研究人员逐步将他们的验证代码集成到该框架中。DynaMate2作为开源参考实现发布,配有基于网页的界面,并设计为在任意科学领域中供社区驱动扩展的可重用模板。

英文摘要:

Agentic large-language-model systems can coordinate scientific tools, but many implementations remain difficult for domain scientists to extend without modifying the source orchestration code or relying on unconstrained code generation. DynaMate2 is a LangGraph-based multi-agent framework for converting expert-defined Python functions into persistent AI-callable tools. The architecture separates domain execution from LLM supervision: registered tools perform scientific operations, while a supervisor LLM decomposes goals, selects specialist agents, routes inputs, and propagates outputs across steps. DynaMate2 supports: runtime tool registration from inline code, source files, and explicitly requested natural-language specifications; persistent storage of tools, agents, and conversation state; and a web interface for interactive workflow assembly. We demonstrate the framework on a molecular simulation workflow in which a single instruction retrieves a MACE foundation model, builds a NaCl-water configuration, runs an ASE molecular dynamics trajectory, and generates energy and temperature diagnostics. The demonstration illustrates how validated workflow components can be composed into a supervised agentic pipeline without rewriting the framework. DynaMate2 therefore provides a reusable template for extending LLM-based automation to research groups with existing Python workflows, while preserving the need for explicit tool validation, reproducibility logs, and deployment-specific safeguards.

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

↑