CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
A prerequisite for coding agents to perform tasks on large repositories is code localization - the identification of relevant files, classes, and functions to work on. While repository-level code localization has been performed using embedding-based retrieval approaches such as vector search, recent work has focused on developing agents to localize relevant code either as a standalone precursor to or interleaved with performing actual work. Most prior methods on agentic code search equip the agent with complex, specialized tools, such as repository graphs derived from static analysis. In this paper, we demonstrate that, with an effective reinforcement learning recipe, a coding agent equipped with nothing more than a standard Unix terminal can be trained to achieve strong results. Our experiments on three benchmarks (SWE-Bench Verified, Pro, and Lite) reveal that our models consistently achieve superior or competitive performance over 2-18x larger base and post-trained LLMs and sometimes approach performance provided by closed models like Claude Sonnet, even when using specialized scaffolds. Our work particularly focuses on techniques for re-purposing existing coding agent environments for code search, reward design, and RL optimization. We release the resulting model family, CodeScout, along with all our code and data for the community to build upon.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 22 of its 62 references that are in the map. First posted on arXiv 18 Mar 2026.
Builds on
22 of 62 references.
Closest ancestors · 5
Same direction, newest first
- 2025SWE-smith: Scaling Data for Software Engineering Agents30 Apr
- 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents9 Apr
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localization1 Feb
- 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec
- 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
Other references · 17
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,276
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Modelscited by 417
- 2025AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoningcited by 234
- 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 165
- 2024CodeRAG-Bench: Can Retrieval Augment Code Generation?cited by 89
- 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
5 more
- 2023Click: Controllable Text Generation with Sequence Likelihood Contrastive Learningcited by 41
- 2025SWE-QA: Can Language Models Answer Repository-level Code Questions?cited by 37
- 2025Coding Agents with Multimodal Browsing are Generalist Problem Solverscited by 24
- 2025Tool-integrated Reinforcement Learning for Repo Deep Searchcited by 14
- 2025CodeAssistBench (CAB): Dataset & Benchmarking for Multi-turn Chat-Based Code Assistancecited by 4
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Beyond Semantic Similarity: Rethinking Retrieval for Agentic Search via Direct Corpus Interactioncited by 33
- 2026SkillsVote: Lifecycle Governance of Agent Skills from Collection, Recommendation to Evolutioncited by 18
- 2026FastContext: Training Efficient Repository Explorer for Coding Agentscited by 4
- 2026LEGO-RL: Harness-Native Reinforcement Learning for Coding Agentscited by 3
- 2026Antares: Foundation Models for Agentic Vulnerability Localizationcited by 2
- 2026Vulnerability Localization Benchmark: Measuring Agentic Security Analysis at Repository Scalecited by 0
- 2026Semantic Navigation for Issue Localization in Code Repositorycited by 0
- 2026Semantic Navigation for Issue Localization in Code Repository25 Sep 2026
- 2026Vulnerability Localization Benchmark: Measuring Agentic Security Analysis at Repository Scale14 Sep 2026
- 2026LEGO-RL: Harness-Native Reinforcement Learning for Coding Agents18 Aug 2026
- 2026Antares: Foundation Models for Agentic Vulnerability Localization3 Aug 2026
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents12 Jun 2026
- 2026SkillsVote: Lifecycle Governance of Agent Skills from Collection, Recommendation to Evolution18 May 2026
- 2026Beyond Semantic Similarity: Rethinking Retrieval for Agentic Search via Direct Corpus Interaction3 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026CodeMidas: Scaling Agentic Coding RL Environments from Code Itself
- 2026AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
- 2026Cross-Benchmark Transfer from RL on Agentic Coding Tasks
- 2026KAT-Coder-V2.5 Technical Report
- 2026Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning
- 2026Latent Programming Horizons in Coding Agents
- 2026Teaching Agents to Code Reliably
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories