When Agents go Astray: Course-Correcting SWE Agents with PRMs
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Large Language Model (LLM) agents are increasingly deployed for complex, multi-step software engineering (SWE) tasks. However, their trajectories often contain costly inefficiencies, such as redundant exploration, looping, and failure to terminate once a solution is reached. Prior work has largely treated these errors in a post-hoc manner, diagnosing failures only after execution. In this paper, we introduce SWE-PRM, an inference-time Process Reward Model (PRM) that intervenes during execution to detect and course-correct trajectory-level errors. Our PRM design leverages a taxonomy of common inefficiencies and delivers lightweight, interpretable feedback without modifying the underlying policy. On SWE-bench Verified, closed-source PRMs improve resolution from 40.0% to 50.6% (+10.6 p.p.), with the largest gains on medium and hard tasks. Among feedback strategies, taxonomy-guided PRMs outperform unguided or explicit action-prescriptive variants, increasing success rate while reducing trajectory length. These benefits come at an acceptable added inference cost of as low as 0.2, making PRMs a practical and scalable mechanism for improving SWE agents' reliability and efficiency.
Key facts. Cited by 28 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 21 of its 38 references that are in the map. First posted on arXiv 2 Sep 2025.
Builds on
21 of 38 references.
Closest ancestors · 10
Same direction, newest first
- 2025Doc2Feat-Bench: Evaluating Documentation-Driven Feature Addition24 Jul
- 2025Guided Search Strategies in Non-Serializable Environments with Applications to Software Engineering Agents19 May
- 2025TRAIL: Trace Reasoning and Agentic Issue Localization13 May
- 2025SWE-PolyBench: A multi-language benchmark for repository level evaluation of coding agents11 Apr
- 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents9 Apr
- 2025Thinking Longer, Not Larger: Enhancing Software Engineering Agents via Scaling Test-Time Compute31 Mar
- 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
- 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec
- 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 11
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Let's Verify Step by Stepcited by 3,789
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2024Trial and Error: Exploration-Based Trajectory Optimization for LLM Agentscited by 197
- 2025FEA-Bench: A Benchmark for Evaluating Repository-Level Code Generation for Feature Implementationcited by 58
- 2025SMART: Self-Aware Agent for Tool Overuse Mitigationcited by 52
- 2025STeCa: Step-level Trajectory Calibration for LLM Agent Learningcited by 37
- 2025RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Codecited by 30
- 2025BacktrackAgent: Enhancing GUI Agent with Error Detection and Backtracking Mechanismcited by 25
- 2025VeriLA: A Human-Centered Evaluation Framework for Interpretable Verification of LLM Agent Failurescited by 14
- 2025FreePRM: Training Process Reward Models Without Ground Truth Process Labelscited by 11
Built on by
Citing papers per year: 2025: 5; 2026: 23.
28 papers.
Sort:
By area:
- 2025A Survey of Process Reward Models: From Outcome Signals to Process Supervisions for Large Language Modelscited by 38
- 2025BugPilot: Complex Bug Generation for Efficient Learning of SWE Skillscited by 30
- 2026Wink: Recovering from Misbehaviors in Coding Agentscited by 15
- 2026Counterfactual Trace Auditing of LLM Agent Skillscited by 10
- 2025GUI-PRA: Process Reward Agent for GUI Taskscited by 9
- 2025Enhancing Large Language Model Reasoning with Reward Models: An Analytical Surveycited by 8
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026Rewarding the Scientific Process: Process-Level Reward Modeling for Agentic Data Analysiscited by 5
- 2026Steer, Don't Solve: Training Small Critic Models for Large Code Agentscited by 5
- 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agentscited by 5
- 2026Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Taskscited by 5
- 2026Think Locally, Explain Globally: Graph-Guided LLM Investigations via Local Reasoning and Belief Propagationcited by 3
16 more
- 2026Independent Patch Verification for Coding Agents with a Bidirectional Reconstruct-and-Verify Frameworkcited by 3
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineeringcited by 2
- 2026CORVUS: Context Optimization and Reduction Via Underlying Synchronization for LLM Coding Agentscited by 2
- 2026Online Monitoring and Corrective Steering of Programming Agentscited by 2
- 2026DIG to Heal: Scaling General-purpose Agent Collaboration via Explainable Dynamic Decision Pathscited by 1
- 2026Reusing Past Repairs Through Hierarchical Trajectory Abstraction for Coding Agentscited by 1
- 2026Before the Rollout Ends: Early Terminal Reward Prediction for Long-horizon Coding Agentscited by 1
- 2026Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agentscited by 1
- 2026Better Understanding, Better Fixes? A Study of Hallucination in LLM-based Automated Program Repaircited by 0
- 2026FLARE: A Full-Lifecycle Dense Supervision Paradigm for Long-Horizon Coding Agents via Generative Reward Modelcited by 0
- 2026WatchPoint: Executable User Feedback for Real-World Agentic Web Developmentcited by 0
- 2026Opera: A Verbal Critic Framework for Long-horizon Coding Agentscited by 0
- 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agentscited by 0
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agentscited by 0
- 2026SWE-Critix: Post-Training Generalist Verifiers for Assessing Coding-Agent Trajectoriescited by 0
- 2026JevCoder: When Does Decision Delegation Pay Off in Code Repair?cited by 0
- 2026JevCoder: When Does Decision Delegation Pay Off in Code Repair?14 Oct 2026
- 2026SWE-Critix: Post-Training Generalist Verifiers for Assessing Coding-Agent Trajectories9 Oct 2026
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents30 Sep 2026
- 2026Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents30 Sep 2026
- 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agents30 Sep 2026
- 2026Opera: A Verbal Critic Framework for Long-horizon Coding Agents27 Sep 2026
- 2026Before the Rollout Ends: Early Terminal Reward Prediction for Long-horizon Coding Agents25 Sep 2026
- 2026FLARE: A Full-Lifecycle Dense Supervision Paradigm for Long-Horizon Coding Agents via Generative Reward Model20 Sep 2026
- 2026Better Understanding, Better Fixes? A Study of Hallucination in LLM-based Automated Program Repair4 Sep 2026
- 2026WatchPoint: Executable User Feedback for Real-World Agentic Web Development10 Aug 2026
- 2026Independent Patch Verification for Coding Agents with a Bidirectional Reconstruct-and-Verify Framework9 Aug 2026
- 2026Online Monitoring and Corrective Steering of Programming Agents7 Aug 2026
16 more
- 2026Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks4 Aug 2026
- 2026Reusing Past Repairs Through Hierarchical Trajectory Abstraction for Coding Agents31 Jul 2026
- 2026CORVUS: Context Optimization and Reduction Via Underlying Synchronization for LLM Coding Agents20 Jul 2026
- 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agents7 Jul 2026
- 2026Steer, Don't Solve: Training Small Critic Models for Large Code Agents20 Jun 2026
- 2026Counterfactual Trace Auditing of LLM Agent Skills12 May 2026
- 2026Rewarding the Scientific Process: Process-Level Reward Modeling for Agentic Data Analysis27 Apr 2026
- 2026DIG to Heal: Scaling General-purpose Agent Collaboration via Explainable Dynamic Decision Paths27 Feb 2026
- 2026Wink: Recovering from Misbehaviors in Coding Agents19 Feb 2026
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineering5 Feb 2026
- 2026Think Locally, Explain Globally: Graph-Guided LLM Investigations via Local Reasoning and Belief Propagation25 Jan 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025BugPilot: Complex Bug Generation for Efficient Learning of SWE Skills22 Oct 2025
- 2025A Survey of Process Reward Models: From Outcome Signals to Process Supervisions for Large Language Models9 Oct 2025
- 2025Enhancing Large Language Model Reasoning with Reward Models: An Analytical Survey2 Oct 2025
- 2025GUI-PRA: Process Reward Agent for GUI Tasks27 Sep 2025
- 2026Wink: Recovering from Misbehaviors in Coding Agentscited by 15
- 2026Counterfactual Trace Auditing of LLM Agent Skillscited by 10
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026Steer, Don't Solve: Training Small Critic Models for Large Code Agentscited by 5
- 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agentscited by 5
- 2026Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Taskscited by 5
- 2026Independent Patch Verification for Coding Agents with a Bidirectional Reconstruct-and-Verify Frameworkcited by 3
- 2026CORVUS: Context Optimization and Reduction Via Underlying Synchronization for LLM Coding Agentscited by 2
- 2026Online Monitoring and Corrective Steering of Programming Agentscited by 2
- 2026DIG to Heal: Scaling General-purpose Agent Collaboration via Explainable Dynamic Decision Pathscited by 1
- 2026Reusing Past Repairs Through Hierarchical Trajectory Abstraction for Coding Agentscited by 1
- 2026Before the Rollout Ends: Early Terminal Reward Prediction for Long-horizon Coding Agentscited by 1
12 most cited of 19 All 19 (JSON)
- 2026JevCoder: When Does Decision Delegation Pay Off in Code Repair?14 Oct 2026
- 2026SWE-Critix: Post-Training Generalist Verifiers for Assessing Coding-Agent Trajectories9 Oct 2026
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents30 Sep 2026
- 2026Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents30 Sep 2026
- 2026Learning When and How to Intervene: A Hindsight-Distilled Sentinel for Coding Agents30 Sep 2026
- 2026Opera: A Verbal Critic Framework for Long-horizon Coding Agents27 Sep 2026
- 2026Before the Rollout Ends: Early Terminal Reward Prediction for Long-horizon Coding Agents25 Sep 2026
- 2026WatchPoint: Executable User Feedback for Real-World Agentic Web Development10 Aug 2026
- 2026Independent Patch Verification for Coding Agents with a Bidirectional Reconstruct-and-Verify Framework9 Aug 2026
- 2026Online Monitoring and Corrective Steering of Programming Agents7 Aug 2026
- 2026Fail-Fast, Restart-Smart: Early Failure Prediction and Restart for SWE Agentic Tasks4 Aug 2026
- 2026Reusing Past Repairs Through Hierarchical Trajectory Abstraction for Coding Agents31 Jul 2026
12 newest of 19 All 19 (JSON)
- 2025A Survey of Process Reward Models: From Outcome Signals to Process Supervisions for Large Language Modelscited by 38
- 2025Enhancing Large Language Model Reasoning with Reward Models: An Analytical Surveycited by 8
- 2026Rewarding the Scientific Process: Process-Level Reward Modeling for Agentic Data Analysiscited by 5
- 2026Think Locally, Explain Globally: Graph-Guided LLM Investigations via Local Reasoning and Belief Propagationcited by 3
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineeringcited by 2
- 2026FLARE: A Full-Lifecycle Dense Supervision Paradigm for Long-Horizon Coding Agents via Generative Reward Modelcited by 0
- 2026FLARE: A Full-Lifecycle Dense Supervision Paradigm for Long-Horizon Coding Agents via Generative Reward Model20 Sep 2026
- 2026Rewarding the Scientific Process: Process-Level Reward Modeling for Agentic Data Analysis27 Apr 2026
- 2026EGSS: Entropy-guided Stepwise Scaling for Reliable Software Engineering5 Feb 2026
- 2026Think Locally, Explain Globally: Graph-Guided LLM Investigations via Local Reasoning and Belief Propagation25 Jan 2026
- 2025A Survey of Process Reward Models: From Outcome Signals to Process Supervisions for Large Language Models9 Oct 2025
- 2025Enhancing Large Language Model Reasoning with Reward Models: An Analytical Survey2 Oct 2025
- 2025GUI-PRA: Process Reward Agent for GUI Taskscited by 9
- 2025GUI-PRA: Process Reward Agent for GUI Tasks27 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026SWE-Shepherd: Advancing PRMs for Reinforcing Code Agents
- 2026SWE-TRACE: Optimizing Long-Horizon SWE Agents Through Rubric Process Reward Models and Heuristic Test-Time Scaling
- 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Training
- 2026SWE-Router: Routing in Multi-turn Agentic Software Engineering Tasks
- 2025SWE-RM: Execution-free Feedback For Software Engineering Agents
- 2026SWE-Replay: Efficient Test-Time Scaling for Software Engineering Agents
- 2026Beyond Verifiable Rewards: Rubric-Based GRM for Reinforced Fine-Tuning SWE Agents
- 2026Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skills