Aug 2026· Expert systems· Vol 43· 0 citations· 27 references
TL;DR
This paper proposes SCAgent, an LLM‐based agent for APR with state‐aware coordination, which structures the repair process into coordinated stages, including bug understanding, information gathering and patch generation, and dynamically controls transitions between these stages based on the repair context.
Abstract
Automated program repair (APR) has emerged as a promising technique for improving software reliability by automatically fixing bugs. Recent advances in large language models (LLMs), particularly LLM‐based agents, have further enhanced repair capabilities by enabling flexible patch generation and iterative reasoning. However, existing LLM‐based agent frameworks still suffer from several limitations, including unstructured repair processes, unproductive trial‐and‐error loops and the lack of explicit coordination between reasoning and action, which lead to inefficient and unstable repair behaviours. In this paper, we propose SCAgent, an LLM‐based agent for APR with state‐aware coordination. SCAgent structures the repair process into coordinated stages, including bug understanding, information gathering and patch generation, and dynamically controls transitions between these stages based on the repair context. Experimental results on Defects4J show that SCAgent correctly repairs 173 bugs. We further conduct a preliminary evaluation on GitBug‐Java to assess its potential generalizability, with SCAgent correctly repairing 15 bugs in a sampled subset of 100 bugs.
Results suggest that causal-aware reasoning and stability-oriented design can improve the effectiveness of LLM-based APR, a causality-guided multi-agent repair framework that improves the repair stage of existing LLM-based localization pipelines.
Lei Yuan, Shaohua Liu, Yu Wang et al.· Empirical Software Engineeri...· 0 citations
The AgentCodeReview system is presented, a multi-agent system that is able to conduct explainable code review and automated bug repair by leveraging software engineering agents with different code review tasks and its utility and extensibility to the field of explainable AI in software quality assurance are demonstrated.
B. N, T. L. Manasa· International journal of com...· 0 citations
Comparisons of AgentCodeReview against single-agent and non-agentic baselines indicate that role specialization and explicit verification improve review accuracy, repair effectiveness and the transparency of the generated rationales, offering a reproducible pathway toward trustworthy autonomous software maintenance.
B. N, T. L. Manas· International journal of com...· 0 citations
This work introduces REFINE (Refactoring with Evidence-aware Flow for Integrated ageNtic Execution), a tool-agnostic, evidence-aware multi-agent approach for generating Java file-level refactoring candidates that achieves a higher median code-smell reduction with smaller edits and fewer public-method removals.
Muhammad Waseem, Aakash Ahmad, Pekka Abrahamsson· 0 citations
This study introduces SymTrace, a controlled evaluation framework that records the MAS execution trajectory and establishes intervention anchors and explores the effectiveness of MAS repair methods, revealing that existing unguided rerun methods are highly unreliable.
Zhong-Wen Luan, Xiaoyan Zhang, Ming Hu et al.· 2 citations
DDBench is introduced, a code-repair benchmark of 60 historical bugs mined from 13 open-source distributed systems, partitioned into three difficulty tiers, isolating the effect of debugging context from model capability.
Yibo Yan, Huijuan Wang, Junzhou He et al.· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.