HyperAgent: Generalist Software Engineering Agents to Solve Coding Tasks at Scale

Huy Nhat Phan, Tien N. Nguyen, Phong X. Nguyen, Nghi D. Q. Bui
9/9/2024
cs.SEcs.AI

No official code found. Best implementation: FSoft-AI4Code/HyperAgent (257 stars, Apache-2.0, last commit 2024-12-10).

Abstract

Large Language Models (LLMs) have revolutionized software engineering (SE), showcasing remarkable proficiency in various coding tasks. Despite recent advancements that have enabled the creation of autonomous software agents utilizing LLMs for end-to-end development tasks, these systems are typically designed for specific SE functions. We introduce HyperAgent, an innovative generalist multi-agent system designed to tackle a wide range of SE tasks across different programming languages by mimicking the workflows of human developers. HyperAgent features four specialized agents-Planner, Navigator, Code Editor, and Executor-capable of handling the entire lifecycle of SE tasks, from initial planning to final verification. HyperAgent sets new benchmarks in diverse SE tasks, including GitHub issue resolution on the renowned SWE-Bench benchmark, outperforming robust baselines. Furthermore, HyperAgent demonstrates exceptional performance in repository-level code generation (RepoExec) and fault localization and program repair (Defects4J), often surpassing state-of-the-art baselines.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Generalist Software Agents to Solve Soware Engineering Tasks

25734CSS, ShellNov 23, 20231 years agoApache-2.0
code-generationcode-understandingcodellmcodellmscoding-assistant+3 more

Cite this paper

@article{phan2024hyperagent,
  title  = {HyperAgent: Generalist Software Engineering Agents to Solve Coding Tasks at Scale},
  author = {Huy Nhat Phan and Tien N. Nguyen and Phong X. Nguyen and Nghi D. Q. Bui},
  year   = {2024},
  eprint = {2409.16299},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.16299v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.16299.svg)](https://codeofpaper.com/paper/2409.16299)

Discussion