Research paper

HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundry

Authors
Tingyang Chen, Shuo Lu, Kang Zhao, Weicheng Meng, Hanlin Teng, Tianhao Li and 8 more
Published
Citations
71

TL;DR

HarnessX is a foundry for building composable, adaptive harnesses that evolve from traces rather than being hand-tuned one at a time.

The problem

From the abstract
  • AI agent performance depends critically on the runtime harness, comprising the prompts, tools, memory, and control flow that mediate how a model observes, reasons, and acts.
  • Yet today's harnesses remain largely hand-crafted and static: each new model or task still demands bespoke scaffolding, and the rich traces produced during execution are rarely distilled back into systematic improvement.

What they did

From the abstract
  • We introduce HarnessX, a foundry for composable, adaptive, and evolvable agent harnesses.
  • HarnessX assembles typed harness primitives via a substitution algebra, adapts them through AEGIS, a trace-driven multi-agent evolution engine grounded in an operational mirror between symbolic adaptation and reinforcement learning, and closes the harness-model loop by turning trajectories into both harness updates and model training signal.

Key results

Quoted from the abstract
  • Yet today's harnesses remain largely hand-crafted and static: each new model or task still demands bespoke scaffolding, and the rich traces produced during execution are rarely distilled back into systematic improvement.
  • Across five benchmarks (ALFWorld, GAIA, WebShop, tau^3-Bench, and SWE-bench Verified), HarnessX yields an average gain of +14.5% (up to +44.0%), with gains largest where baselines are lowest.
  • These results suggest that agent progress need not come from model scaling alone: composing and evolving runtime interfaces from execution feedback is an actionable and complementary lever.

Why builders care

Editor's note

Hand-tuning a harness for each task does not scale.

How to apply it

Editor's note
  1. 1.Split your harness into swappable modules (planning, tools, memory, checks) so you can compare variants on the same tasks.

Original abstract

AI agent performance depends critically on the runtime harness, comprising the prompts, tools, memory, and control flow that mediate how a model observes, reasons, and acts. Yet today's harnesses remain largely hand-crafted and static: each new model or task still demands bespoke scaffolding, and the rich traces produced during execution are rarely distilled back into systematic improvement. We introduce HarnessX, a foundry for composable, adaptive, and evolvable agent harnesses. HarnessX assembles typed harness primitives via a substitution algebra, adapts them through AEGIS, a trace-driven multi-agent evolution engine grounded in an operational mirror between symbolic adaptation and reinforcement learning, and closes the harness-model loop by turning trajectories into both harness updates and model training signal. Across five benchmarks (ALFWorld, GAIA, WebShop, tau^3-Bench, and SWE-bench Verified), HarnessX yields an average gain of +14.5% (up to +44.0%), with gains largest where baselines are lowest. These results suggest that agent progress need not come from model scaling alone: composing and evolving runtime interfaces from execution feedback is an actionable and complementary lever. Project homepage: https://darwin-agent.github.io/HarnessX/.

Everything above is written from this abstract. For methods and full results, read the paper PDF.

Ask the paper

Preview

Not live yet. Once it is, answers will quote the passages they come from.

Correspondence, re: arXiv:2606.14249Preview

Ask a question about HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundry. Answers will come from the full paper and quote the passages they use.

More in Agents & harnesses

All Agents & harnesses papers