Papers
arxiv:2608.01918

HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnesses

Published on Aug 3
Authors:
,
,
,
,
,
,
,
,
,
,
,

Abstract

HarnessCompass improves agent harnesses via constrained evolution, proactive agent feedback, and component-wise optimization, boosting performance and generalization.

Harness design plays a critical role in agent performance by shaping how large language models (LLMs) perceive, reason over, and act within executable environments. Recent work has proposed automatic harness evolution, which iteratively improves the harness from agent--environment interactions. However, existing methods often overfit to the evolution tasks, rely exclusively on trajectory-derived signals, and optimize harness components jointly, causing interference across components. We propose HarnessCompass, a novel automatic harness evolution framework built around constrained evolution, proactive feedback, and component-wise optimization. HarnessCompass first enforces global constraints on evolution, restricting modifications to task-agnostic harness changes that generalize beyond the evolution tasks. It then augments trajectory-derived evidence with proactive first-person feedback from the agent about harness usage, yielding richer signals for evolution. Finally, it decouples the optimization of different harness components before consolidating them into a unified harness, reducing cross-component interference while preserving component synergy. On SWE-bench Verified with GPT-5.4, HarnessCompass improves Pass@1 from 54\% to 66\% in only 5 evolution iterations, outperforming AHE in both effectiveness and evolution efficiency. In addition, the evolved harness transfers effectively to held-out tasks and other models, demonstrating substantially stronger generalization than prior automatic harness evolution methods.

Community

I liked the decision to test the evolved harness on both held-out tasks and other models. We ran the converse experiment in TaoLive: after training a compact model, we held its weights fixed and changed skills, tool schemas, prompts and hooks. Our report includes the deployment in Taobao Live’s digital-avatar service: https://huggingface.co/papers/2608.15763. I’m one of the authors. I’d be curious whether a model trained this way transfers better to a HarnessCompass implementation it has never seen.

你们把“换任务”和“换模型”分开验证,很有启发。如果后续做迁移实验时用得上我们的结果,欢迎引用。

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2608.01918
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2608.01918 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2608.01918 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2608.01918 in a Space README.md to link it from this page.

Collections including this paper 1