PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verification
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Recent research builds various patching agents that combine large language models (LLMs) with non-ML tools and achieve promising results on the state-of-the-art (SOTA) software patching benchmark, SWE-bench. Based on how to determine the patching workflows, existing patching agents can be categorized as agent-based planning methods, which rely on LLMs for planning, and rule-based planning methods, which follow a pre-defined workflow. At a high level, agent-based planning methods achieve high patching performance but with a high cost and limited stability. Rule-based planning methods, on the other hand, are more stable and efficient but have key workflow limitations that compromise their patching performance. In this paper, we propose PatchPilot, an agentic patcher that strikes a balance between patching efficacy, stability, and cost-efficiency. PatchPilot proposes a novel rule-based planning workflow with five components: reproduction, localization, generation, validation, and refinement (where refinement is unique to PatchPilot). We introduce novel and customized designs to each component to optimize their effectiveness and efficiency. Through extensive experiments on the SWE-bench benchmarks, PatchPilot shows a superior performance than existing open-source methods while maintaining low cost (less than 1 per instance) and ensuring higher stability. We also conduct a detailed ablation study to validate the key designs in each component. Our code is available at https://github.com/ucsb-mlsec/PatchPilot.
Key facts. Cited by 22 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 4 Feb 2025.
Builds on
27 of 45 references.
Closest ancestors · 10
Same direction, newest first
- 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvement1 Nov
- 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
- 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep
- 2024Diversity Empowers Intelligence: Integrating Expertise of Software Engineering Agents13 Aug
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
- 2024MASAI: Modular Architecture for Software-engineering AI Agents17 Jun
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
- 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution26 Mar
- 2024Executable Code Actions Elicit Better LLM Agents1 Feb
Other references · 17
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 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
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
- 2024AutoCodeRover: Autonomous Program Improvementcited by 272
- 2023AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Headcited by 264
- 2023A Study of Generative Large Language Model for Medical Research and Healthcarecited by 160
- 2023Text-to-Audio Generation using Instruction-Tuned LLM and Latent Diffusion Modelcited by 145
- 2024Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Modelscited by 91
5 more
- 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 88
- 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
- 2023LLM-grounded Video Diffusion Modelscited by 83
- 2023Better patching using LLM prompting, via Self-Consistencycited by 29
- 2017Program Synthesis using Conflict-Driven Learningcited by 26
Built on by
Citing papers per year: 2025: 8; 2026: 14.
22 papers.
Sort:
By area:
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 22
- 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEscited by 17
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Modelscited by 12
- 2026DevOps-Gym: Benchmarking AI Agents in Software DevOps Cyclecited by 9
- 2025TDFlow: Agentic Workflows for Test Driven Developmentcited by 5
- 2026From SFT to RL: Demystifying the Post-Training Pipeline for LLM-based Vulnerability Detectioncited by 4
- 2026OpenSage: Self-programming Agent Generation Enginecited by 4
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineeringcited by 3
- 2025HarnessLLM: Automatic Testing Harness Generation via Reinforcement Learningcited by 2
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysiscited by 1
- 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
10 more
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agentscited by 0
- 2026SWE-Spot: Building Small Repo-Experts with Repository-Centric Learningcited by 0
- 2026See, Plan, Snap: Evaluating Multimodal GUI Agents in Scratchcited by 0
- 2026Understanding Agent-Based Patching of Compiler Missed Optimizationscited by 0
- 2026Malaika: Understanding Malware through Tri-Grounded Agentic Reasoningcited by 0
- 2026FirmPilot: Evidence-Guided Multi-Agent Environment Recovery for IoT Firmware Rehostingcited by 0
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patchingcited by 0
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issuescited by 0
- 2026AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repaircited by 0
- 2026SelfOp: An Optimization Algorithm for Self-Improving Security Agentscited by 0
- 2026SelfOp: An Optimization Algorithm for Self-Improving Security Agents19 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
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patching3 Sep 2026
- 2026FirmPilot: Evidence-Guided Multi-Agent Environment Recovery for IoT Firmware Rehosting16 Jul 2026
- 2026Malaika: Understanding Malware through Tri-Grounded Agentic Reasoning10 Jul 2026
- 2026Understanding Agent-Based Patching of Compiler Missed Optimizations2 Jul 2026
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysis27 Apr 2026
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineering18 Apr 2026
- 2026OpenSage: Self-programming Agent Generation Engine18 Feb 2026
- 2026From SFT to RL: Demystifying the Post-Training Pipeline for LLM-based Vulnerability Detection15 Feb 2026
- 2026See, Plan, Snap: Evaluating Multimodal GUI Agents in Scratch11 Feb 2026
10 more
- 2026SWE-Spot: Building Small Repo-Experts with Repository-Centric Learning29 Jan 2026
- 2026DevOps-Gym: Benchmarking AI Agents in Software DevOps Cycle27 Jan 2026
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agents24 Dec 2025
- 2025HarnessLLM: Automatic Testing Harness Generation via Reinforcement Learning2 Nov 2025
- 2025TDFlow: Agentic Workflows for Test Driven Development27 Oct 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025SoK: Measuring What Matters for Closed-Loop Security Agents2 Oct 2025
- 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEs1 Sep 2025
- 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Models25 May 2025
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searching28 Mar 2025
- 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEscited by 17
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025TDFlow: Agentic Workflows for Test Driven Developmentcited by 5
- 2026OpenSage: Self-programming Agent Generation Enginecited by 4
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysiscited by 1
- 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agentscited by 0
- 2026SWE-Spot: Building Small Repo-Experts with Repository-Centric Learningcited by 0
- 2026See, Plan, Snap: Evaluating Multimodal GUI Agents in Scratchcited by 0
- 2026FirmPilot: Evidence-Guided Multi-Agent Environment Recovery for IoT Firmware Rehostingcited by 0
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issuescited by 0
- 2026SelfOp: An Optimization Algorithm for Self-Improving Security Agentscited by 0
- 2026SelfOp: An Optimization Algorithm for Self-Improving Security Agents19 Sep 2026
- 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issues9 Sep 2026
- 2026FirmPilot: Evidence-Guided Multi-Agent Environment Recovery for IoT Firmware Rehosting16 Jul 2026
- 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysis27 Apr 2026
- 2026OpenSage: Self-programming Agent Generation Engine18 Feb 2026
- 2026See, Plan, Snap: Evaluating Multimodal GUI Agents in Scratch11 Feb 2026
- 2026SWE-Spot: Building Small Repo-Experts with Repository-Centric Learning29 Jan 2026
- 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agents24 Dec 2025
- 2025TDFlow: Agentic Workflows for Test Driven Development27 Oct 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025SoK: Measuring What Matters for Closed-Loop Security Agents2 Oct 2025
- 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEs1 Sep 2025
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 22
- 2026DevOps-Gym: Benchmarking AI Agents in Software DevOps Cyclecited by 9
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineeringcited by 3
- 2025HarnessLLM: Automatic Testing Harness Generation via Reinforcement Learningcited by 2
- 2026Understanding Agent-Based Patching of Compiler Missed Optimizationscited by 0
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patchingcited by 0
- 2026AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repaircited by 0
- 2026AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repair17 Sep 2026
- 2026PatchBench: Evaluating AI Agents for Vulnerability Patching3 Sep 2026
- 2026Understanding Agent-Based Patching of Compiler Missed Optimizations2 Jul 2026
- 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineering18 Apr 2026
- 2026DevOps-Gym: Benchmarking AI Agents in Software DevOps Cycle27 Jan 2026
- 2025HarnessLLM: Automatic Testing Harness Generation via Reinforcement Learning2 Nov 2025
- 2025Issue Localization via LLM-Driven Iterative Code Graph Searching28 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios
- 2026SelfHeal: Empirical Fix Pattern Analysis and Bug Repair in LLM Agents
- 2025Scalable Supervision for Software Agents via Patch Reasoning
- 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs
- 2024An Empirical Study on LLM-based Agents for Automated Bug Fixing
- 2026The Limits of Long-Context Reasoning in Automated Bug Fixing
- 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring