Delegent: A Multi-Agent Harness That Reduces Cost without Sacrificing Performance
- ID: 3aa248a7
- 原文链接: https://arxiv.org/abs/2611.33098
- PDF: https://arxiv.org/pdf/2611.33098v1
- 作者: Lingwei Gu, Jimmy Lin
- 日期: 2026-11-24
- 更新: 2026-11-24
- 分类: agents
- 来源类型: paper
- 标签: agent-harness, claude-code, slm, cost-optimization
- 质量评分: 5/5
- 抓取时间: 2026-11-26T04:20:26Z
中文导读
滑铁卢大学 castorini 组在 Claude Code 之上构建 Delegent,验证一个省钱思路:前沿模型始终主导执行,只把查代码跑测试语料检索等简单子任务委派给本地小模型子代理,不做级联或路由器式整任务分流,也不训练任何模型,两侧都可自由替换实验显示搭配本地 27B FP8 小模型,长程编码的前沿模型成本降 67%,代理式检索降 59%,任务表现无损;2B 小模型也能省 66%节省幅度随前沿模型原本要亲自跑腿的工作量增长,而一条把主编码留给前沿模型的简短指令贡献了大部分节省,还避免 2B 模型丢任务
为什么值得关注
Claude Code harness lets the frontier model delegate easy subtasks to local SLMs, cutting long-horizon coding cost 67%
「前沿模型主导执行、本地小模型跑腿」的分工不改变任务所有权、不训练任何模型,两侧都可自由替换;对正在搭建多代理 harness 的团队,这是改造成本最低的成本优化路径,节省随跑腿工作量增长的结构也给出了 harness 设计的明确方向。
关键信息
- 论文标题:Delegent: A Multi-Agent Harness That Reduces Cost without Sacrificing Performance
- 作者:Lingwei Gu, Jimmy Lin
- arXiv:https://arxiv.org/abs/2611.33098
- 发布时间:2026-11-24
- arXiv 分类:cs.AI, cs.IR
- 关联标签:agent-harness, claude-code, slm, cost-optimization
English Abstract
Agents built on frontier language models are expensive. At every step, the frontier model re-reads its entire context and executes every subtask regardless of its difficulty. This paper explores the simple thesis that much of this cost can be removed by delegating easy subtasks to a small language model, or SLM, that runs on hardware one already owns. To test it, we build Delegent, a simple and effective agent harness built on Claude Code, in which the frontier model stays in charge of every task but hands focused subtasks, such as investigating code, running tests, and searching a corpus, to SLM subagents. Existing approaches such as cascades and model routers usually choose which model executes the entire task, whereas in Delegent, the frontier model always leads the execution and delegates easy subtasks to the SLM. No router or model is trained, so either model can be swapped freely. With the help of a 27B FP8 SLM, Delegent reduces the frontier cost of long-horizon coding by 67% and of agentic search by 59%, with no loss in task performance, and even a 2B SLM that fits on a laptop reduces the coding cost by 66%. The savings grow with the legwork that the frontier model would otherwise do itself, and a short instruction, which leaves the main coding tasks to the frontier model, accounts for most of the saving and keeps the 2B SLM from losing tasks. Code: https://github.com/castorini/delegent
English Summary
Delegent is a multi-agent harness built on Claude Code testing a simple thesis: frontier agents waste cost re-reading full context and executing trivial subtasks. Unlike cascades or model routers that pick which model owns a whole task, the frontier model always leads execution and hands focused subtasks - code investigation, running tests, corpus search - to small local SLM subagents; nothing is trained, so either side swaps freely. With a locally hosted 27B FP8 SLM it cuts frontier-model cost 67% on long-horizon coding and 59% on agentic search with no loss in task performance; a 2B laptop-sized SLM still cuts coding cost 66%. Savings grow with the legwork the frontier model would otherwise do itself, and a short instruction keeping main coding with the frontier model accounts for most of the saving and keeps the 2B SLM from dropping tasks.
Obsidian Notes
- 内容由
opencli arxiv paper拉取 arXiv 元数据与摘要生成。 - 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。