Large Language Models (LLMs) have enabled intelligent agents that autonomously interact with environments and invoke external tools. Recently, agent-based software repair has drawn wide attention, as repair agents can localize bugs, generate patches, and achieve state-of-the-art performance on repository-level benchmarks (e.g., SWE-Bench). However, existing approaches usually adopt a localize-then-fix paradigm, jumping directly from "where the bug is" to "how to fix it", leaving a fundamental reasoning gap. To this end, we propose SGAgent, a Suggestion-Guided multi-Agent framework for repository-level software repair, which follows a localize-suggest-fix paradigm. SGAgent introduces a suggestion phase to strengthen the transition from localization to repair: the suggester starts from the buggy locations, incrementally retrieves relevant context until it fully understands the bug, and provides actionable repair suggestions. We further construct a Knowledge Graph (KG) from the target repository and develop a KG-based toolkit to strengthen SGAgent's global contextual awareness and repository-level reasoning. Three specialized sub-agents (i.e., localizer, suggester, and fixer) collaborate to achieve automated end-to-end software repair. We evaluate SGAgent on SWE-Bench-Lite. SGAgent with Claude-3.5 achieves 51.3% repair accuracy, 81.2% file-level, and 52.4% function-level localization accuracy at an average cost of $1.48 per instance, outperforming all baselines using the same base model. SGAgent also generalizes well across base LLMs, reaching a 60.7% resolution rate with Claude-4. When extended to vulnerability repair, it achieves 48.0% on VUL4J and VJBench, demonstrating strong generalization across tasks and programming languages.
EXPEREPAIR: Dual-Memory Enhanced LLM-based Repository-Level Program Repair
University of Chinese Academy of Sciences(中国科学院大学);State Key Laboratory of Intelligent Game, Institute of Software, CAS(智能游戏国家重点实验室,软件研究所,中国科学院);Beihang University(北京航空航天大学);York University(约克大学)
When Should Dependency Updates Invoke Repair Agents? A Lightweight Routing Study
China Academy of Telecommunication Technology(中国信息通信研究院);School of Vehicle and Mobility, Tsinghua University(清华大学车辆与运载学院);Intelligent Transportation System Research Center, Southeast University(东南大学智能交通系统研究中心)
RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repair
State Key Laboratory for Novel Software Technology, Nanjing University(新型软件技术国家重点实验室,南京大学);Human Language Technology Research Institute, University of Texas at Dallas(人机语言技术研究院,德克萨斯大学达拉斯分校)
MatchFixAgent: Language-Agnostic Autonomous Repository-Level Code Translation Validation and Repair
Siebel School of Computing and Data Science, University of Illinois Urbana-Champaign, Urbana, IL, USA(伊利诺伊大学厄巴纳-香槟分校Siebel计算与数据科学学院);Amazon, Arlington, VA, USA(亚马逊公司,阿灵顿,弗吉尼亚州,美国);University of Oxford, Oxford, UK(牛津大学,牛津,英国)
RepoDebug: Repository-Level Multi-Task and Multi-Language Debugging Evaluation of Large Language Models
School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);East China Normal University(华东师范大学);School of Computer Science and Technology, Beijing Institute of Technology(北京理工大学计算机科学与技术学院);Baidu Inc.(百度公司)
MORepair: Teaching LLMs to Repair Code via Multi-Objective Fine-tuning
School of Information Science and Engineering, Yanshan University(燕山大学信息科学与工程学院);School of Computing and Information Systems, University of Melbourne(墨尔本大学计算与信息系);School of Big Data and Software Engineering, Chongqing University(重庆大学大数据与软件学院);SnT, University of Luxembourg(卢森堡大学技术与创新研究所);School of Computer Science, Carnegie Mellon University(卡内基梅隆大学计算机科学学院)
Yanshan University(燕山大学);Peking University(北京大学);The State Key Laboratory of Blockchain and Data Security, Zhejiang University(浙江大学区块链与数据安全全国重点实验室);Aalto University(阿尔托大学)
An Empirical Study of Speculative Decoding on Software Engineering Tasks
Zhejiang University(浙江大学);Singapore Management University(新加坡管理大学);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新区(滨江)区块链与数据安全研究院)