mlsanityData to 7 Oct 2026

Empirical Research on Utilizing LLM-based Agents for Automated Bug Fixing via LangGraph

arXiv 2502.18465 ↗First posted 29 Jan 2025cs.SEcited by 3

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

This paper presents a novel framework for automated code generation and debugging, designed to improve accuracy, efficiency, and scalability in software development. The proposed system integrates three core components LangGraph, GLM4 Flash, and ChromaDB within a four step iterative workflow to deliver robust performance and seamless functionality. LangGraph serves as a graph-based library for orchestrating tasks, providing precise control and execution while maintaining a unified state object for dynamic updates and consistency. It supports multi-agent, hierarchical, and sequential processes, making it highly adaptable to complex software engineering workflows. GLM4 Flash, a large language model, leverages its advanced capabilities in natural language understanding, contextual reasoning, and multilingual support to generate accurate code snippets based on user prompts. ChromaDB acts as a vector database for semantic search and contextual memory storage, enabling the identification of patterns and the generation of context-aware bug fixes based on historical data. The system operates through a structured four-step process: (1) Code Generation, which translates natural language descriptions into executable code; (2) Code Execution, which validates the code by identifying runtime errors and inconsistencies; (3) Code Repair, which iteratively refines buggy code using ChromaDB's memory capabilities and LangGraph's state tracking; and (4) Code Update, which ensures the code meets functional and performance requirements through iterative modifications.

Key facts. Cited by 3 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 7 of its 7 references that are in the map. First posted on arXiv 29 Jan 2025.

Builds on

7 of 7 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024An Empirical Study on LLM-based Agents for Automated Bug Fixing15 Nov
  2. 2024MarsCode Agent: AI-native Automated Bug Fixing2 Sep

Other references · 5

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  2. 2024AutoCodeRover: Autonomous Program Improvementcited by 272
  3. 2024SWE-Bench+: Enhanced Coding Benchmark for LLMscited by 95
  4. 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 88
  5. 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesis
  2. 2024RGD: Multi-LLM Based Agent Debugger via Refinement and Generation Guidance
  3. 2026The Limits of Long-Context Reasoning in Automated Bug Fixing
  4. 2026SelfHeal: Empirical Fix Pattern Analysis and Bug Repair in LLM Agents
  5. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugs
  6. 2026When Agents Fail: A Comprehensive Study of Bugs in LLM Agents with Automated Labeling
  7. 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
  8. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents