When Agents Fail: Model or Harness--Who's to Blame?

Agent Agent Eval Benchmarks
2026年10月23日
大语言模型(LLM)智能体将基础模型与执行框架(harness)相结合,因此智能体在评测基准上的表现实际反映的是二者协同作用的整体行为。我们主张,执行框架的评估应以其与底层模型的实际交互效果为依据。为此,我们构建了一个融合五项互补性指标的评估框架:(i)有效完成率(Valid Completion Rate, VCR),即智能体以正常方式完成任务、输出可评估结果的可靠性,该指标不考虑任务结果是否正确;(ii)模型–框架适配度(Model-Harness Fit),指特定执行框架对某一给定模型达成任务目标(通过有效完成)的支持能力;(iii)跨模型适配度(Cross-Model Fit),即某执行框架在全部参评模型上的整体适用性;(iv)交互残差(Interaction Residuals),揭示仅靠组件级汇总指标所掩盖的、特定模型–框架组合在执行过程中的优势与短板;(v)令牌负载(Token Load),即智能体执行全过程(含失败尝试)所产生的令牌消耗量。我们在六类涵盖上下文管理、工具调用、长上下文规划、多模态交互及产物交接(artifact handoff)的评测基准上,对四款通用型执行框架(OpenCode、Codex CLI、Pi CLI 和 DeepAgents)以及四款核心大语言模型(外加两个固定搭配的原生模型–框架系统)进行了综合评估。实验覆盖原生系统参考基准与压力测试条件,共形成111种评测配置,生成52,168条完整执行轨迹。结果显示:不同模型与不同基准下,各执行框架的排名差异显著;任务性能最优的组合未必对应最高有效完成率,而相近的任务得分背后,可能隐藏着截然不同的执行行为特征。在跨模型综合表现中,OpenCode 排名第一;而在共享的四项基准评测面板上,DeepSeek V4 Flash Preview 在所有执行框架中始终保持最高的平均有效完成率(Mean VCR)。上述发现表明:有必要将模型与执行框架的协同交互作为核心评估维度;应在模型训练中强化其对各类执行框架的通用调用能力;同时,执行框架的设计也需更具针对性——既适配特定模型的能力边界,也契合具体任务的需求特性。
LLM agents combine models with execution harnesses, so agentic benchmark performance reflects their joint behavior. We argue that harnesses should therefore be evaluated through their interactions with underlying models. We develop a framework combining five complementary measures: (i) Valid Completion Rate (VCR), how reliably agents finish normally and deliver evaluable results, irrespective of task correctness; (ii) Model-Harness Fit, how well a harness supports task achievement through valid completion for a given model; (iii) Cross-Model Fit, a harness's overall suitability across evaluated models; (iv) Interaction Residuals, pairing-specific execution strengths and weaknesses hidden by component-level summaries; and (v) Token Load, the token demands of agent execution, including failed attempts. We evaluate four general-purpose harnesses (OpenCode, Codex CLI, Pi CLI, and DeepAgents) with four core models, plus two fixed native model-harness systems, on six benchmarks covering context management, tool use, long-context planning, multimodal interaction, and artifact handoff. Including native references and stress conditions, 111 evaluation settings yield 52,168 trajectories. Harness rankings vary across models and benchmarks; task performance and valid completion can favor different pairings, and similar task scores can accompany distinct execution profiles. OpenCode ranks first in cross-model performance, while DeepSeek V4 Flash Preview maintains consistently high Mean VCR across harnesses on the shared four-benchmark panel. These findings support evaluating model-harness interactions, training transferable harness-use capabilities in models, and harness designs adapted to the model and task.
许愿