Microsoft FreeHand Harness Microsoft released Freehand, an open-source agent harness that gives a frontier model a roughly 200-word runtime description, a single `bash` tool and control over its own context, publishing the code as `freehand-ai` on PyPI and a paper on arXiv (2612.02442). Microsoft reports Freehand scored highest, cost least and was fastest on average against Codex, Claude Code, Gemini CLI, OpenCode, Pi and DeepSeek Harness across five benchmarks and three model families, though traditional harnesses still do better with weaker models. The alpha release has no sandbox — model commands run with the user's permissions and nothing asks first — and supports macOS and Linux, with native Windows listed as coming soon. English · 简体中文 https://github.com/microsoft/FreeHand/blob/main/README.zh-CN.md · 日本語 https://github.com/microsoft/FreeHand/blob/main/README.ja.md · 한국어 https://github.com/microsoft/FreeHand/blob/main/README.ko.md · Français https://github.com/microsoft/FreeHand/blob/main/README.fr.md · Español https://github.com/microsoft/FreeHand/blob/main/README.es.md 🧭 Freehand is part of the AgentOpt series , which covers each part of an agent system: SkillLens https://microsoft.github.io/SkillLens/ · SkillOpt https://microsoft.github.io/SkillOpt/ · Resource2Skill https://microsoft.github.io/Resource2Skill/ · EnvOpt https://microsoft.github.io/EnvOpt/ · EvalOpt https://microsoft.github.io/EvalOpt/ · Freehand . See the AgentOpt series page https://microsoft.github.io/SkillOpt/agentopt/ . An agent harness that leaves the decisions to the model. Freehand gives a frontier model a runtime description of about 200 words, one bash tool, and control over its own context. Against Codex, Claude Code, Gemini CLI, OpenCode, Pi and DeepSeek Harness, on five benchmarks with three model families, it scored highest and cost least in every setting we ran, and it was fastest on average. Use it with a frontier model. Freehand leaves the decisions to the model, so it pays off when the model can make them well: with weaker models, traditional harnesses still do better Results results . Quick start quick-start · Paper https://arxiv.org/abs/2612.02442 · Usage https://github.com/microsoft/FreeHand/blob/main/docs/usage.md · Gateways https://github.com/microsoft/FreeHand/blob/main/docs/gateway.md · Benchmarks https://github.com/microsoft/FreeHand/blob/main/docs/benchmarks.md · Security https://github.com/microsoft/FreeHand/blob/main/docs/security.md · Changelog https://github.com/microsoft/FreeHand/blob/main/CHANGELOG.md Alpha. Freehand has no sandbox: the model's commands run with your permissions and nothing asks first. Use a container or VM for code you do not trust how https://github.com/microsoft/FreeHand/blob/main/docs/container.md , and read the security model https://github.com/microsoft/FreeHand/blob/main/docs/security.md . - 2026.12 🏆 Freehand ranked 1 Paper of the Day and 2 Trending Paper on Hugging Face Daily Papers https://huggingface.co/papers/2612.02442 - 2026.12 📄 Released the Freehand paper https://arxiv.org/abs/2612.02442 and open-sourced freehand-ai on PyPI https://pypi.org/project/freehand-ai/ . Supported platforms: macOS and Linux . The CLI and web interface also run in Linux under WSL2. Native Windows: coming soon. Desktop builds target macOS Apple Silicon and Intel and Linux x64 ; see desktop/README.md https://github.com/microsoft/FreeHand/blob/main/desktop/README.md for build details. On macOS or Linux: curl -LsSf https://raw.githubusercontent.com/microsoft/FreeHand/main/install.sh | sh Or install from PyPI https://pypi.org/project/freehand-ai/ Python 3.10+ : pip install freehand-ai or: uv tool install freehand-ai The script installs uv https://docs.astral.sh/uv/ if it is missing, then Freehand with its own Python 3.12. If you already have uv, the same thing is uv tool install --python 3.12 git+https://github.com/microsoft/FreeHand . freehand update upgrades the uv tool installation. To work on Freehand itself, see Development development . freehand login Continue with ChatGPT Plus or Pro ; or an API key: freehand login openai | anthropic cd your/project freehand interactive session in this directory freehand -c continue the last session here freehand -p "fix the failing test" headless: activity on stderr, the final summary on stdout freehand web the same sessions in a browser window Every command, key, slash command and setting is in docs/usage.md https://github.com/microsoft/FreeHand/blob/main/docs/usage.md and docs/config.md https://github.com/microsoft/FreeHand/blob/main/docs/config.md .