← Back to Paper Radar

Finding the Right Fit: Model-Harness Interactions across Agent Tasks

Yi-Xuan Li, Yi-Yun Zhou, Yao-Long Teng, Fu-Chao Yang, Yan-Chen Deng, Zhiyi Lyu, Xu-Yu Dong, Feng Chen, Bo An
2026

Reading guide · Based on sections of the original paper

The authors evaluate 66 model–harness configurations on three agent benchmarks and argue that model rankings, the best harness for each model, and the advantage of vendor-native harnesses all shift with the task. For that reason they recommend evaluating the model, harness, and task together.

Why read this

This is useful for teams choosing, upgrading, or porting an agent stack who want evidence that model leaderboards alone can mislead, along with released trajectories and adapters for testing their own pairings.

What the authors found

  • On the 63-task Terminal-Bench 4 subset, Claude Opus 5 beats GPT-6 Astra by 7.94 points under OpenHands. Under DSH, PI, and openJiuwen it trails GPT by 17.46, 30.16, and 12.70 points. Each result is a single counted run per task. 4.1 Model–Harness Interactions and Native Pairings
  • Four of the five models have a different top-scoring harness depending on the benchmark. Kimi K3 is the exception: under openJiuwen it leads the strongest alternative on all three benchmarks. The lead holds after removing the three largest task gaps. On ALE-CLI, however, it trails PI on computing/math tasks. 4.2 Task-Dependent Fit
  • Higher spending does not reliably buy higher scores. On Terminal-Bench 4, GPT under PI outscores GPT under DSH at less than a quarter of the API cost per task, priced at OpenRouter rates. Performance and cost.

Main limitation

Each task counts one run, run-to-run variance is not measured, and settings are not uniformly matched across configurations. Gaps of a few points may therefore be noise, and the study cannot attribute effects to specific harness components. 7 Limitations

Where to start

5.1 Feedback and Recovery · See how specific harness defaults decide outcomes from a small set of matched trajectories: OpenHands' stuck detector, PI's shell with no default timeout, and openJiuwen's resumption after output-cap cutoffs.

Abstract

Choosing an agent system means choosing both a language model and the harness through which it acts. We ask whether a strong model, harness, or pairing stays strong when the setting changes. We evaluate 66 configurations: four configurable harnesses (OpenHands, DeepSeek Harness, PI, and openJiuwen) paired with five models on TUA-Bench, ALE-CLI, and Terminal-Bench 4, plus the native Codex-GPT and Claude Code-Claude pairings. Model rankings reverse across harnesses. On Terminal-Bench 4, Claude leads GPT by 7.94 points in OpenHands but trails it by 30.16 points in PI. For four of the five models, the best harness changes from one benchmark to another, yet some pairings hold: openJiuwen gives Kimi its highest score on all three benchmarks, by 5.61 to 11.11 points. A model's own vendor harness is not reliably its best, and higher cost does not reliably buy a higher score. On Terminal-Bench 4, GPT scores higher under PI than under DSH at less than a quarter of the cost per task. Matched trajectories suggest why fit varies. Models start almost all repairs themselves, so much depends on whether the harness hands failures back in a form the model can use. GPT does best with PI's lean scaffold, while Kimi, which often issues malformed tool calls, does best in openJiuwen. We argue that the model, the harness, and the task should be evaluated together, and we release the harness adapters, evaluation code, and all 6,204 scored trajectories at https://github.com/liyix/finding-the-right-fit and https://huggingface.co/datasets/yixuanli97/finding-the-right-fit.

Generated automatically from paper sections on 2026-11-28.