System disruptions
There are recurring service disruptions on some of the search portals due to high traffic. We are working to resolve the issue, you may temporarily encounter an error message.
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Characterizing and improving ChatDev coding performance: Testing ChatDev with an iterative software development approach
Jönköping University, School of Engineering, JTH, Department of Computer Science and Informatics.
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

This study aimed to test enhancements to ChatDev from Communicative Agents for Software Development, with the goal of making ChatDev able to work on non-trivial software development projects. ChatDev is an automated software development department staffed by AI agents that can generate simple software like “Five in a Row” from a short description (Qian et al., 2023). The AI agents used in ChatDev are powered by Large Language Models (LLMs). ChatDev was found to work for small software development projects. However, ChatDev is unable to work on non-trivial software development projects, failing to implement all functions when the project size increases (Qian et al., 2023, p 8). 

New developments have been made in the LLM AI field like better LLMs, and other groups attempts that have built on LLMs to improve their performance since the creation of ChatDev. This study set out to modify ChatDev to be able to utilize MemoryGpt (MemGpt) from MemGPT: Towards LLMs as Operating Systems to enhance LLM memory (Packer et al., 2023), and Tree of Thought (ToT) from Tree of Thoughts: Deliberate Problem Solving with Large Language Models to enhance LLM reasoning ability (Yao et al., 2023). ChatDev, ToT, and MemGpt or any similar project will be collectively referred to as modules in this paper.

An iterative approach to software development, using ChatDev’s ability to work on an existing code base, was used to divide each of the five software development projects that ChatDev was tested on. Each of the projects where divided into a list of software requirements to test ChatDev with. The proposed iterative approach was tested and compared to providing ChatDev with all the project requirements at once, the configuration where ChatDev was given one attempt att implementing all the requirements is called one shot in this document. 

Different permutations of proposed improvements, where experimentally tested to characterize the impact of different configuration parameters on cost, maximum project size, and development time. The tested iterative approach was found to generate 22% more lines on average, fulfill 13% less of the project requirements, and cost 22 times more than one shot on average.

The author was unable to integrate ToT and MemGPT into ChatDev due to technical, time, and resource constraints. The proposed iterative approach to software development was found to be ineffective when applied to ChatDev without any additional enhancements. 

The theoretical work will remain in this document for anyone with more resources who wants to complete the proposed experiment. The partially complete code used to glue modules together, and test the proposed iterative method, for this study is available on Github at github.com/HeWhoThreadsLightly/LLMglue.

Place, publisher, year, edition, pages
2025. , p. 69
Keywords [en]
LLM, LLMs, ChatDev, AI agents, agents, Victor Alander, iterative software development, software development
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:hj:diva-67133OAI: oai:DiVA.org:hj-67133DiVA, id: diva2:1931827
Subject / course
JTH, Computer Engineering
Supervisors
Examiners
Available from: 2025-01-31 Created: 2025-01-27 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

fulltext(1437 kB)850 downloads
File information
File name FULLTEXT01.pdfFile size 1437 kBChecksum SHA-512
b4d52703e0449decc937b4d432be10df086a84414dc34ed98a9a3bcd1df9392fd0162b36eda017c4572fedc6c777930338bb014c2208631eda8cfb22e90e80e0
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Alander, Victor
By organisation
JTH, Department of Computer Science and Informatics
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 852 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1361 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf