mlsanityData to 14 Oct 2026

FGDM: Reasoning Aware Multi-Agentic Framework for Software Bug Detection using Chain of Thought and Tree of Thought Prompting

arXiv 2604.24831 ↗First posted 27 Apr 2026cs.SE cs.LGcited by 0

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Deep Learning methods are becoming prominent in automated software bug detection; however, they lack the global understanding of the given code. Consequently, their performance tends to degrade, especially when they are applied to large interconnected code bases or complex modular programs. Recently, Large Language Models (LLMs) have proven to be effective at capturing dependencies among multiple interconnected modules in the codebase. This motivated us to propose the Flow-Graph-Driven Multi-Agent Framework (FGDM), which is composed of four agents that operate in a sequential manner. The framework converts the received code to a flow graph, identifies the erroneous segments, and further generates the repaired code. All the employed agents utilize Chain-of-Thought (COT) and Tree-of-Thoughts (TOT) prompts. Additionally, we also integrated with the FAISS vector database to retrieve similar previous bugs and their repairs. We demonstrated the efficacy of the proposed framework over 100 programs from several projects, including Ansible, Black, FastAPI, Keras, Luigi, Matplotlib, Pandas, Scrapy, SpaCy, and Tornado in both C and Python programs. Our experiments demonstrate that the FGDM outperforms the extant approaches and yielded reductions with a mean of 24.33 and 8.37 in Levenshtein distance and similarities of 0.951 and 0.974 in cosine similarity for Python and C, respectively.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 0 of its 39 references that are in the map. First posted on arXiv 27 Apr 2026.

Builds on

0 of 39 references.

No references here yet.

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Improved Bug Localization with AI Agents Leveraging Hypothesis and Dynamic Cognition
  2. 2024MarsCode Agent: AI-native Automated Bug Fixing
  3. 2025Empirical Research on Utilizing LLM-based Agents for Automated Bug Fixing via LangGraph
  4. 2026Agentic Fuzzing: Opportunities and Challenges
  5. 2026Multi-task LLMs for Bug Classification: Efficient Inference with Auxiliary Decoding Heads
  6. 2026BLAgent: Agentic RAG for File-Level Bug Localization
  7. 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debugging
  8. 2023Static Code Analysis in the AI Era: An In-depth Exploration of the Concept, Function, and Potential of Intelligent Code Analysis Agents