HookEvo: A Framework for Coordinated Plugin Evolution on Hook-Enabled Agent Runtimes
Shengze HuangYanyu MaoXiaofei YuBaoshen GuoXiaorui WangZhiwen WuSheng WuFukang WenChengxu WuLinhao LiKailai SunBaotong Mi
Shengze Huang
Yanyu Mao
Xiaofei Yu
Baoshen Guo
Xiaorui Wang
Zhiwen Wu
Sheng Wu
Fukang Wen
Chengxu Wu
Linhao Li
Kailai Sun
Baotong Mi
+12
HookEvo is a framework that evolves task-specific agent harnesses by exploiting an existing runtime's lifecycle hooks, instantiated on DeepSeek Harness: in each round a separate improver diagnoses failures from execution traces and proposes a candidate, which is evaluated against the current harness on matched tasks and, if retained, carried into the next round. A single candidate can jointly edit executable plugin handlers and the state they share within a task, so that a tool receipt can inform context and control a later action. With a frozen Qwen3-4B executor, the selected harnesses achieve 95.41% on ALFWorld, 70.56% on DBBench, 48.17% on WebShop, and 41.67% on OSBench, and across three improvers and three edit scopes GPT-6.1 Sol shows the largest average gain from the broadest, coordinated executable-edit scope.

arXiv ·
· November 20, 2026