AI News
All projects
Tool

Freehand is an agent harness that leaves its decisions to the model

Freehand is a Microsoft agent harness, a local command-line and web tool that runs a frontier model with a very short prompt, one bash tool, and a context the model manages itself.

Freehand by microsoft · 1,667 GitHub stars when we found it · added

Freehand is an agent harness from Microsoft that gives a frontier model a runtime description of about 200 words, one bash tool, and control over its own context. According to the README, the model sets each command's timeout, can run jobs detached, and prunes its own history. After every turn, it sees a meter showing context size, tokens, cost, and elapsed time. Automatic compaction exists but is off by default.

The README reports results on five benchmarks across three model families. In those tests, Freehand scored highest and cost least compared with Codex, Claude Code, Gemini CLI, OpenCode, Pi, and DeepSeek Harness. These are the authors' own numbers, detailed in an arXiv paper. The authors also say the advantage reverses with lower-tier models, so the project is aimed at frontier models.

You can install it with a shell script or with pip install freehand-ai on macOS and Linux, then run freehand login with a ChatGPT plan or an API key. The project is alpha and has no sandbox. Commands run with the user's permissions without any approval prompt, so the README advises using a container or VM for code you do not trust. It is MIT licensed.

In the author's words

Freehand gives a frontier model a runtime description of about 200 words, one `bash` tool, and control over its own context.

From the README or the author's post. We checked that the sentence is there, not that it is true.

When to reach for it

Reach for it when you want a terminal coding agent for a frontier model with few built-in rules, as a lighter alternative to a larger preset harness. The README says weaker models do better with traditional harnesses, so test it against your own model before adopting it.

Works with

OpenAIAnthropicGitHub CopilotLiteLLM

See it

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made