arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.13361cs.SEcs.AIcs.LG
收藏

AgentSWE:编码智能体能构建出你真正想要的智能体吗?

AgentSWE: Can Coding Agents Build the Agent You Actually Want?

Beijing Academy of Artificial Intelligence(北京人工智能研究院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Renmin University of China(中国人民大学)

Jiahao Wang, Hongjin Qian, Yuyang Hu, Jiajun Zhang, Zheng Liu

AI总结:

本文推出AgentSWE基准测试编码智能体构建真实需求智能体的能力,发现现有编码智能体普遍存在展示与交付差距大的问题,并识别出其过拟合等失败模式。

摘要:

随着软件开发逐渐交由软件自身完成,编码智能体越来越多地被委托构建适配用户自身工作流程的智能体。这种委托隐含着一个默认假设:交付的智能体将忠实地满足其构建时的需求,而非仅仅看起来如此。目前没有任何基准测试能验证这一假设。我们推出AgentSWE,一个覆盖智能体开发生命周期三个阶段的智能体软件工程基准:从自然语言需求创建完整智能体、编辑生产级智能体代码库,以及针对可测量目标进行优化。其25个任务中的每一个都被设计为一项委托而非考试:构建者针对少量示例用例进行迭代,而验收阶段则在保留的用例上测试冻结的提交,这些保留用例旨在覆盖全部需求,根据源自需求的评分标准对行为进行分级,采用严格的通过/不通过判定,对于优化阶段则依据源基准自身的目标进行判定。我们评估了一系列不同模型和框架的编码智能体,发现没有任何一个能接近满足需求要求:构建者展示的内容与实际交付内容之间的差距是常态,而非例外情况。附带的失败轨迹实证分析识别出反复出现的失败模式,包括对可见用例的过拟合、看似完整的代码背后的空洞运行时,以及未被支持的完成声明,每一种都是编码智能体学习构建所要求智能体的信号。

英文摘要:

As the production of software passes into the hands of software itself, coding agents are increasingly commissioned to build agents fitted to their users' own workflows. This delegation carries a quiet assumption, that the delivered agent will faithfully serve the requirement it was built for, rather than merely appear to. No existing benchmark tests that assumption. We introduce AgentSWE, a benchmark for agent software engineering spanning three stages of the agent development lifecycle: Creation of a complete agent from a natural-language requirement, Editing of production agent codebases, and Optimization toward a measurable target. Each of its 25 tasks is framed as a commission rather than an exam: the builder iterates against a handful of illustrative cases, while acceptance exercises the frozen submission on held-out cases designed to span the full requirement, grading behavior against requirement-derived rubrics under hard pass/fail gates or, for Optimization, against the source benchmark's own objective. Evaluating a range of coding agents across models and harnesses, we find that none comes close to delivering what a requirement asks for: the gap between what a builder demonstrates and what it delivers is the norm, not the corner case. An accompanying empirical analysis of the failure trajectories identifies recurring failure modes, among them overfitting to the visible cases, hollow runtimes behind code that looks complete, and unsupported claims of completion, each a signal by which coding agents can learn to build the agents they are asked for.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