Friday, December 4, 2026

Freehand

★1,334Worth testing

Microsoft Research open-sourced a coding agent that is a 200-word note and one bash tool, and on their tests it beat Claude Code and Codex for less money.

Freehand

Why it matters

Freehand is an MIT agent harness in the microsoft/FreeHand repo, from the same AgentOpt line as SkillOpt. The model sees a short description of the runtime, one bash tool, and a transcript file it can edit. After each turn a meter adds context size, tokens, cost, and time. There is a terminal, a browser window, and a desktop app in beta for macOS and Linux. Native Windows is not out yet. It is marked alpha, and it has no sandbox. Commands run with your user permissions.

If you are building an agent, the expensive part is often the harness, not the model. Freehand is the public result that says a frontier model does better when you stop deciding the plan, the tools, and the memory for it. With a smaller model, the heavy harness still wins, so do not throw yours out on a weaker API.

How it works

Install freehand-ai, sign in with an API key or ChatGPT Plus or Pro, and run freehand inside the project. The model writes shell commands, sets each timeout, and can leave a job running. It cuts its own history when the context gets heavy. Automatic compaction exists and is off. A reply with no tool call ends the task. freehand -c resumes the last session, and freehand web opens the same sessions in a browser.

Codex, Claude Code, Gemini CLI, OpenCode, and Pi ship long instructions and a large tool menu. Freehand ships almost none of that. Across 11 settings in their December paper, with GPT-6-astra, Claude Opus 5.5, and Gemini 4 Carbon, it scored highest and cost least in every one, about 5.1 points higher and 49% cheaper than the first-party harness. The order flips on Terminal-Bench 4 with GPT-6 Sol, Claude Sonnet 5.5, and DeepSeek V4.1 Flash. Those numbers are the authors' own runs.

Similar tools

agentsharnesscoding
Source ↗

Via github

X