MASAI: Modular Architecture for Software-Engineering AI Agents

Abstract

A common method to solve complex problems in software engineering is to divide the problem into multiple sub-problems. Inspired by this, we propose a Modular Architecture for Software-engineering AI (MASAI) agents, where different LLM-powered sub-agents are instantiated with well-defined objectives and strategies tuned to achieve those objectives. Our modular architecture offers several advantages: (1) employing and tuning different problem-solving strategies across sub-agents, (2) enabling sub-agents to gather information from different sources scattered throughout a repository, and (3) avoiding unnecessarily long trajectories which inflate costs and add extraneous context. MASAI achieves a competitive performance (28.33% resolution rate) on the popular and highly challenging SWE-bench Lite dataset consisting of 300 GitHub issues from 11 Python repositories. at less than 2$ per issue cost on average.

Cite

Text

Wadhwa et al. "MASAI: Modular Architecture for Software-Engineering AI Agents." NeurIPS 2024 Workshops: OWA, 2024.

Markdown

[Wadhwa et al. "MASAI: Modular Architecture for Software-Engineering AI Agents." NeurIPS 2024 Workshops: OWA, 2024.](https://mlanthology.org/neuripsw/2024/wadhwa2024neuripsw-masai/)

BibTeX

@inproceedings{wadhwa2024neuripsw-masai,
  title     = {{MASAI: Modular Architecture for Software-Engineering AI Agents}},
  author    = {Wadhwa, Nalin and Sonwane, Atharv and Arora, Daman and Mehrotra, Abhav and Utpala, Saiteja and Bairi, Ramakrishna B and Kanade, Aditya and Natarajan, Nagarajan},
  booktitle = {NeurIPS 2024 Workshops: OWA},
  year      = {2024},
  url       = {https://mlanthology.org/neuripsw/2024/wadhwa2024neuripsw-masai/}
}