Freehand: The Bitter Lesson Comes to Agent Harnesses

Zezi Zeng, Yuke Zhao, Muzhao Tian, Yifan Yang, Qi Dai, Bei Liu, Kai Qiu, Bohan Zhuang, Jihua Zhu, Chong Luo

arXiv:2612.02442 · 2026-12-02 공개 · arXiv · PDF

benchmarking code-generation model-evaluation prompt-engineering cost-efficiency frontier-models agent-harnesses freehand

Abstract

The Bitter Lesson holds that knowledge we build into AI systems helps at first and is eventually outgrown by general methods. We show that this lesson has now come to agent harnesses. Mainstream harnesses decide a great deal on the model's behalf -- prompts prescribe how to approach a task, tool suites and timeouts fix how to act, and threshold compaction decides what to remember -- and every such decision is fixed before the model has seen the task. For weaker models these presets are a crutch; for frontier models they become a cage. We introduce Freehand, a general-purpose harness built on one rule: give the model a shell, its own memory, and a meter -- and let it decide everything else. Across five domains and three frontier model families, Freehand is better, cheaper, and faster at the same time. 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. 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. As models grow stronger, the best harness is the one that decides the least. Code: https://github.com/microsoft/FreeHand

한국어 요약

한 줄 요약

Freehand는 모델이 직접 작업 전략, 실행 방식, 기억 내용을 결정하도록 허용함으로써, 최첨단 모델에서 더 높은 성능과 효율성을 달성하는 제너럴 허네스를 제시한다.

핵심 기여도

핵심 아이디어

Freehand는 기존 허네스가 작업 시작 전에 모델이 보지 못한 상태에서 모든 결정을 미리 하도록 하는 방식을 반대한다. 예를 들어, Codex는 수천 단어의 행동 규칙과 20개 이상의 호출 가능한 엔트리 포인트를 제공하며, Claude Code는 20개 이상의 도구와 반복되는 런타임 알림을 제공한다. 이러한 모든 구성 요소는 모델이 작업을 보지 못한 상태에서 결정된다. Freehand는 이와 달리, 모델이 작업의 증거(에러 메시지, 테스트 결과, 작업 소요 시간 추정 등)를 바탕으로 실시간 판단을 내릴 수 있도록 허용한다.

이러한 접근은 "The Bitter Lesson"을 반영한다. 즉, 초기에는 유용했던 인간 지식이 시간이 지나 모델 자체의 일반적 판단 능력에 의해 대체되는 현상이다. Freehand는 이 아이디어를 허네스 설계에 적용하여, 최첨단 모델이 더 유연하고 효율적으로 작동하도록 돕는다.

기술적 접근법

주요 결과

의의 및 한계

Freehand는 최첨단 모델에서 허네스가 작동하는 방식에 대한 중요한 통찰을 제시한다. 즉, 모델이 스스로 결정할 수 있도록 하면, 허네스가 제공하는 하드코딩된 제약을 벗어나 더 유연하고 효율적인 작업이 가능하다는 점이다. 이는 학술적으로는 모델의 자율성과 일반화 능력을 강화하는 방향으로, 실용적으로는 비용 절감과 처리 속도 향상에 기여한다.

그러나 Freehand는 하위 성능 모델에서는 여전히 공식 허네스보다 성능이 떨어지는 한계가 있다. 이는 모델이 스스로 판단을 내리는 능력이 부족하기 때문이며, 이는 향후 연구에서 모델 학습 방식을 재고하는 데 중요한 단서가 될 수 있다.

실용적 활용

Freehand는 터미널 작업, 과학적 워크플로우, 지식 작업, GUI 조작, 복잡한 작업 흐름 등 다양한 도메인에서 적용 가능하다. 특히, 모델이 스스로 작업 전략과 실행 방식을 결정할 수 있어, 개발자나 운영자에게 더 많은 유연성을 제공하며, 비용 효율적인 작업 수행이 가능하다.