TL;DR
A gap exists in understanding how multiple Large Language Model (LLM)-based agents collaborate effectively in software engineering tasks. This study systematically analyzed conversations between two agents, a Designer and a Programmer, using 12 combinations of 7 open-source LLMs.
✦ Why It Matters
Engineers can leverage insights on agent interactions to improve collaborative programming tasks using LLMs.
Key Takeaways
Full Summary
As Large Language Models (LLMs) are increasingly utilized in software engineering, their collaborative potential remains underexplored. This study focused on the interactions between two types of agents, a Designer and a Programmer, across 12 combinations of 7 open-source LLMs, including DeepSeek-R1 and LLaMA 3.2.
A systematic analysis was conducted to evaluate three dimensions of interaction: efficiency (speed and stability of convergence), consistency (role alignment measured by BLEU and ROUGE scores), and effectiveness (success in compiling and resolving errors). Findings revealed that the DeepSeek-R1 pair consistently converged on the correct solution from the first iteration, while other pairs, such as LLaMA 3.2, showed strong role alignment but diverged from correct solutions.
Some agent pairs failed to converge at all. These insights emphasize the importance of understanding agent interactions and suggest further research is needed to refine convergence strategies in autonomous software engineering.
Related