AdvertiseWatchSubscribe
Updated , rescanned every two hoursThursday, December 3, 2026

▲ 60 today960 starsPythonHN ×2New · 16d old

Freehand lets LLMs run bash commands without a hard-coded harness

CodingAgentsLLMs

What is FreeHand?

Freehand is a lightweight Python harness that gives a large language model a short prompt, one bash tool, and the ability to edit its own context while tracking cost and time. In head-to-head tests it beat Codex, Claude Code, Gemini CLI and others on speed, cost and accuracy, but only when paired with a strong frontier model.

Who it is for

Developers who want to experiment with LLM-driven automation will appreciate its simplicity and performance.

How FreeHand works

Freehand is a local Python program that talks to a large language model through the provider API. It gives the model a short description and a single bash tool and lets the model decide what commands to run. After each step it shows the model its current token count cost and elapsed time and lets the model prune its own history. The model also sets the timeout for each command and can detach jobs. Interfaces include a terminal command line, a web page and an optional desktop application.

What you can do with it

  • run an interactive session in a project directory to fix failing tests
  • execute a headless task by passing a prompt and receive a summary on standard output
  • open a browser based interface to view and continue the same session
  • use the desktop app to see files, git changes and a terminal alongside the model conversation

Good to know

  • only runs on macOS and Linux at the moment
  • commands execute with the user permissions and there is no sandbox
  • the release is an alpha version and macOS builds are not signed

Written from the project's own README.

Try it in 60 seconds

You need: macOS or Linux, Python 3.10+, and access to a frontier model API

  1. curl -LsSf https://raw.githubusercontent.com/microsoft/FreeHand/main/install.sh | sh
  2. pip install freehan

MIT licenseUpdated todayPython30 open issues

New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.

The morning email · free

Get tomorrow's biggest AI launches before everyone else.

One short email each morning: what launched, why it matters, how to try it. Five minutes, no spam, unsubscribe any time.

The story so far

Early Signal first spotted microsoft/FreeHand on December 3, 2026, when it had 610 GitHub stars. It has since grown to 960, 1.6 times as many. On its busiest day it gained 60 stars. The project is 16 days old and written mainly in Python. It is published under the MIT license and has 86 forks. It has been discussed in 2 Hacker News threads, the top one with 3 points. Early Signal files it under Coding, Agents, LLMs.

Questions about FreeHand

Is FreeHand free and open source?
Yes. microsoft/FreeHand is open source under the MIT license, and the code is on GitHub at https://github.com/microsoft/FreeHand.
How do I install FreeHand?
Use one of these, depending on your setup: curl -LsSf https://raw.githubusercontent.com/microsoft/FreeHand/main/install.sh | sh · pip install freehan
What do I need to run FreeHand?
macOS or Linux, Python 3.10+, and access to a frontier model API

Get the signal first.

Join the list for the morning email: the day's biggest AI launches, explained in five minutes. Unsubscribe any time.

Prefer a reader? Follow the RSS feed.