# Freehand: The Bitter Lesson Comes to Agent Harnesses

> Freehand gives frontier agents one shell, editable context and resource feedback instead of preset workflows, tools and compaction. Across 11 settings, it raised mean official scores by 5.1 percentage points and cut per-task cost by 49% versus first-party harnesses.

- arXiv: https://arxiv.org/abs/2612.02442
- Authors: Zezi Zeng, Yuke Zhao, Muzhao Tian, Yifan Yang, Qi Dai, Bei Liu, Kai Qiu, Bohan Zhuang, Jihua Zhu, Chong Luo
- Published: 2026-12-02
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2612.02442
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can frontier agents do better with less harness control?

**+5.1 pp** mean score gain vs first-party (11 settings)

## The same preset can be a crutch or a cage

**The crutch:** Preset workflows, tool suites and fixed compaction can prevent errors when a model struggles to plan or manage context.

**The cage:** Those same decisions are fixed before task evidence arrives, so they can block better choices while adding overhead.

Freehand asks whether frontier agents should make these calls at run time.

## Three decisions move back to the model

![Figure 2](https://cdn.instaxiv.com/figures/2612.02442/figure2.webp)

Mainstream harnesses prescribe behavior, tool suites and threshold compaction. Freehand exposes about a 200-word runtime prompt, one bash interface and model-managed context. (Figure 2)

## What the harness gives back to the agent

1. **No workflow is prescribed**: A short prompt explains the loop but leaves task strategy and tool preferences to the model.
2. **A shell with a timer**: Through bash, the model writes scripts, uses system utilities and sets a timeout for each command.
3. **Memory lives in a file**: The model can edit its provider-native transcript, pruning or condensing history and inserting screenshots for later viewing.
4. **Feedback without commands**: After every turn, a footer reports context size, cumulative tokens, cost and elapsed time, without telling the model what to do.

## Ten-setting frontier averages: Freehand leads four comparators

| Method | Official score (%) | Cost/task ($) | Normalized min/task |
| --- | --- | --- | --- |
| First-party | 58.4% | $6.70 | 33.0 |
| Pi | 59.3% | $4.49 | 36.5 |
| DeepSeek Harness | 57.4% | $12.76 | 35.1 |
| OpenCode | 56.8% | $5.16 | 32.0 |
| **Freehand (+3.9 pp vs Pi)** | **63.2%** | **$3.23** | **31.7** |

_10 high-effort GPT-6-astra/Opus 5.5 settings; five benchmarks. Means: Fig. 3; per-setting data: Main Results table; costs at list prices._

## Ablations separate score and cost effects

![Figure 4](https://cdn.instaxiv.com/figures/2612.02442/figure4.webp)

GPT-6-astra ablations on Agents' Last Exam and Terminal-Bench 4: removing self-management showed no detectable score change; fixed 90% compaction raised cost. Adding Codex's prompt/tools raised cost and lowered scores. (Figure 4)

## Context editing follows task horizon

![Figure 6](https://cdn.instaxiv.com/figures/2612.02442/figure6.webp)

Panel (a) tracks transcript edits in one round per setting, without pruning rules: 99.8% of AutomationBench tasks were untouched, versus 58.6-64.3% of Terminal-Bench Science and 77.8-91.7% of GUI tasks, including screenshots. (Figure 6)

## The best harness changes with model strength

![Figure 5](https://cdn.instaxiv.com/figures/2612.02442/figure5.webp)

Five-round Terminal-Bench 4: matched harnesses beat Freehand by 5.1-6.7 pp on three lower-tier models; Freehand led on frontier models. Pooled Claude/GPT reversal was significant; GPT-family permutation test was borderline. (Figure 5)

## Where the results stop

- **Model-scale boundary**: On Terminal-Bench 4, model-specific harnesses beat Freehand on all three tested lower-tier models.
- **Tested scope**: Frontier results cover three model families, five benchmarks and high reasoning effort; the crossover elsewhere remains unmeasured.
- **Runtime varies**: Freehand was fastest in the controlled average, but not every setting; normalized runtime gains were not significant against first-party harnesses or OpenCode.
- **Cost-log caveat**: Some baseline usage logs were incomplete, so their reported costs are lower bounds; the authors say this makes savings conservative.

Best used when: Best fit: capable frontier agents that can exploit task evidence, run in isolated environments with scoped credentials and permissions.

## Key takeaways

- Across 11 frontier settings, Freehand raised mean official scores by 5.1 points and cut mean per-task cost 49% versus first-party harnesses.
- For capable agents, provide a shell, editable native-format context and resource feedback; enforce safety through environment permissions and sandboxing.
- Where is the crossover: which model capability, task horizon and reasoning budget make each preset worth keeping?

## Links

- arXiv: https://arxiv.org/abs/2612.02442
- PDF: https://arxiv.org/pdf/2612.02442
- Code: https://github.com/microsoft/FreeHand

## Citation

```bibtex
@article{zeng2026freehand,
  title   = {Freehand: The Bitter Lesson Comes to Agent Harnesses},
  author  = {Zeng, Zezi and Zhao, Yuke and Tian, Muzhao and Yang, Yifan and Dai, Qi and Liu, Bei and Qiu, Kai and Zhuang, Bohan and Zhu, Jihua and Luo, Chong},
  journal = {arXiv preprint arXiv:2612.02442},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.02442}
}
```
