The Bitter Lesson Now Applies to the Software That Runs AI Agents

Developer desk with a laptop terminal and a notebook of crossed-out workflow diagrams

The Bitter Lesson Now Applies to the Software That Runs AI Agents

Developer desk with a laptop terminal and a notebook of crossed-out workflow diagrams

The bitter lesson, Rich Sutton’s famous warning about hand-built AI, has found a new target: the software that runs AI agents. A December 2026 paper from Microsoft Research and several Chinese universities argues that the elaborate scaffolding developers wrap around frontier models — prescribed workflows, curated tool menus, fixed timeouts and automatic memory compression — now costs more performance than it saves. The Decoder summarised the claim bluntly this week: the lesson now applies to the software that runs the agents themselves.

The test system is called Freehand. Instead of telling the model how to work, it gives the model a shell, its own editable memory and a meter showing time, tokens and cost, then leaves almost every other decision to the model. Across 11 frontier-model settings, the authors report, that minimal setup outscored each model’s own first-party harness by 5.1 percentage points on average while cutting cost per task by about 49%. Those are the paper’s own benchmark numbers, not an independent replication, but they are specific enough to argue with — which is more than most agent-framework claims offer.

For anyone building agent products, the implication is uncomfortable. Much of the current tooling industry sells structure: planner modules, specialist sub-agents, retry policies, context managers. If Sutton’s pattern holds at the harness layer, that structure has a shelf life, and it expires a little more with every model release. The question for builders heading into 2027 is not whether to use scaffolding, but which parts of it are durable engineering and which parts are a temporary patch for a model weakness that is already disappearing.

Key takeaways

  • Rich Sutton’s 2019 bitter lesson says general methods that scale with computation eventually beat systems built on hand-coded human knowledge.
  • Freehand, a minimal agent harness from Microsoft Research and university collaborators, applies that idea to agent software: one bash tool, editable memory and a cost meter.
  • The authors report Freehand beat Codex, Claude Code and Gemini CLI in all 11 frontier settings tested, by 5.1 points on average at roughly half the cost.
  • Mainstream harnesses carry large static prompts — about 15.1K tokens for Codex versus roughly 0.35K for Freehand, by the paper’s audit.
  • Smaller models still need the presets, and Freehand is an alpha research tool without a sandbox, so this is a direction of travel, not a drop-in replacement.

What Sutton actually said in 2019

Sutton published The Bitter Lesson on 13 March 2019, distilling what he called the biggest lesson from 70 years of AI research: general methods that leverage computation are ultimately the most effective, and by a large margin. The reason, he argued, is the steadily falling cost of computation. A method that can absorb more compute keeps improving, while a method built around human insight plateaus once that insight is fully encoded.

His examples were deliberately humbling. In chess, the system that beat Garry Kasparov in 1997 relied on massive, deep search rather than grandmaster knowledge. In Go, enormous early effort went into encoding human understanding to avoid search, and it proved largely irrelevant once search and self-play learning were applied at scale. In speech recognition, statistical methods based on hidden Markov models beat the hand-crafted linguistic approaches of the 1970s, and deep learning later pushed the same direction further. The pattern repeated in computer vision.

Sutton named two classes of technique that scale this way: search and learning. And he identified the psychological trap. Building knowledge into a system helps in the short term and feels satisfying to the researcher, so people keep doing it, even as it quietly becomes the ceiling. His prescription was to build meta-methods that can find complexity, rather than hand-coding the complexity itself — in his phrase, building in how we think we think does not work in the long run.

What an agent harness decides for the model

An agent harness is the software around a model: it sends context, runs the model’s commands and tools, returns results, manages the conversation history and enforces limits. OpenAI’s Codex, Anthropic’s Claude Code and Google’s Gemini CLI are the best-known examples, each tuned by the company that also makes the model. If you want the broader picture of how these systems are deployed in companies, our guide to how AI agents work in the enterprise covers what actually ships.

Freehand’s authors audited mainstream harnesses and grouped their presets into three kinds. Strategy presets prescribe workflows and reminders: plan first, check your work, follow these steps. Execution presets fix the tool suite and the timeouts: these 20-odd tools, this many seconds per command. Memory presets decide when the conversation gets compressed, typically by summarising it once it crosses a fixed size threshold. Each preset is a decision made by a developer, in advance, about how a task the developer has never seen should be approached.

A minimal desk with a single laptop showing a terminal, notebook and pen
A minimal setup mirrors Freehand’s argument: fewer preset workflows, more decisions left to the model.

Crutch or cage

The paper’s framing is that a preset pays off only while the errors it prevents outweigh the good adjustments it blocks. For weaker models, presets are a crutch: the model cannot yet plan, budget or prune its own context, so the harness does it. For frontier models, the same presets become a cage, because the model can now use in-task evidence — error messages, test results, runtime estimates — to make better decisions than the ones frozen into the harness. The bitter-lesson move is to notice that the balance flips as models improve, and to design for the flip rather than for today’s model.

How Freehand hands the decisions back

One tool instead of a tool menu

The single tool is bash, with a timeout the model sets itself. That sounds austere, but a shell is a general-purpose interface: a model that needs to search a hundred documents can write a script that greps them, rather than calling a document tool a hundred times and flooding its context with results. The paper illustrates this with individual runs — for example, a task where a fixed 30-second timeout forced hundreds of polling steps, while Freehand simply waited in one long call. Those are single-task illustrations, not benchmark averages, but they show the mechanism: batching and waiting are decisions a capable model can make better than a preset can.

