Ändra sökning
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Characterizing and improving ChatDev coding performance: Testing ChatDev with an iterative software development approach
Jönköping University, Tekniska Högskolan, JTH, Avdelningen för datateknik och informatik.
2025 (Engelska)Självständigt arbete på grundnivå (kandidatexamen), 10 poäng / 15 hpStudentuppsats (Examensarbete)
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.

Ort, förlag, år, upplaga, sidor
2025. , s. 69
Nyckelord [en]
LLM, LLMs, ChatDev, AI agents, agents, Victor Alander, iterative software development, software development
Nationell ämneskategori
Data- och informationsvetenskap
Identifikatorer
URN: urn:nbn:se:hj:diva-67133OAI: oai:DiVA.org:hj-67133DiVA, id: diva2:1931827
Ämne / kurs
JTH, Datateknik
Handledare
Examinatorer
Tillgänglig från: 2025-01-31 Skapad: 2025-01-27 Senast uppdaterad: 2025-10-13Bibliografiskt granskad

Open Access i DiVA

fulltext(1437 kB)876 nedladdningar
Filinformation
Filnamn FULLTEXT01.pdfFilstorlek 1437 kBChecksumma SHA-512
b4d52703e0449decc937b4d432be10df086a84414dc34ed98a9a3bcd1df9392fd0162b36eda017c4572fedc6c777930338bb014c2208631eda8cfb22e90e80e0
Typ fulltextMimetyp application/pdf

Sök vidare i DiVA

Av författaren/redaktören
Alander, Victor
Av organisationen
JTH, Avdelningen för datateknik och informatik
Data- och informationsvetenskap

Sök vidare utanför DiVA

GoogleGoogle Scholar
Totalt: 880 nedladdningar
Antalet nedladdningar är summan av nedladdningar för alla fulltexter. Det kan inkludera t.ex tidigare versioner som nu inte längre är tillgängliga.

urn-nbn

Altmetricpoäng

urn-nbn
Totalt: 1413 träffar
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf