---
type: "post"
id: "freehand-the-bitter-lesson-comes-to-agent-harnesses-816537"
slug: "freehand-the-bitter-lesson-comes-to-agent-harnesses-816537"
title: "Freehand: The Bitter Lesson Comes to Agent Harnesses"
description: "Across 11 settings, Freehand outscored the first-party Codex, Claude Code and Gemini CLI harnesses, averaging a 5.1-point advantage at 49% lower cost."
retrieval_nugget: "Across 11 settings, Freehand outscored the first-party Codex, Claude Code and Gemini CLI harnesses, averaging a 5.1-point advantage at 49% lower cost."
published_at: "2026-12-03"
updated_at: "2026-12-03"
record_date: "2026-12-03"
date_kind: "published_at"
topics: ["claude","claude-code","codex"]
entities: ["Freehand","Microsoft Research","Codex","Claude Code","Gemini CLI","OpenCode","DeepSeek Harness","Pi"]
related_patterns: ["harness-architecture-outlives-model-choice"]
novelty_label: "new_fact"
what_changed: "A new Freehand study finds that mainstream coding-agent harnesses impose preset workflows, while a more flexible harness outperforms them across 11 settings at lower cost and runtime."
prior_refs: ["https://newruntime.com/posts/a-habr-article-by-sopranodev-sets-out-a-74e414/"]
source_url: "https://arxiv.org/abs/2612.02442"
source_urls: ["https://arxiv.org/abs/2612.02442"]
production: {"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-12-03T08:00:28.332Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_fact","confidence":"high"},"editorial_value":"high","human_review":"selective"}
citations: [{"claim":"","quotes":["It outscores the first-party harness of every model (Codex, Claude Code, and Gemini CLI) in all 11 settings, by 5.1 points on average at 49% lower cost, and runs fastest on average: in a controlled side-by-side rerun, each of the other harnesses takes 17-62% longer."],"cite_url":"https://arxiv.org/abs/2612.02442#:~:text=It%20outscores%20the%20first%2Dparty%20harness%20of%20every%20model%20%28Codex%2C%20Claude%20Code%2C%20and%20Gemini%20CLI%29%20in%20all%2011%20settings%2C%20by%205.1%20points%20on%20average%20at%2049%25%20lower%20cost%2C%20and%20runs%20fastest%20on%20average%3A%20in%20a%20controlled%20side%2Dby%2Dside%20rerun%2C%20each%20of%20the%20other%20harnesses%20takes%2017%2D62%25%20longer.","source_url":"https://arxiv.org/abs/2612.02442","publisher":"arxiv.org"},{"claim":"Its runtime is described in an architecture diagram of approximately 200 words; it uses one bash tool with model-set timeouts and lets the model manage context pruning.","quotes":["We introduce Freehand, a general-purpose harness built on one rule: give the model a shell, its own memory, and a meter -- and let it decide everything else."],"cite_url":"https://arxiv.org/abs/2612.02442#:~:text=We%20introduce%20Freehand%2C%20a%20general%2Dpurpose%20harness%20built%20on%20one%20rule%3A%20give%20the%20model%20a%20shell%2C%20its%20own%20memory%2C%20and%20a%20meter%20%2D%2D%20and%20let%20it%20decide%20everything%20else.","source_url":"https://arxiv.org/abs/2612.02442","publisher":"arxiv.org"},{"claim":"","quotes":["Across five domains and three frontier model families, Freehand is better, cheaper, and faster at the same time."],"cite_url":"https://arxiv.org/abs/2612.02442#:~:text=Across%20five%20domains%20and%20three%20frontier%20model%20families%2C%20Freehand%20is%20better%2C%20cheaper%2C%20and%20faster%20at%20the%20same%20time.","source_url":"https://arxiv.org/abs/2612.02442","publisher":"arxiv.org"},{"claim":"The charts report GPT-6-astra at 62.8% mean score and $3.45 per task with Freehand, versus 57.9% and $7.83 with Codex; with Claude Opus 5.5, Freehand scored 63.6% at $3.00, versus Claude Code’s 58.8% at $5.56.","quotes":["It outscores the first-party harness of every model (Codex, Claude Code, and Gemini CLI) in all 11 settings, by 5.1 points on average at 49% lower cost, and runs fastest on average: in a controlled side-by-side rerun, each of the other harnesses takes 17-62% longer."],"cite_url":"https://arxiv.org/abs/2612.02442#:~:text=It%20outscores%20the%20first%2Dparty%20harness%20of%20every%20model%20%28Codex%2C%20Claude%20Code%2C%20and%20Gemini%20CLI%29%20in%20all%2011%20settings%2C%20by%205.1%20points%20on%20average%20at%2049%25%20lower%20cost%2C%20and%20runs%20fastest%20on%20average%3A%20in%20a%20controlled%20side%2Dby%2Dside%20rerun%2C%20each%20of%20the%20other%20harnesses%20takes%2017%2D62%25%20longer.","source_url":"https://arxiv.org/abs/2612.02442","publisher":"arxiv.org"},{"claim":"One illustrated OpenCode run ended at 260K input tokens per call, used 9.09M input tokens and cost $13.09; the corresponding Freehand run made 27 model calls, used 1.16M input tokens and cost $2.66.","quotes":["It also outperforms OpenCode, Pi, DeepSeek Harness, and a bash-only harness that still fixes its workflow and timeouts, while with lower-tier models the first-party harnesses win again."],"cite_url":"https://arxiv.org/abs/2612.02442#:~:text=It%20also%20outperforms%20OpenCode%2C%20Pi%2C%20DeepSeek%20Harness%2C%20and%20a%20bash%2Donly%20harness%20that%20still%20fixes%20its%20workflow%20and%20timeouts%2C%20while%20with%20lower%2Dtier%20models%20the%20first%2Dparty%20harnesses%20win%20again.","source_url":"https://arxiv.org/abs/2612.02442","publisher":"arxiv.org"}]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:freehand-the-bitter-lesson-comes-to-agent-harnesses-816537"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/freehand-the-bitter-lesson-comes-to-agent-harnesses-816537/","markdown":"https://newruntime.com/posts/freehand-the-bitter-lesson-comes-to-agent-harnesses-816537.md","json":"https://newruntime.com/posts/freehand-the-bitter-lesson-comes-to-agent-harnesses-816537.json"}
markdown_url: "https://newruntime.com/posts/freehand-the-bitter-lesson-comes-to-agent-harnesses-816537.md"
---

