Skip to content

Discussion: should subagent delegation be gated by task scope? #771

Open

Description

@will-lamerton

Context

The harness efficiency benchmark characterised nanocoder as "read- and search-heavy, planning and delegating to subagents" and found we spend about as much as Claude Code on tokens and time while landing in the same quality band as harnesses that spend a third as much.

Delegation is part of that cost, and on the benchmark's workload it looks net-negative.

Problem

On a focused, well-scoped bug fix, delegating to a subagent is close to pure overhead:

  • the parent pays for the delegation round-trip
  • the subagent starts cold and re-explores context the parent already had loaded
  • the result comes back summarised, so the parent sometimes re-reads to verify

The benchmark's eight tasks were all focused bug fixes, which is exactly the shape where delegation costs most and buys least.

Discussion

This is a design question rather than a defect, so opening it for discussion rather than as a defined fix.

Options worth weighing:

  • Gate delegation on some measure of task scope, so it engages on genuinely broad work and stays out of the way on single-file fixes.
  • Adjust source/app/prompts/sections/subagents.md to set a higher bar for when delegation is worth it, which is the cheapest thing to try first.
  • Pass more parent context into the subagent so it does not start cold, trading a larger up-front payload for less re-exploration.
  • Leave it alone on the grounds that the benchmark's task shape is unrepresentative of real usage, which is a legitimate reading.

Worth noting the counterargument: the benchmark graded on a coarse 0-3 scale over bug fixes only, and cannot detect quality that exploration and delegation might buy on open-ended work. We should be careful not to optimise away something valuable because one benchmark's task shape did not reward it.

Related

Part of the broader efficiency review. The mechanical wins in the other issues are less debatable and should probably land first, so we can re-measure before touching delegation behaviour.

Activity

  1. added
    question
    performance
    area:providers
    on Aug 3, 2026
  2. will-lamerton commented on Aug 3, 2026

    @will-lamerton
    MemberAuthor

    Part of #772.

  3. added
    area:agent
    proposal
    and removed
    area:providers
    on Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentperformanceproposalquestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions