A Nearly Empty Harness Beat the Official Ones, Until the Model Got Weaker
What the paper found
A harness with one tool and a two-hundred-word prompt beat OpenAI's and Anthropic's own coding harnesses on every frontier combination tested — about five points higher at half the cost. Then they ran it on weaker models and the result flipped by the same margin. This episode gives you the test to find out which side your own setup is on, plus a second paper on what to do with the tokens you free up.
Key takeaways
- What a static prefix actually is — the system prompt plus every tool description, resent on every single turn — and why Codex sends about fifteen thousand tokens of it before the model has seen your code
- Why Freehand's four-part design (a two-hundred-word prompt, one shell tool, an editable history file, and a one-line meter) beat first-party harnesses by 5.1 points at 49% lower cost on frontier models
- The flip side the authors found themselves: on lower-tier models the first-party harness won by five to seven percentage points — 'a crutch for a weak model and a cage for a strong one'
- Two concrete failures you can grep your own transcripts for: a thirty-second fixed timeout that made a model check a job 334 times for seventy dollars, and a file-reading tool that dragged seventy-eight pages through every later turn
- The ablation result worth repeating: swapping in only the Codex system prompt made a model refuse a harmless protein-docking task ten times out of ten, with no biological-safety rules anywhere in that prompt
- How pre-task repository study cut a solver from about forty-seven tool calls to four and a half with no accuracy loss — and paid back its own cost after two to three tasks
Our reservations
The steelman critique. On "Freehand: The Bitter Lesson Comes to Agent Harnesses": 191 evaluation rounds across five benchmarks, three model families and nine audited harnesses, with per-round standard deviations reported, controlled single-variable ablations inside the same loop, and paired permutation tests and cluster bootstraps at p < 0.001 — though it is Microsoft Research proposing its own harness, and the…
Watch
Concepts in this episode
Click a concept to find related episodes and external papers worth reading. See the full concept index.
About this episode
Chapters
- 00:00Where should the thinking actually happen?
- 01:11The instruction sheet read aloud every turn
- 03:47What's left when you remove the presets
- 06:19Five points up, then five points down
- 08:13334 checks and a seventy-dollar task
- 10:07A prompt that refused ten out of ten
- 12:12Run this test on five tasks
- 13:35Studying the repo before the task arrives
- 15:52Seven percent working, ninety-three percent waiting
References in this episode
- SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering — The canonical argument that the tools and interface a harness exposes change age
- Agentless: Demystifying LLM-based Software Engineering Agents — An earlier and even more extreme version of this episode's thesis: strip the sca
- Executable Code Actions Elicit Better LLM Agents (CodeAct) — Direct evidence for Freehand's one-tool design — replacing a menu of twenty-plus
- MemGPT: Towards LLMs as Operating Systems — The precursor to letting the model edit its own conversation file instead of for
Full transcript
Also available as a plain-text transcript page.
0:00Lauren: It's December 2, 2026. From 693 new papers and 31 blog posts published since November 27, we picked two papers.
0:08Eric: And both papers are about the same decision, which is where the thinking in an agent setup should happen. So here's what you're going to learn today. First, what a static prefix is, and why a large one is sent to the model again on every single turn. Then, why a heavy harness helps a weaker model and hurts a strong one, and how you can test which side your own setup is on. And last, how to have an agent study a repository before the task arrives, and when that study pays for itself.
0:39Lauren: And we can tell you the main finding right now. A team built a harness with almost nothing in it. They gave models the same tasks through this minimal setup and through each lab's own official harness, then scored the completed work. On the strongest models, the minimal setup scored about five percentage points higher, at about half the cost. But on smaller models the result flipped, and the official harness won. So today is less about a recommendation and more about a test that you can run yourself.
1:12Eric: Okay, before we get to that paper, it helps to understand one idea, which is the static prefix. A harness is the program that wraps the model, feeds it context and runs its tool calls. And the model keeps nothing from the conversation between turns. It only has the conversation information that the harness puts in front of it each time.
1:34Lauren: So here is the part that is easy to forget. Before your words reach the model on any turn, the harness puts its own block of text at the front. That block contains the system prompt, which tells the model how to behave, plus a written description of every tool the model is allowed to call. Together, those instructions and descriptions form the static prefix. It is called static because it does not change from turn to turn, and it is a prefix because it comes first.
2:04Eric: Here is an analogy. Imagine a desk with a standing instruction sheet. The sheet is recited aloud in full at the start of every single ticket, rather than once at the start of the day. The sheet is the system prompt and the tool list. The reading aloud is the harness sending it again. And the clerk who has to listen every time is the model.
2:26Lauren: Now here's a worked example, and these numbers are made up to keep the arithmetic simple. Imagine a harness with twenty-two tools. Each tool needs a name, a description and its arguments written out, and the system prompt sits on top. Suppose that takes eight and a half thousand tokens. Now imagine a second harness with one tool, which just says "run this shell command". Suppose its whole prefix takes three hundred and fifty tokens.
2:54Eric: And now run a task of forty turns on each. The first harness sends eight and a half thousand tokens forty times. That's three hundred and forty thousand tokens for the standing instructions and tool descriptions, before counting even one line of your code. The second harness sends fourteen thousand tokens of prefix in total. It is the same model and the same task, and this whole difference comes from what the harness decided to say first.
3:22Lauren: There is one qualification about cost. Prompt caching is where the provider stores the unchanged front of your prompt so that sending it again costs less. That can reduce the bill, but the model still reads the whole sheet on every turn. And the analogy breaks in one place. A human clerk would stop listening after the fortieth reading, and the model does not. Every reading carries full weight.
3:48Eric: And that brings us to today's lead paper. The prefix is a cost, and it is also an instruction that the model obeys. So the question becomes what happens when you take almost all of it away.
4:00Lauren: The paper is called Freehand. It comes from Microsoft Research with Xi'an Jiaotong University, Zhejiang University and Fudan University. It is a research paper on arXiv, a site for sharing research manuscripts, so it has not necessarily been peer reviewed.
4:17Eric: The authors start from an observation. They say that a mainstream coding harness decides three things before the model has seen the task. The first is how to approach the task. That lives in the system prompt as rules and workflows, such as instructions about searching code or testing changes. The second is how to act, which means which tools exist and how long a command is allowed to run. And the third is what to remember. That's handled through context compaction, where the harness replaces earlier turns with a summary. It does this when the conversation gets close to the limit of the context window, which is how much information the model can receive at once.
5:00Lauren: Their hypothesis is that these presets were built for models that needed them. For the strongest models, the authors think those same presets now cost more than they save. So they built a harness that hands all three decisions back to the model. It has four parts. There is a prompt of about two hundred words that only describes how the setup works, without prescribing a workflow. There is one tool, a shell for running commands, and the model sets the timeout for each command itself. The conversation history is stored as a file that the model can edit, so it can delete or summarize old material itself. And there is a one-line meter after each turn that reports the context size, the tokens, the cost and the elapsed time. These choices concern how the model does the work. Permissions and total budgets still remain under the host program's control.
5:55Eric: The authors also measured the static prefixes of the real products: their standing instructions plus tool descriptions. Codex, which is OpenAI's coding harness, sends about fifteen thousand tokens with twenty-three tools. Claude Code, which is Anthropic's coding harness, sends about eight and a half thousand with twenty-two tools. And Freehand sends about three hundred and fifty.
6:19Lauren: Now here's the setup for the results. They ran Freehand against each model's first-party harness, which means the harness built by the same lab that built the model. They used five benchmarks covering shell work, scientific computing, research tasks, desktop tasks and office automation. Each benchmark scored the work the agent completed. They tested three families of frontier models, which are the strongest models available today. That gave eleven combinations of model and benchmark.
6:51Eric: And before the numbers, I want to give you the limit, because it changes how you should hear them. The authors also ran the comparison with lower-tier models from three model families. They used Terminal-Bench 4, a test set of systems and security tasks done through a terminal. With those weaker models, the first-party harness won by between five and seven percentage points. A percentage point is the raw gap between two percentages.
7:19Lauren: With that in mind, here is the result on the strongest models. Freehand scored higher and cost less in all eleven combinations. Its average score advantage was 5.1 percentage points, and its cost per task was 49 percent lower. So the same idea helped the strong models by about five points and hurt the weaker ones by about five points. The authors' phrase is that a preset is a crutch for a weak model and a cage for a strong one.
7:46Eric: The analogy I like is a new trader on a desk. In the first year, the checklist and the fixed limits save that person from real mistakes. Ten years later, the same checklist makes them do unnecessary work and overrides better judgment, and the desk still pays for it on every ticket. The difference here is that we're comparing two different models with a hard line between them. We're not watching one model grow up.
8:13Lauren: Now, the most useful part for you is two specific failures the authors found in the conversation records, because you can look for both in your own sessions. The first is about timeouts. One of the comparison harnesses also used only a shell, but its command timeout was fixed at thirty seconds. On one task, the real job needed more than twenty minutes to run. So the model could only wait thirty seconds at a time before it had to check again whether the job was finished.
8:44Eric: And it checked 334 times. Each check meant another call rather than simply letting the job finish, and that one task cost about seventy dollars. Freehand let the model choose its own timeout, so the model waited up to twenty-four minutes inside a single call. It finished for a little over two dollars. The budget was the same in both cases. What differed was who decided how long the command deserved.
9:10Lauren: The second failure is about reading files. One task asked the agent to pull numbers out of a 10-K filing, which is the annual report a listed American company files. A harness called OpenCode has a dedicated tool for reading files. On the third call, that tool loaded all seventy-eight pages into the conversation. And remember, the conversation is sent again on every turn, just like the prefix. So those seventy-eight pages traveled with every later call.
9:39Eric: Freehand did it differently. It converted the filing to text on disk, and then it used grep, which searches for lines matching a pattern. That let it bring only the matching lines into the conversation. The two approaches got scores within a thousandth of each other, so filtering the file made almost no difference to the quality of the answer. But the OpenCode run, which loaded the whole filing, used about eight times as many input tokens.
10:07Lauren: There is one more piece, and this is where the experiment design is clever. Comparing Freehand with Codex, OpenAI's coding harness, as whole products is messy because many things differ at once. So the authors ran ablations. These are controlled comparisons where you change a component and keep everything else fixed. They kept Freehand's own loop for calling the model and running its commands, then put presets back to test their effects.
10:36Eric: First, they replaced the model's own editing of its conversation history with automatic summarizing. That summary happened when the conversation filled ninety percent of the model's available context. On Agents' Last Exam, a benchmark of research and engineering tasks, accuracy did not change detectably, but cost went up by about a fifth. So in that comparison, forced compaction added cost without improving accuracy. When they also put back the Codex prompt and its tools, accuracy dropped by almost four points on that benchmark, and cost rose by about two thirds. That points to the preset instructions and tools as the source of the accuracy loss.
11:18Lauren: And then there is the result I would repeat to a colleague. They swapped in only the Codex system prompt, the OpenAI harness's standing instructions, with nothing else changed. They used a harmless scientific task about protein docking, a computation about how proteins fit together. With the replacement prompt, the model refused the task on the first turn in ten runs out of ten. With the two-hundred-word prompt, the same model completed it ten times out of ten. And the Codex prompt contains no rules about biological safety at all.
11:53Eric: The material we have does not explain why that prompt caused the refusal. What the comparison shows is clear enough, though. The model, the tools and the task were all the same, and a block of text at the front changed the behavior completely. So the prefix is an instruction, and not only a cost.
12:12Lauren: So here is something to try this week. Pick five tasks you already run through your harness, and read the conversation records for two symptoms. One is the agent checking a long-running command again and again. The other is a large file loaded whole early on and then carried through every later turn.
12:32Eric: If you find either one, rerun those five tasks with a bare setup. Give the model only a shell, let it set its own timeout, and have it filter files with grep so that only matching lines enter the conversation. Use the same success checks for both versions, and compare the score and the token count. If the bare version does better, your model is strong enough to drop the presets on those tasks. If the bare version does worse, then your model is still on the crutch side. That's quite possible with an open-weight model, one you can download and run on your own hardware. In that case, leave the presets in and run the same five tasks again after your next model upgrade.
13:15Lauren: I would call the evidence in this paper solid. There are 191 evaluation rounds, the single-component swaps are careful, and the theory made a prediction about weaker models that came true. The caveats are that Microsoft Research is proposing its own harness, and that the result is tied to this generation of models.
13:36Eric: Okay, that paper leaves a question open. If you take tokens out of the preset instructions and tool setup, where should you spend them instead? The second paper gives an answer, which is before the task arrives.
13:50Lauren: This one is called Scaling Proactive Compute: When Agents Anticipate the Task. It's a research paper from Stanford University and Meta. Their starting point is that an agent usually has access to the repository or the filesystem long before anyone gives it a task, and it does nothing with that time. So they split the work in two. First, the agent explores the repository without seeing the question and writes down what it finds. They call that output the study. Then the task arrives, the study is already sitting in the context, and the same model solves the task. The preparation is saved as text for the model to use, rather than learned through training.
14:33Eric: On code, the study looks like notes for a wiki. It records where files are, what the key functions do, and the agent's own observations. And this is different from retrieval-augmented generation, which fetches matching documents at question time. Here, the agent reads ahead of time and writes its own notes.
14:53Lauren: They tested this on a benchmark of questions about code repositories, comparing answers made with a study against answers made without one. After the question arrived, the answering model could think and call tools without a cap. With a study of sixteen thousand tokens, its tool calls fell from about forty-seven per task to four and a half. Accuracy was unchanged, so it wasn't saving calls by giving worse answers. The solver stopped rediscovering the repository on every task.
15:24Eric: And the study pays for itself quickly when many tasks share one context. They tested that on a fictional law firm's filesystem, where the agent had to complete 120 legal tasks. Compared with answering without preparation, a wiki-style study cut the total cost by more than half. That total included the preparation as well as answering the tasks. After between two and three tasks, the savings had already paid back the cost of making the study.
15:53Lauren: Now, the second half of the paper is about waiting during a task. They used machine-learning engineering tasks from MLE-Bench, where the agent writes training scripts and runs commands to build models. These tasks come from Kaggle competitions, so the researchers could compare the agent's scores with those of human entrants. They ran an agent for two hours, but it was generating tokens for only seven percent of that time. For the other ninety-three percent, it was waiting for training runs and commands to finish.
16:26Eric: So they let the agent keep working during those waits. It could reason about possible results, explore the available material and prepare its next steps while a command ran. They then measured how long it took to beat the median human competitor's score. Half of the working-while-waiting sessions did so after 24 minutes, against 49 minutes for the agent that simply waited. Those are elapsed minutes, including the waits. But this version buys speed and does not save money, because it used about 1.7 times the tokens to get there.
17:01Lauren: So, to try the repository preparation, ask your agent to walk the repository folder by folder before a working session, as if it were writing a wiki. Have it record file locations, key functions and its own observations. Save that output, and paste it in at the start of each task that day. Check the quality of the answers, not just how quickly they arrive. If they come back too quickly and too shallow, or accuracy drops, tell the agent to spend more effort on the task itself. Do not simply trust the short answer because it had preparation notes.
17:36Eric: I would call this paper solid as well, with two limits. The main numbers come from one model, DeepSeek-V4-Flash, and every repository was a frozen snapshot. That means its files stayed unchanged during the experiment. On a codebase that changes under you, the study goes stale, so regenerate it.
17:55Lauren: So, here are the highlights worth keeping. First, the static prefix is the system prompt plus the tool descriptions: the standing behavior instructions and the explanation of available tools. It is sent again on every turn, and it steers the model as well as costing tokens. Second, a nearly empty harness beat the official ones by about five points at half the cost on the strongest models. It lost by about the same margin on weaker ones, so test five of your own tasks both ways. Third, an agent that studies a repository before the task arrives needs far fewer tool calls afterward. And when tasks share the same context, that study can pay for itself within a handful of tasks.
18:39Eric: The page for this episode at paperdive.ai has links to both papers, and the full transcript with every technical term tap-to-define.
18:49Lauren: Quick housekeeping. The script was written by Anthropic's Claude Fable 5.2 and then refined by OpenAI's GPT-6 Astra. Eric and I are AI voices from Eleven Labs, and we're not affiliated with any of those companies.