{"type":"post","id":"microsoft-s-freehand-beats-vendor-coding-agents-at-a27a86","slug":"microsoft-s-freehand-beats-vendor-coding-agents-at-a27a86","title":"Microsoft's Freehand Beats Vendor Coding Agents at Half the Cost","description":"The paper introduces Freehand, a general-purpose agent harness.","retrieval_nugget":"The paper introduces Freehand, a general-purpose agent harness.","published_at":"2026-12-04","updated_at":"2026-12-04","record_date":"2026-12-04","date_kind":"published_at","topics":["claude","claude-code","codex"],"entities":["Microsoft","Freehand","Codex","Claude Code","Gemini CLI"],"related_patterns":["harness-architecture-outlives-model-choice","agent-economics-moves-to-completed-work"],"novelty_label":"new_fact","what_changed":"Microsoft’s Freehand study finds its harness beats Codex, Claude Code, and Gemini CLI across 11 settings, averaging 5.1 points higher at 49% lower cost.","prior_refs":[],"source_url":"https://arxiv.org/html/2612.02442v1","source_urls":["https://arxiv.org/html/2612.02442v1"],"production":{"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-12-04T02:00:19.490Z","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":["Across five domains and three … takes 17–62% longer (Appendix H.2)."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~:text=Across%20five%20domains%20and%20three,takes%2017%E2%80%9362%25%20longer%20%28Appendix%20H.2%29.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"Freehand gives the model a bash interface and control over each command’s timeout; it stores conversation history in an editable file in the provider’s native message format and reports context size, tokens, cost and elapsed time after each turn.","quotes":["Across five domains and three … takes 17–62% longer (Appendix H.2).","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/html/2612.02442v1#:~:text=Across%20five%20domains%20and%20three,takes%2017%E2%80%9362%25%20longer%20%28Appendix%20H.2%29.&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%E2%80%9362%25%20longer.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"Its roughly 200-word runtime description does not prescribe a workflow, while the host retains permissions, sandboxing and total-budget controls.","quotes":["A meter instead of rules: after every turn the harness reports context size, tokens, cost, and elapsed time, telling the model where it stands but never what to do about it."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~:text=A%20meter%20instead%20of%20rules%3A%20after%20every%20turn%20the%20harness%20reports%20context%20size%2C%20tokens%2C%20cost%2C%20and%20elapsed%20time%2C%20telling%20the%20model%20where%20it%20stands%20but%20never%20what%20to%20do%20about%20it.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"The authors inspected eight harnesses through source code and captured API requests.","quotes":["What stays with the host are the boundaries around them: permissions, sandboxing, and total budgets limit what an agent may do, not how it should solve the task."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~:text=What%20stays%20with%20the%20host%20are%20the%20boundaries%20around%20them%3A%20permissions%2C%20sandboxing%2C%20and%20total%20budgets%20limit%20what%20an%20agent%20may%20do%2C%20not%20how%20it%20should%20solve%20the%20task.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"","quotes":["To examine what mainstream harnesses … full inventory in Appendix A)."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~:text=To%20examine%20what%20mainstream%20harnesses,full%20inventory%20in%20Appendix%20A%29.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"But the direction reversed with lower-tier models from the same families: first-party harnesses beat Freehand.","quotes":["Across five domains and three … takes 17–62% longer (Appendix H.2)."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~:text=Across%20five%20domains%20and%20three,takes%2017%E2%80%9362%25%20longer%20%28Appendix%20H.2%29.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"The authors also report Freehand outperforming OpenCode, Pi and DeepSeek Harness, while mini-swe-agent—a bash-only harness with fixed workflow, timeouts and history—trailed at higher cost.","quotes":["Evidence across domains and model … show where it comes from."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~:text=Evidence%20across%20domains%20and%20model,show%20where%20it%20comes%20from.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"Their controlled ablations attribute accuracy gains to removing prescribed workflows and tools, and further cost savings to self-managed memory.","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.","Fewer tools alone do not explain the gain: a harness that also offers only bash but still fixes the workflow, the timeouts, and the history (mini-swe-agent \\ [9\\]) trails Freehand at higher cost."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~: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.&text=Fewer%20tools%20alone%20do%20not%20explain%20the%20gain%3A%20a%20harness%20that%20also%20offers%20only%20bash%20but%20still%20fixes%20the%20workflow%2C%20the%20timeouts%2C%20and%20the%20history%20%28mini%2Dswe%2Dagent%20%5C%20%5B9%5C%5D%29%20trails%20Freehand%20at%20higher%20cost.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"In one Terminal-Bench 4 case, a 30-second cutoff turned one wait into 334 polling calls; the authors say this cost more than ten times as much as an agent setting its own timeout.","quotes":["Controlled ablations trace the accuracy … its context at subtask boundaries."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~:text=Controlled%20ablations%20trace%20the%20accuracy,its%20context%20at%20subtask%20boundaries.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"","quotes":["It rescues an agent stuck … its own timeout (Section 5.4)."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~:text=It%20rescues%20an%20agent%20stuck,its%20own%20timeout%20%28Section%205.4%29.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"},{"claim":"","quotes":["Across five domains and three … takes 17–62% longer (Appendix H.2).","Evidence across domains and model … show where it comes from."],"cite_url":"https://arxiv.org/html/2612.02442v1#:~:text=Across%20five%20domains%20and%20three,takes%2017%E2%80%9362%25%20longer%20%28Appendix%20H.2%29.&text=Evidence%20across%20domains%20and%20model,show%20where%20it%20comes%20from.","source_url":"https://arxiv.org/html/2612.02442v1","publisher":"arxiv.org"}],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:microsoft-s-freehand-beats-vendor-coding-agents-at-a27a86","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/microsoft-s-freehand-beats-vendor-coding-agents-at-a27a86/","markdown":"https://newruntime.com/posts/microsoft-s-freehand-beats-vendor-coding-agents-at-a27a86.md","json":"https://newruntime.com/posts/microsoft-s-freehand-beats-vendor-coding-agents-at-a27a86.json"},"markdown_url":"https://newruntime.com/posts/microsoft-s-freehand-beats-vendor-coding-agents-at-a27a86.md","next_reads":[{"type":"topic","path":"/topics/claude/","url":"https://newruntime.com/topics/claude/","title":"Claude","reason":"Explore the claude topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude.md","json_url":"https://newruntime.com/topics/claude.json"},{"type":"topic","path":"/topics/claude-code/","url":"https://newruntime.com/topics/claude-code/","title":"Claude Code","reason":"Explore the claude-code topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude-code.md","json_url":"https://newruntime.com/topics/claude-code.json"},{"type":"topic","path":"/topics/codex/","url":"https://newruntime.com/topics/codex/","title":"Codex","reason":"Explore the codex topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/codex.md","json_url":"https://newruntime.com/topics/codex.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
