Harness-Zero: Harness Distillation via Agent-as-Harness
Haoran Ye, Yuxing Lu, Haonan Dong, Zhaochen Su, Guojie Song
Peking University · Google · The Hong Kong University of Science and Technology
Published September 21, 2026 · on the feed September 22, 2026 · ▲ 35 · arXiv 2609.24974
The abstract
Agent harnesses, the external systems that mediate model-environment interaction, can substantially improve agent performance, but their gains remain tied to the harness at deployment. Because the best harness varies across domains, instances, and models, a general-purpose agent must either settle for a suboptimal shared harness or route among an ever-growing set of specialized ones. We therefore study agent harness distillation: using a domain- or instance-optimized harness as training-time guidance and transferring the behaviors it induces into model weights, so that its gains survive under a single fixed target harness. The challenge is that the two harnesses differ in action space and available information, so guidance from the optimized harness cannot serve directly as supervision for the target one. We introduce Harness-Zero, which enables harness distillation through agent-as-harness. Guided by the optimized harness, a harnessing agent corrects student responses before execution in the target harness's action space, turning harness guidance into training demonstrations. Fine-tuning on the resulting trajectories internalizes harness-induced behavior into the model, so the specialized harness can be removed at deployment. Our experiments spanning knowledge work, tool use, and science domains show that: (1) For frontier LLMs using the same evolved harness, agent-as-harness outperforms code-as-harness. (2) With the specialized harness removed at deployment, Harness-Zero improves the base model's macro-average task success from 23.3% to 44.3%, even exceeding the 41.7% it reaches with that harness still attached. (3) Harness-Zero recovers harness-induced behaviors absent from the base model, with 82.3% average recovery across 28 patterns in the three domains.
The Brief
3:07A short podcast summary of the paper. Written and voiced by AI.
Transcript
Harness-Zero. Harness Distillation via Agent-as-Harness. By Haoran Ye and four others, from Peking University, Google, and one other institution. Published on the twenty-first of September. Its code repository is worked out: about five thousand five hundred source files, with a readme and a licence.
An agent harness is the external system that mediates between a model and its environment, and a good one can improve an agent's performance substantially. The catch is that the gains belong to the harness, and only appear while that harness is in place at deployment. The best harness also differs by domain, by instance and by model. So a general-purpose agent faces an awkward choice: settle for one shared harness that is suboptimal, or route between an ever-growing collection of specialized ones.
The alternative studied here is harness distillation. Use a harness optimized for a domain or an instance as guidance during training, and move the behaviors it induces into the model's weights, so that the gains survive under one fixed target harness. The difficulty is that the two harnesses do not match. They differ in their action space and in what information is available. Guidance from the optimized harness cannot simply be used as supervision for the target one.
Harness-Zero makes the transfer through what the authors call agent-as-harness. A harnessing agent, guided by the optimized harness, corrects the student's responses before they are executed, and it makes those corrections in the target harness's action space. That converts the optimized harness's guidance into training demonstrations the target harness can actually use.
Fine-tuning on the resulting trajectories internalizes the behavior the harness had been inducing. Once it lives in the model, the specialized harness can be removed at deployment. The sequence, then, runs in three steps. The student acts in the target harness. The harnessing agent, informed by the optimized harness, corrects those actions before they run. And the corrected trajectories become fine-tuning data, so the student learns to act as if the optimized harness were still guiding it.
Experiments cover knowledge work, tool use and science domains, and report three findings. First, for frontier LLMs using the same evolved harness, agent-as-harness outperforms code-as-harness. Delivering the harness's guidance through an agent, rather than through code, is the better route on that comparison.
Second, with the specialized harness removed at deployment, Harness-Zero lifts the base model's macro-average task success from twenty-three point three percent to forty-four point three percent. That is higher than the forty-one point seven percent the model reaches with the harness still attached.
Third, Harness-Zero recovers behaviors the harness induced that were absent from the base model, with eighty-two point three percent average recovery across twenty-eight patterns in the three domains.
Of the three, the second finding carries the argument. The goal was to keep a harness's gains without keeping the harness, and the distilled model, running without it, ends up ahead of the base model running with it. What began as scaffolding around the model has been absorbed into it, and that sidesteps the choice between one shared harness and many specialized ones: deployment needs only the single fixed target harness.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Every agent leans on the system around it. Here, that system's gains refuse to travel.
You run a general-purpose agent. Wrapping it in a well-tuned outer system, the code that manages its tools, context and interaction with the environment, makes it far better at its tasks.
The road ahead
- 1 · The problem ~6 min A tuned outer wrapper makes an agent much better, but the best wrapper changes from job to job and its gains disappear once removed.
- 2 · What came before ~3 min
- 3 · The key idea ~9 min A second agent, guided by the tuned harness, corrects the student's moves in the target harness's own actions, and training on those runs keeps the gains.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Tune a harness, let the student act in the target harness, correct its steps, fine-tune on the corrected runs, then drop the extra harness.
- 6 · The experiment ~6 min You’ll guess: With the specialized harness removed at deployment, how did the distilled model compare with the base model that still had the harness attached?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.