# Freehand: The Bitter Lesson Comes to Agent Harnesses

## Retrieval answer

Across 11 settings, Freehand outscored the first-party Codex, Claude Code and Gemini CLI harnesses, averaging a 5.1-point advantage at 49% lower cost.

## Summary

Across 11 settings, Freehand outscored the first-party Codex, Claude Code and Gemini CLI harnesses, averaging a 5.1-point advantage at 49% lower cost. The authors report the opposite pattern with lower-tier models: first-party harnesses won. ([arxiv.org](https://arxiv.org/abs/2612.02442#:~:text=It%20outscores%20the%20first%2Dparty%20harness%20of%20every%20model%20%28Codex%2C%20Claude%20Code%2C%20and%20Gemini%20CLI%29%20in%20all%2011%20settings%2C%20by%205.1%20points%20on%20average%20at%2049%25%20lower%20cost%2C%20and%20runs%20fastest%20on%20average%3A%20in%20a%20controlled%20side%2Dby%2Dside%20rerun%2C%20each%20of%20the%20other%20harnesses%20takes%2017%2D62%25%20longer.))

## What happened

Freehand gives the model a shell, its own memory and a meter, leaving other decisions to the model. ([arxiv.org](https://arxiv.org/abs/2612.02442#:~:text=We%20introduce%20Freehand%2C%20a%20general%2Dpurpose%20harness%20built%20on%20one%20rule%3A%20give%20the%20model%20a%20shell%2C%20its%20own%20memory%2C%20and%20a%20meter%20%2D%2D%20and%20let%20it%20decide%20everything%20else.)) Its runtime is described in an architecture diagram of approximately 200 words; it uses one bash tool with model-set timeouts and lets the model manage context pruning. The study compares static startup context before agent work: Codex CLI at about 15,100 tokens and 23 tools, Gemini CLI at 9,500 tokens and 16 tools, Claude Code at 8,500 tokens and 22 tools, and DeepSeek Harness at 6,500 tokens and 34 tools. Researchers evaluated five domains and three frontier model families; score-versus-cost charts show five-benchmark mean scores against mean per-task cost on a logarithmic scale. ([arxiv.org](https://arxiv.org/abs/2612.02442#:~:text=Across%20five%20domains%20and%20three%20frontier%20model%20families%2C%20Freehand%20is%20better%2C%20cheaper%2C%20and%20faster%20at%20the%20same%20time.))

In a controlled side-by-side rerun, the other harnesses took 17–62% longer than Freehand. ([arxiv.org](https://arxiv.org/abs/2612.02442#:~:text=It%20outscores%20the%20first%2Dparty%20harness%20of%20every%20model%20%28Codex%2C%20Claude%20Code%2C%20and%20Gemini%20CLI%29%20in%20all%2011%20settings%2C%20by%205.1%20points%20on%20average%20at%2049%25%20lower%20cost%2C%20and%20runs%20fastest%20on%20average%3A%20in%20a%20controlled%20side%2Dby%2Dside%20rerun%2C%20each%20of%20the%20other%20harnesses%20takes%2017%2D62%25%20longer.)) The charts report GPT-6-astra at 62.8% mean score and $3.45 per task with Freehand, versus 57.9% and $7.83 with Codex; with Claude Opus 5.5, Freehand scored 63.6% at $3.00, versus Claude Code’s 58.8% at $5.56. The authors also report Freehand outperformed OpenCode, Pi, DeepSeek Harness and a bash-only harness with fixed workflow and timeouts. ([arxiv.org](https://arxiv.org/abs/2612.02442#:~:text=It%20also%20outperforms%20OpenCode%2C%20Pi%2C%20DeepSeek%20Harness%2C%20and%20a%20bash%2Donly%20harness%20that%20still%20fixes%20its%20workflow%20and%20timeouts%2C%20while%20with%20lower%2Dtier%20models%20the%20first%2Dparty%20harnesses%20win%20again.)) One illustrated OpenCode run ended at 260K input tokens per call, used 9.09M input tokens and cost $13.09; the corresponding Freehand run made 27 model calls, used 1.16M input tokens and cost $2.66. Their final scores were nearly identical: 0.914 and 0.915, respectively.

## Trend signal

The results show harness architecture can materially affect outcomes, but do not establish that it outlives model choice: the reported advantage changes direction with lower-tier models. That distinction matters for the broader view that the harness is becoming a more durable product boundary than the model running inside it.

## Why it matters

Benchmark model-harness combinations rather than selecting a harness from frontier-model results alone. A minimal design may reduce cost and improve scores for tested frontier models, while another model tier may benefit from the structure of a first-party harness.

## Limits and uncertainty

The authors report the results, including the reversal for lower-tier models. The abstract does not specify individual benchmark tasks or detailed experimental settings, limiting how precisely readers can assess the comparison or reproduce it from the reported summary.

## Reader takeaway

Freehand’s sparse setup—shell, memory and a meter, with key choices left to the model—beat first-party harnesses across 11 reported settings, averaging 5.1 points more at 49% lower cost. The result reverses with lower-tier models, so builders should test the harness and model as a pair rather than assume minimalism always wins.

## Open question

At what model capability level does the advantage shift from a minimal harness to a first-party one, and does that crossover hold across task types?

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Claude](https://newruntime.com/topics/claude.md): Explore the claude topic hub.
- topic hub: [Claude Code](https://newruntime.com/topics/claude-code.md): Explore the claude-code topic hub.
- topic hub: [Codex](https://newruntime.com/topics/codex.md): Explore the codex topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
