# Freehand: AI That Learns to Do Tasks Better

> Discover Freehand, the revolutionary AI tool that learns tasks by devising its own strategies, achieving superior speed and cost-efficiency for complex projects.

- URL: https://sciherald.com/article/freehand-ai-that-learns-to-do-tasks-better
- Publisher: Sci Herald Editorial Desk
- Published: 2026-12-03
- Topic: Artificial Intelligence
- Original study: Freehand: The Bitter Lesson Comes to Agent Harnesses
- Study authors: Zezi Zeng, Yuke Zhao, Muzhao Tian, Yifan Yang, Qi Dai, Bei Liu, Kai Qiu, Bohan Zhuang, Jihua Zhu, Chong Luo
- Study first posted to arXiv: December 2026
- Study link: https://arxiv.org/abs/2612.02442

> **TL;DR:** A new AI system called Freehand learns to do complex tasks faster, better, and for half the cost by making its own decisions. This approach flips the script on conventional AI tools, showing that less control from humans leads to smarter, more efficient AI.

## Key Facts
- Freehand outperformed the official tools for leading AI models like Codex, Claude, and Gemini in all 11 test scenarios.
- It achieved higher success rates at an average of 49% lower cost and completed tasks faster than all other systems.
- The system works by giving the AI a simple command line, its own memory file, and a spending meter, then letting it figure everything else out on its own.
- For less powerful AI models, the traditional, more controlled approach still works better, proving the method is best for advanced AI.
- The research was conducted by a team from Microsoft Research and Xi'an Jiaotong University and posted as a recent preprint.

## The Problem with Over-Managing AI
Imagine you're teaching someone to cook. At first, you give them a detailed recipe, specific tools, and constant reminders. This helps them avoid mistakes. But as they become a skilled chef, your instructions start to get in the way. They know when to let a sauce simmer longer or how to adapt a recipe on the fly. Your help, once essential, becomes a limitation.

This, in essence, is the problem a team of researchers has identified with today's most advanced AI assistants. Where other AI harnesses might have thousands of words of instructions and dozens of specialized tools, Freehand provides just three things:
- **A Shell:** Access to a standard Bash command line, where the AI can run any command and, crucially, set its own time limits for how long a process should run.
- **Its Own Memory:** The entire conversation history is stored as an editable file. The AI can read, edit, summarize, or delete parts of its own memory just like any other file, allowing it to manage its own context.
- **A Meter:** After every action, the system reports the current cost, time elapsed, and memory usage. It tells the AI the facts but never tells it what to do with them.

With these three components, Freehand lets the AI make all its own decisions about strategy, execution, and memory. This one general system can handle tasks from writing code and controlling a computer desktop to running scientific workflows, without needing any task-specific programming.

## How Freehand Outperforms the Competition
The researchers tested Freehand against the first-party tools provided by OpenAI (Codex), Anthropic (Claude Code), and Google (Gemini CLI). The results were decisive.

As the diagram above shows, Freehand achieved a higher average score across five different testing domains while simultaneously operating at a significantly lower cost. The data shows that:
- Freehand outperformed each model's own official tool in every one of the 11 test settings.
- It scored an average of 5.1 points higher.
- It did this at **49% lower cost** per task.
- In controlled tests, every other harness took 17% to 62% longer to complete the same tasks.

Freehand also beat other popular third-party AI tools like OpenCode and DeepSeek Harness. The researchers even tested a simpler system that only offered a Bash shell but kept other restrictions like fixed timeouts; Freehand still beat it, proving that freedom, not just simplicity, is the key.

## Why Does Giving AI More Freedom Work?
Automatic memory deletion might throw away information the AI knows is still valuable.

Freehand hands control of these decisions back to the AI, trusting it to use the evidence from the task itself—like an error message or a progress bar—to make better choices than a one-size-fits-all rule ever could.

## When is a Freehand Approach Not Best?
The research uncovered a crucial nuance. The advantage flips when using less powerful, "lower-tier" AI models. For these models, the traditional harnesses with their presets and rules performed better. This perfectly demonstrates the crutch-to-cage transition: the rules are helpful for a novice but restrictive for an expert.

