HookEvo:基于生命周期钩子的智能体框架协同演化方法
HookEvo: A Framework for Coordinated Plugin Evolution on Hook-Enabled Agent Runtimes
给搞智能体工程的人一个新思路:不改执行器,只演化 harness 层的钩子和插件就能拉分。冻结的 Qwen3-4B 在 ALFWorld 跑到 95.41%,说明外围逻辑优化空间很大。自己搭 agent 工作流的可以看看这套自动诊断-评估循环怎么复用。
HookEvo 是一个利用智能体运行时生命周期钩子来演化任务专用 harness 的框架,已在 DeepSeek Harness 上实例化,论文发布于 arXiv。其工作流程是:每轮由独立的 improver 从执行轨迹中诊断失败原因并提出候选修改,HookEvo 将候选与当前 harness 在匹配任务上对比评估,胜出版本保留进入下一轮。
一个候选修改可以同时编辑可执行的插件 handler 和任务内共享的状态,使工具返回结果既影响上下文组装又控制后续动作校验。在冻结的 Qwen3-4B 执行器上,选出的 harness 达到 ALFWorld 95.41%、DBBench 70.56%、WebShop 48.17%、OSBench 41.67%,领先已报告的 Qwen3-4B 对比结果。
实验覆盖三种 improver 和三种编辑范围(从技能文本、单组件到协同可执行编辑),其中 GPT-6.1 Sol 在最广编辑范围下获得最大平均增益。代码已开源。
HookEvo: A Framework for Coordinated Plugin Evolution on Hook-Enabled Agent Runtimes
Repairing failures in tool-using agents can require coordinated changes to how the harness interprets tool receipts, assembles context, and checks actions. We introduce HookEvo, a framework that uses an existing agent runtime's lifecycle hooks to evolve task-specific harnesses. We instantiate HookEvo on DeepSeek Harness. In each round, a separate improver diagnoses failures from execution traces and proposes a candidate. HookEvo evaluates the candidate against the current harness on matched tasks and carries the retained version into the next round. A single candidate can jointly edit executable plugin handlers and the state they share within a task, allowing a tool receipt to inform context and control a later action. Using a frozen Qwen3-4B executor, the selected harnesses lead the reported Qwen3-4B comparisons, achieving 95.41% on ALFWorld, 70.56% on DBBench, 48.17% on WebShop, and 41.67% on OSBench. Across three improvers and three edit scopes, from skill text to single-component and coordinated executable edits, GPT-6.1 Sol shows the largest average gain from the broadest scope. Our code is available at https://huangshengzebluesky.github.io/hookevo/.
This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include HookEvo, Qwen3-4B, DeepSeek Harness, agents.
Primary source verification: published directly by arXiv: DeepSeek with first-party authority.