用多智能体模拟团队协作,自动完成软件开发任务
Agyn: A Multi-Agent System for Team-Based Autonomous Software Engineering
- 划分协调、研究、实现、评审等角色,分工作业
- 在SWE-bench 500上解决率72.2%,优于单智能体系统
- 适合追求真实生产级自动化系统的开发者
大型语言模型在单个软件工程任务中表现出色,但多数自主系统仍将问题解决视为单一或流水线过程。而真实软件开发是遵循共同方法论、有明确角色分工、沟通与评审的协作活动。本文提出一个完全自动化的多智能体系统,显式将软件工程建模为组织过程,复现工程团队结构。基于开源的agyn平台,系统为各角色(协调、研究、实现、评审)分配专用智能体,提供隔离沙箱进行实验,并支持结构化通信。系统遵循分析、任务定义、创建拉取请求及迭代评审的开发流程,全程无需人工干预。重要的是,该系统面向真实生产环境设计,未针对SWE-bench进行调优。在SWE-bench 500上的后验评估显示,其任务解决率达72.2%,超过使用相似语言模型的单智能体基线。结果表明,复现团队结构、方法论和沟通机制是自主软件工程的有效范式,未来进展可能不仅依赖模型优化,更取决于组织设计与智能体基础设施。
原文摘要 · Abstract (English)
Large language models have demonstrated strong capabilities in individual software engineering tasks, yet most autonomous systems still treat issue resolution as a monolithic or pipeline-based process. In contrast, real-world software development is organized as a collaborative activity carried out by teams following shared methodologies, with clear role separation, communication, and review. In this work, we present a fully automated multi-agent system that explicitly models software engineering as an organizational process, replicating the structure of an engineering team. Built on top of agyn, an open-source platform for configuring agent teams, our system assigns specialized agents to roles such as coordination, research, implementation, and review, provides them with isolated sandboxes for experimentation, and enables structured communication. The system follows a defined development methodology for working on issues, including analysis, task specification, pull request creation, and iterative review, and operates without any human intervention. Importantly, the system was designed for real production use and was not tuned for SWE-bench. When evaluated post hoc on SWE-bench 500, it resolves 72.2% of tasks, outperforming single-agent baselines using comparable language models. Our results suggest that replicating team structure, methodology, and communication is a powerful paradigm for autonomous software engineering, and that future progress may depend as much on organizational design and agent infrastructure as on model improvements.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。