CHILL-Harness: Counterfactual Harness Learning for Efficient Reasoning in Long-Horizon Agents

Jiarun Fu, Lizhong Ding, Sida Chen, Honglei Xin, Chunhui Zhang +4 more
7/28/2026
cs.MA

No confident code implementation found for this paper.

Abstract

Agent harnesses have become the operational infrastructure of modern large language model agents, coordinating context, tools, verification, and execution control to translate latent model capability into reliable long-horizon behavior. However, reliable long-horizon behavior requires harness control to adapt to task demands, execution environments, and evolving execution states, whereas current harnesses predominantly rely on hand-crafted or globally fixed policies; this mismatch manifests as unnecessary computational overhead and, in adverse cases, reduced task success. To address this limitation, we formulate the task of enabling adaptive orchestration in harness systems as a causal learning problem and propose Counterfactual Harness Intervention Learning for Long-Horizon Agents (CHILL-Harness). CHILL-Harness intervenes at the orchestration layer to enable advantage-guided workflow adaptation, thereby improving reasoning and execution efficiency while preserving task performance. Specifically, we develop causal intervention effect learning as the effect-estimation component of CHILL-Harness to estimate intervention-relative workflow advantage from confidence-weighted execution evidence and identify advantageous workflow adaptations. We further introduce advantage-realizing causal orchestration as its realization component to adaptively allocate counterfactual reasoning and realize only workflow adjustments supported by sufficient expected advantage. Finally, we incorporate a success-preserving objective and advantage-margin authorization constraints into CHILL-Harness to promote reliable adaptation. Extensive experiments on heterogeneous long-horizon tasks spanning information seeking, software engineering, and terminal interaction show that CHILL-Harness consistently preserves or improves task success while substantially reducing token consumption and execution time.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fu2026chillharness,
  title  = {CHILL-Harness: Counterfactual Harness Learning for Efficient Reasoning in Long-Horizon Agents},
  author = {Jiarun Fu and Lizhong Ding and Sida Chen and Honglei Xin and Chunhui Zhang and Pengqi Li and Qiuning Wei and Ye Yuan and Guoren Wang},
  year   = {2026},
  eprint = {2607.25825},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.25825v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.25825.svg)](https://codeofpaper.com/paper/2607.25825)

Discussion