Standardize the control plane, not the harness: what the research says about models, harnesses and lock-in.
Standardizing on one coding agent is the right call for governance: one place for policy, credentials, budgets and audit. It is the wrong call for results. A coding agent is a model and a harness, and the two are tuned to each other. We read the 2026 literature on harness effects so you don't have to. The short version: the harness moves the score more than the model, no harness wins on every model, and harnesses are replaced faster than models.
1. An agent is a model plus a harness
When people say “Claude Code” or “Codex” they usually mean the model. But what actually does the work is a loop around the model: the software that builds the context the model sees, defines the tools it can call, parses what comes back, and decides when to retry, compact, escalate or stop. The literature calls this the harness, or scaffold.
“The software layer between the model and the task that constructs the context the model sees, mediates its tool calls, validates its outputs, and decides when to retry, escalate, or stop.”Zhang et al., Stop Comparing LLM Agents Without Disclosing the Harness, 2026 [1]
Every lab ships its own: Anthropic's Claude Code, OpenAI's Codex, Google's Antigravity, Moonshot's Kimi Code, DeepSeek Harness, plus vendor-neutral ones like OpenCode and Cursor. They differ in tool names and schemas, in how they edit files, how they compact history, how they delegate to sub-agents, and how they stop. Those differences are not cosmetic.
2. The harness moves the score more than the model
The cleanest evidence comes from holding the weights fixed and changing only the harness. The swings are large, and often larger than the gap between model generations.
Pass rates; every row is one set of weights on one benchmark under two harnesses. Sources: Zhang et al. 2026 · Gundlach et al. (MIT) 2026 · Kolavi et al. (Hugging Face) 2026 · LangChain 2026 · Terminal-Bench 2.0 leaderboard.
Zhang et al. went further and ran a controlled factorial experiment: three frontier models (GPT-5.4, Kimi K2.6, GLM-5.1) that sit within 3 points of each other on public leaderboards, each run under three harness configurations. Harness-induced variance was 7.8× larger than model-induced variance, and the ranking of the models flipped six times across nine comparisons. Swapping the harness moved GLM-5.1 by 13 points; swapping the model inside a fixed harness moved scores by 2.5–5. [1]
The MIT group reached the same conclusion from leaderboard data: across the Holistic Agent Leaderboard, scaffolds explained more variance in price-performance than model selection did, and moving from a generalist to a specialist scaffold could buy roughly 100× cheaper performance at the same accuracy. [2]
3. No harness is best for every model
If one harness were simply “the best,” the fix would be easy: everyone uses that one. The data says otherwise.
Harness-Bench evaluated seven harnesses (Claude Code, Codex, OpenCode, OpenClaw, Hermes, Goose, Nanobot) against ten models under shared tasks and budgets. The headline finding: “no harness performs best across all ten backends.” Within a single model, scores moved 5–9.5 points by harness for most models and 39 points for the smallest one. [3]
The MIT study found the same heterogeneity: on GAIA, one scaffold improved some models and reduced accuracy for others. Model rankings across scaffolds had a Kendall τ of 0.17, meaning two models have barely better than a coin-flip chance of keeping their order when you change the harness. [2]
Practitioners see it too. LangChain tuned its harness against GPT-5.2-Codex and climbed from 52.8% to 66.5% on Terminal-Bench 2.0. The same harness with Claude Opus 4.6 scored 59.6%, “because we didn't run the same Improvement Loop with Claude.” Their advice: run the tuning loop per model. [6]
4. Why: models are trained against their harness
The reason is not mysterious. Labs post-train their models inside their own harness, so the harness's conventions become part of the weights.
“OpenAI's models are trained to edit files using a patch-based format, while Anthropic's models are trained on string replacement. Either model could use either tool, but giving it the unfamiliar one costs extra reasoning tokens and produces more mistakes.”Cursor, Continually improving our agent harness, April 2026 [4]
Cursor's response is to provision each model with the tool format it was trained on, and to customize prompts per provider and version. They also note that a model switched into a conversation produced by a different model is “out of distribution from what it was trained on.” [4]
The KwaiKAT team, cited in the Hugging Face guide, describe three ways a model overfits to its training harness: [5]
Format overfitting
The model learns one harness's tool names, argument schemas and edit syntax. Another harness rejects them outright.
Context-structure overfitting
The model adapts to how its harness compacts and reorders history. A different layout reads as noise.
Control-flow overfitting
The model leans on its harness's retry logic and stop conditions, and loops or stalls without them.
The failures can be total. In the Orchard study, OpenSWE-32B lost 7.5 points moving from OpenHands to Mini-SWE-Agent, and 58.8 points, down to 3.6% on SWE-bench Verified, under Kimi-CLI. Scale-SWE produced zero valid tool calls outside its native harness. [5] Academic work on CLI agents reports the same pattern: models fine-tuned on one scaffold “score well under [it] but degrade substantially when deployed under any non-training scaffold.” [7]
5. The labs' answer: train across harnesses
The most useful recent evidence comes from Hugging Face's Ultimate guide to multi-harness RL (Kolavi, Niklaus, von Werra et al., September 2026). They took one small open model, LFM2.5-2.6B, and measured it inside four real harnesses before and after reinforcement learning. [5]
| Claude Code | Codex | OpenCode | Mini-SWE | Overall | |
|---|---|---|---|---|---|
| Base model (no training) | 33 | 40 | 34 | 62 | 42 |
| RL in OpenCode only | 42 | 43 | 58 | 66 | 52 |
| RL across all four harnesses | 49 | 54 | 50 | 65 | 54 |
Two things stand out. First, the untrained model already varied by 29 points across harnesses: 33% in Claude Code, 62% in Mini-SWE-Agent, same weights. Second, training inside a single harness made the model better there and barely moved it elsewhere, which is exactly the lock-in effect in miniature.
The guide documents that frontier labs have noticed and are now deliberately training across many harnesses: KwaiKAT's KAT-Coder, Poolside's Laguna (1.3B tokens of trajectories from OpenHands, OpenCode and Mini-SWE-Agent), Kimi K3, Qwen3-Coder-Next (six harnesses), Xiaomi's MiMo-V2.6 and Liquid AI's LFM2.5. [5]
This is the strongest version of the argument. The labs with the most data on how their own models behave have concluded that a model bound to one harness is a liability, and are spending training compute to make their models portable. If portability is worth that much to them, it is worth at least as much to an organization that has to live with whatever each lab ships next.
6. Harnesses churn faster than models
Harness portability also matters because harnesses themselves do not stay still. Frontier model releases went from roughly one every 29 days in 2024 to one every 14 in 2025 and roughly one every 8 days in 2026. Each ships with a harness, and the harnesses get rewritten, replaced and retired on a similar clock. [9]
- Codex CLI launched in April 2025 and was rewritten in Rust within the year. GPT-5-Codex followed as a model explicitly “optimized for agentic coding in Codex.” [8]
- Gemini CLI launched open-source in June 2025. On June 18, 2026 Google began shutting it down for all consumer, Pro and Ultra accounts, replacing it with the closed-source Antigravity CLI, which Google acknowledged “doesn’t have 1:1 feature parity right out of the gate.” Teams had about 30 days. [10]
- DeepSeek Harness launched on August 13, 2026 and reached 141,000 GitHub stars in four days. DeepSeek followed with “Super-Agent” in November. [11]
A team that standardized on Gemini CLI in 2025, with hooks, skills and automations built around it, was re-platforming by July 2026. That is the organizational cost of a single-harness strategy: not a bad benchmark number, but a forced migration on someone else's schedule.
7. What it means for your organization
Put the three findings together:
- The best result for a given model comes from its native or best-fit harness, and the gap is large.
- Which harness is best changes per model, and the best model changes every few weeks.
- Harnesses are discontinued, rewritten and superseded on roughly the same cadence.
Standardizing on one harness means choosing one point in a space that is moving on two axes at once. You either accept a permanent discount on every model that isn't tuned for your harness, or you accept a migration every time the frontier moves. The steelman, that good harness design transfers across models, is partly true: LangChain found principles like context preparation and verification generalize. But the same work shows the tuned optimum does not. Principles transfer; the score doesn't.
The real objection to running many agents is governance: many harnesses means many places to configure credentials, policies, budgets and audit. That is the problem to solve, and it is a platform problem, not a reason to standardize the agent.
8. How Blocks is built for this
Blocks runs Claude Code, Codex, Antigravity, Cursor, OpenCode and Kimi Code today, under one control plane. Each harness runs natively, with the tools and formats its model was trained on. What is shared is everything around it: environments, credentials and inference, skills and MCP config, policies and budgets, the session log and audit trail. Adding a harness is a routing decision, not a migration. You can fork a running session to a different agent with its context intact, and pick a different agent per automation, per repo or per task.
When the next harness ships, and it will, your workflows don't move. The agent behind them does.
References
- 1Y. Zhang, J. Wang, Y. Ge, W. Xu, J. Hamm, C. K. Reddy. Stop Comparing LLM Agents Without Disclosing the Harness. arXiv:2605.23950, May 2026. arxiv.org/abs/2605.23950
- 2H. Gundlach, Z. Brown, J. Lynch, N. Thompson (MIT). Just a Wrapper? How Much Do Scaffolds Matter? June 2026. mitfuturetech.substack.com/p/just-a-wrapper-how-much-do-scaffolds
- 3Y. Yao et al. (Peking University / Qiyuan Tech). Harness-Bench: Measuring Harness Effects across Models in Realistic Agent Workflows. arXiv:2605.27922, May 2026. arxiv.org/abs/2605.27922
- 4Cursor. Continually improving our agent harness. April 30, 2026. cursor.com/blog/continually-improving-agent-harness
- 5A. S. Kolavi, J. Niklaus, S. Paniego Blanco, L. Monigatti, A. Dirhoussi, B. Burtenshaw, L. Tunstall, L. von Werra (Hugging Face). The ultimate guide to multi-harness RL. September 24, 2026. huggingface.co/spaces/FineEnvs/multi-harness-rl
- 6LangChain. Improving Deep Agents with harness engineering. February 17, 2026. langchain.com/blog/improving-deep-agents-with-harness-engineering
- 7K. Thangarajah, B. Chen, A. E. Hassan. DCAS: Decoupling CLI Agent Scaffolding to Internalize Planning across Scaffolds. arXiv:2608.06113, August 2026. arxiv.org/abs/2608.06113
- 8OpenAI. Introducing GPT-5-Codex. September 2025. openai.com/index/introducing-upgrades-to-codex/
- 9Frontier Model Release Velocity Index, Q2 2026. digitalapplied.com/blog/frontier-model-release-velocity-index-q2-2026
- 109to5Google. Gemini CLI and Code Assist shutting down for consumers. June 17, 2026; google-gemini/gemini-cli discussion #28017. 9to5google.com/2026/06/17/gemini-cli-code-assist-shutting-down/
- 11The New Stack. DeepSeek open sources an agent harness where everything is a plugin. August 2026; Bloomberg, November 1, 2026. thenewstack.io/deepseek-harness-open-source-plugins/