mlsanityData to 14 Oct 2026

SWE-Shepherd: Advancing PRMs for Reinforcing Code Agents

arXiv 2604.10493 ↗First posted 12 Apr 2026cs.SEcited by 5

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Automating real-world software engineering tasks remains challenging for large language model (LLM)-based agents due to the need for long-horizon reasoning over large, evolving codebases and making consistent decisions across interdependent actions. Existing approaches typically rely on static prompting strategies or handcrafted heuristics to select actions such as code editing, file navigation, and test execution, but they lack fine-grained feedback on intermediate decisions. This leads to inefficient exploration, error propagation, and brittle solution trajectories. To address this limitation, we propose SWE-Shepherd, a framework that introduces Process Reward Models (PRMs) to provide dense, step-level supervision for repository-level code agents. Using trajectories from SWE-Bench, we construct an action-level reward dataset and train a lightweight reward model on a base LLM to estimate the usefulness of intermediate actions. During inference, the PRM evaluates candidate actions and guides the agent toward higher-reward decisions without requiring full reinforcement learning. Experiments on SWE-Bench Verified demonstrate improved interaction efficiency and action quality, while also highlighting challenges in aligning intermediate rewards with final task success.

Key facts. Cited by 5 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 6 of its 7 references that are in the map. First posted on arXiv 12 Apr 2026.

Builds on

6 of 7 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct

Other references · 5

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  2. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
  3. 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewardscited by 42
  4. 2025Web-Shepherd: Advancing PRMs for Reinforcing Web Agentscited by 41
  5. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025When Agents go Astray: Course-Correcting SWE Agents with PRMs
  2. 2026SWE-TRACE: Optimizing Long-Horizon SWE Agents Through Rubric Process Reward Models and Heuristic Test-Time Scaling
  3. 2025SWE-RM: Execution-free Feedback For Software Engineering Agents
  4. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents
  5. 2026SWE-World: Building Software Engineering Agents in Docker-Free Environments
  6. 2026Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skills
  7. 2026SWE-Prot'eg'e: Learning to Selectively Collaborate With an Expert Unlocks Small Language Models as Software Engineering Agents
  8. 2026SWE-Master: Unleashing the Potential of Software Engineering Agents via Post-Training