ChatDev:用于软件开发的交流型智能体
ChatDev: Communicative Agents for Software Development
AI总结:
本文提出ChatDev框架,利用大语言模型驱动的专业智能体通过聊天链和交流去幻觉进行多轮对话协作,统一完成软件设计、编码和测试,解决了传统开发过程碎片化问题。
摘要:
软件开发是一项复杂的任务,需要具备不同技能的多个成员进行合作。许多研究使用深度学习来改进瀑布模型中的特定阶段,例如设计、编码和测试。然而,每个阶段的深度学习模型都需要独特的设计,导致各个阶段之间存在技术不一致,从而导致开发过程碎片化且低效。在本文中,我们介绍了ChatDev,这是一个由聊天驱动的软件开发框架,在该框架中,由大型语言模型(LLMs)驱动的专业智能体被指导交流什么(通过聊天链)以及如何交流(通过交流去幻觉)。这些智能体通过统一的语言交流积极参与设计、编码和测试阶段,解决方案源自它们的多轮对话。我们发现它们对自然语言的利用有利于系统设计,而使用编程语言交流被证明有助于调试。这种范式展示了语言交流如何促进多智能体协作,将语言确立为LLM智能体之间自主解决问题的统一桥梁。代码和数据可在https://github.com/OpenBMB/ChatDev获取。
英文摘要:
Software development is a complex task that necessitates cooperation among multiple members with diverse skills. Numerous studies used deep learning to improve specific phases in a waterfall model, such as design, coding, and testing. However, the deep learning model in each phase requires unique designs, leading to technical inconsistencies across various phases, which results in a fragmented and ineffective development process. In this paper, we introduce ChatDev, a chat-powered software development framework in which specialized agents driven by large language models (LLMs) are guided in what to communicate (via chat chain) and how to communicate (via communicative dehallucination). These agents actively contribute to the design, coding, and testing phases through unified language-based communication, with solutions derived from their multi-turn dialogues. We found their utilization of natural language is advantageous for system design, and communicating in programming language proves helpful in debugging. This paradigm demonstrates how linguistic communication facilitates multi-agent collaboration, establishing language as a unifying bridge for autonomous task-solving among LLM agents. The code and data are available at https://github.com/OpenBMB/ChatDev.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。