Delegent:让前沿模型把简单子任务交给小模型,降低 Agent 成本
Delegent: A Multi-Agent Harness That Reduces Cost without Sacrificing Performance
做 Agent 的朋友可以看看这篇:Claude Code 上加一层编排,前沿模型只管主干,跑测试、查代码丢给本地小模型,编程成本直接降 67%,连 2B 模型都能省 66%。不用训练路由器,模型随便换,成本敏感的 Agent 项目值得实测。
Castorini 团队发布 Delegent,一个构建在 Claude Code 之上的多智能体编排框架。其核心做法是:前沿模型始终主导任务执行,把查代码、跑测试、语料检索等简单子任务委托给可本地运行的小语言模型(SLM)。与传统 cascade 或模型路由器整体选择执行模型不同,Delegent 不训练任何路由器或模型,两个模型可自由替换。
实验结果显示,搭配一台 27B FP8 SLM,Delegent 将长程编程任务的前沿模型成本降低 67%,将智能体检索成本降低 59%,任务表现没有下降;即便换成能装进笔记本的 2B SLM,编程成本也能降低 66%。节省幅度与原本由前沿模型承担的重复性工作量正相关,一段把主要编码留给前沿模型的简短指令贡献了大部分节省,同时避免 2B SLM 丢任务。
对开发者和企业而言,这个思路不依赖模型训练或微调,直接利用已有硬件就能压缩 Agent 运行成本,与需要专门训练的路由方案相比部署门槛更低。
Delegent: A Multi-Agent Harness That Reduces Cost without Sacrificing Performance
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
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:Delegent、Claude Code、SLM、智能体,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Lingwei Gu, Jimmy Lin),经 AITOP 多维评分管线结构化提炼。