Freehand: The Bitter Lesson Comes to Agent Harnesses — Less Deciding Wins

Microsoft's Freehand rebuilds the agent harness with the Bitter Lesson: give only shell, memory, and a meter — beating first-party harnesses across 11 tests.
Microsoft research brings the Bitter Lesson to agent harness design, arguing that mainstream harnesses (Codex, Claude Code, Gemini CLI) make decisions for the model before it sees the task via prompts, tool sets, timeouts, and memory compression — crutches for weak models but cages for frontier models. Freehand provides only three things: a raw shell, model-managed memory, and a real-time cost meter, leaving all other decisions to the model. Across five domains and three model families, Freehand beats first-party harnesses in all 11 settings, scoring 5.1 points higher on average, costing 49% less, with other harnesses taking 17%–62% longer in side-by-side reruns. But on lower-tier models first-party harnesses regain the advantage, showing harness design must match model capability.

When the "Bitter Lesson" Knocks on the Door of Agent Harnesses
There's a repeatedly validated rule in AI: the knowledge we painstakingly inject into systems works well at first, but is eventually surpassed by more general methods. This is the "Bitter Lesson." In the past it played out in the battle between feature engineering, search heuristics, and scale-based learning. Now, a paper from Microsoft turns this rule toward a new battlefield — the agent harness.
Mainstream harnesses constantly make a host of decisions on the model's behalf: prompt templates prescribe the task path, tool sets and timeouts lock down the boundaries of action, and threshold-based compression decides what memory is retained. All of these decisions happen before the model ever sees the task. For weaker models, these presets are crutches; but for frontier models, they become cages.
Freehand is proposed precisely on this observation: let the model decide everything itself.
The "Bitter Lesson" was proposed by Rich Sutton in 2019. Its core observation is that over the past seventy years, AI research has repeatedly shown the same pattern — researchers encode human knowledge into systems (such as chess heuristics, phoneme features in speech recognition, edge detectors in computer vision), which works well in the short term, but in the long run, as compute grows, general methods relying on large-scale search and learning always surpass these carefully designed human priors. Sutton cited examples from chess, Go, speech recognition, computer vision, and other fields. This lesson does not deny the value of human knowledge; rather, it points out that against a backdrop of continuously exponential compute growth, any approach that hard-codes human understanding of problem structure into system priors will ultimately become a performance ceiling. The authors of Freehand extend this logic from the "model capability" level to the "agent harness" level, arguing that a harness's presets for task paths, tool sets, and memory strategies are essentially another form of human knowledge injection.
The "Preset Trap" of Mainstream Harnesses
Current first-tier agent harnesses — Codex, Claude Code, Gemini CLI — all build a control layer outside the model. Prompt templates dictate reasoning steps, tool lists constrain callable capabilities, timeout mechanisms bound execution duration, and memory compression strategies forcibly prune when the context swells.
These designs are necessary guardrails for weak models, preventing them from getting lost in open environments. But the problem is that the reasoning capabilities of frontier models have already surpassed the assumed boundaries of these presets. When a model can already plan multi-step tasks autonomously, a hard-coded prompt structure becomes a constraint; when a model can flexibly decide when to call which tool, a fixed tool set is a limitation; when a model can judge which information is worth remembering, threshold-based compression may delete key clues.
The authors state explicitly: the essence of these "presets" is answering the question for the model before it even sees it.
An agent harness refers to the software layer wrapped around a base model that organizes the reasoning loop, invokes tools, manages context, and controls execution. A typical agent harness includes: system prompt templates (defining roles and reasoning steps), tool registration and scheduling mechanisms (constraining the set of callable APIs), timeout and retry strategies, context window management (such as sliding windows, summarization compression, vector retrieval), and cost control logic. First-party harnesses like Codex, Claude Code, and Gemini CLI are usually deeply adapted to their own models, achieving good performance on specific tasks through extensive manual tuning. However, the cost of this adaptation is that the harness embeds a large number of assumptions about "how a task should be completed." These assumptions provide guidance when model capabilities are weak, but once the model's own planning ability strengthens, the harness's constraints may conflict with the model's optimal strategy.
Freehand's Core Principle: Give Only Three Things
Freehand's rule is minimal: give the model a shell, its own memory, and a meter — everything else is left to the model.
- Shell: No longer a wrapped tool API, but the most primitive shell environment, where the model can execute any command.
- Own memory: The model manages context autonomously, deciding what to record and what to forget, rather than relying on external compression algorithms.
- Meter: Provides real-time feedback on cost or resources, letting the model weigh the price of its actions as it goes.
This design philosophy is in line with the "Bitter Lesson": rather than encoding human understanding of task structure into the harness, give general capabilities (shell, memory, budget awareness) to the model and let it decide autonomously after seeing the specific task.
Experimental Performance: Better, Cheaper, Faster
The paper presents a systematic evaluation across five domains and three frontier model families. The result is that Freehand outperforms each model's first-party harness (Codex, Claude Code, Gemini CLI) in all 11 test settings, with an average score 5.1 points higher, while reducing cost by 49%, and it is also the fastest in average execution speed.
In controlled side-by-side reruns, every other harness took 17%–62% longer than Freehand. Freehand also outperforms OpenCode, Pi, DeepSeekAd Harness, and a pure bash harness that still fixes workflows and timeouts.
However, the high-low pairing reverses: on lower-tier models, first-party harnesses regain the advantage. This precisely confirms the phased nature of the "Bitter Lesson" — presets' reliance on human design still has value for weak models, but once the model is strong enough, the harness that makes fewer decisions wins.
Why Fewer Decisions Is Actually Better
A natural question: why does giving less harness and more freedom actually save cost and go faster?
The reason lies in the hidden costs of presets. Fixed prompts may lead the model down detours, fixed tool sets may force the model to use inappropriate tools to brute-force a problem, and threshold-based compression may discard important information at the wrong time. All of these trigger retries, redundant calls, or wrong paths, ultimately reflected in higher token consumption and longer execution time.
When the model decides autonomously, it can choose the shortest path, the most suitable tools, and the most reasonable memory strategy based on the actual task. On sufficiently strong models, the benefits of this autonomy outweigh the risk of losing guardrails.
The paper's conclusion is blunt and powerful: the stronger the model, the best harness is the one that decides the least.
Implications for Agent Development
Freehand's experiment sends a signal worth heeding for developers: the center of competition may shift from "designing smarter harnesses" to "designing fewer harnesses."
This does not mean harnesses are useless, but that the design goals of a harness need to be repositioned — no longer thinking for the model, but providing general infrastructure for the model (execution environment, memory management, cost awareness) and returning specific decision-making power to the model. For teams using frontier models, overly engineered agent harnesses may be dragging down both performance and cost.
At the same time, the victory of first-party harnesses on lower-tier models reminds us that harness design needs to match model capability. When choosing, one should evaluate the harness strategy based on the actual model tier in use, rather than single-mindedly pursuing "autonomy."
The code is open-sourced on GitHub (microsoft/FreeHand), providing a directly verifiable starting point for this direction.
Conclusion
The core of the Bitter Lesson is: methods that rely on human knowledge will eventually give way to methods that rely on computation and learning. Freehand pushes this logic up to the agent harness layer: rather than writing human understanding of tasks into presets, return decision-making power to the model itself. As model capabilities continue to improve, a harness's competitiveness may lie precisely in how "empty" it is.
Related articles

Jensen Huang Testifies Before Congress: Key Takeaways on Chip Export Controls
NVIDIA CEO Jensen Huang faces questioning from the U.S. House Foreign Affairs Committee on AI chip export controls, commercial interests, and national security.

Tencent WorkBuddy in Practice: Building an AI Automated Testing Workbench with SKILL Capabilities
Based on Bilibili creator Baili Yang's sharing, this article analyzes how Tencent WorkBuddy AI agent desktop workbench can be used for automated testing: the shift from AI-assisted to AI-led, the relationship among large models, agents, and SKILL capabilities, zero-configuration installation and permission control, and practical ideas for building a personal AI automated testing workbench.

Adding Authentication to Remix SaaS Apps: A Practical Guide to WorkOS AuthKit
Based on the official WorkOS AuthKit guide, this article covers the full approach to integrating authentication in Remix or React Router SaaS apps, including session management, protected routes, multi-tenant organizations, enterprise SSO, and SCIM sync, and analyzes its engineering value for SaaS teams.