AgentFL: Scaling LLM-based Fault Localization to Project-Level Context
Not on the map. Why?
Cited by 28 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Fault Localization (FL) is an essential step during the debugging process. With the strong capabilities of code comprehension, the recent Large Language Models (LLMs) have demonstrated promising performance in diagnosing bugs in the code. Nevertheless, due to LLMs' limited performance in handling long contexts, existing LLM-based fault localization remains on localizing bugs within a small code scope (i.e., a method or a class), which struggles to diagnose bugs for a large code scope (i.e., an entire software system). To address the limitation, this paper presents AgentFL, a multi-agent system based on ChatGPT for automated fault localization. By simulating the behavior of a human developer, AgentFL models the FL task as a three-step process, which involves comprehension, navigation, and confirmation. Within each step, AgentFL hires agents with diversified expertise, each of which utilizes different tools to handle specific tasks. Particularly, we adopt a series of auxiliary strategies such as Test Behavior Tracking, Document-Guided Search, and Multi-Round Dialogue to overcome the challenges in each step. The evaluation on the widely used Defects4J-V1.2.0 benchmark shows that AgentFL can localize 157 out of 395 bugs within Top-1, which outperforms the other LLM-based approaches and exhibits complementarity to the state-of-the-art learning-based techniques. Additionally, we confirm the indispensability of the components in AgentFL with the ablation study and demonstrate the usability of AgentFL through a user study. Finally, the cost analysis shows that AgentFL spends an average of only 0.074 dollars and 97 seconds for a single bug.
Key facts. Cited by 47 papers in the map (data through 7 Oct 2026). First posted on arXiv 25 Mar 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 11; 2025: 22; 2026: 14.
47 papers.
Sort:
By area:
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
- 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 82
- 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 68
- 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolutioncited by 52
- 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 44
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 43
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agentscited by 40
- 2024An Empirical Study on LLM-based Agents for Automated Bug Fixingcited by 23
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
35 more
- 2025Agentic Bug Reproduction for Effective Automated Program Repair at Googlecited by 20
- 2025SweRank: Software Issue Localization with Code Rankingcited by 20
- 2025An Empirical Study on Failures in Automated Issue Solvingcited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexioncited by 8
- 2025AdaCoder: An Adaptive Planning and Multi-Agent Framework for Function-Level Code Generationcited by 8
- 2025Can Agents Fix Agent Issues?cited by 8
- 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunitiescited by 7
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineeringcited by 6
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generationcited by 6
- 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Modelscited by 5
- 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repaircited by 4
- 2025Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projectscited by 4
- 2025SACL: Understanding and Combating Textual Bias in Code Retrieval with Semantic-Augmented Reranking and Localizationcited by 4
- 2025HLSDebugger: Identification and Correction of Logic Bugs in HLS Code with LLM Solutionscited by 4
- 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localizationcited by 4
- 2026Agentic Code Reasoningcited by 4
- 2024Order Matters! An Empirical Study on Large Language Models' Input Order Bias in Software Fault Localizationcited by 3
- 2025Where's the Bug? Attention Probing for Scalable Fault Localizationcited by 3
- 2024On The Importance of Reasoning for Context Retrieval in Repository-Level Code Editingcited by 2
- 2025Taming System Complexity: Demystifying Software Engineering Agents in Diagnosing Linux Kernel Faultscited by 2
- 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localizationcited by 2
- 2026SWE-Pruner Pro: The Coder LLM Already Knows What to Prunecited by 2
- 2025Mitigating Sensitive Information Leakage in LLMs4Code through Machine Unlearningcited by 1
- 2025Towards Adaptive Software Agents for Debuggingcited by 1
- 2025OpenDerisk: An Industrial Framework for AI-Driven SRE, with Design, Implementation, and Case Studiescited by 1
- 2026FLARE: Fine-Grained Diagnostic Feedback for LLM Code Refinementcited by 1
- 2026Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Headscited by 1
- 2025ROAD: Reflective Optimization via Automated Debugging for Zero-Shot Agent Alignmentcited by 0
- 2026CMind: An AI Agent for Localizing C Memory Bugscited by 0
- 2026SemLoc: Structured Grounding of Free-Form LLM Reasoning for Fault Localizationcited by 0
- 2026BLAgent: Agentic RAG for File-Level Bug Localizationcited by 0
- 2026Layer-Isolated Evaluation: Gating the Deterministic Scaffold of a Production LLM Agent with a No-LLM, Regression-Locked Test Harnesscited by 0
- 2026HyperFL: Query-Adaptive Representation Learning for Software Fault Localizationcited by 0
- 2026ConFL: Explainable Concurrent Fault Localization via Hierarchy-Guided LLM Reasoningcited by 0
- 2026ConFL: Explainable Concurrent Fault Localization via Hierarchy-Guided LLM Reasoning4 Aug 2026
- 2026HyperFL: Query-Adaptive Representation Learning for Software Fault Localization4 Aug 2026
- 2026SWE-Pruner Pro: The Coder LLM Already Knows What to Prune20 Jul 2026
- 2026Layer-Isolated Evaluation: Gating the Deterministic Scaffold of a Production LLM Agent with a No-LLM, Regression-Locked Test Harness10 Jun 2026
- 2026Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Heads8 Jun 2026
- 2026FLARE: Fine-Grained Diagnostic Feedback for LLM Code Refinement2 Jun 2026
- 2026BLAgent: Agentic RAG for File-Level Bug Localization18 May 2026
- 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localization4 May 2026
- 2026SemLoc: Structured Grounding of Free-Form LLM Reasoning for Fault Localization31 Mar 2026
- 2026Agentic Code Reasoning2 Mar 2026
- 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Models25 Jan 2026
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agents23 Jan 2026
35 more
- 2026CMind: An AI Agent for Localizing C Memory Bugs20 Jan 2026
- 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunities14 Jan 2026
- 2025ROAD: Reflective Optimization via Automated Debugging for Zero-Shot Agent Alignment30 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025OpenDerisk: An Industrial Framework for AI-Driven SRE, with Design, Implementation, and Case Studies15 Oct 2025
- 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localization30 Sep 2025
- 2025Reducing Cost of LLM Agents with Trajectory Reduction28 Sep 2025
- 2025An Empirical Study on Failures in Automated Issue Solving17 Sep 2025
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution31 Jul 2025
- 2025HLSDebugger: Identification and Correction of Logic Bugs in HLS Code with LLM Solutions29 Jul 2025
- 2025SACL: Understanding and Combating Textual Bias in Code Retrieval with Semantic-Augmented Reranking and Localization25 Jun 2025
- 2025Can Agents Fix Agent Issues?27 May 2025
- 2025Taming System Complexity: Demystifying Software Engineering Agents in Diagnosing Linux Kernel Faults26 May 2025
- 2025SweRank: Software Issue Localization with Code Ranking7 May 2025
- 2025Towards Adaptive Software Agents for Debugging25 Apr 2025
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs20 Apr 2025
- 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation18 Apr 2025
- 2025AdaCoder: An Adaptive Planning and Multi-Agent Framework for Function-Level Code Generation5 Apr 2025
- 2025LocAgent: Graph-Guided LLM Agents for Code Localization12 Mar 2025
- 2025Where's the Bug? Attention Probing for Scalable Fault Localization19 Feb 2025
- 2025Mitigating Sensitive Information Leakage in LLMs4Code through Machine Unlearning9 Feb 2025
- 2025Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projects4 Feb 2025
- 2025Agentic Bug Reproduction for Effective Automated Program Repair at Google3 Feb 2025
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localization1 Feb 2025
- 2024Order Matters! An Empirical Study on Large Language Models' Input Order Bias in Software Fault Localization25 Dec 2024
- 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repair5 Dec 2024
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineering23 Nov 2024
- 2024An Empirical Study on LLM-based Agents for Automated Bug Fixing15 Nov 2024
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexion20 Sep 2024
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep 2024
- 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep 2024
- 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul 2024
- 2024On The Importance of Reasoning for Context Retrieval in Repository-Level Code Editing6 Jun 2024
- 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Exploration3 Jun 2024
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Ahead7 Apr 2024
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
- 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
- 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 82
- 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 68
- 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 44
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 43
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agentscited by 40
- 2024An Empirical Study on LLM-based Agents for Automated Bug Fixingcited by 23
- 2025Agentic Bug Reproduction for Effective Automated Program Repair at Googlecited by 20
- 2025An Empirical Study on Failures in Automated Issue Solvingcited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
12 most cited of 25 All 25 (JSON)
- 2026SWE-Pruner Pro: The Coder LLM Already Knows What to Prune20 Jul 2026
- 2026Layer-Isolated Evaluation: Gating the Deterministic Scaffold of a Production LLM Agent with a No-LLM, Regression-Locked Test Harness10 Jun 2026
- 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localization4 May 2026
- 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agents23 Jan 2026
- 2026CMind: An AI Agent for Localizing C Memory Bugs20 Jan 2026
- 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunities14 Jan 2026
- 2025ROAD: Reflective Optimization via Automated Debugging for Zero-Shot Agent Alignment30 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localization30 Sep 2025
- 2025Reducing Cost of LLM Agents with Trajectory Reduction28 Sep 2025
- 2025An Empirical Study on Failures in Automated Issue Solving17 Sep 2025
- 2025Can Agents Fix Agent Issues?27 May 2025
12 newest of 25 All 25 (JSON)
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolutioncited by 52
- 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Modelscited by 5
- 2026Agentic Code Reasoningcited by 4
- 2024On The Importance of Reasoning for Context Retrieval in Repository-Level Code Editingcited by 2
- 2026SemLoc: Structured Grounding of Free-Form LLM Reasoning for Fault Localizationcited by 0
- 2026ConFL: Explainable Concurrent Fault Localization via Hierarchy-Guided LLM Reasoningcited by 0
- 2026ConFL: Explainable Concurrent Fault Localization via Hierarchy-Guided LLM Reasoning4 Aug 2026
- 2026SemLoc: Structured Grounding of Free-Form LLM Reasoning for Fault Localization31 Mar 2026
- 2026Agentic Code Reasoning2 Mar 2026
- 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Models25 Jan 2026
- 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolution31 Jul 2025
- 2024On The Importance of Reasoning for Context Retrieval in Repository-Level Code Editing6 Jun 2024
- 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
- 2025SweRank: Software Issue Localization with Code Rankingcited by 20
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineeringcited by 6
- 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repaircited by 4
- 2025Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projectscited by 4
- 2025HLSDebugger: Identification and Correction of Logic Bugs in HLS Code with LLM Solutionscited by 4
- 2024Order Matters! An Empirical Study on Large Language Models' Input Order Bias in Software Fault Localizationcited by 3
- 2025Where's the Bug? Attention Probing for Scalable Fault Localizationcited by 3
- 2025OpenDerisk: An Industrial Framework for AI-Driven SRE, with Design, Implementation, and Case Studiescited by 1
- 2026FLARE: Fine-Grained Diagnostic Feedback for LLM Code Refinementcited by 1
- 2026Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Headscited by 1
12 most cited of 13 All 13 (JSON)
- 2026HyperFL: Query-Adaptive Representation Learning for Software Fault Localization4 Aug 2026
- 2026Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Heads8 Jun 2026
- 2026FLARE: Fine-Grained Diagnostic Feedback for LLM Code Refinement2 Jun 2026
- 2025OpenDerisk: An Industrial Framework for AI-Driven SRE, with Design, Implementation, and Case Studies15 Oct 2025
- 2025HLSDebugger: Identification and Correction of Logic Bugs in HLS Code with LLM Solutions29 Jul 2025
- 2025SweRank: Software Issue Localization with Code Ranking7 May 2025
- 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs20 Apr 2025
- 2025Where's the Bug? Attention Probing for Scalable Fault Localization19 Feb 2025
- 2025Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projects4 Feb 2025
- 2024Order Matters! An Empirical Study on Large Language Models' Input Order Bias in Software Fault Localization25 Dec 2024
- 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repair5 Dec 2024
- 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineering23 Nov 2024
12 newest of 13 All 13 (JSON)