ChatDev: Communicative Agents for Software Development

2 min read Original article ↗

Authors:Chen Qian, Wei Liu, Hongzhang Liu, Nuo Chen, Yufan Dang, Jiahao Li, Cheng Yang, Weize Chen, Yusheng Su, Xin Cong, Juyuan Xu, Dahai Li, Zhiyuan Liu, Maosong Sun

View PDF HTML (experimental)

Abstract: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 this https URL.

Submission history

From: Chen Qian [view email]
[v1] Sun, 16 Jul 2023 02:11:34 UTC (12,275 KB)
[v2] Tue, 18 Jul 2023 09:51:21 UTC (12,275 KB)
[v3] Mon, 28 Aug 2023 08:38:38 UTC (12,275 KB)
[v4] Tue, 19 Dec 2023 12:56:13 UTC (13,383 KB)
[v5] Wed, 5 Jun 2024 13:23:49 UTC (2,809 KB)