通过行为轨迹解读编码智能体
研究论文 · 2026/11/16
标准编码智能体基准主要评估二元任务成功,将执行视为黑盒,掩盖了产生结果的行为。我们分析了来自125种智能体配置(涵盖117个独特模型)的143,209条执行轨迹。为了跨异构智能体接口进行比较,我们开发了一个基于规则的解析器,将原始执行轨迹映射到高级动作(如仓库搜索、文件编辑和测试执行),并在500个事件上根据六模型共识参考审核其预测。我们发现,解决率相似的智能体在探索、修改和验证代码的方式上可能存在显著差异。此外,在不使用任务结果、令牌计数或工具名称作为特征的情况下,聚合行为画像能够在不相交的仓库集和编程语言中检索到相应的智能体栈,尽管跨仓库设置中任务组成未完全控制。通过分析前沿模型和智能体脚手架,我们进一步表明,脚手架选择和推理努力会系统地改变智能体的搜索、编辑和测试行为。我们发布了确定性解析器以及完整的注释和分析流程,并附带一个带注释的轨迹子集。
该研究通过大规模轨迹分析揭示了编码智能体行为差异,提供了可复用的解析工具和数据集,对智能体评估和设计有重要启示。
Standard coding-agent benchmarks primarily evaluate binary task success, treating execution as a black box and obscuring the behaviors that produce those outcomes. We analyze a large corpus of 143,209 execution trajectories from 125 agent configurations spanning 117 unique models. To enable comparisons across heterogeneous agent interfaces, we develop a rule-based parser that maps raw execution traces to high-level actions such as repository search, file editing, and test execution, and audit its predictions against a six-model consensus reference on 500 events. We find that agents with similar solve rates can nevertheless differ substantially in how they explore, modify and verify code. Moreover, without using task outcomes, token counts, or tool names as features, aggregate behavioral profiles retrieve the corresponding agent stack across disjoint repository sets and programming languages, although task composition is not fully controlled in the cross-repository setting. Through analyses of frontier models and agent scaffolds, we further show that scaffold choice and reasoning effort systematically shift agents' search, editing, and testing behavior. We release the deterministic parser together with the full annotation and analysis pipeline alongside an annotated trajectory subset.