Program Code Generation: Single LLMs vs. Multi-Agent Systems

This paper investigates the effectiveness of single large language models (LLMs) versus multi-agent systems in generating program code. Using AutoGen, we examine whether assigning detailed role descriptions enhances code quality in both setups. Key metrics such as lines of code, cyclomatic complexity, runtime, memory usage, and maintainability index are assessed. Python code generated by both systems is compared to human-written solutions across varying difficulty levels. Results show multi-agent systems hold potential for improving code quality, though the impact of detailed role descriptions warrants further exploration. Of the LLM-generated codes, 11 (<tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{4 6 \%}$</tex>) successfully solved the tasks, while 5 (21%) required minimal modifications, saving <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{2. 9 \%}$</tex> to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{1 7. 9 \%}$</tex> of time compared to coding from scratch.

Authors

Institutions

Publication Details

Published
2025-03-21
DOI
https://doi.org/10.1109/icnlp65360.2025.11108400
Citations
1
Primary Topic
Model-Driven Software Engineering Techniques
Type
article
Field-Weighted Citation Impact
2.31
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Program Code Generation: Single LLMs vs. Multi-Agent Systems

Tim Schlippe, Baskhad Idrisov, Esther Eisenacher
1 citations
Model-Driven Software Engineering Techniques
2.31
article

Program Code Generation: Single LLMs vs. Multi-Agent Systems

Tim Schlippe, Baskhad Idrisov, Esther Eisenacher
article en
1 citations

Abstract

This paper investigates the effectiveness of single large language models (LLMs) versus multi-agent systems in generating program code. Using AutoGen, we examine whether assigning detailed role descriptions enhances code quality in both setups. Key metrics such as lines of code, cyclomatic complexity, runtime, memory usage, and maintainability index are assessed. Python code generated by both systems is compared to human-written solutions across varying difficulty levels. Results show multi-agent systems hold potential for improving code quality, though the impact of detailed role descriptions warrants further exploration. Of the LLM-generated codes, 11 (<tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{4 6 \%}$</tex>) successfully solved the tasks, while 5 (21%) required minimal modifications, saving <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{2. 9 \%}$</tex> to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{1 7. 9 \%}$</tex> of time compared to coding from scratch.

IU International University of Applied Sciences (DE)
Openalex Percentile: Top 11%
Model-Driven Software Engineering Techniques
2.31
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.