arXiv:2507.00081cs.MAcs.AI2025-07被引 3

用状态与记忆让AI Agent在科研中可靠执行复杂任务

State and Memory is All You Need for Robust and Reliable AI Agents

  • 用有限状态机实现持久状态跟踪,自动决策不依赖人工调参
  • 在真实合成仪和PubChem数据库上完成多步任务,成功率显著提升
  • 适合需要自主规划与容错的科研自动化场景

大型语言模型在自然语言理解与生成方面取得显著进展,但在复杂真实科学工作流中的应用仍受限于记忆、规划与工具集成问题。本文提出SciBORG(Scientific Bespoke Artificial Intelligence Agents Optimized for Research Goals),一种模块化智能体框架,使基于LLM的智能体可自主规划、推理并可靠完成特定领域任务。智能体通过源码文档动态构建,并引入有限状态自动机(FSA)记忆,实现持续状态追踪与上下文感知决策。该方法无需手动提示工程,支持跨长流程保持上下文,具备从工具或执行失败中恢复的能力。我们在物理与虚拟硬件(如微波合成仪)上验证了SciBORG,实现用户指定反应的上下文感知执行;同时在PubChem数据库上完成多步生物活性检索,通过多步规划、推理及智能体间通信协作完成探索性任务。系统性基准测试表明,SciBORG智能体具备可靠执行、自适应规划与可解释状态转换能力。结果表明,记忆与状态意识是智能体规划与可靠性的重要支撑,为复杂环境中部署AI智能体提供了通用基础。

原文摘要 · Abstract (English)

Large language models (LLMs) have enabled powerful advances in natural language understanding and generation. Yet their application to complex, real-world scientific workflows remain limited by challenges in memory, planning, and tool integration. Here, we introduce SciBORG (Scientific Bespoke Artificial Intelligence Agents Optimized for Research Goals), a modular agentic framework that allows LLM-based agents to autonomously plan, reason, and achieve robust and reliable domain-specific task execution. Agents are constructed dynamically from source code documentation and augmented with finite-state automata (FSA) memory, enabling persistent state tracking and context-aware decision-making. This approach eliminates the need for manual prompt engineering and allows for robust, scalable deployment across diverse applications via maintaining context across extended workflows and to recover from tool or execution failures. We validate SciBORG through integration with both physical and virtual hardware, such as microwave synthesizers for executing user-specified reactions, with context-aware decision making and demonstrate its use in autonomous multi-step bioassay retrieval from the PubChem database utilizing multi-step planning, reasoning, agent-to-agent communication and coordination for execution of exploratory tasks. Systematic benchmarking shows that SciBORG agents achieve reliable execution, adaptive planning, and interpretable state transitions. Our results show that memory and state awareness are critical enablers of agentic planning and reliability, offering a generalizable foundation for deploying AI agents in complex environments.

AI智能体科研自动化状态记忆自主规划

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。