arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.20563cs.MAcs.AIcs.CLcs.LGcs.SE
收藏

具有状态管理的多智能体协作

Multi-agent Collaboration with State Management

Shanghai Jiaotong University(上海交通大学);Cortices AI;Emory University(埃默里大学);Peking University(北京大学)

Mengyang Liu, Taozhi Chen, Zhenhua Xu, Xue Jiang, Yihong Dong

AI总结:

本文提出STORM,一种面向多智能体协作的状态管理方法,通过在共享工作区中调解智能体的交互,确保每个智能体在一致的代码库视图上操作,并在写入时检测和解决冲突。STORM在多个LLM上优于基于git-worktree的多智能体基线,且在成本效率上具有竞争力,表明显式状态管理比工作区隔离更有效。

摘要:

近年来,多智能体系统在解决复杂任务方面展现出巨大潜力。然而,当多个智能体同时编辑共享代码库时,他们的更改可能会产生冲突,不一致的视图会导致集成失败。现有的多智能体系统通过工作区隔离(例如每个智能体一个git工作树)来解决这个问题,但这种方法将冲突解决推迟到事后合并步骤,恢复成本较高。在本文中,我们提出了STORM,即面向多智能体协作的状态管理(STate-ORiented Management)。具体而言,STORM通过调解智能体与共享工作区的交互来管理智能体状态,确保每个智能体都在代码库的一致视图上操作,并在写入时检测和解决冲突。我们评估了STORM在Commit0和PaperBench多个LLM上的表现。STORM在Commit0-Lite上比基于git-worktree的多智能体基线高出18.7%,在PaperBench上高出1.4%,同时在成本效率上具有竞争力或更好。结合单智能体运行,STORM在两个基准测试中分别达到87.6和78.2的最高分数,表明显式状态管理比工作区隔离更有效作为多智能体协作的基础。STORM也可以无缝地集成到任何多智能体系统中。

英文摘要:

Recent advances in multi-agent systems have shown great potential for solving complex tasks. However, when multiple agents edit a shared codebase concurrently, their changes can silently conflict and inconsistent views lead to integration failures. Existing multi-agent systems address this through workspace isolation (e.g., one git worktree per agent), but this defers conflict resolution to a post-hoc merge step where recovery is expensive. In this paper, we propose STORM, i.e., STate-ORiented Management for multi-agent collaboration. Specifically, STORM manages agent states by mediating their interactions with the shared workspace, ensuring that each agent operates on a consistent view of the codebase and that conflicting edits are detected and resolved at write time. We evaluate STORM on Commit0 and PaperBench across multiple LLMs. STORM outperforms the git-worktree-based multi-agent baseline by +18.7 on Commit0-Lite and +1.4 on PaperBench, while achieving comparable or better cost efficiency. Combined with single-agent runs, STORM reaches highest scores of 87.6 and 78.2 on the two benchmarks respectively, suggesting that explicit state management is a more effective foundation for multi-agent collaboration than workspace isolation. STORM can also be plugged into any multi-agent system seamlessly.

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

↑