Skip to content
Back to the collection

ChatDev: Communicative Agents for Software Development

Chen Qian, Wei Liu, Hongzhang Liu

Show all 14 authors

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

2023 · arXiv

Read the paper
HN score
0
Mentions
8
Readers
4
Months
4
What’s in a score?

From the 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 https://github.com/OpenBMB/ChatDev.

Metadata: arXiv. Abstracts retain their original authors’ rights.

In the conversation

Original HN comments, with labels from simple text rules. A label describes the whole comment and may miss context or irony. Read the discussion to make up your own mind. About the labels

8 selected excerpts · 8 total mentions

og_kalu
Neutral mention · rule
>The ChatGPT "AI" isn't an autonomous thinker performing its own actions based on reasoning of what's fed to it. Yes it is. Or it very well could be. Agency is trivial to implement in LLMs. https://github.com/microsoft/autogen https://arxiv.org/abs/2307.07924 The intelligence and tool access of the LLM in question is the only thing stopping things from being particularly dangerous (to humanity).
falcor84
Neutral mention · rule
Not to discount your experience, I would just like to flag that your conclusion does not quite follow from the premises. I don't believe that there's anything inherent about LLMs that would make one incapable of recognizing the falsity of an argument made by another LLM. Rather it's just the they're not all powerful, and struggle with complex tasks when they don't have any way of directly checking their code's outputs (or error messages), same as humans. There is a lot of recent progress in collaboration between LLMs when they're given the ability to run their code and assess their progress [0]. [0] E.g. the ChatDev project - https://arxiv.org/abs/2307.07924 , described in this recent video by "Two Minute Papers"[1] [1] https://youtu.be/Zlgkzjndpak
og_kalu
Neutral mention · rule
AI taking to AI to do things is not necessarily an exercise in futility. This paper used 3.5, not even 4 and is basically a couple AI agents collaborating to create software. https://arxiv.org/abs/2307.07924 This is another example at multi AI agent collaboration. https://arxiv.org/abs/2307.02485 Getting relevant intelligent text to arbitrary previous text means generating text capable of making decisions. That is the end game here. Your machine can think for you now.

Keep following the thread.

More in Machine learning

More from the same topics.