MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution

Wei Tao, Yucheng Zhou, Wenqiang Zhang, Yu-Xi Cheng
2/3/2026

No official code found. Best implementation: co-evolve-lab/magis (11 stars, last commit 2025-07-26).

Abstract

In software development, resolving the emergent issues within GitHub repositories is a complex challenge that involves not only the incorporation of new code but also the maintenance of existing code. Large Language Models (LLMs) have shown promise in code generation but face difficulties in resolving Github issues, particularly at the repository level. To overcome this challenge, we empirically study the reason why LLMs fail to resolve GitHub issues and analyze the major factors. Motivated by the empirical findings, we propose a novel LLM-based Multi-Agent framework for GitHub Issue reSolution, MAGIS, consisting of four agents customized for software evolution: Manager, Repository Custodian, Developer, and Quality Assurance Engineer agents. This framework leverages the collaboration of various agents in the planning and coding process to unlock the potential of LLMs to resolve GitHub issues. In experiments, we employ the SWE-bench benchmark to compare MAGIS with popular LLMs, including GPT-3.5, GPT-4, and Claude-2. MAGIS can resolve 13.94% GitHub issues, significantly outperforming the baselines. Specifically, MAGIS achieves an eight-fold increase in resolved ratio over the direct application of GPT-4, the advanced LLM.

View on arXivView PDF

Code Implementations(1)

MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution. [NeurIPS 2024]

111CSS, HTMLOct 27, 20241 years ago
agentmulti-agent-systemssoftware-evolution

Similar Papers

Cite this paper

@article{tao2026magis,
  title  = {MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution},
  author = {Wei Tao and Yucheng Zhou and Wenqiang Zhang and Yu-Xi Cheng},
  year   = {2026},
  eprint = {2403.17927},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2403.17927},
  url    = {https://arxiv.org/abs/2403.17927},
  journal = {NEURIPS 2024 2024}
}

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/2403.17927.svg)](https://codeofpaper.com/paper/2403.17927)

Discussion