Skip to main content
QUICK REVIEW

[Paper Review] CodePori: Large-Scale System for Autonomous Software Development Using Multi-Agent Technology

Zeeshan Rasheed, Sami, Malik Abdul|arXiv (Cornell University)|Feb 2, 2024
Software Engineering ResearchComputer Science5 citations
TL;DR

CodePori presents an LLM-based multi-agent framework that autonomously generates running code for large and complex software projects, evaluated on HumanEval and MBPP with strong pass@1 scores and practitioner support.

ABSTRACT

Context: Large Language Models (LLMs) and Generative Pre-trained Transformers (GPTs) have transformed the field of Software Engineering (SE). Existing LLM-based multi-agent models have successfully addressed basic dialogue tasks. However, the potential of LLMs for more challenging tasks, such as automated code generation for large and complex projects, has been investigated in only a few existing works. Objective: This paper aims to investigate the potential of LLM-based agents in the software industry, particularly in enhancing productivity and reducing time-to-market for complex software solutions. Our primary objective is to gain insights into how these agents can fundamentally transform the development of large-scale software. Methods: We introduce CodePori, a novel system designed to automate code generation for large and complex software projects based on functional and non-functional requirements defined by stakeholders. To assess the proposed system performance, we utilized the HumanEval benchmark and manually tested the CodePori model, providing 20 different project descriptions as input and then evaluated the code accuracy by manually executing the code. Results: CodePori is able to generate running code for large-scale projects, aligned with the typical software development process. The HumanEval benchmark results indicate that CodePori improves code accuracy by 89%. A manual assessment conducted by the first author shows that the CodePori system achieved an accuracy rate of 85%. Conclusion: Based on the results, our conclusion is that proposed system demonstrates the transformative potential of LLM-based agents in SE, highlighting their practical applications and opening new opportunities for broader adoption in both industry and academia. Our project is publicly available at https://github.com/GPT-Laboratory/CodePori.

Motivation & Objective

  • Motivate automation of software development for large, complex projects using multi-agent LLM systems.
  • Demonstrate how specialized agents collaborate to generate, review, verify, and test code from natural language prompts.
  • Evaluate CodePori against established benchmarks and practitioner feedback to assess accuracy, efficiency, and practicality.

Proposed method

  • Propose a multi-agent framework where agents specialize in design, development, review, verification, and testing.
  • Use a manager agent to decompose high-level descriptions into modular tasks for agents.
  • Employ an integrated communication protocol via embedding and LLM APIs (e.g., GPT-4/DaVinci) to generate and refine code.
  • Evaluate with HumanEval and MBPP benchmarks using pass@k metrics and compare against models like MetaGPT, ChatDev, AlphaCode, Incoder, CodeGeeX, Codex, and PaLM.
  • Involve seven practitioners to assess real-world usability and performance.

Experimental results

Research questions

  • RQ1RQ1: How does the LLM-based multi-agent model generate code for large and complex projects?
  • RQ2RQ2: How does the code accuracy and efficiency of the proposed model compare to existing models?

Key findings

  • CodePori achieves 87.5% pass@1 on HumanEval and 86.5% on MBPP, outperforming several existing models.
  • Practitioner assessments show 91% overall satisfaction with CodePori’s performance.
  • CodePori can generate code for projects exceeding 1000 lines and completes the development cycle in under 20 minutes at a cost of about one dollar.
  • Compared to models like MetaGPT, ChatDev, AlphaCode, Incoder, CodeGeeX, Codex, and PaLM, CodePori exhibits superior code accuracy and efficiency on the benchmarks.
  • The approach supports generating large-scale software artifacts (e.g., 1000+ lines) with improved collaboration among specialized agents (development, review, verification, test).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.