mlsanityData to 7 Oct 2026

SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agents

arXiv 2601.22129 ↗First posted 29 Jan 2026cs.SE cs.AI cs.LGcited by 11

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Test-time scaling has been widely adopted to enhance the capabilities of Large Language Model (LLM) agents in software engineering (SWE) tasks. However, the standard approach of repeatedly sampling trajectories from scratch is computationally expensive. While recent methods have attempted to mitigate costs using specialized value agents, they can suffer from model miscalibration and fail to generalize to modern agents that synthesize custom bash scripts as tools. In this paper, we introduce SWE-Replay, the first efficient and generalizable test-time scaling technique for modern agents without reliance on potentially noisy value estimates. SWE-Replay optimizes the scaling process by recycling trajectories from prior trials, dynamically choosing to either explore from scratch or exploit archived experience by branching at critical intermediate steps. This selection of intermediate steps is driven by the potential and reasoning significance of repository exploration, rather than external LLM-based quality estimates. Our evaluation shows that, on SWE-Bench Verified, SWE-Replay consistently outperforms naive scaling, reducing costs by up to 17.4% while maintaining or even improving performance by up to 3.8%. Further evaluation on SWE-Bench Pro and Multilingual validates the generalizability of SWE-Replay, establishing it as a robust foundation for efficient test-time scaling of software engineering agents.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 23 of its 28 references that are in the map. First posted on arXiv 29 Jan 2026.

Builds on

23 of 28 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling31 Jul
  2. 2025The Cost of Dynamic Reasoning: Demystifying AI Agents and Test-Time Scaling from an AI Infrastructure Perspective4 Jun
  3. 2025Satori-SWE: Evolutionary Test-Time Scaling for Sample-Efficient Software Engineering29 May
  4. 2025Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute31 Mar
  5. 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineering24 Jan
  6. 2023Teaching Large Language Models to Self-Debug11 Apr
  7. 2022Competition-Level Code Generation with AlphaCode8 Feb

Other references · 16

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
  3. 2021Program Synthesis with Large Language Modelscited by 3,509
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  6. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
  7. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
  8. 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 294
  9. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
  10. 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 215
  11. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
  12. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinementcited by 124
4 more
  1. 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?cited by 91
  2. 2025CWM: An Open-Weights LLM for Research on Code Generation with World Modelscited by 87
  3. 2024LLM-as-a-Judge & Reward Model: What They Can and Cannot Docited by 32
  4. 2025Empowering Multi-Turn Tool-Integrated Agentic Reasoning with Group Turn Policy Optimizationcited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 11.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
  2. 2026SWE-Next: Scalable Real-World Software Engineering Tasks for Agents
  3. 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Training
  4. 2025SWE-RM: Execution-free Feedback For Software Engineering Agents
  5. 2026SWE-TRACE: Optimizing Long-Horizon SWE Agents Through Rubric Process Reward Models and Heuristic Test-Time Scaling
  6. 2026Immersion in the GitHub Universe: Scaling Coding Agents to Mastery
  7. 2026E2E-SWE: Benchmarking LLMs on Building Working Codebases from Scratch
  8. 2025SWE-smith: Scaling Data for Software Engineering Agents