RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Solving repository-level code tasks requires LLM-based agents to use code search tools to navigate large codebases and identify a small set of relevant files and functions. However, current retrieval tools typically return flat lists of isolated code snippets: such lists can surface relevant files, but provide insufficient structure for agents to distinguish the target function from semantically similar alternatives in the same file. We introduce RepoNav, a lightweight post-retrieval interface that reorganizes retrieved snippets into a file-centered navigation scaffold. By presenting compact structural cues and candidate targets, this scaffold guides on-demand file-structure browsing, helping agents compare sibling symbols before selecting a target function. Across diverse models on LocBench, RepoNav improves function-level localization and narrows the file-to-function gap. Controlled ablations demonstrate that these gains come from structured evidence organization rather than simply exposing additional file structure, and the approach also improves performance on a repository-level question-answering benchmark.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 16 of its 24 references that are in the map. First posted on arXiv 8 Sep 2026.
Builds on
16 of 24 references.
Closest ancestors · 2
Same direction, newest first
- 2025LocAgent: Graph-Guided LLM Agents for Code Localization12 Mar
- 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
Other references · 14
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,258
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2024CodeRAG-Bench: Can Retrieval Augment Code Generation?cited by 89
- 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 88
- 2024StructRAG: Boosting Knowledge Intensive Reasoning of LLMs via Inference-time Hybrid Information Structurizationcited by 70
- 2024CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databasescited by 62
- 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Coding
- 2026LARGER: Lexically Anchored Repository Graph Exploration and Retrieval
- 2025Repository-level Code Search with Neural Retrieval Methods
- 2026DeepRepoQA: Code Repository Question Answering with Deep Agent Exploration
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents
- 2025Prometheus: Towards Long-Horizon Codebase Navigation for Repository-Level Problem Solving
- 2026RepoAtlas: Guiding Coding Agents via Evolving Multimodal Repository Views
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localization