Skip to content

Trial by Trace: An agent harness benchmark evaluation for reliability and failure attributionTrial by Trace: Benchmarking AI Agent Harnesses for Reliability and Failure Attribution

Hugging Face Daily Papers· arXiv:2610.32285· Zhiyong Cao, Hengjie Zhu, Yongxin Wang, Xuchen Li, Jintao Li, Shuxia Liu, Dunqiang Liu, Bo Wang, Kairan Zhang, Cong Lin, JiangDi Yu, Siyuan Liu, Sijia Yao, Yi-Liang Wei, Lingxu Ma, Aijia Wang, Anxin Chen, Zixian Wei, Xiang Ruan, Ruizhi Xu, Ruqian Shi, Baihua Xiao, Sicheng ZhouInstitute of Automation, CAS; Zhongguancun Academy; Institute of Information Engineering, CAS; Tsinghua University; Beijing Institute of TechnologyIndexed by this site · 28 days ago· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors build TraceTrial-Bench to evaluate agent harness reliability; across 4 harnesses, 9 models, and 3,420 runs, 31.1% of tasks succeeded but had harness criteria that were not passed.

Questions
Existing agent benchmarks mostly measure model capability and overall task performance, making it hard to distinguish model errors from harness mechanism defects; the authors argue that the harness is an independent component that affects reliability and needs to be evaluated separately.
Methods
Constructs 95 mechanism-oriented tasks covering 7 reliability dimensions, uses the TT module to collect trajectories and the MEA module to aggregate multi-source evidence, a two-layer framework evaluates Agent performance and Harness reliability respectively, and the FA module performs failure attribution according to pre-declared mechanism chains.
Experiments and results
Across 3,420 runs, Harness Macro is 59.8%–72.0%; Claude Code, which has the highest task success rate (44.0%), is not the highest scorer on Harness (OpenClaw 72.0%); 31.1% of runs succeeded on the task but had at least one Harness criterion fail.
Limitations and future work
The authors note uneven task coverage, only one selected execution per combination, and difficulty estimating stability across repeated runs; differences in task revisions and scoring budgets limit causal conclusions. The semantic judge is fixed as deepseek-v4-flash, and the paper does not report judge agreement.
Experimental setupDeepSeek-V4-Pro、Gemini 3.7 Flash et al. · TraceTrial-Bench(95 个任务) · Agent Pass、Agent Score et al.
Evaluated models
DeepSeek-V4-ProGemini 3.7 FlashGLM-5.3GPT-5.6-SolGrok-4.6HY3Kimi K3Opus 5Qwen3.8-Max
Benchmarks
TraceTrial-Bench(95 个任务)
Metrics
Agent PassAgent ScoreHarness MicroHarness MacroCleanOverall(50/50 Layered Score)候选链接激活率
AI summaryThe researchers propose TraceTrial-Bench, which evaluates the reliability of agent harnesses across seven components: context, execution, governance, lifecycle, observability, tools, and verification, and construct 95 expert-level mechanism-oriented tasks with executable or state-based ground-truth answers. The benchmark includes a Trajectory Tracing module that captures execution traces, a two-layer evaluation framework that separately evaluates agent performance and harness reliability, a Multi-source Evidence Acquisition module that collects evidence from the agent context, the harness, and the execution environment, and a Failure Attribution module that supports run-level failure attribution with explicit mechanism chains. Across 3,420 runs covering 4 harnesses, 9 models, and 95 tasks, harness macro averages ranged from 59.8% to 72.0%, and 31.1% of runs still completed the task without passing at least one harness criterion.

