Zero Labs
Industry News / AI

What Is an AI Agent Harness? Why Does It Matter for the Model?

Source · Towards AI By Akzhan Kalimatov

From the publisher’s feed, collected in the ZeroLabs newsroom.

Hi everyone. OpenAI’s GPT-6.2 Astra scored 70.3% on ARC-AGI-3 with one harness and 99.8% with another. Same model, same benchmark, same reasoning effort (max). ARC Prize’s leaderboard lists both numbers, data as of November 17, 2026.If you didn’t know, a harness is the code around a model, the loop that calls it, the tools, the memory, the checks. In March 2026 LangChain’s Vivek Trivedy wrote it as a formula, “Agent = Model + Harness”. Since then a popular claim says the harness matters more than the model. This story was written with the assistance of AI: Claude helped draft the text, and ChatGPT made the cover and the diagram.The short version:The harness is everything around the model: the loop, tools, context, memory, permissions and checks.It got popular because the same model can score tens of points apart with different harnesses.A good harness can bring better results, lower token costs and safer autonomy. A heavy one can cost much more time and money.“The harness matters more than the model” is not proven. The most controlled test I found is small, and other studies find that a minimal harness does about as well as a complex one.Many numbers are reported by the people who built the harness, so test it on your own tasks.Agent = Model + Harness. The harness is everything around the model. Image generated with ChatGPT.But what is a harness?You know that a model on its own only writes text. To work as an agent, it needs code that calls it in a loop and runs the tools it asks for. The same code decides what the model sees, keeps memory between steps, limits the damage it can do and checks its work. That code is the harness. For example, Claude Code and Codex are harnesses around a model.The name “harness engineering” took off in February 2026, when Mitchell Hashimoto used it. An eval harness is something else, it is just the code that runs a benchmark.Why it became popularThe same model can score very differently. ARC Prize ran GPT-6.2 Astra twice with the same settings. The first run used a basic harness (ARC calls it Standard). The second used a harness that lets the model remember what it thought in earlier steps (ARC calls it Provider Adapter). The second run scored much higher and cost far less: $4,107 against $24,169.Same model, two harnesses. Source: ARC Prize leaderboard data, November 17, 2026.It is not a one-off. At max effort, Claude Fable 5.2 goes from 65.7% to 94.9% and GPT-6.2 Sol from 54.9% to 98.2% when ARC Prize swaps the harness. The gain depends on the model: Claude Haiku 5.5 only goes from 0.5% to 2.8%.The same harness swap helps strong models a lot and weak models barely at all. Source: ARC Prize leaderboard data, November 17, 2026.Two more things helped. In February 2026 OpenAI described a product of about a million lines of code, built in about 1,500 pull requests, with no code typed by hand. And a team can change the harness, but not the model it rents.The pros:Most numbers here come from the companies that built the tools, so treat them as signs, not proof.Lower token costs, tool definitions fill the context window, example 58 MCP tools use about 55,000 tokens before the conversation even starts. Loading tools only when needed helps.Fewer mistakes, a harness can run tests and linters before the agent says it is done. For example, LangChain’s forced verification step is part of its jump from 52.8% to 66.5%. Anthropic says Claude is a poor QA agent out of the box, so its long-running setup uses a separate checker tuned for the job.Safer autonomy, a sandbox lets an agent work without asking permission at every step. In Anthropic’s internal use, sandboxing cut permission prompts by 84%.The cons:Time and money, in one Anthropic example, a solo run took 20 minutes and cost $9. The full harness took 6 hours and cost $200, over 20 times more, though the author says the output was clearly better.Add-ons can cost more than they give, in an independent 500-task test of the Superpowers plugin on Codex (one run per task), accuracy moved from 45.6% to 47.8%, which is not significant. Tokens rose about 40% (almost all cached input), and each task took 74 seconds longer.Parts go stale, some parts exist because the model had a weakness. In July 2026 Anthropic said it removed over 80% of Claude Code’s system prompt for models like Claude Opus 5 and Claude Fable 5. It reports no measurable loss on its coding evals (its own claim).Approvals become a habit, Anthropic says users accept 93% of manual permission prompts.Changes can quietly make an agent worse, Anthropic’s April postmortem traced complaints about Claude Code to changes around the model. One was a prompt rule that kept text between tool calls to 25 words or less. One eval showed a 3% drop, and the rule was reverted on April 20.So does the harness matter more than the model?The most controlled test I found is a May 2026 position paper, “Stop Comparing LLM Agents Without Disclosing the Harness”. The authors ran 3 models (GLM-5.1, GPT-5.4, Kimi K2.6) with 3 harnesses (minimal, improved, full). Each pair ran the same 100 SWE-bench Verified tasks, twice, and was scored by pass@1 (the share of tasks solved on the first try).Changing the harness for one model moved the score by 8.5 to 13.0 points. Changing the model with one harness moved it by 2.5 to 5.0 points. In 6 of 9 comparisons across harnesses, two models swapped places.But the paper has limits. The authors built the three harnesses themselves, the sample is small, and they only claim this for long multi-step tasks and models of similar strength. Other work points the other way:An EPFL preprint gave agents ML-engineering tasks with the same model and the same time budget. Open frontier harnesses did no better than a single session of a minimal agent with read, write and bash tools. The authors name the model as the main driver.A July preprint, “Rethinking the Evaluation of Harness Evolution for Agents”, tested harnesses that evolve automatically. They did not beat simple test-time scaling (giving the model more compute when it runs) on Terminal-Bench 2.1, and they generalized poorly. They did help on long games like ARC-AGI-3.Researchers at ETH and LogicStar found that AGENTS.md-style context files usually do not raise the share of solved tasks. They also add more than 20% to the cost.Harness effects are real and can be large. They depend on the model, the task and the setup.Final thoughtsThe harness is real engineering, and it produced the biggest gaps above. The numbers do not prove it matters more than the model. They do show that an agent score belongs to the model, harness, settings and test setup together. A score without those details cannot be compared with another one.Which part of your own agent setup would you measure first?If you enjoyed this article, I’d be grateful for your supportI’m a Product Manager with an engineering background (ex SWE), focused on building, scaling and growing products. I’m especially interested in new technologies, particularly AI/ML, and how they can be applied in real workflows.Email: akzhankalimatov@gmail.com✅ Connect with me on LinkedIn, X (Twitter)✅ Press and hold the 👏 to give up to 50 claps for this articleSources:ARC Prize: ARC-AGI-3 leaderboardARC Prize: OpenAI’s GPT-6 Astra on ARC-AGI-3Terminal-Bench 4.1 leaderboardLangChain: Improving Deep Agents with harness engineeringLangChain: The Anatomy of an Agent HarnessMitchell Hashimoto: My AI Adoption JourneyOpenAI: Harness engineeringAnthropic: Advanced tool useCursor: Dynamic context discoveryAnthropic: Harness design for long-running appsAnthropic: Making Claude Code safer with sandboxingAnthropic: How we built Claude Code auto modeAnthropic: An update on recent Claude Code quality reportsAnthropic: Quantifying infrastructure noise in agentic coding evalsAnthropic: The new rules of context engineering for Claude 5 generation modelsNorbert Laszlo: Can a Plugin Improve Codex? Benchmarking the Superpowers PluginStop Comparing LLM Agents Without Disclosing the Harness (arXiv)How Much of a Harness Does a Strong Agent Need (arXiv)Rethinking the Evaluation of Harness Evolution for Agents (arXiv)Evaluating AGENTS.md (arXiv)What Is an AI Agent Harness? Why Does It Matter for the Model? was originally published in Towards AI on Medium, where people are continuing the conversation by highlighting and responding to this story.