mlsanityData to 7 Oct 2026

AgentFL: Scaling LLM-based Fault Localization to Project-Level Context

arXiv 2403.16362 ↗First posted 25 Mar 2024cs.SEcited by 47

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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 11; 2025: 22; 2026: 14.

47 papers.

Sort:

By area:

  1. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
  2. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
  3. 2024LLM-Based Multi-Agent Systems for Software Engineering: Literature Review, Vision and the Road Aheadcited by 155
  4. 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 82
  5. 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 68
  6. 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
  7. 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolutioncited by 52
  8. 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 44
  9. 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 43
  10. 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agentscited by 40
  11. 2024An Empirical Study on LLM-based Agents for Automated Bug Fixingcited by 23
  12. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
35 more
  1. 2025Agentic Bug Reproduction for Effective Automated Program Repair at Googlecited by 20
  2. 2025SweRank: Software Issue Localization with Code Rankingcited by 20
  3. 2025An Empirical Study on Failures in Automated Issue Solvingcited by 15
  4. 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
  5. 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexioncited by 8
  6. 2025AdaCoder: An Adaptive Planning and Multi-Agent Framework for Function-Level Code Generationcited by 8
  7. 2025Can Agents Fix Agent Issues?cited by 8
  8. 2026LLM-Based Agentic Systems for Software Engineering: Challenges and Opportunitiescited by 7
  9. 2024Instruct or Interact? Exploring and Eliciting LLMs' Capability in Code Snippet Adaptation Through Prompt Engineeringcited by 6
  10. 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generationcited by 6
  11. 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Modelscited by 5
  12. 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repaircited by 4
  13. 2025Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projectscited by 4
  14. 2025SACL: Understanding and Combating Textual Bias in Code Retrieval with Semantic-Augmented Reranking and Localizationcited by 4
  15. 2025HLSDebugger: Identification and Correction of Logic Bugs in HLS Code with LLM Solutionscited by 4
  16. 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localizationcited by 4
  17. 2026Agentic Code Reasoningcited by 4
  18. 2024Order Matters! An Empirical Study on Large Language Models' Input Order Bias in Software Fault Localizationcited by 3
  19. 2025Where's the Bug? Attention Probing for Scalable Fault Localizationcited by 3
  20. 2024On The Importance of Reasoning for Context Retrieval in Repository-Level Code Editingcited by 2
  21. 2025Taming System Complexity: Demystifying Software Engineering Agents in Diagnosing Linux Kernel Faultscited by 2
  22. 2026ARISE: A Repository-level Graph Representation and Toolset for Agentic Program Repair and Fault Localizationcited by 2
  23. 2026SWE-Pruner Pro: The Coder LLM Already Knows What to Prunecited by 2
  24. 2025Mitigating Sensitive Information Leakage in LLMs4Code through Machine Unlearningcited by 1
  25. 2025Towards Adaptive Software Agents for Debuggingcited by 1
  26. 2025OpenDerisk: An Industrial Framework for AI-Driven SRE, with Design, Implementation, and Case Studiescited by 1
  27. 2026FLARE: Fine-Grained Diagnostic Feedback for LLM Code Refinementcited by 1
  28. 2026Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Headscited by 1
  29. 2025ROAD: Reflective Optimization via Automated Debugging for Zero-Shot Agent Alignmentcited by 0
  30. 2026CMind: An AI Agent for Localizing C Memory Bugscited by 0
  31. 2026SemLoc: Structured Grounding of Free-Form LLM Reasoning for Fault Localizationcited by 0
  32. 2026BLAgent: Agentic RAG for File-Level Bug Localizationcited by 0
  33. 2026Layer-Isolated Evaluation: Gating the Deterministic Scaffold of a Production LLM Agent with a No-LLM, Regression-Locked Test Harnesscited by 0
  34. 2026HyperFL: Query-Adaptive Representation Learning for Software Fault Localizationcited by 0
  35. 2026ConFL: Explainable Concurrent Fault Localization via Hierarchy-Guided LLM Reasoningcited by 0