Read the paper
Delegent: A Multi-Agent Harness That Reduces Cost without Sacrificing Performance
on GitHub
LONG-HORIZON CODING
+67%
AGENTIC SEARCH
+59%
CODING COST
+66%
SWE-BENCH VERIFIED DELEGENT
+64.6%
You know how a senior architect at a firm doesn't personally measure every wall and test every outlet? They walk the site, make decisions, sketch the plan — then hand the tape measure to a junior who costs a tenth as much per hour. The architect stays in charge of the design; the junior does legwork. Delegent applies exactly this labor-division logic to AI agents: the frontier model (Claude) remains the architect, but a small local model (Qwen 2.5 Coder, 27B or even 2B) does the investigation, test-running, and corpus-searching. The committed claim is narrow but useful: you can remove 59–67% of frontier-model API cost from long-horizon coding and agentic search tasks by delegating focused subtasks to a small language model, without any loss in task performance. This is not a routing or cascading system — the frontier model always leads. It simply decides, mid-execution, that a subtask is easy enough for the junior. No router is trained, no fine-tuning happens, and either model can be swapped freely. The architectural family here is hierarchical multi-agent orchestration — not model routing, not mixture-of-experts, not speculative decoding. Delegent wraps Claude Code as the outer agent and injects SLM subagents via tool-use calls. The SLM runs locally in FP8 (27B on a single GPU, 2B on a laptop). The frontier model's system prompt gets a short instruction — roughly one paragraph — describing when and how to delegate. That instruction is the entire 'training' signal. The authors show that a minimal instruction focused on keeping main coding tasks with the frontier model accounts for most of the savings and prevents the 2B SLM from tanking tasks. The benchmarks are SWE-bench Verified (500 real GitHub issues) for coding and FRAMES (824 multi-hop factual questions) for agentic search. On SWE-bench, Delegent with the 27B SLM resolves 64.6% of issues vs. Claude Code's 64.2% — a statistical tie — while cutting frontier token cost by 67%. With the 2B SLM, resolution drops negligibly to 63.4% but cost savings hold at 66%. On FRAMES, the 27B variant scores 78.5% accuracy vs. 78.2% baseline, with 59% cost reduction. The pattern is clear: the savings scale with the amount of legwork the frontier model would otherwise do itself. When tasks require heavy investigation (reading files, running tests, searching documents), delegation saves more. Integrity is decent but not airtight. SWE-bench Verified is a community-standard benchmark — that's good. FRAMES is less established but publicly available. The baseline is Claude Code itself (the current commercial frontier agent), which is the right comparison. However, there's no pre-registration, the sample sizes are modest (especially at the per-task level where variance matters), and the cost accounting focuses on frontier API tokens rather than total cost of ownership including local GPU compute. The authors acknowledge this: they report that the 27B SLM adds roughly 10 minutes of local inference per SWE-bench task, but don't price the electricity, hardware amortization, or opportunity cost of that GPU. The successor question is interesting. The obvious next experiment is testing Delegent on tasks where delegation actively hurts — adversarial cases where the SLM confidently returns wrong information that the frontier model trusts. The authors don't run this, and my honest read is (a) partly compute budget (they're a university lab), but also (b) it would complicate the clean narrative. A failure-mode analysis on tasks where the SLM's errors propagate upstream would be the most valuable follow-up. The other missing piece is multi-SLM delegation — could you have a hierarchy of 2B, 7B, and 27B models handling different difficulty tiers? The practical takeaway is immediate: if you're running Claude Code or similar frontier agents on repetitive coding workflows, you can likely cut your API bill by half to two-thirds by inserting a local SLM for investigation subtasks. The engineering is minimal — it's a system-prompt modification plus a local inference server. The limitation is equally clear: this only works when the frontier model can correctly judge subtask difficulty, and the paper doesn't stress-test that judgment.
The analogy
A senior architect doesn't personally measure every wall — they sketch the plan and hand the tape measure to a junior who costs a tenth as much per hour. The architect stays in charge; the junior does legwork. Delegent applies this same labor-division logic: Claude stays the architect, a 27B local model does the measuring.
Architecture firm
Senior architect delegates measurements and site checks to a junior, retaining all design decisions
Delegent harness
Frontier model delegates investigation subtasks to a local SLM, retaining all planning decisions
Honest assessment
This is a clean engineering contribution, not a conceptual breakthrough. The result is immediately useful for anyone running frontier agents on repetitive coding or search workflows: swap in a local SLM, cut your bill by two-thirds, lose nothing measurable. The limitation is that the paper only tests the happy path — no adversarial analysis, no error-propagation study, no comparison to other cost-reduction techniques. If you're an ML engineer paying real API bills for agentic workflows, this is worth 30 minutes of your time today. If you're looking for architectural insight into multi-agent systems, this confirms what you already suspected but doesn't push the frontier of understanding.
What Is CLAIMS?
63
/ 100
BedrockNews applies a structured analytical framework called CLAIMS to academic papers and technical research releases.
How CLAIMS worksClaim
3/5
Ladder
3/5
Architecture
4/5
Integrity
3/5
Milestone
2/5
Successor
4/5
What is this paper actually committing to?
Useful but incremental. Hierarchical delegation is well-understood; the contribution is showing it works for LLM agents with zero training. A solid engineering result, not a conceptual breakthrough.
The field fight
Should we reduce frontier-agent costs by routing entire tasks to cheaper models, or by keeping the frontier model in charge and delegating subtasks?
Side A
Route whole tasks: train a classifier to pick the cheapest model that can handle each task end-to-end
Held by: FrugalGPT, model-routing cascades, RouteLLM
Side B
Keep frontier in charge: let it decide what's easy and delegate only subtasks to cheaper models — no router needed
Held by: Delegent, hierarchical agent patterns
Milestone tracker
Unlocks: Full autonomous coding workflows at <20% frontier cost with provable error bounds
Current
67%
cost reduction
single-SLM delegation
Next
10+
chained SLM calls
error-tolerant delegation
~1-2 years; requires robustness testing and error-propagation analysis
Verified Facts (8)
Delegent reduces the frontier cost of long-horizon coding by 67% and of agentic search by 59%
A 2B SLM that fits on a laptop reduces the coding cost by 66%
27B FP8 SLM used as subagent
SWE-bench Verified: Delegent 64.6% vs Claude Code 64.2%
FRAMES: Delegent 78.5% vs Claude Code 78.2%
No router or model is trained, so either model can be swapped freely
Built on Claude Code with Qwen 2.5 Coder as SLM
Code released at https://github.com/castorini/delegent
Practical Implications (4)
Teams running Claude Code or similar frontier agents on coding tasks can cut API costs by ~67% by adding a local 27B SLM for investigation subtasks, with zero fine-tuning
Even a 2B model on a laptop achieves nearly identical savings (66%), making this accessible without GPU infrastructure
The key engineering lever is a short system-prompt instruction telling the frontier model what to delegate — no router training needed
Cost savings scale with legwork intensity: tasks requiring heavy file reading, test running, or corpus searching benefit most
More latest news
Read all