Saturday, 5 December 2026

Trusted News Discovery โ€“ Powered by AI and Verified by Humans

Advertisement

Freehand gives AI models just a shell and beat the Codex, Claude Code and Gemini CLI harnesses in all 11 tests

Freehand, an AI agent harness with a 200-word prompt and only a bash tool, beat Codex, Claude Code and Gemini CLI's own harnesses in 11 of 11 tests.

Produced with AI assistance and reviewed by the Badiyaa Editorial Desk. How we work.

Grok Fact CheckCheck it yourself in one tapVerify with Grok ↗Ask @grok on X ↗
Lines of program code on a computer monitor, an illustrative image for a story about AI agent software.
Image: Markus Spiske markusspiske, CC0 via Wikimedia Commons

Give a top AI model less help and it does better, faster and cheaper. That is the claim of Freehand, a new AI agent "harness" whose researchers say it beat the in-house tools built by OpenAI, Anthropic and Google for their own models in every one of 11 test settings.

A harness is the software wrapped around a model that turns it into an agent: the instructions it reads, the tools it can call and the rules for what it remembers. Codex, Claude Code and Gemini CLI are all harnesses. Freehand strips that down to almost nothing.

A shell, a memory and a meter

According to the project's page on Microsoft's GitHub site, Freehand keeps three things. The model gets a prompt of about 200 words that only explains how the system works, with no workflows or behavior rules. It gets a single tool, the bash command line, and sets its own time limit for each command. And its conversation history is a file it can edit, so it decides what to forget instead of having old context summarized at a fixed threshold.

Advertisement

The ten authors, led by Zezi Zeng, posted the Freehand paper on arXiv on December 1, 2026. It reports that Freehand outscored each model's first-party harness by 5.1 points on average at 49% lower cost, and that the other harnesses took 17% to 62% longer in a side-by-side rerun. It is a preprint, so the results have not been peer reviewed.

The receipts

The case studies are where it gets vivid. In one desktop test, an agent had to book two rail tickets in an app. With Codex and its 20-plus point-and-click tools, the model made 430 calls over 76 minutes, spent $57.45 and failed. Under Freehand it wrote its own scripts, made 139 calls in 21 minutes, spent $9.95 and booked the tickets. That is close to six times cheaper for a job that actually got done.

In another, a rival agent stuck with a hard-coded 30-second timeout spent 334 steps polling a slow job, at a cost of $70.77. Freehand simply waited up to 24 minutes in one call and finished for $2.28.

The strangest result involves refusals. On a harmless biology task, ranking ten protein-docking poses, a model given Codex's system prompt of more than 3,000 words refused in 10 of 10 runs, the paper says. With Freehand's short prompt it completed the task 10 times out of 10.

Advertisement

Crutch or cage

There is a twist. On weaker, lower-tier models the in-house harnesses still won, by 5.1 to 6.7 points. Only on frontier models did Freehand pull ahead, by 2.5 to 7.6. The authors put it neatly: presets are "a crutch" for weaker models and "a cage" for frontier ones.

The title borrows from the bitter lesson, a 2019 essay by AI pioneer Richard Sutton arguing that general methods that scale with computing power beat hand-built human knowledge in the long run. Freehand's page signs off with its own version: "As models grow stronger, the best harness is the one that decides the least."

For anyone paying the AI bill, that is a provocative idea: the cheapest upgrade may be taking the training wheels off.

Badiyaa has tracked the harness boom closely, from DreamCoder, a browser AI coding harness, to Localcode, an open-source coding agent for Macs.

Sources

Image: Markus Spiske markusspiske, CC0 via Wikimedia Commons

This article was produced with AI assistance and reviewed by our Editorial Desk. How we work.

Advertisement
Grok Fact CheckCheck it yourself in one tapVerify with Grok ↗Ask @grok on X ↗