Memory the model edits itself

Instead of automatic summarisation at a fixed threshold, Freehand exposes the conversation transcript as a file the model can prune. That allows horizon-adaptive curation: clearing context at subtask boundaries, keeping the one error message that matters, dropping the obsolete file listing. A summariser working to a token budget cannot know which details the next step needs. The model, mid-task, often can.

A meter instead of rules

After every turn, a one-line footer reports the turn index, context size, cumulative tokens and cost, and elapsed time. This replaces rules like stop after N steps with information the model can reason about. It is the difference between a speed limiter and a dashboard. The host still sets the outer boundaries — permissions, sandboxing and total budget are not the model’s to ignore — but within those boundaries, strategy belongs to the model.

What the benchmarks showed, and their limits

The evaluation spanned five benchmarks — Terminal-Bench 4, Terminal-Bench Science, Agents’ Last Exam, OSWorld 2.1 and AutomationBench — across three frontier model families in 11 model-and-benchmark settings, each scored by the benchmark’s own verifier. Against the models’ own first-party harnesses, Freehand scored 5.1 percentage points higher on average and cut mean per-task cost by 49%, and it was fastest on average in controlled reruns. Winning on both quality and cost, in every setting, is the result that makes the paper hard to dismiss.

Harness Static prefix Default tools Memory handling
Codex About 15.1K tokens 23 Auto-summarisation near the window limit
Claude Code About 8.5K tokens 22 Automatic compaction
Gemini CLI About 9.5K tokens 16 Automatic compaction
Freehand About 0.35K tokens 1 (bash) Model edits its own transcript

The caveats are real. The averages are equal-weighted across settings with different scoring, so 5.1 points is an aggregate, not a single common metric. The benchmarks lean toward coding and computer-use tasks, where a shell is naturally powerful; a customer-service agent with strict compliance steps is a different world. Smaller models performed worse without presets, which the authors themselves flag. And Freehand is alpha research software: coverage of the release notes the lack of a sandbox, command-approval prompts and native Windows support. Nobody should point an unsandboxed shell at a production machine on the strength of a benchmark table.

There is also the obvious structural point. The first-party harnesses are not standing still, and their makers can co-design model and harness, train against their own interfaces and observe the combined system at scale. If minimalism wins, Codex and Claude Code can simply delete parts of themselves — they have the distribution to make that the default overnight. Our comparison of the best AI coding agents this December shows how quickly that leaderboard already moves.

What builders should stop hand-engineering

The practical reading is not delete your harness. It is to audit each preset and ask which model weakness it patches, and whether that weakness still exists in the model you now run. Prescribed step-by-step workflows for tasks the model can plan itself, specialist sub-agent fleets whose handoffs lose intent, reminder loops that re-inject instructions the model already follows, and fixed-threshold context summarisation are the obvious candidates. Each one made sense against an earlier model. Each one now taxes every run.

What stays is the layer Sutton never argued against: boundaries and evidence. Permissions, sandboxing, budget caps, audit logs, evaluation harnesses and access to real data are not hand-coded knowledge about how to think; they are the environment the agent acts in. The same distinction shows up in security tooling, where the durable value is in verification and containment rather than in scripting the agent’s reasoning — a theme in our report on a pay-per-success agent harness for security work. Build where improving models compound your advantage, not where their next release erases it.

Frequently asked questions

What is the bitter lesson in simple terms?

Sutton’s 2019 observation that general methods scaling with computation — mainly search and learning — eventually beat hand-coded human knowledge, because computation keeps getting cheaper while encoded insight plateaus.

What is an agent harness?

The software around a model that sends context, runs tool calls, returns results, manages memory and enforces limits. Codex, Claude Code and Gemini CLI are harnesses; Freehand is a minimal one.

Did Freehand really beat Codex and Claude Code?

In the authors’ evaluation, yes — in all 11 frontier settings, by 5.1 points on average at about 49% lower cost. Independent replication is pending, and tasks lean toward coding and computer use.

Does this mean agent frameworks are dead?

No. Smaller models still need presets, and permissions, sandboxing, budgets and evaluation remain essential. The narrower claim is that fixed strategy, tool-menu and memory decisions increasingly hurt frontier models.

Can I use Freehand today?

It is open-source and MIT-licensed, but alpha software without a sandbox, command approvals or native Windows support. Treat it as a contained experiment, not production infrastructure.

The bottom line

Freehand’s result is the bitter lesson arriving on schedule at a new layer of the stack. First it was chess heuristics, then speech rules, then feature engineering; now it is the workflow diagrams developers draw around agents. The scaffolding that made early agents usable is becoming the thing that holds strong models back, and the fix is not more scaffolding but less deciding: a shell, editable memory, a meter, and boundaries that stay firmly human-set.

For builders, the work of 2027 is subtraction with judgement. Keep the guardrails, the evaluations and the real-world access that make agents trustworthy. Delete the presets that merely encode how you thought the model should think. Sutton warned that this would feel like a loss. The benchmark numbers suggest it is starting to feel like a saving instead.

on this page