The eternal struggle of agent development is the dependency on external scaffolding. We build complex harnesses to mediate model-environment interaction, but those gains are locked to the specific harness at deployment. A new paper, 'Harness-Zero: Harness Distillation via Agent-as-Harness,' proposes a radical solution: distilling the behaviors induced by an optimized harness directly into the model's weights. The result is a base model that retains specialized performance even when the heavy scaffolding is stripped away.
The Problem With Specialized Harnesses
Current agent architectures face a routing nightmare. The best harness varies across domains, instances, and models, forcing general-purpose agents to either settle for suboptimal shared harnesses or route among an ever-growing set of specialized ones. The authors, led by Haoran Ye, identify that while harnesses improve performance, that improvement is fragile. If you change the environment or the harness configuration, the performance gains evaporate because they were dependent on the external structure, not the model's inherent capabilities.
Agent-as-Harness: The Core Innovation
The paper introduces 'agent-as-harness' to solve the supervision mismatch. Since optimized harnesses and target harnesses differ in action space and available information, direct supervision is impossible. Instead, a harnessing agent guided by the optimized harness corrects student responses before execution in the target harness's action space. This process turns harness guidance into training demonstrations. Fine-tuning on these trajectories allows the model to internalize the harness-induced behavior, effectively baking the scaffolding logic into the neural network itself.
Performance Metrics and Cost Reduction
The results are significant for anyone running agents at scale. In experiments spanning knowledge work, tool use, and science domains, Harness-Zero improved the base model's macro-average task success from 23.3% to 44.3%. Crucially, this performance exceeds the 41.7% achieved by the base model when the specialized harness was still attached. Beyond accuracy, the method reduced inference token usage by 27% to 86%, proving that internalizing behavior is cheaper than simulating it externally.
Key Takeaways
- Harness-Zero achieves 44.3% task success without the specialized harness, beating the 41.7% success rate with it attached.
- The 'agent-as-harness' method corrects responses in the target action space to create valid training data.
- Inference token usage is reduced by 27% to 86%, making deployment significantly more efficient.
- The model recovers 82.3% of harness-induced behaviors across 28 patterns in three distinct domains.
The Bottom Line
This is a major shift in how we think about agent architecture. We've been treating scaffolding as a permanent crutch; Harness-Zero shows we can train the crutch out of the model, leaving us with leaner, more robust agents that don't rely on brittle external code to function.