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

LemonHarness 技术报告

LemonHarness Technical Report

Tianjin University(天津大学);Anhui University(安徽大学);Department of Psychological and Cognitive Sciences, Tsinghua University(清华大学心理与认知科学系)
Kailong Ren, Fubo Sun, Jiachen Liu, Liu Yang, Zimo Yin, Jiaying Li, Congli Yin, Ming He, Yu Huo, Jiawei Liu, Zeping Chen, Yubin Huangfu, Ronghua Li, Yixuan Wu, … 展开作者

Kailong Ren, Fubo Sun, Jiachen Liu, Liu Yang, Zimo Yin, Jiaying Li, Congli Yin, Ming He, Yu Huo, Jiawei Liu, Zeping Chen, Yubin Huangfu, Ronghua Li, Yixuan Wu, Xing Su, Yanzhi Xu, Likang Wu, Hongke Zhao, Lei Zhang, Xiaohui Geng, Jianping Fan

AI总结:

针对长周期智能体因工作空间状态变化难以追踪的问题,提出LemonHarness框架,通过显式执行边界、可复用规则知识库和时感知执行机制,在Terminal-Bench 2.0上实现86.52%准确率。

摘要:

随着大语言模型(LLM)智能体被应用于更长的任务,它们会在多轮迭代中越来越多地修改工作空间状态。然而,智能体通常只观察工具输出和日志片段,而实际的状态变化发生在文件系统中。没有明确的工作空间边界,诸如文件写入和临时工件生成等状态更改操作可能会将更改分散到各个路径。随着时间的推移,这些弱约束的更改会累积,使得修改后的文件等状态难以追踪。本文提出了LemonHarness,一个面向长周期智能体的集成执行框架。LemonHarness通过在明确定义的工作空间内约束状态更改操作,并将模型调用、工具执行和规则知识置于单个受控边界内,建立了显式的执行边界。状态更改操作,包括文件写入、依赖安装和临时工件创建,通过结构化工具接口执行,执行反馈作为观察记录,可供后续模型决策使用。该系统还引入了一个可重用的规则知识库,将重复出现的执行规则和验收标准转化为运行时知识。LemonHarness进一步增加了时感知执行机制,向模型暴露已用时间和剩余预算,使其能够在时间压力变化时重新平衡探索、实现和验证工作,并避免因长时间等待或过度验证而超时。在Terminal-Bench 2.0上,LemonHarness_GPT-5.3-CodeX在445次试验中达到了84.49%的准确率;将同一框架与更强的GPT-5.5骨干配对,在五个任务上将平均准确率提高到86.52%。结果表明,统一的运行时边界、可调用的规则知识和时感知执行可以提高长周期智能体执行的稳定性。

英文摘要:

As large language model (LLM) agents are applied to longer tasks, they increasingly modify workspace state across multiple rounds of iteration. However, agents typically observe only tool outputs and log fragments, while the actual state changes occur in the file system. Without explicit workspace boundaries, state-changing operations such as file writes and temporary artifact generation may scatter changes across paths. Over time, these weakly constrained changes accumulate, making states such as modified files difficult to track. This paper presents LemonHarness, an integrated execution framework for long-horizon agents. LemonHarness establishes an explicit execution boundary by constraining state-changing operations within a clearly defined workspace and bringing model invocation, tool execution, and rule knowledge within a single controlled boundary. State-changing operations, including file writes, dependency installation, and temporary artifact creation, are executed through structured tool interfaces, with execution feedback recorded as observations available to subsequent model decisions. The system also introduces a reusable rule knowledge base, which turns recurring execution rules and acceptance criteria into runtime knowledge. LemonHarness further adds a time-aware execution mechanism that exposes elapsed and remaining budget to the model, so it can rebalance exploration, implementation, and validation effort as time pressure shifts and avoid timeouts from long waits or excessive verification. On Terminal-Bench 2.0, LemonHarness_GPT-5.3-CodeX reached 84.49% accuracy over 445 trials; pairing the same framework with the stronger GPT-5.5 backbone raised the average accuracy to 86.52% across five jobs. The results suggest that a unified runtime boundary, callable rule knowledge, and time-aware execution can improve the stability of long-horizon agent execution.

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

↑