← All insights

Data Beat Algorithms. Now Intelligence Beats AI Agent Harnesses.

Every few years in artificial intelligence, engineers build elaborate scaffolding to make up for what models cannot yet do. Then a stronger generation of models arrives and turns that same machinery into dead weight. Twenty years ago, bigger datasets started beating clever hand-tuned algorithms, a pattern Rich Sutton later called The Bitter Lesson. Now the same shift is catching up with AI agent harnesses, though not for every model.

A new paper from Microsoft Research Asia and university collaborators, Freehand: The Bitter Lesson Comes to Agent Harnesses, put that thesis to a direct test. Instead of adding more workflow rules and specialist tools around a model, the authors stripped nearly everything away. On frontier models from OpenAI, Anthropic and Google, the bare setup beat each company's own first-party harness in all eleven benchmark settings, lifting average accuracy by 5.1 percentage points while cutting API costs nearly in half, from $7.34 to $3.73 per task. In controlled side-by-side runs on identical hardware, the heavier harnesses also took 17% to 62% longer to finish.

Three side-by-side bar charts comparing average score, cost per task and runtime across First-party, OpenCode, Pi, DeepSeek Harness and Freehand on ten GPT-6 Astra and Claude Opus 5.5 settings. Freehand scores highest at 63.2%, costs least at $3.23 per task and finishes fastest at 31.7 minutes.

Adapted from Figure 3 of Freehand, averaging ten GPT-6 Astra and Claude Opus 5.5 settings across five domains. Adding Gemini 4 Carbon on coding brings the eleven-setting cost average to $3.73 versus $7.34.

Why the rails started getting in the way

Tools like Claude Code, Codex, Gemini CLI and Antigravity are far more than chat windows sitting on top of a model. On its own, a language model only reads and writes text. The harness is the software loop around it that assembles context, executes commands on a machine and decides what stays in memory from one step to the next.

Over the past year, those loops grew remarkably heavy. Mainstream harnesses ship with system prompts stretching to thousands of words, sometimes up to 15,000 tokens, paired with recurring reminders telling the model how to plan and verify its work. They wrap routine actions inside ten to thirty specialist tools for reading files, editing code or clicking screens, each carrying fixed command timeouts. When the context window nears 80% or 90% full, the harness steps in and summarises older turns automatically. Earlier models genuinely needed those rails just to stay coherent across a long job.

Freehand asks what happens when you hand those choices back to the model. Its entire runtime description fits in roughly 200 words, backed by just three basic levers. The model gets a single command-line shell where it sets its own timeout on each call. It can read and edit its own conversation file directly, cutting out dead ends or attaching and deleting screenshots without a dedicated vision tool. And at the bottom of each turn, a one-line status bar shows the turn count, context size, elapsed time and running dollar cost.

Watching the heavier harnesses run alongside that bare loop makes the cost gap obvious. On a 78-page financial filing, OpenCode's dedicated file reader loaded the whole PDF into context near the start and kept paying to resend it on every step, running up a $13.09 bill. Left with a plain command line, Freehand converted the PDF to text on disk and pulled only the lines it needed, matching the accuracy for $2.66. On a long optimisation job, another minimal harness enforced a fixed 30-second command timeout, forcing the model to push the work into the background and check on it 334 times for $70.77. Freehand simply set a 24-minute timeout, waited once and finished for $2.28. Even long prompts can misfire in ways nobody wrote down. Copying Codex's 3,300-word system prompt into Freehand caused GPT-6 Astra to falsely refuse a harmless biology task ten times out of ten, even though nothing in the prompt mentioned biosecurity. Without that prompt, the same model passed all ten runs.

When the crutch turns into a cage

If you stopped there, you might assume commercial harnesses are simply over-engineered. The most revealing test in the paper shows why that would be the wrong conclusion.

When the authors ran the same coding tasks on smaller, cheaper models, including GPT-6 Sol, Claude Sonnet 5.5 and DeepSeek V4.1 Flash, the result flipped completely. On those models, first-party harnesses beat Freehand by 5.1 to 6.7 percentage points. Nothing in the software changed, only the model running inside it.

That lines up closely with what I see in practice. Smaller models still depend on explicit task breakdowns, narrow tools and steady reminders to stop a multi-step job from unravelling. Left to self-direct, they often burn extra thinking tokens trying to cover gaps in judgement and still lose the thread. Frontier models like GPT-6 Astra, Claude Opus 5.5 and Gemini 4 Carbon cross a different threshold. Give them visibility into their environment and a live cost meter, and they adapt better than static rules written months earlier ever could. What serves as a crutch for a smaller model turns into a cage for a frontier one.

Where to put the guardrails instead

That reversal is the real takeaway for anyone building AI products or approving engineering budgets this year. Heavy orchestration layers, rigid prompt chains and bespoke tool wrappers are depreciating assets. Every time a stronger model lands, more of the workflow code written to babysit last year's generation becomes maintenance drag and wasted tokens.

A better habit is to separate how an agent solves a task from what it is allowed to touch. Let capable models choose their own commands, timeouts and search tactics, and move your real guardrails out of the system prompt and into deterministic infrastructure. Containers, operating-system sandboxes, tightly scoped credentials and hard spend limits actually enforce security and budget boundaries. A 3,000-word prompt only asks politely.

Above all, match the harness to the model tier your economics require. If your product runs high-volume work on smaller, cheaper models, structured harnesses and tightly scoped tools still earn their keep. If you are pointing frontier models at complex engineering, research or analytical work, give them clean primitives, show them the bill as it ticks up and get out of their way.