mlsanityData to 14 Oct 2026

CodeNav: Beyond tool-use to using real-world codebases with LLM agents

arXiv 2406.12276 ↗First posted 18 Jun 2024cs.AI cs.CL cs.SEcited by 8

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

We present CodeNav, an LLM agent that navigates and leverages previously unseen code repositories to solve user queries. In contrast to tool-use LLM agents that require ``registration'' of all relevant tools via manual descriptions within the LLM context, CodeNav automatically indexes and searches over code blocks in the target codebase, finds relevant code snippets, imports them, and uses them to iteratively generate a solution with execution feedback. To highlight the core-capabilities of CodeNav, we first showcase three case studies where we use CodeNav for solving complex user queries using three diverse codebases. Next, on three benchmarks, we quantitatively compare the effectiveness of code-use (which only has access to the target codebase) to tool-use (which has privileged access to all tool names and descriptions). Finally, we study the effect of varying kinds of tool and library descriptions on code-use performance, as well as investigate the advantage of the agent seeing source code as opposed to natural descriptions of code. All code will be made open source under a permissive license.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 23 of its 43 references that are in the map. First posted on arXiv 18 Jun 2024.

Builds on

23 of 43 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Executable Code Actions Elicit Better LLM Agents1 Feb

Other references · 22

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  7. 2023Qwen Technical Reportcited by 3,344
  8. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  9. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
  10. 2024Mixtral of Expertscited by 1,823
  11. 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 603
  12. 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 591
10 more
  1. 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 558
  2. 2023MM-REACT: Prompting ChatGPT for Multimodal Reasoning and Actioncited by 517
  3. 2022Visual Programming: Compositional visual reasoning without trainingcited by 516
  4. 2023ART: Automatic multi-step reasoning and tool-use for large language modelscited by 197
  5. 2022DocPrompting: Generating Code by Retrieving the Docscited by 153
  6. 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 123
  7. 2023Tool Documentation Enables Zero-Shot Tool-Usage with Large Language Modelscited by 68
  8. 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 63
  9. 2023EcoAssistant: Using LLM Assistant More Affordably and Accuratelycited by 49
  10. 2024m&m's: A Benchmark to Evaluate Tool-Use for multi-step multi-modal Taskscited by 38

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 4.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges
  2. 2024LLM Agents Improve Semantic Code Search
  3. 2024CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databases
  4. 2025LoCoBench-Agent: An Interactive Benchmark for LLM Agents in Long-Context Software Engineering
  5. 2025GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveraging
  6. 2026ToolRosella: Translating Code Repositories into Standardized Tools for Scientific Agents
  7. 2026CODESTRUCT: Code Agents over Structured Action Spaces
  8. 2025Prometheus: Towards Long-Horizon Codebase Navigation for Repository-Level Problem Solving