The researchers propose TraceTrial-Bench, which evaluates the reliability of agent harnesses across seven components: context, execution, governance, lifecycle, observability, tools, and verification, and construct 95 expert-level mechanism-oriented tasks with executable or state-based ground-truth answers. The benchmark includes a Trajectory Tracing module that captures execution traces, a two-layer evaluation framework that separately evaluates agent performance and harness reliability, a Multi-source Evidence Acquisition module that collects evidence from the agent context, the harness, and the execution environment, and a Failure Attribution module that supports run-level failure attribution with explicit mechanism chains. Across 3,420 runs covering 4 harnesses, 9 models, and 95 tasks, harness macro averages ranged from 59.8% to 72.0%, and 31.1% of runs still completed the task without passing at least one harness criterion.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Existing benchmarks only measure task outcomes and cannot distinguish model errors from harness mechanism defects; the authors propose evaluating harness reliability separately.

    Core question: how to evaluate the reliability of an agent harness (the system layer connecting models with tools and environments) in isolation, and attribute failures at the mechanism level.

    • Problem setting: The authors hold that agent performance = model + harness, and that the same model behaves differently under different harnesses; looking only at final task outcomes masks harness problems such as context loss, distorted tool results, and lifecycle violations (Figure 1).
    • Shortcomings of existing methods: The authors state that most benchmarks evaluate task completion via final answers, test results, or environment state, conflating the effects of model and harness; even with a fixed model, it is impossible to locate which harness behavior caused the difference.
    • Core observation: Task success may coexist with harness defects, and task failure may also occur when the harness executes faithfully; therefore Agent outcomes and Harness obligations need to be scored separately, with evidence supporting attribution.
    • Proposed in the paper: TraceTrial-Bench—95 mechanism-oriented tasks covering 7 reliability dimensions (Context, Execution, Governance, Lifecycle, Observability, Tools, Verification), together with trajectory tracing (TT), multi-source evidence acquisition (MEA), a two-layer evaluation framework, and a failure attribution (FA) module.
    • Evaluation target: The system under test (SUT) is the native harness; the model, task, environment, and resource budget are controlled inputs; the evaluator and acquisition mechanisms are part of the measurement apparatus, and apparatus failures are not counted as harness defects.
  2. What related research exists?

    Related work falls into three groups: harness engineering, agent evaluation, and failure analysis; the authors position this work as complementary: preserving native behavior and providing mechanism-level criteria and evidence.

    Agent Harness Engineering

    • ACE, ACDL, SkillAlign (Zhang et al., 2026; Peleg Pelc et al., 2026; Ren et al., 2026) — improve context management and interfaces.
    • LongHorizon-Harness, Crab (Ma et al., 2026; Wu et al., 2026) — handle long-horizon continuity and recovery; AgentBound, SafeHarness (Bühler et al., 2026; Lin et al., 2026b) — enforcement policies and safety guardrails.
    • HARBOR, retrospective optimization, SHAPER (Sengupta & Wang, 2026; Pan et al., 2026; Wang et al., 2026a) — optimize configuration, skills, or harness code; HarnessFix (Chen et al., 2026) — diagnose and patch implementation defects.

    Agent Evaluation

    • Terminal-Bench, SWE-Bench Pro (Merrill et al., 2026; Deng et al., 2025) — evaluate verifiable task outcomes.
    • Harness-Bench (Yao et al., 2026) — compares model–harness configurations under shared conditions; HarnessAudit, HarnessRisk (Liu et al., 2026; Bai et al., 2026) — check execution fidelity and adversarial risk.

    Failure Analysis

    • Who&When (Zhang et al., 2025) — locates the responsible agent and the erroneous step; AgentRx (Barke et al., 2026) — diagnoses constraint violations; REFLECT (Lin et al., 2026a) — performs attribution using interventions and controlled replay.

    Baselines and Benchmarks

    This paper is a benchmark paper and has no method baseline; the comparison targets are 4 harnesses under test (Claude Code, Codex, DeepSeek Harness, OpenClaw), and the evaluation benchmark is the TraceTrial-Bench 95 tasks constructed by the authors.

    Author positioning: configuration search, skill evolution, and implementation repair target different system components; TraceTrial-Bench preserves native execution policies and records obligation-level evidence, complementing rather than replacing the above work, and is used to test whether task gains are accompanied by more reliable harness behavior.

  3. How does the paper address this problem?

    With native harnesses as the systems under test: 95 mechanism tasks + trajectory tracing + multi-source evidence + two-layer scoring + mechanism-chain attribution.

    Overall approach: treat native harnesses as the systems under test, apply pressure with mechanism-oriented tasks, collect execution trajectories and multi-source evidence, score Agent performance and Harness reliability separately, and then use pre-declared mechanism chains for failure attribution. The framework is named TraceTrial-Bench.

    Problem Setting and System Boundary

    • Abstraction: Agent = Model + Harness; the harness is responsible for constructing context, exposing tool interfaces, transmitting calls and results, maintaining state, and enforcing permission control; tool implementations, task environments, and evaluators lie outside the boundary.
    • Run definition: a run Rh,m,t,r=(τ, Δ W, G, VH, VA, Lact) contains the normalized event sequence, workspace changes, fixture admission state, the two-layer verdict vectors, and activated candidate links; each cell retains one selected execution.
    • Four levels of claims: criterion verdict → confirmed Harness defect → activated candidate link → validated propagation (propagation validated by manual review), each level requiring more evidence.

    Task Suite and Reliability Taxonomy

    • Seven dimensions: Context, Execution, Governance, Lifecycle, Observability, Tools, Verification (based on the taxonomy of Li et al., 2026), covering 40 mechanism-level attributes.
    • 95 tasks: 15 Context, 27 Execution, 9 Governance, 19 Lifecycle, 7 Observability, 17 Tools, 1 Verification (Figure 4); 46 single-turn, 45 fixed multi-turn, 4 simulator-driven.
    • Task contract: each task fixes the prompt/turn sequence, initial workspace, tools, budget, expected output, deterministic verifier, and two scoring tables; private simulator state and baseline snapshots lie outside the Agent-writable workspace.

    Trajectory Tracing (TT) and Evidence Collection (MEA)

    • TT module: through harness-specific adapters (Codex reads the JSON event stream, Claude Code merges stream-json with session records, OpenClaw reads JSON output and session JSONL, DeepSeek Harness consumes the JSON-RPC notification stream), native records are normalized into Trace IR, preserving provenance and native identifiers.
    • MEA module: deterministically extracts bounded evidence packets from trajectories, probes, workspace diffs, and simulator ledgers via criterion-level selectors; the full archive is retained for audit and replay, and the reviewing model cannot change the selection bounds.
    • Evidence authority hierarchy: environment state is authoritative for "what actually happened", changed artifacts are authoritative for the final deliverable, provider request evidence is authoritative only for structured tool declarations, and native model-side results are authoritative for "what the model can see".

    Two-Layer Evaluation and Failure Attribution

    • Scoring formula: S = 50pH/nH + 50pA/nA, with each layer worth 50 points and criteria equally weighted within a layer; only S = 100 counts as a combined pass.
    • Verdict process: fixture admission check first, then deterministic rules, then Agent semantic review, and finally Harness semantic review; state 2 of a Harness criterion (mechanism not triggered) is resolved according to the Agent result, and state 3 (harness fault) is directly judged a failure.
    • FA module: tasks pre-declare candidate mechanism chains from Harness criteria to Agent criteria; a candidate link is automatically activated when criteria at both ends fail and the activation conditions are met; activation does not mean propagation holds, and validating propagation requires manual review of event order, intermediate distortions, and competing explanations.
  4. What experiments did the paper conduct?

    4 harnesses × 9 models × 95 tasks, totaling 3,420 runs; task success and harness reliability rankings are inconsistent, and the two diverge in 31.1% of runs.

    Experimental Setup

    • Harnesses under test: Claude Code (2.1.220), Codex (0.145.0), DeepSeek Harness (0.1.0-rc.6), OpenClaw (2026.6.9), with native behavior preserved via dedicated adapters.
    • Models under test (9 groups): DeepSeek-V4-Pro, Gemini 3.7 Flash, GLM-5.3, GPT-5.6-Sol, Grok-4.6, HY3, Kimi K3, Opus 5, Qwen3.8-Max.
    • Tasks: 95 tasks, each task run on all 36 model–harness combinations, 1 selected execution per combination, 3,420 cells in total (855 per harness, 380 per model).
    • Evaluation method: all 3,420 final evaluations used deepseek-v4-flash as the semantic Judge; the output cap per criterion was 4,096 tokens (1,966 evaluations), 8,192 (1,452), and 32,000 (2), so the scoring budgets were not fully consistent.
    • Metrics: Agent Pass (all Agent criteria passed), Agent Score, Harness Micro/Macro, Clean (both layers fully passed), Overall (50/50 average); attribution metrics include candidate link activation rate.
    • Repetitions: only one selected execution per cell; the paper explicitly does not estimate within-cell repeatability.

    Main Results

    According to Table 6 (855 matched model–task cells per harness, %):

    Swipe horizontally to read the table

    HarnessAgent PassAgent ScoreHarness MicroHarness MacroCleanOverall
    Claude Code44.075.971.571.29.173.5
    Codex35.870.760.259.82.865.2
    DeepSeek Harness40.073.369.568.89.871.0
    OpenClaw38.271.771.972.011.771.8
    • The authors note that Claude Code, which has the highest task success rate, is not the highest scorer on Harness (OpenClaw); the two rankings are inconsistent.
    • Harness Macro spans 12.2 percentage points (Codex 59.8% to OpenClaw 72.0%); Agent Pass spans 8.2 percentage points.
    • Overall: Agent criteria passed 14,979/20,016 (74.8%), Harness criteria passed 19,242/28,188 (68.3%); 1,351 runs (39.5%) passed all Agent criteria, and only 286 runs (8.4%) passed both layers.

    Model × Harness Interaction

    • What was measured: the fixed-model blocks of Table 7, comparing 4 harnesses under the same model (95 tasks per harness per block).
    • Results: Codex has the lowest Harness Macro in all 9 model groups; OpenClaw is highest on 6 models, and Claude Code is highest on GLM-5.3, GPT-5.6-Sol, and Grok-4.6; the within-model harness range is 10.0–16.2 percentage points (smallest for Qwen3.8-Max, largest for GPT-5.6-Sol).
    • Authors' interpretation: a model's task success rate varies with harness configuration (Grok-4.6 from 33.7% on OpenClaw to 55.8% on Claude Code; Opus 5 from 30.5% on Codex to 53.7% on Claude Code), and the strongest task results need not coincide with the strongest execution-layer score.

    Breakdown by Dimension and Failure Attribution

    • Dimension results (Table 9): Execution has the lowest pooled Harness Micro (64.6%), followed by Lifecycle 65.5% and Context 65.6%; Observability 84.3%, Verification 90.1%. The Execution dimension varies widely across harnesses: Codex 51.5%, OpenClaw 77.1%.
    • Failure states (Table 10): 286 runs clean on both layers, 1,065 Harness-only failures, 369 Agent-only failures, 1,700 failures on both layers; 31.1% of runs succeeded on Agent but had at least one Harness criterion fail.
    • Candidate links: of the 1,700 both-layer failures, 842 (49.5%) contain at least one stored candidate link, totaling 1,633 activated endpoint pairs; of the 2,069 Agent failures, 1,773 (85.7%) still have failing criteria not covered by any link. The authors emphasize that link activation does not equal a confirmed defect or causal propagation.

    Other Ablations and Analyses

    • Attribute extremes (Section 5.4): none of the 40 attributes reaches 100% Harness Micro across all models and harnesses; network restriction is lowest at 38.9%; cross-turn fact retention has 48.4% Harness satisfaction while Agent success rate is 95.8%.
    • Resource consumption (Section 5.6): estimated average cost per run is Claude Code $0.436, Codex $0.595, DeepSeek Harness $0.446, OpenClaw $0.633; average total tokens are 578.8k, 617.2k, 372.7k, and 680.0k respectively.
    • Case studies (Appendix F): 5 paired trajectory studies (e.g., under Opus 5, Claude Code recovers truncated information while OpenClaw loses the recovery path); the authors state these support inspection of specific behaviors rather than an overall estimate of attribution accuracy.
  5. What are some points that can be further explored?

    The authors list limitations such as task coverage and single execution, and two future directions; the experiment covers 4 harnesses, 9 models, 95 tasks, with one execution per cell.

    Limitations and Future Directions Noted by the Authors

    • Uneven task coverage: the evaluation uses a targeted task suite, and mechanism coverage is uneven (Section 6.1).
    • Single execution: each task–model–harness combination has only one selected execution, giving limited evidence on stability across repeated runs (Section 6.1).
    • Generalization and causal limitations: the results characterize the collected configurations, with limited evidence for generalization to deployment workloads; differences in task revisions, runtime settings, and scoring budgets further limit causal conclusions about individual harness design choices (Section 6.1).
    • Future direction one: Harness evolution—use a trajectory-guided improvement loop to identify mechanism failures, modify harness behavior, and evaluate on held-out tasks, together with controlled interventions and repeated executions (Section 6.2).
    • Future direction two: evaluation for recursive self-improvement (RSI)—cross-evaluate Agent and Harness versions to separate their contributions, use criterion-level feedback to guide updates, and test transfer on held-out tasks and unfamiliar harnesses (Section 6.2).

    Scope of Experimental Coverage

    • The harnesses under test are 4 in total: Claude Code, Codex, DeepSeek Harness, OpenClaw; 9 model groups; 95 tasks, 1 selected execution per combination, 3,420 runs in total (Section 4.1).
    • The semantic judge is fixed as deepseek-v4-flash; the paper does not report agreement between the Judge and human review, nor does it estimate corpus-level selector recall, Judge agreement, or candidate link precision (Sections 3.6, 4.2).
    • The attribution analysis counts only automatically activated candidate links; the manual review required to validate propagation was not performed in the overall results, and the 5 cases in Appendix F are selected comparisons rather than an overall estimate of attribution accuracy (Section 5.7, Appendix F).
    • Dimension coverage is uneven: Verification has only 1 task (9 runs; 36 for the harness dimension), Observability has 7 (Figure 4, Table 9).
    • Scoring budgets are not uniform: the Judge output cap has three tiers, 4,096 / 8,192 / 32,000 tokens, and the paper reports them as-is rather than treating them as a uniform-budget experiment (Section 4.2).
  6. Summarize the main content of the paper

    TraceTrial-Bench evaluates the harness as an independent system under test; 3,420 runs show that task success and harness reliability often diverge.

    A benchmark paper on agent harness evaluation: the authors argue that agent performance is jointly determined by the model and the harness, while existing benchmarks only measure task outcomes and cannot localize harness mechanism problems.

    • Problem to solve: evaluate the harness separately as an independent reliability-critical component, and perform mechanism-level attribution of failures.
    • Method highlights: 95 mechanism-oriented tasks covering 7 reliability dimensions; the TT module normalizes the native trajectories of 4 harnesses into Trace IR; the MEA module extracts bounded evidence packets via criterion-level selectors; the two-layer framework separately scores Agent performance and Harness reliability (50 points each); the FA module activates candidate failure links using pre-declared mechanism chains, and validating propagation requires manual review.
    • Main results:
      • 4 harnesses × 9 models × 95 tasks, 3,420 runs in total, Harness Macro from Codex 59.8% to OpenClaw 72.0% (Table 6).
      • Claude Code, which has the highest Agent Pass (44.0%), and OpenClaw, which has the highest Harness Macro (72.0%), are not the same system.
      • 31.1% of runs succeeded on the task but failed at least one Harness criterion; only 8.4% passed both layers.
      • Of the 1,700 both-layer failures, 49.5% contain activated candidate links; the Execution dimension has the lowest pooled Harness Micro (64.6%).
    • Authors' conclusion: task outcomes and harness reliability are empirically two different quantities, and outcome-only evaluation cannot characterize harness reliability; the within-model harness range reaches 16.2 percentage points, and harness choice should reflect the reliability requirements of the target task.
    • Implications (in the authors' voice): the released tasks, configurations, trajectories, and judgments provide an auditable, reproducible basis for harness comparison, failure diagnosis, and research on the interaction between harness design and model behavior.
Read originalhuggingface.co