titleHarness Self-Evolution for Long-Horizon Terminal Agents
authorsRuhan Wang, Yucheng Shi, Zongxia Li, Junyao Yang, Zhongzhi Li, Yue Yu, Haitao Mi, Dongruo Zhou, Leoweiliang
date2026-10-20
venuearXiv (preprint, not peer reviewed)
idarXiv:2610.27435
affiliationTencent Hunyuan
upvotes13 (Hugging Face Daily Papers, 2026-11-01)
linksabs pdf hf
abstractLong-horizon terminal agents may solve a task in one run yet fail across repeated runs. Stochastic errors can propagate through actions and context, creating a gap between capability and reliable execution. We present RiseHarness, a framework for iteratively improving agent harnesses with model weights fixed. It focuses on flipping tasks with both successful and failed runs under the same configuration, using successful runs as references for failure analysis. RiseHarness combines agent trajectories with internal harness traces from a runtime monitor to examine how model actions interact with command execution, feedback, context management, and completion decisions. A Harness Handbook links this evidence to harness behaviors and source code, helping identify recurring problems in mechanisms shared across tasks. RiseHarness then searches other harness frameworks for relevant implementations and adapts them as design references to the current model and execution protocol. Candidate changes undergo behavioral checks and repeated task evaluation; versions with measured gains seed the next iteration. This loop integrates suitable mechanisms from different frameworks into a single harness and uses new execution evidence to guide further changes. We evaluate task success and reliability across models, ablate harness execution evidence and external research, and test transfer to unseen benchmarks with the same model. RiseHarness treats a specific model as the unit of harness adaptation, studying how changes to shared interaction mechanisms can make existing capabilities more reliable across tasks.

cite

@misc{wang2026harness,
  title={Harness Self-Evolution for Long-Horizon Terminal Agents},
  author={Ruhan Wang and Yucheng Shi and Zongxia Li and Junyao Yang and Zhongzhi Li and Yue Yu and Haitao Mi and Dongruo Zhou and Leoweiliang},
  year={2026},
  eprint={2610.27435},
  archivePrefix={arXiv},
  url={https://arxiv.org/abs/2610.27435}
}