SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Software engineers operating in complex and dynamic environments must continuously adapt to evolving requirements, learn iteratively from experience, and reconsider their approaches based on new insights. However, current large language model (LLM)-based software agents often follow linear, sequential processes that prevent backtracking and exploration of alternative solutions, limiting their ability to rethink their strategies when initial approaches prove ineffective. To address these challenges, we propose SWE-Search, a multi-agent framework that integrates Monte Carlo Tree Search (MCTS) with a self-improvement mechanism to enhance software agents' performance on repository-level software tasks. SWE-Search extends traditional MCTS by incorporating a hybrid value function that leverages LLMs for both numerical value estimation and qualitative evaluation. This enables self-feedback loops where agents iteratively refine their strategies based on both quantitative numerical evaluations and qualitative natural language assessments of pursued trajectories. The framework includes a SWE-Agent for adaptive exploration, a Value Agent for iterative feedback, and a Discriminator Agent that facilitates multi-agent debate for collaborative decision-making. Applied to the SWE-bench benchmark, our approach demonstrates a 23% relative improvement in performance across five models compared to standard open-source agents without MCTS. Our analysis reveals how performance scales with increased inference-time compute through deeper search, providing a pathway to improve software agents without requiring larger models or additional training data. This highlights the potential of self-evaluation driven search techniques in complex software engineering environments.
Key facts. Cited by 124 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 27 of its 45 references that are in the map. First posted on arXiv 26 Oct 2024.
Builds on
27 of 45 references.
Closest ancestors · 3
Same direction, newest first
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
- 2024Executable Code Actions Elicit Better LLM Agents1 Feb
Other references · 24
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,739
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 542
12 more
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 379
- 2024AutoCodeRover: Autonomous Program Improvementcited by 272
- 2024Debating with More Persuasive LLMs Leads to More Truthful Answerscited by 255
- 2024Tree Search for Language Model Agentscited by 148
- 2024WebPilot: A Versatile and Autonomous Multi-Agent System for Web Task Execution with Strategic Explorationcited by 100
- 2024Teams of LLM Agents can Exploit Zero-Day Vulnerabilitiescited by 93
- 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
- 2024MultiAgent Collaboration Attack: Investigating Adversarial Attacks in Large Language Model Collaborations via Debatecited by 54
- 2024System-1.x: Learning to Balance Fast and Slow Planning with Language Modelscited by 35
- 2024Intelligent Go-Explore: Standing on the Shoulders of Giant Foundation Modelscited by 32
- 2024Can LLMs Beat Humans in Debating? A Dynamic Multi-agent Framework for Competitive Debatecited by 16
- 2024Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environmentscited by 9
Built on by
Citing papers per year: 2024: 1; 2025: 45; 2026: 78.
124 papers.
Sort:
By area:
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 255
- 2025APIGen-MT: Agentic Pipeline for Multi-Turn Data Generation via Simulated Agent-Human Interplaycited by 158
- 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 127
- 2025MLGym: A New Framework and Benchmark for Advancing AI Research Agentscited by 111
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 75
- 2025SE-Agent: Self-Evolution Trajectory Optimization in Multi-Step Reasoning with LLM-Based Agentscited by 66
- 2025AI Research Agents for Machine Learning: Search, Exploration, and Generalization in MLE-benchcited by 65
- 2025SWE-Exp: Experience-Driven Software Issue Resolutioncited by 64
- 2025LLM Agents for Education: Advances and Applicationscited by 59
- 2025Wider or Deeper? Scaling LLM Inference-Time Compute with Adaptive Branching Tree Searchcited by 48
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 47
- 2025The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Managementcited by 40
38 more
- 2026Code as Agent Harnesscited by 40
- 2025Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learningcited by 34
- 2026Group-Evolving Agents: Open-Ended Self-Improvement via Experience Sharingcited by 32
- 2025BugPilot: Complex Bug Generation for Efficient Learning of SWE Skillscited by 28
- 2025Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Taskscited by 27
- 2025BacktrackAgent: Enhancing GUI Agent with Error Detection and Backtracking Mechanismcited by 25
- 2025When Agents go Astray: Course-Correcting SWE Agents with PRMscited by 25
- 2025Symbiotic Cooperation for Web Agents: Harnessing Complementary Strengths of Large and Small LLMscited by 24
- 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scalingcited by 24
- 2024An Empirical Study on LLM-based Agents for Automated Bug Fixingcited by 23
- 2025PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verificationcited by 22
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 22
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2025DARS: Dynamic Action Re-Sampling to Enhance Coding Agent Performance by Adaptive Tree Traversalcited by 20
- 2026BeyondSWE: Can Current Code Agent Survive Beyond Single-Repo Bug Fixing?cited by 20
- 2025Is Vibe Coding Safe? Benchmarking Vulnerability of Agent-Generated Code in Real-World Taskscited by 18
- 2025Unified Software Engineering Agent as AI Software Engineercited by 17
- 2025SWE-Effi: Re-Evaluating Software AI Agent System Effectiveness Under Resource Constraintscited by 17
- 2025Systematic Failures in Collective Reasoning under Distributed Information in Multi-Agent LLMscited by 15
- 2025AutoAdvExBench: Benchmarking autonomous exploitation of adversarial example defensescited by 14
- 2026Don't Act Blindly: Robust GUI Automation via Action-Effect Verification and Self-Correctioncited by 14
- 2025Training Versatile Coding Agents in Synthetic Environmentscited by 13
- 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Modelscited by 12
- 2025Evolutionary Perspectives on the Evaluation of LLM-Based AI Agents: A Comprehensive Surveycited by 12
- 2026SWE-TRACE: Optimizing Long-Horizon SWE Agents Through Rubric Process Reward Models and Heuristic Test-Time Scalingcited by 12
- 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixingcited by 11
- 2026SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agentscited by 11
- 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agentscited by 11
- 2026Scaling Test-Time Compute for Agentic Codingcited by 11
- 2026DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollbackcited by 10
- 2025Guided Search Strategies in Non-Serializable Environments with Applications to Software Engineering Agentscited by 9
- 2025Self-Abstraction from Grounded Experience for Plan-Guided Policy Refinementcited by 9
- 2026SGAgent: Suggestion-Guided LLM-Based Multi-Agent Framework for Repository-Level Software Repaircited by 9
- 2026SWE-Next: Scalable Real-World Software Engineering Tasks for Agentscited by 8
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Applicationcited by 8
- 2026The Interplay of Harness Design and Post-Training in LLM Agentscited by 8
- 2025SeaView: Software Engineering Agent Visual Interface for Enhanced Workflowcited by 7
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
50 most cited of 124 All 124 (JSON)
- 2026WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses29 Sep 2026
- 2026LatentSift: Policy-State Filtering for Token-Efficient Verification of Software Engineering Agents28 Sep 2026
- 2026Planarian: Managing Agent State with Statepoints28 Sep 2026
- 2026Opera: A Verbal Critic Framework for Long-horizon Coding Agents27 Sep 2026
- 2026HyperMCTS: Hypergraph-Augmented MCTS for Long-Horizon LLM Agents27 Sep 2026
- 2026COUNTERMEM: World-Model Verified Counter-Factual Memory for Language Agents25 Sep 2026
- 2026Trajectory-Aware Benchmark Subset Selection for Cost-Efficient Software Engineering Agent Regression Testing21 Sep 2026
- 2026AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repair17 Sep 2026
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issues9 Sep 2026
- 2026ToolLoop: Closed-Loop Tool-Use Data Synthesis via Decomposed Generation and Dynamic Self-Feedback8 Sep 2026
- 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents8 Sep 2026
- 2026FrogNano: Training a 4B Coding Agent via Online Task Synthesis7 Sep 2026
38 more
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patching3 Sep 2026
- 2026Control-Data Flow Separation: Stable Prompt Optimization in Multi-Agent LLMs1 Sep 2026
- 2026AI Control Scientist: LLM-driven Agentic System for Automated Control Design27 Aug 2026
- 2026Exploit More, Explore Smarter for Budget-Constrained Agentic Search24 Aug 2026
- 2026Disagree to Explore, Agree to Commit: Routing-Guided Test-Time Scaling for Software Agents23 Aug 2026
- 2026Schr"odinger's Code Repository: Have LLMs Learned SWE-bench or Memorized It?21 Aug 2026
- 2026SkillForge: Self-Distilling Agents for Project-Specific Issue Resolution19 Aug 2026
- 2026ScienceFlow: A long-horizon agent for ML research, scientific discovery and beyond14 Aug 2026
- 2026The Devil Is in the Interface: Evaluating How Tool Architecture Shapes Coding Agent Behavior11 Aug 2026
- 2026WatchPoint: Executable User Feedback for Real-World Agentic Web Development10 Aug 2026
- 2026Idea Search: Guiding Tree Search with Ideas to Explore Diverse Scientific Methods9 Aug 2026
- 2026Coupling Planning with Episodic Memory in LLM Agents for Software Issue Resolution7 Aug 2026
- 2026Self-Evolving Coding Agents4 Aug 2026
- 2026Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks4 Aug 2026
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents21 Jul 2026
- 2026Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems15 Jul 2026
- 2026Writing Bug Reports for Software Repair Agents: What Information Matters Most?10 Jul 2026
- 2026Autonomous Research Agents: A Survey of AI Scientists and the Verification Gap29 Jun 2026
- 2026The Interplay of Harness Design and Post-Training in LLM Agents24 Jun 2026
- 2026Heuresis: Search Strategies for Autonomous AI Research Agents Across Quality, Diversity and Novelty23 Jun 2026
- 2026Probe-and-Refine Tuning of Repository Guidance for Coding Agents18 Jun 2026
- 2026FastContext: Training Efficient Repository Explorer for Coding Agents12 Jun 2026
- 2026LLM Agents Can See Code Repositories12 Jun 2026
- 2026Agentic Environment Engineering for Large Language Models: A Survey of Environment Modeling, Synthesis, Evaluation, and Application10 Jun 2026
- 2026Exploration Structure in LLM Agents for Multi-File Change Localization10 Jun 2026
- 2026Efficient Test-time Inference for Generative Planning Models with OCL Search30 May 2026
- 2026Cyclical Entropy Eruption: Entropy Dynamics in Agent Reinforcement Learning27 May 2026
- 2026AlphaMemo: Structured Search-Process Memory for Self-Evolving Alpha Mining Agents26 May 2026
- 2026DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollback21 May 2026
- 2026Code as Agent Harness18 May 2026
- 2026STRIDE: Learnable Stepwise Language Feedback for LLM Reasoning13 May 2026
- 2026Hindsight Hint Distillation: Scaffolded Reasoning for SWE Agents from CoT-free Answers12 May 2026
- 2026Mango: Multi-Agent Web Navigation via Global-View Optimization20 Apr 2026
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineering18 Apr 2026
- 2026Scaling Test-Time Compute for Agentic Coding16 Apr 2026
- 2026SWE-TRACE: Optimizing Long-Horizon SWE Agents Through Rubric Process Reward Models and Heuristic Test-Time Scaling16 Apr 2026
- 2026SWE-AGILE: A Software Agent Framework for Efficiently Managing Dynamic Reasoning Context13 Apr 2026
- 2026SWE-Shepherd: Advancing PRMs for Reinforcing Code Agents12 Apr 2026
50 newest of 124 All 124 (JSON)
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 255
- 2025APIGen-MT: Agentic Pipeline for Multi-Turn Data Generation via Simulated Agent-Human Interplaycited by 158
- 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 127
- 2025MLGym: A New Framework and Benchmark for Advancing AI Research Agentscited by 111
- 2025AI Research Agents for Machine Learning: Search, Exploration, and Generalization in MLE-benchcited by 65
- 2025LLM Agents for Education: Advances and Applicationscited by 59
- 2025The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Managementcited by 40
- 2026Code as Agent Harnesscited by 40
- 2025BacktrackAgent: Enhancing GUI Agent with Error Detection and Backtracking Mechanismcited by 25
- 2025When Agents go Astray: Course-Correcting SWE Agents with PRMscited by 25
- 2025Symbiotic Cooperation for Web Agents: Harnessing Complementary Strengths of Large and Small LLMscited by 24
- 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scalingcited by 24
12 most cited of 74 All 74 (JSON)
- 2026WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses29 Sep 2026
- 2026Planarian: Managing Agent State with Statepoints28 Sep 2026
- 2026Opera: A Verbal Critic Framework for Long-horizon Coding Agents27 Sep 2026
- 2026HyperMCTS: Hypergraph-Augmented MCTS for Long-Horizon LLM Agents27 Sep 2026
- 2026Trajectory-Aware Benchmark Subset Selection for Cost-Efficient Software Engineering Agent Regression Testing21 Sep 2026
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issues9 Sep 2026
- 2026ToolLoop: Closed-Loop Tool-Use Data Synthesis via Decomposed Generation and Dynamic Self-Feedback8 Sep 2026
- 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents8 Sep 2026
- 2026FrogNano: Training a 4B Coding Agent via Online Task Synthesis7 Sep 2026
- 2026Control-Data Flow Separation: Stable Prompt Optimization in Multi-Agent LLMs1 Sep 2026
- 2026AI Control Scientist: LLM-driven Agentic System for Automated Control Design27 Aug 2026
- 2026Exploit More, Explore Smarter for Budget-Constrained Agentic Search24 Aug 2026
12 newest of 74 All 74 (JSON)
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectoriescited by 75
- 2025SE-Agent: Self-Evolution Trajectory Optimization in Multi-Step Reasoning with LLM-Based Agentscited by 66
- 2025Wider or Deeper? Scaling LLM Inference-Time Compute with Adaptive Branching Tree Searchcited by 48
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 47
- 2025Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learningcited by 34
- 2025Systematic Failures in Collective Reasoning under Distributed Information in Multi-Agent LLMscited by 15
- 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Modelscited by 12
- 2026SWE-TRACE: Optimizing Long-Horizon SWE Agents Through Rubric Process Reward Models and Heuristic Test-Time Scalingcited by 12
- 2025Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Fixingcited by 11
- 2026SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agentscited by 11
- 2026Scaling Test-Time Compute for Agentic Codingcited by 11
- 2025Guided Search Strategies in Non-Serializable Environments with Applications to Software Engineering Agentscited by 9
12 most cited of 25 All 25 (JSON)
- 2026LatentSift: Policy-State Filtering for Token-Efficient Verification of Software Engineering Agents28 Sep 2026
- 2026Disagree to Explore, Agree to Commit: Routing-Guided Test-Time Scaling for Software Agents23 Aug 2026
- 2026Idea Search: Guiding Tree Search with Ideas to Explore Diverse Scientific Methods9 Aug 2026
- 2026PhoenixRepair: Rethinking Repair Strategy Exploration in Software Agents21 Jul 2026
- 2026AlphaMemo: Structured Search-Process Memory for Self-Evolving Alpha Mining Agents26 May 2026
- 2026STRIDE: Learnable Stepwise Language Feedback for LLM Reasoning13 May 2026
- 2026Hindsight Hint Distillation: Scaffolded Reasoning for SWE Agents from CoT-free Answers12 May 2026
- 2026Scaling Test-Time Compute for Agentic Coding16 Apr 2026
- 2026SWE-TRACE: Optimizing Long-Horizon SWE Agents Through Rubric Process Reward Models and Heuristic Test-Time Scaling16 Apr 2026
- 2026Adaptive Parallel Monte Carlo Tree Search for Efficient Test-time Compute Scaling1 Apr 2026
- 2026SVRepair: Structured Visual Reasoning for Automated Program Repair5 Feb 2026
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineering5 Feb 2026
12 newest of 25 All 25 (JSON)
- 2025SWE-Exp: Experience-Driven Software Issue Resolutioncited by 64
- 2025BugPilot: Complex Bug Generation for Efficient Learning of SWE Skillscited by 28
- 2025Code Graph Model (CGM): A Graph-Integrated Large Language Model for Repository-Level Software Engineering Taskscited by 27
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 22
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2025AutoAdvExBench: Benchmarking autonomous exploitation of adversarial example defensescited by 14
- 2025Self-Abstraction from Grounded Experience for Plan-Guided Policy Refinementcited by 9
- 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
- 2026RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repaircited by 5
- 2026SWE-AGILE: A Software Agent Framework for Efficiently Managing Dynamic Reasoning Contextcited by 5
- 2025T^2Agent A Tool-augmented Multimodal Misinformation Detection Agent with Monte Carlo Tree Searchcited by 4
- 2025InfCode-C++: Intent-Guided Semantic Retrieval and AST-Structured Search for C++ Issue Resolutioncited by 3
12 most cited of 23 All 23 (JSON)
- 2026AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repair17 Sep 2026
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patching3 Sep 2026
- 2026Efficient Test-time Inference for Generative Planning Models with OCL Search30 May 2026
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineering18 Apr 2026
- 2026SWE-AGILE: A Software Agent Framework for Efficiently Managing Dynamic Reasoning Context13 Apr 2026
- 2026On the Role of Fault Localization Context for LLM-Based Program Repair7 Apr 2026
- 2026Can AI Models Direct Each Other? Organizational Structure as a Probe into Training Limitations27 Mar 2026
- 2026FailureMem: A Failure-Aware Multimodal Framework for Autonomous Software Repair18 Mar 2026
- 2026Coding with Eyes: Visual Feedback Unlocks Reliable GUI Code Generating and Debugging14 Mar 2026
- 2026RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repair1 Mar 2026
- 2026Pull Requests as a Training Signal for Repo-Level Code Editing7 Feb 2026
- 2026Autonomous Data Processing using Meta-Agents30 Jan 2026
12 newest of 23 All 23 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
- 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Training
- 2026SWE-Router: Routing in Multi-turn Agentic Software Engineering Tasks
- 2026Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skills
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?
- 2025U2F: Encouraging SWE-Agent to Seize Novelty without Losing Feasibility
- 2025BOAD: Discovering Hierarchical Software Engineering Agents via Bandit Optimization
- 2026From SWE-ZERO to SWE-HERO: Execution-free to Execution-based Fine-tuning for Software Engineering Agents