This means Freehand isn't a magic bullet for all AI. It is specifically designed for and excels with the most capable AI models available today. As AI continues to improve, this minimalist approach is likely to become the new standard.

## What This Means for the Future of AI Tools
This research has immediate, practical implications for how we build and interact with AI.
- **Cheaper AI Access:** Halving the cost of running complex AI tasks could make advanced automation more accessible to businesses and developers.
- **More Powerful Agents:** AI assistants that can plan, adapt, and manage their own resources could become far more capable at tackling open-ended problems like scientific discovery or complex software engineering.
- **Simpler Development:** Instead of engineers spending time building countless specialized tools for an AI, they can focus on creating a robust and safe general-purpose environment for it to operate within.

This shift mirrors the evolution of human-computer interaction. Early computers required painstaking, low-level commands. Modern operating systems give us a general interface (a desktop, a mouse, a command line) and trust us to decide how to use them to solve our problems. Freehand is a step toward giving AI that same level of trust and flexibility.

This philosophy of building simpler, more general AI systems is gaining traction. For instance, research into models that learn from watching videos, like [DreamX](/article/ai-learns-to-act-like-people-by-watching-videos), also relies on the AI inferring patterns for itself rather than being explicitly programmed with rules.

## The Bigger Picture
The field of AI is constantly grappling with a central tension: how much control to exert over powerful models. This research powerfully argues that we are at an inflection point. For the newest generation of AI, our instinct to add more rules and safeguards is now holding them back.

The work demonstrates that often, the best way to improve AI performance isn't to build a more complex harness, but to build a simpler one. It prioritizes the model's ability to learn and adapt in real-time over our ability to predict and control every outcome.

This doesn't mean removing all guardrails. Freehand still operates within crucial safety boundaries like permission controls and sandboxing—it decides *how* to achieve a goal, not *what* goals it's allowed to pursue. The next challenges will involve refining these safety frameworks to allow for maximum freedom without compromising security.

Other research, such as work on AI that can [watch your screen](/article/ai-that-watches-your-screen-so-you-don-t-have-to) or [play any video game](/article/gamer-new-ai-learns-to-play-any-video-game), also explores creating general-purpose AI agents. Freehand provides a blueprint for how such agents could be built to be more efficient and autonomous. Furthermore, the pursuit of efficiency seen in Freehand is echoed in other domains, like the development of AI that [learns faster and uses less energy](/article/cmhc-ai-that-learns-faster-and-uses-less-energy).

## Paper, Code and Resources

- **Paper:** [Freehand: The Bitter Lesson Comes to Agent Harnesses](https://arxiv.org/abs/2612.02442) on arXiv (a preprint server; not yet peer reviewed)
- **Code:** [microsoft/FreeHand](https://github.com/microsoft/FreeHand) on GitHub
- **Project page:** [microsoft.github.io/FreeHand](https://microsoft.github.io/FreeHand/)
- **Discussion:** [Hugging Face Papers](https://huggingface.co/papers/2612.02442) — 155 community upvotes as of December 3, 2026

## Frequently Asked Questions

### Is Freehand a new AI model?
No, Freehand is not a new language model like ChatGPT or Gemini. It is a harness or a framework—a way of connecting existing powerful AI models to a computer so they can perform tasks. It's the software that tells the AI how to interact with its environment.

### Could I use Freehand with ChatGPT?
The research tested Freehand on what they call "frontier model families," which are the most powerful models available from leading AI companies. The principles behind Freehand are designed for these highly capable models. While the concept could be applied to other models, the significant benefits were demonstrated on top-tier AI systems.

### Does this mean AI doesn't need human rules anymore?
Not exactly. The research shows that AI needs fewer *pre-set operational rules* on how to do a task. However, crucial safety rules about permissions, security, and what goals the AI is allowed to pursue remain absolutely essential. Freehand is about giving the AI freedom within a safely fenced playground.

### Where can I try Freehand?
The code for Freehand has been released publicly by the researchers on GitHub under a permissive license, meaning developers can experiment with it and build upon it. You can find the project at [https://github.com/microsoft/FreeHand](https://github.com/microsoft/FreeHand).

**Source:** [Read the original study](https://arxiv.org/abs/2612.02442)
