mlsanityData to 14 Oct 2026

LLM Agents Improve Semantic Code Search

arXiv 2408.11058 ↗First posted 5 Aug 2024cs.SE cs.AI cs.CLcited by 7

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

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  3. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  4. 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 361
  5. 2024A Review of Prominent Paradigms for LLM-Based Agents: Tool Use (Including RAG), Planning, and Feedback Learningcited by 74
  6. 2020Opportunities and Challenges in Code Search Toolscited by 22
  7. 2020PSCS: A Path-based Neural Model for Semantic Code Searchcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Meta-RAG on Large Codebases Using Code Summarization
  2. 2026Is Agentic RAG worth it? An experimental comparison of RAG approaches
  3. 2025ARCS: Agentic Retrieval-Augmented Code Synthesis with Iterative Refinement
  4. 2026CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Coding
  5. 2025GraphCodeAgent: Dual Graph-Guided LLM Agent for Retrieval-Augmented Repo-Level Code Generation
  6. 2025Agentic Retrieval-Augmented Generation: A Survey on Agentic RAG
  7. 2025RAGCap-Bench: Benchmarking Capabilities of LLMs in Agentic Retrieval Augmented Generation Systems
  8. 2025Keyword search is all you need: Achieving RAG-Level Performance without vector databases using agentic tool use