Freehand paper: a minimal bash-only harness beats Codex and Claude Code by 5.1 points at 49% lower cost
adnan_hashmi · x · 2026-12-03
- The arXiv paper "Freehand: The Bitter Lesson Comes to Agent Harnesses" (31pp) argues mainstream harnesses over-prescribe: prompts dictate strategy, fixed tool suites and timeouts fix execution, threshold compaction fixes memory — a crutch for weak models, a cage for frontier ones.
- Freehand follows one rule: give the model a shell, its own memory, and a meter — nothing else. 200-word runtime description, single bash tool with model-set timeouts, and model-managed context pruning instead of auto-compaction.
- Results: across 5 domains and 3 frontier model families, Freehand outscores every first-party harness (Codex, Claude Code, Gemini CLI) in all 11 settings by 5.1 points on average at 49% lower cost, and runs 17–62% faster; it also beats OpenCode, Pi, DeepSeek Harness, and a bash-only harness. With lower-tier models, first-party harnesses win again.
- Takeaway: as models grow stronger, the best harness decides the least. Code released.
More from coding & agent
- Open-source roadmap lays out step-by-step path to becoming an AI Forward Deployed Engineer — leslysandra · 2026-12-03
- Steel fabricators: paste DXF exports to an AI bot for instant CNC material lists — EricBuess · 2026-12-03
- Indie dev prototypes AI hair-color consultation tool for a receptionless salon — annetgriffin · 2026-12-03
- Gemini 4 Neon goes live on Runware with 1M context and four thinking levels — aziz4ai · 2026-12-03
- ServingStudio adds day-one Ergo support: simulate 8×B200 DSpark decoding in browser, no GPU — bariskasikci · 2026-12-03
- AI agent hackathon has you run a bakery with agents for 5 hours — HamelHusain · 2026-12-03