一句话:提出首个基于智能体的集成推理方法 EnAgent,通过生成、剪枝、选择模块提升仓库级 issue 解决效果。
软件 issue 解决是软件工程的重要挑战,LLM 的进展推动了该任务,但现有基于提示的集成推理难以有效探索大型集成空间,也缺乏仓库级理解。本文提出 EnAgent,首个面向仓库级 issue 解决的基于智能体的集成推理方法。它将目标形式化为最优解搜索问题,并用生成、剪枝和选择三个模块化智能体应对大型集成空间与仓库级理解两大挑战。作者在 SWE-bench 上使用三个领先 LLM,与四种先进集成推理技术比较;EnAgent 的 Pass@1 平均提升 10.22%。它已集成到 Trae Agent,截至 2026 年 1 月在 SWE-bench Verified 排行榜以 78.80% Pass@1 排名第一。
Software issue resolution is a critical challenge in software engineering and has garnered increasing attention in recent years. With the rapid advancement of large language models (LLMs), substantial progress has been made in addressing real-world software engineering tasks. Recent studies have introduced ensemble reasoning techniques to enhance the performance of LLM-based issue resolution. However, existing prompting-based methods still face limitations in effectively exploring large ensemble spaces and lack the capacity for repository-level understanding, both of which constrain their overall effectiveness. In this paper, we propose EnAgent, the first agent-based ensemble reasoning approach for repository-level issue resolution. EnAgent formulates our goal as an optimal solution search problem and addresses two key challenges, i.e., large ensemble spaces and repository-level understanding, through modular agents for generation, pruning, and selection. We conduct extensive experiments using three leading LLMs on the widely-adopted SWE-bench benchmark, comparing EnAgent against four state-of-the-art ensemble reasoning techniques. Experimental results demonstrate that EnAgent consistently achieves superior performance, with an average improvement of 10.22% over all baselines in terms of Pass@1. EnAgent has been integrated into Trae Agent, driving it to achieve first place on the SWE-bench Verified leaderboard as of January 2026, with a notable Pass@1 score of 78.80%.