Skip to content
Preprint

ASAD: Adaptive Software Agents for Debugging

Sep 2026 · 0 citations · 43 references
Computer Science

TL;DR

ASAD is introduced, an adaptive agentic system for debugging that configures its team according to the nature and complexity of each bug, and dynamically adjusts the number and roles of agents.

Abstract

The integration of Large Language Models (LLMs) into multi-agent systems has shown great potential for automated debugging. Yet nearly all current frameworks rely on rigid, predefined architectures: the number of agents, their roles, and their interaction patterns are fixed before any analysis of the bug occurs. This one-size-fits-all approach is fundamentally mismatched to the heterogeneous nature of software defects. Simple bugs waste resources on unnecessary coordination, while complex ones suffer from insufficient or poorly aligned expertise. This paper introduces ASAD, an adaptive agentic system for debugging that configures its team according to the nature and complexity of each bug. ASAD initiates the debugging process by analyzing the faulty code and dynamically determines the number of agents to deploy, the specialized roles they should have, and the collaboration strategy they should follow. A central coordinator orchestrates this process through iterative planning, reflection, and execution; applying fast single-pass repairs for simple issues while assembling purpose-built teams to tackle more complex failures. We evaluate ASAD on three established benchmarks: Defects4J, DebugBench, and CodeFlaws, using multiple LLMs, such as DeepSeek-V3, Qwen-3 and GPT-5. ASAD consistently improves bug-fix rates by 12--20% over chain-of-thought(CoT) prompting and consistently outperforms static multi-agent systems by 4--9% in fix precision while reducing average agent usage by 32%. Crucially, our system dynamically adjusts the number and roles of agents: it resolves simple bugs with minimal coordination and scales agent involvement only for more complex cases.

View source

Similar papers

Book Open access Oct 2026

Understanding the Code and Architectural Smells Generated by LLMs and Autonomous Agents

A systematic audit of technical debt in AI-generated software is presented, revealing that AI does not eliminate flaws but rather introduces a distinct "machine signature" of defects.

Yue-Cai Zhu, Nikolaos Tsantalis, Peter C. Rigby · 0 citations
#artificial intelligence Review Sep 2026

Is manual software optimization a thing of the past?

This work investigates whether LLM-based agents can autonomously achieve substantial performance improvements in scientific software, including mature implementations that have already been extensively optimized by human developers.

Pavlin G. Poličar, Martin Špendl, Tomaž Hočevar · 0 citations
#natural language process... Preprint Sep 2026

MTAC-IFBench: Benchmarking Instruction-Following in Multi-Turn Agentic Coding

Recently, the rapid development of large language models (LLMs) has reshaped software engineering by enabling autonomous code agents that plan, execute, and utilize external tools iteratively to tackle complex tasks. Beyond achieving functional correctness, these agents must faithfully follow process instructions and c...

Bo-Si Wen, Cun-Xiang Wang, Jia-Yi Gui et al. · 0 citations
Open access Aug 2026

SCAgent: An LLM‐Based Agent With State‐Aware Coordination for Automated Program Repair

This paper proposes SCAgent, an LLM‐based agent for APR with state‐aware coordination, which structures the repair process into coordinated stages, including bug understanding, information gathering and patch generation, and dynamically controls transitions between these stages based on the repair context.

Shaosheng Wang, Lu Lu, Shaojian Qiu · 0 citations
Review Open access Aug 2026

From Code Generation to Code Orchestration: Evaluating the Impact of Agentic AI on Software Development Productivity, Quality and Security

This paper reviews recent empirical literature to ask what the developer's job is shifting from typing code to directing agents that type code a change often summarized as a move from code generation to code orchestration.

P. N. Nesarajan, P. Thenmozhi, S. A. et al. · 0 citations
Review Open access 2026

How Experienced Developers Can Get More Value from Agents

AI agents are becoming a fundamental part of modern software creation, helping developers in generating code, debugging, designing systems, etc. But there is a clear difference between how beginners and experienced software engineers get benefits from these tools. Newbies usually depend on agents for one-time prompts a...

Madhurima Kommuru, Srujana Pulipaka · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.