Finding the Right Fit: Model-Harness Interactions across Agent Tasks
cs.AI, cs.SE
Submitted: 2026-10-01
Updated: 2026-10-01
Comments: 19 pages, 9 figures, 6 tables. Code: https://github.com/liyix/finding-the-right-fit. Data: https://huggingface.co/datasets/yixuanli97/finding-the-right-fit
Code: https://github.com/liyix/finding-the-right-fit
License: http://creativecommons.org/licenses/by/4.0/
The gist: Choosing an agent system means choosing both a language model and the harness through which it acts.
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.
Sources
- TUA-Bench: A Benchmark for General-Purpose Terminal-Use Agents
- Large Language Models Cannot Self-Correct Reasoning Yet
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues?
- AI Agents That Matter
- Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation
- The Interplay of Harness Design and Post-Training in LLM Agents
- MIND-Skill: Quality-Guaranteed Skill Generation via Multi-Agent Induction and Deduction
- AgentBench: Evaluating LLMs as Agents
- Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces
- MemGPT: Towards LLMs as Operating Systems
- Toolformer: Language Models Can Teach Themselves to Use Tools
- Reflexion: Language Agents with Verbal Reinforcement Learning
- Agents' Last Exam
- The Scaffold Effect in Coding Agents: Harness Choice as a Hidden Variable in Coding-Agent Evaluation
- Voyager: An Open-Ended Embodied Agent with Large Language Models
- Executable Code Actions Elicit Better LLM Agents
- OpenHands: An Open Platform for AI Software Developers as Generalist Agents
- Agentless: Demystifying LLM-based Software Engineering Agents
- OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments
- Polar: Agentic RL on Any Harness at Scale
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems