追踪状态足迹:智能体如何进行事务处理
Tracking State Footprints: How Agents Can Transact
浏览论文内容
中文总结 AI 辅助
本文提出将多智能体系统协调视为数据管理问题,通过状态足迹描述智能体读写,并倡导类似数据库的事务保证与语义冲突解决,以实现智能体事务处理。
中文摘要 AI 辅助
AI智能体能够进行事务处理吗?我们认为它们必须能够:随着多智能体系统(MASs)日益频繁地编写代码、部署基础设施、修改数据库以及调用Web服务,丢失更新或陈旧读取可能带来灾难性后果。尽管多智能体系统越来越多地并行执行计划,当前的编排器并不追踪智能体所读取和写入的状态。因此,即使在简单的编码任务中,并发异常也会显现。我们将多智能体系统的协调视为一个数据管理问题,并提出通过智能体的状态足迹来描述它们:即它们在其本地上下文和状态中,以及编排器和外部系统的状态中所读取和写入的内容。我们认为多智能体系统需要类似于数据库的保证,但提供这些保证带来了新的挑战和机遇:与数据库事务不同,智能体并非从固定的模式或隔离的快照中读取,也无法在失败时进行确定性重放。然而,它们可以通过语义方式解决冲突而非中止,从而启用新的并发控制和冲突解决形式。为了迈向能够进行事务处理的智能体,我们勾勒了下一代智能体编排器以及供外部系统参与智能体事务的事务接口的愿景。
英文摘要
Can AI agents transact? We argue that they must: as multi-agent systems (MASs) increasingly write code, deploy infrastructure, modify databases, and call web services, lost updates or stale reads can be catastrophic. Although MASs increasingly execute plans in parallel, current orchestrators do not track the state that agents read and write. As a result, concurrency anomalies manifest even in simple coding tasks. We frame MAS coordination as a data management problem and propose to describe agents by their state footprint: the state they read and write across their own local context and state, as well as the state of the orchestrator and external systems. We posit that MASs require guarantees similar to those of databases, but providing them raises new challenges and opportunities: unlike database transactions, agents do not read from a fixed schema or an isolated snapshot, and cannot be replayed deterministically upon failure. They can, however, resolve conflicts semantically instead of aborting, enabling new forms of concurrency control and conflict resolution. Towards agents that can transact, we outline a vision for next-generation agent orchestrators and transactional interfaces for external systems to participate in agentic transactions.
发表机构
- Ververica GmbH(Ververica有限公司)
- Delft University of Technology(代尔夫特理工大学)
机构由 AI 辅助整理,请以论文原文为准。