AI 代理终于有了数据库级的可靠性
AI 代理在长时间任务里经常出错、互相干扰、状态丢失,就像没有事务支持的数据库。这篇论文把数据库的 ACID 原则(原子性、一致性、隔离性、持久性)重新定义成适合 AI 代理的语义版本,并实现了一个数据代理,在多个基准上比 Claude Code 等最强代理高出 10.6%。它不是你明天就能用上的,但它指出了让 AI 代理真正可靠、可扩展的方向。
📄 原文摘要(英文)
Large language model (LLM) agents are evolving from conversational assistants into autonomous systems that execute long-horizon tasks through reasoning, tool use, code generation, and workspace manipulation. As agents increasingly operate over persistent environments and multi-step workflows, they face challenges analogous to those addressed by transactional database systems: reliable execution, consistent outcomes, safe concurrency, and durable state management. We introduce the concept of an agentic transaction and propose an ACID-compliant agent system framework that reinterprets the classical ACID properties for agent execution through four semantic guarantees: Semantic Atomicity, Semantic Consistency, Semantic Isolation, and Semantic Durability. Together, these properties provide a principled foundation for building reliable agent systems despite model uncertainty and dynamic execution environments. To instantiate this framework, we develop an ACID-compliant data agent that realizes these guarantees through transactional exploration-execution-validation cycles, transactional skill hubs, confidence divergence-based validation, semantic dependency-aware isolation, and transaction-aware semantic state management. Experimental results on widely used benchmarks show that our system achieves a 10.6% improvement over state-of-the-art agents, including Claude Code. This work opens a broader research agenda on extending transactional principles and system architectures toward building trustworthy, scalable, and self-evolving AI agent systems.