mlsanityData to 7 Oct 2026

PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verification

arXiv 2502.02747 ↗First posted 4 Feb 2025cs.RO cs.AI cs.CRcited by 22

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

  1. 2024Lingma SWE-GPT: An Open Development-Process-Centric Language Model for Automated Software Improvement1 Nov
  2. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
  3. 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep
  4. 2024Diversity Empowers Intelligence: Integrating Expertise of Software Engineering Agents13 Aug
  5. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  6. 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
  7. 2024MASAI: Modular Architecture for Software-engineering AI Agents17 Jun
  8. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
  9. 2024MAGIS: LLM-Based Multi-Agent Framework for GitHub Issue Resolution26 Mar
  10. 2024Executable Code Actions Elicit Better LLM Agents1 Feb

Other references · 17

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  7. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
  8. 2024AutoCodeRover: Autonomous Program Improvementcited by 272
  9. 2023AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Headcited by 264
  10. 2023A Study of Generative Large Language Model for Medical Research and Healthcarecited by 160
  11. 2023Text-to-Audio Generation using Instruction-Tuned LLM and Latent Diffusion Modelcited by 145
  12. 2024Buffer of Thoughts: Thought-Augmented Reasoning with Large Language Modelscited by 91
5 more
  1. 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 88
  2. 2021CURE: Code-Aware Neural Machine Translation for Automatic Program Repaircited by 85
  3. 2023LLM-grounded Video Diffusion Modelscited by 83
  4. 2023Better patching using LLM prompting, via Self-Consistencycited by 29
  5. 2017Program Synthesis using Conflict-Driven Learningcited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 8; 2026: 14.

22 papers.

Sort:

By area:

  1. 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 22
  2. 2025From CVE Entries to Verifiable Exploits: An Automated Multi-Agent Framework for Reproducing CVEscited by 17
  3. 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
  4. 2025Co-PatcheR: Collaborative Software Patching with Component(s)-specific Small Reasoning Modelscited by 12
  5. 2026DevOps-Gym: Benchmarking AI Agents in Software DevOps Cyclecited by 9
  6. 2025TDFlow: Agentic Workflows for Test Driven Developmentcited by 5
  7. 2026From SFT to RL: Demystifying the Post-Training Pipeline for LLM-based Vulnerability Detectioncited by 4
  8. 2026OpenSage: Self-programming Agent Generation Enginecited by 4
  9. 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineeringcited by 3
  10. 2025HarnessLLM: Automatic Testing Harness Generation via Reinforcement Learningcited by 2
  11. 2026Empowering Autonomous Debugging Agents with Efficient Dynamic Analysiscited by 1
  12. 2025SoK: Measuring What Matters for Closed-Loop Security Agentscited by 0
10 more
  1. 2025One Tool Is Enough: Reinforcement Learning for Repository-Level LLM Agentscited by 0
  2. 2026SWE-Spot: Building Small Repo-Experts with Repository-Centric Learningcited by 0
  3. 2026See, Plan, Snap: Evaluating Multimodal GUI Agents in Scratchcited by 0
  4. 2026Understanding Agent-Based Patching of Compiler Missed Optimizationscited by 0
  5. 2026Malaika: Understanding Malware through Tri-Grounded Agentic Reasoningcited by 0
  6. 2026FirmPilot: Evidence-Guided Multi-Agent Environment Recovery for IoT Firmware Rehostingcited by 0
  7. 2026PatchBench: Evaluating AI Agents for Vulnerability Patchingcited by 0
  8. 2026XAgent: eXecution-guided Agentic AI for Effective Localization and Resolution of GitHub Issuescited by 0
  9. 2026AdaRepair-Mem: Adaptive Experience Orchestration for Repository-Level Program Repaircited by 0
  10. 2026SelfOp: An Optimization Algorithm for Self-Improving Security Agentscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios
  2. 2026SelfHeal: Empirical Fix Pattern Analysis and Bug Repair in LLM Agents
  3. 2025Scalable Supervision for Software Agents via Patch Reasoning
  4. 2025REFINE: Enhancing Program Repair Agents through Context-Aware Patch Refinement
  5. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs
  6. 2024An Empirical Study on LLM-based Agents for Automated Bug Fixing
  7. 2026The Limits of Long-Context Reasoning in Automated Bug Fixing
  8. 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring