Prometheus: Towards Long-Horizon Codebase Navigation for Repository-Level Problem Solving

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Pan, Yue, Chen, Zimin, Lu, Siyu, Chu, Zhaoyang, Li, Xiang, Li, Han, Feng, Yang, Goues, Claire Le, Sarro, Federica, Monperrus, Martin, Ye, He
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914313108717568
author Pan, Yue
Chen, Zimin
Lu, Siyu
Chu, Zhaoyang
Li, Xiang
Li, Han
Feng, Yang
Goues, Claire Le
Sarro, Federica
Monperrus, Martin
Ye, He
author_facet Pan, Yue
Chen, Zimin
Lu, Siyu
Chu, Zhaoyang
Li, Xiang
Li, Han
Feng, Yang
Goues, Claire Le
Sarro, Federica
Monperrus, Martin
Ye, He
contents Large Language Models (LLMs) have shown remarkable capabilities in automating software engineering tasks, spurring the emergence of coding agents that scaffold LLMs with external tools to resolve repository-level problems. However, existing agents still struggle to navigate large-scale codebases, as the Needle-in-a-Haystack problem persists even with million-token context windows, where relevant evidence is often overwhelmed by large volumes of irrelevant code and documentation. Prior codebase navigation approaches, including embedding-based retrieval, file-system exploration, and graph-based retrieval, address parts of this challenge but fail to capture the temporal continuity of agent reasoning, rendering agents stateless and causing repeated repository traversals that hinder scalable planning and reasoning. To address these limitations, we present Prometheus, a memory-centric coding agent framework for long-horizon codebase navigation. Prometheus represents the repository as a unified knowledge graph to encode semantic dependencies and employs a context engine augmented with working memory that retains and reuses previously explored contexts to ensure continuity across reasoning steps. Built upon this engine, Prometheus integrates memory-enhanced navigation into a multi-agent system for automated issue resolution, encompassing issue classification, bug reproduction, patch generation, and verification. Comprehensive experiments are conducted on two widely used issue resolution benchmarks, i.e., SWE-bench Verified and SWE-PolyBench Verified. Powered by GPT-5, Prometheus achieves state-of-the-art performance with 74.4% and 33.8% resolution rates on the two benchmarks, ranking Top-6 and Top-1 among open-source agent systems, respectively. Our data and code are available at https://github.com/EuniAI/Prometheus.
format Preprint
id arxiv_https___arxiv_org_abs_2507_19942
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Prometheus: Towards Long-Horizon Codebase Navigation for Repository-Level Problem Solving
Pan, Yue
Chen, Zimin
Lu, Siyu
Chu, Zhaoyang
Li, Xiang
Li, Han
Feng, Yang
Goues, Claire Le
Sarro, Federica
Monperrus, Martin
Ye, He
Software Engineering
Large Language Models (LLMs) have shown remarkable capabilities in automating software engineering tasks, spurring the emergence of coding agents that scaffold LLMs with external tools to resolve repository-level problems. However, existing agents still struggle to navigate large-scale codebases, as the Needle-in-a-Haystack problem persists even with million-token context windows, where relevant evidence is often overwhelmed by large volumes of irrelevant code and documentation. Prior codebase navigation approaches, including embedding-based retrieval, file-system exploration, and graph-based retrieval, address parts of this challenge but fail to capture the temporal continuity of agent reasoning, rendering agents stateless and causing repeated repository traversals that hinder scalable planning and reasoning. To address these limitations, we present Prometheus, a memory-centric coding agent framework for long-horizon codebase navigation. Prometheus represents the repository as a unified knowledge graph to encode semantic dependencies and employs a context engine augmented with working memory that retains and reuses previously explored contexts to ensure continuity across reasoning steps. Built upon this engine, Prometheus integrates memory-enhanced navigation into a multi-agent system for automated issue resolution, encompassing issue classification, bug reproduction, patch generation, and verification. Comprehensive experiments are conducted on two widely used issue resolution benchmarks, i.e., SWE-bench Verified and SWE-PolyBench Verified. Powered by GPT-5, Prometheus achieves state-of-the-art performance with 74.4% and 33.8% resolution rates on the two benchmarks, ranking Top-6 and Top-1 among open-source agent systems, respectively. Our data and code are available at https://github.com/EuniAI/Prometheus.
title Prometheus: Towards Long-Horizon Codebase Navigation for Repository-Level Problem Solving
topic Software Engineering
url https://arxiv.org/abs/2507.19942