arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.25723cs.CLcs.AI
收藏

自然语言代理Harness

Natural-Language Agent Harnesses

Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))

Linyue Pan, Lexiao Zou, Shuo Guo, Jingchen Ni, Hai-Tao Zheng

AI总结:

本文提出自然语言代理Harness(NLAH)作为一种可执行的自然语言对象,用于描述任务运行的Harness策略,并引入Intelligent Harness Runtime(IHR)作为共享运行时,能够将这些文档解释为代理调用、交接、状态更新、验证门和成果合同。实验表明,NLAH在编码、终端使用和计算机使用基准测试中表现与代码和提示实现相当,同时暴露了更短的静态Harness策略。

摘要:

代理性能受到周围Harness的强烈影响:围绕模型组织任务运行的外部执行系统。然而,这种逻辑通常隐藏在紧密耦合的控制器代码中,使得Harness难以检查、比较、转移和消解。本文探讨是否可以将代理Harness的可重用设计模式表示为可执行的自然语言对象。我们引入自然语言代理Harness(NLAH),即可编辑的文档,用于描述运行级别的Harness策略,并引入Intelligent Harness Runtime(IHR),一个共享运行时,能够将这些文档解释为代理调用、交接、状态更新、验证门和成果合同。在编码、终端使用和计算机使用基准测试中,IHR执行的NLAH实现了与代码和提示实现相当的任务结果,同时暴露了更短的静态Harness策略。模块消解进一步表明,显式的Harness模块是可分析的。这些结果表明,代理Harness可以从模型周围的偶然粘合物转变为科学表示对象。

英文摘要:

Agent performance is strongly shaped by the surrounding harness: the external execution system around a model that organizes a task run. Yet this logic is usually buried in tightly coupled controller code, which makes harnesses hard to inspect, compare, transfer, and ablate. This paper asks whether the reusable design pattern of an agent harness can be represented as an executable natural-language object. We introduce Natural-Language Agent Harnesses (NLAHs), editable documents that describe run-level harness policy, and Intelligent Harness Runtime (IHR), a shared runtime that interprets these documents into agent calls, handoffs, state updates, validation gates, and artifact contracts. Across coding, terminal-use, and computer-use benchmarks, IHR-executed NLAHs achieve comparable task outcomes to code and prompted realizations, while exposing much shorter static harness policies. Module ablations further show that explicit harness modules are analyzable. These results suggest that agent harnesses can be turned from incidental glue around models into scientific representation objects.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