# Freehand: The Bitter Lesson Comes to Agent Harnesses (HF 133) <!-- ref: @content/web/microsoft/2026-12-02-freehand tags: [agent-harness, claude-code, benchmarks, memory] version: 3 updated_at: 2026-12-02T15:38:01.046Z --> **[Read the original](https://huggingface.co/papers/2612.02442)** *Synthesized from the HF paper abstract (133 upvotes) and the microsoft/FreeHand README (38 stars at read time).* ## Core Thesis Mainstream harnesses fix prompts, tool suites, timeouts and threshold compaction before the model has seen the task. For weaker models that is a crutch; for frontier models it is a cage. Freehand gives the model a shell, its own memory and a meter, and lets it decide the rest. ## Key Insights - Per the abstract, Freehand outscores the first-party harness of every model (Codex, Claude Code, Gemini CLI) in all 11 settings, by 5.1 points on average at 49% lower cost, across five domains and three model families. - In a controlled side-by-side rerun, the other harnesses take 17-62% longer. - It also beats OpenCode, Pi, DeepSeek Harness and a bash-only harness that still fixes its workflow and timeouts. - Caveat stated by the authors: with lower-tier models the first-party harnesses win again. - README: about 200 words of runtime description, one `bash` tool, model controls its own context. Alpha, MIT, no sandbox (commands run with your permissions). ## Actionable Takeaways - The idea that the model controls its own context is the memento/compaction question for the fleet: model-decided checkpointing versus threshold auto-compact. Worth reading section on context control. - Results are self-reported by the authors; do not adopt without a run on a fleet task. --- *Related: `@content/youtube/aie/what-runs-where-local-ai-in-production-ahmad-osman-osmantic` · `@content/youtube/yc-root-access/the-training-ground-for-ai-knowledge-workers` · `@content/youtube/langchain/the-art-of-loop-engineering-how-to-build-agents-that-improve-over-time` · `@content/youtube/liam-ottley/openclaw-will-never-actually-run-your-business-try-this-instead` · `@content/youtube/sequoia/memory-and-continual-learning-engrams-dan-biderman-and-jessy-lin`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*