LLM Agents Improve Semantic Code Search
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Code Search is a key task that many programmers often have to perform while developing solutions to problems. Current methodologies suffer from an inability to perform accurately on prompts that contain some ambiguity or ones that require additional context relative to a code-base. We introduce the approach of using Retrieval Augmented Generation (RAG) powered agents to inject information into user prompts allowing for better inputs into embedding models. By utilizing RAG, agents enhance user queries with relevant details from GitHub repositories, making them more informative and contextually aligned. Additionally, we introduce a multi-stream ensemble approach which when paired with agentic workflow can obtain improved retrieval accuracy, which we deploy on application called repo-rift.com. Experimental results on the CodeSearchNet dataset demonstrate that RepoRift significantly outperforms existing methods, achieving an 78.2% success rate at Success@10 and a 34.6% success rate at Success@1. This research presents a substantial advancement in semantic code search, highlighting the potential of agentic LLMs and RAG to enhance code retrieval systems.
Key facts. Cited by 7 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 7 of its 10 references that are in the map. First posted on arXiv 5 Aug 2024.
Builds on
7 of 10 references.
References · 7
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 361
- 2024A Review of Prominent Paradigms for LLM-Based Agents: Tool Use (Including RAG), Planning, and Feedback Learningcited by 74
- 2020Opportunities and Challenges in Code Search Toolscited by 22
- 2020PSCS: A Path-based Neural Model for Semantic Code Searchcited by 3
Built on by
Citing papers per year: 2025: 5; 2026: 2.
7 papers.
- 2025A Survey of Large Language Model Empowered Agents for Recommendation and Search: Towards Next-Generation Information Retrievalcited by 33
- 2025Large Language Models for Code Generation: A Comprehensive Survey of Challenges, Techniques, Evaluation, and Applicationscited by 26
- 2025JARVIS: A Multi-Agent Code Assistant for High-Quality EDA Script Generationcited by 2
- 2026Program Analysis Guided LLM Agent for Proof-of-Concept Generationcited by 2
- 2025Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architecturescited by 1
- 2025Monitoring Transformative Technological Convergence Through LLM-Extracted Semantic Entity Triple Graphscited by 0
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localizationcited by 0
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localization13 Jul 2026
- 2026Program Analysis Guided LLM Agent for Proof-of-Concept Generation8 Apr 2026
- 2025Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architectures5 Dec 2025
- 2025Monitoring Transformative Technological Convergence Through LLM-Extracted Semantic Entity Triple Graphs29 Oct 2025
- 2025JARVIS: A Multi-Agent Code Assistant for High-Quality EDA Script Generation20 May 2025
- 2025A Survey of Large Language Model Empowered Agents for Recommendation and Search: Towards Next-Generation Information Retrieval7 Mar 2025
- 2025Large Language Models for Code Generation: A Comprehensive Survey of Challenges, Techniques, Evaluation, and Applications3 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2025Meta-RAG on Large Codebases Using Code Summarization
- 2026Is Agentic RAG worth it? An experimental comparison of RAG approaches
- 2025ARCS: Agentic Retrieval-Augmented Code Synthesis with Iterative Refinement
- 2026CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Coding
- 2025GraphCodeAgent: Dual Graph-Guided LLM Agent for Retrieval-Augmented Repo-Level Code Generation
- 2025Agentic Retrieval-Augmented Generation: A Survey on Agentic RAG
- 2025RAGCap-Bench: Benchmarking Capabilities of LLMs in Agentic Retrieval Augmented Generation Systems
- 2025Keyword search is all you need: Achieving RAG-Level Performance without vector databases using agentic tool use