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. The complete codebase will be open-sourced in a future release.
翻译:AI智能体的性能关键取决于其运行时框架,包括引导模型观察、推理和行动的提示、工具、记忆及控制流。然而,当前的框架大多仍为人工构建且静态固化:每种新模型或新任务仍需定制化脚手架,而执行过程中产生的丰富轨迹鲜少被提炼用于系统性改进。我们提出HarnessX——一种用于构建可组合、自适应且可进化的智能体框架的生成平台。HarnessX通过替换代数组装类型化框架原语,借助AEGIS(一种基于轨迹驱动的多智能体进化引擎,其核心通过符号适应与强化学习之间的操作镜像实现)实现自适应,并通过将轨迹同时转化为框架更新与模型训练信号,闭环框架-模型交互。在五个基准测试(ALFWorld、GAIA、WebShop、tau^3-Bench及SWE-bench Verified)中,HarnessX平均带来+14.5%(最高达+44.0%)的性能提升,基线越低则增益越显著。这些结果表明,智能体进步未必依赖于模型规模扩展:从执行反馈中组合与进化运行时接口是一种可操作且具有互补性的杠杆。完整代码库将在未来版本中开源。