ASAD自适应调试智能体系统
ASAD: Adaptive Software Agents for Debugging
ASAD能根据错误复杂度动态调整智能体数量和角色,简单错误用少量智能体,复杂错误组建专业团队,效率提升明显。
ASAD是一种自适应调试智能体系统,能根据错误性质和复杂性动态配置团队。该系统在Defects4J、DebugBench和CodeFlaws三个基准测试中,使用DeepSeek-V3、Qwen-3和GPT-5等模型,将错误修复率提高12-20%,修复精度比静态多智能体系统高4-9%,同时减少32%的平均智能体使用量。
ASAD: Adaptive Software Agents for Debugging
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.