arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.21489cs.CLcs.AI
收藏

异步软件工程代理的有效策略

Effective Strategies for Asynchronous Software Engineering Agents

Carnegie Mellon University, Language Technologies Institute(卡内基梅隆大学,语言技术研究所)

Jiayi Geng, Graham Neubig

AI总结:

本文提出CAID框架,通过集中任务委派、异步执行和隔离工作区三个核心SWE原语,提升多代理协作效率,在论文复现和Python库开发任务中分别提升26.7%和14.3%的准确性。

摘要:

AI代理在解决孤立软件工程任务如GitHub问题时已具备强大能力,但涉及多个相互依赖子任务的长期任务在准确性和及时性上仍面临挑战。异步多代理协作是解决这些长期任务的有效方法,但实际应用中存在代理并发编辑冲突、依赖同步困难和部分进展整合挑战。受人类开发者成熟协作基础设施的启发,本文引入集中式异步隔离委派(CAID)框架,通过三个核心SWE原语:集中任务委派、异步执行和隔离工作区,构建依赖感知的任务计划,通过中央管理者执行子任务并整合进展。实证评估显示,CAID在论文复现任务(PaperBench)和Python库开发任务(Commit0)中分别比单代理基线提升26.7%和14.3%的准确性。系统分析表明,分支-合并是多代理协作的核心协调机制,SWE原语如git worktree、git commit和git merge使其能够以可靠且可执行的方式实现。

英文摘要:

AI agents have become increasingly capable at isolated software engineering (SWE) tasks such as resolving issues on Github. Yet long-horizon tasks involving multiple interdependent subtasks still pose challenges both with respect to accuracy, and with respect to timely completion. A natural approach to solving these long-horizon tasks in a timely manner is asynchronous multi-agent collaboration, where multiple agents work on different parts of the task at the same time. But effective application of multi-agent systems has proven surprisingly difficult: concurrent edits by multiple agents interfere with each other, dependencies are difficult to synchronize, and combining partial progress into a coherent whole is challenging. On the other hand, human developers have long relied on mature collaboration infrastructure to manage these challenges in large software projects. Inspired by these collaboration primitives, we introduce Centralized Asynchronous Isolated Delegation (CAID), a structured multi-agent coordination paradigm grounded in three core SWE primitives: centralized task delegation, asynchronous execution, and isolated workspaces. CAID constructs dependency-aware task plans through a central manager, executes subtasks concurrently in isolated workspaces, and consolidates progress via structured integration with executable test-based verification. In empirical evaluation, we find that CAID improves accuracy over single-agent baselines by 25.6% absolute on paper reproduction tasks (PaperBench) and 14.7% on Python library development tasks (Commit0). Through systematic analysis, we find that branch-and-merge is a central coordination mechanism for multi-agent collaboration, and that SWE primitives such as git worktree, git commit, and git merge enable it to be realized in a reliable and executable manner.

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

↑