The AI Gazette

Agent harnessesResearch

Microsoft's bare-bones harness beat each lab's own coding agent on its own model

In a paper submitted on 1 December, Microsoft Research argues that the presets in mainstream harnesses help weaker models but hold back frontier ones, and introduces Freehand: a prompt of about 200 words, one bash tool with timeouts the model sets, the conversation as an editable file and a meter after every turn. Across five benchmarks and 11 settings it outscored Codex, Claude Code and Gemini CLI on their own models by 5.1 points on average at 49% lower cost.

The authors inspected eight harnesses through their source code and captured API requests, and found three kinds of decision fixed before a task begins. Strategy: Gemini CLI's prompt of about 3.9K words prescribes a research, strategy and execution lifecycle, and Claude Code injects recurring reminders. Execution: Codex exposes 23 callable entry points in a static prefix of about 15.1K tokens, and Claude Code enables 22 built-in tools. Memory: history only grows, and compaction fires at a threshold, at 90% of the window for Codex. A preset pays off, the paper argues, only while the errors it prevents outweigh the better decisions it blocks. Its example is a fixed 30-second timeout that turned one wait on a Terminal-Bench 4 task into 334 polling calls, at more than ten times the cost of an agent that set its own timeout.

Freehand hands back each decision together with the lever for it. The single tool is bash with an optional timeout the model sets per command, so it writes task-specific scripts and waits for long jobs instead of polling. The conversation lives in the environment as transcript.json, in the provider's native message format, so the model prunes stale output, condenses finished subtasks or checkpoints results to disk with the same shell, and can even insert a screenshot into its own context to look at it. After each turn a one-line footer reports the turn, the context size, cumulative tokens and cost, and elapsed time, telling the model where it stands but never what to do. The prompt tells the model that nothing else is decided for it.

The evaluation ran GPT-6-astra and Claude Opus 5.5 on Terminal-Bench 4, Terminal-Bench Science, Agents' Last Exam, OSWorld 2.1 and AutomationBench, plus Gemini 4 Carbon on Terminal-Bench 4, over 191 rounds in identical containers. Averaged over the ten Astra and Opus settings, Freehand scored 63.2% at $3.23 per task, against 58.4% at $6.70 for the first-party harnesses, 59.3% for Pi, 57.4% for DeepSeek Harness and 56.8% for OpenCode. In a rerun on the same machines, the other harnesses took 17 to 62% longer. Ablations traced the accuracy gain to removing prescribed workflows and tools, and the further savings to self-managed memory; swapping in Codex's prompt alone triggered false refusals of a benign task.

The result reverses for smaller models. On Terminal-Bench 4, Codex led Freehand by 5.7 points on GPT-6 Sol, Claude Code by 6.7 points on Claude Sonnet 5.5 and DeepSeek Harness by 5.1 points on DeepSeek V4.1 Flash, while Freehand led by 7.0 points on Claude Opus 5.5 and by 7.6 points on Gemini 4 Carbon. The authors read this as presets turning from a crutch into a cage as models improve. Freehand is meant to run inside isolated containers or virtual machines with scoped credentials, as in all the experiments: decisions about how to solve a task go to the model, while permissions and sandboxing stay with the environment. The code is on GitHub.

  • Coding agentsMulti-agent

    GitHub finds several cheaper AI reviewers catch more bugs than one strong model

    In a post dated 30 November, GitHub explains why several smaller, independent reviewers on complementary models often outperform a single reviewer on a stronger model at a fixed price. On its ReviewBench benchmark, at $3 per pull request, combining GPT-6.1 Sol and Claude Opus 5.5 raised the share of critical bugs caught from 61.3% to 66.2%, and the approach now runs Copilot code review's Lite, Balanced and new Max tiers.

  • Agent securityClaude

    A Claude model found new quantum attacks on the math behind post-quantum encryption

    On 30 November Anthropic posted four papers on lattice problems, with a Lean 4 formalization, whose results it says were discovered by an internal research Claude model; the main paper gives quasi-polynomial quantum algorithms for Module-LWE at very large ring degrees. Trail of Bits and Cloudflare explained on 1 December why ML-KEM, ML-DSA and FN-DSA are not broken, and on 2 December Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI and Oracle backed a fast move to NIST's post-quantum standards.

  • Model releasesLocal models

    Amazon releases Ergo, an open-weight model built for coding agents

    On 1 December Amazon released Ergo, a mixture-of-experts model with 1.1 trillion parameters, 55 billion active per token and a 1M-token context window, under a free open-weights license, and made it generally available on Amazon Bedrock at $1 per million input tokens and $3 per million output tokens. On Amazon's held-out tasks it ranks first among the open-weights models tested.

From other editions

Say hi.