{
    "@context": "https://schema.org",
    "@type": "NewsArticle",
    "@id": "https://badiyaa.com/freehand-ai-agent-harness-bitter-lesson/#article",
    "mainEntityOfPage": "https://badiyaa.com/freehand-ai-agent-harness-bitter-lesson/",
    "headline": "Freehand gives AI models just a shell and beat the Codex, Claude Code and Gemini CLI harnesses in all 11 tests",
    "description": "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.",
    "datePublished": "2026-12-05T23:33:00+00:00",
    "dateModified": "2026-12-05T15:37:49+00:00",
    "author": {
        "@type": "Organization",
        "name": "Badiyaa Editorial Desk",
        "url": "https://badiyaa.com/author/editorial-desk/"
    },
    "publisher": {
        "@type": "NewsMediaOrganization",
        "@id": "https://badiyaa.com/#organization",
        "name": "Badiyaa",
        "url": "https://badiyaa.com/",
        "logo": {
            "@type": "ImageObject",
            "url": "https://badiyaa.com/wp-content/uploads/2026/10/badiyaa-logo-color-600x60-1.png",
            "width": 600,
            "height": 60
        },
        "email": "badiyaavideo@gmail.com",
        "publishingPrinciples": "https://badiyaa.com/editorial-policy/",
        "correctionsPolicy": "https://badiyaa.com/corrections/",
        "actionableFeedbackPolicy": "https://badiyaa.com/contact/",
        "ownershipFundingInfo": "https://badiyaa.com/about/#ownership",
        "sameAs": [
            "https://www.facebook.com/profile.php?id=61595518283625",
            "https://www.instagram.com/badiyaa.com.ai/",
            "https://www.threads.net/@badiyaa.com.ai"
        ],
        "parentOrganization": {
            "@type": "Organization",
            "name": "Rezilient Digital",
            "url": "https://www.rezilientdigital.com/",
            "address": {
                "@type": "PostalAddress",
                "streetAddress": "Fl No 3, Nav Shyam Sadan, Plot No 38, Pestom Sagar, Chembur",
                "addressLocality": "Mumbai",
                "addressRegion": "Maharashtra",
                "postalCode": "400089",
                "addressCountry": "IN"
            },
            "sameAs": [
                "https://www.linkedin.com/company/rezilientdigital"
            ]
        }
    },
    "isAccessibleForFree": true,
    "inLanguage": "en-US",
    "wordCount": 575,
    "image": [
        "https://badiyaa.com/wp-content/uploads/2026/12/code-on-computer-monitor-unsplash.jpg"
    ],
    "articleSection": "Tech",
    "keywords": "Freehand, Claude Code, Codex, Gemini CLI, Richard Sutton",
    "articleBody": "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. 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. 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. SourcesFreehand: The Bitter Lesson Comes to Agent Harnesses (project page), Microsoft on GitHub, 2026Freehand: The Bitter Lesson Comes to Agent Harnesses, arXiv, 2026Bitter lesson, Wikipedia, 2026 Image: Markus Spiske markusspiske, CC0 via Wikimedia Commons This article was produced with AI assistance and reviewed by our Editorial Desk. How we work.",
    "markdown": "https://badiyaa.com/freehand-ai-agent-harness-bitter-lesson.md"
}