Agent Auth Gateway v1.0

Guides / 7 min read

Delegating Authority to Sub-Agents Without Handing Over the Keys

Published 2026-11-14 · Reviewed 2026-11-14 · By the Ingenious AI team

When an agent creates a sub-agent to help with a task, a quiet question decides your security posture: does the sub-agent inherit everything the parent can do, or only what this task needs? Most frameworks answer 'everything' by default.

The short answer

Delegate with attenuation: a sub-agent's authority must be a strict subset of its parent's — fewer actions, a smaller budget drawn from the parent's run budget, a narrower resource scope, and a lifetime that ends with the task. The gateway enforces the subset rule at creation: a delegation request that widens any dimension is refused. Depth needs a limit too — cap how many generations of delegation a run may spawn, because authority that attenuates per level but delegates forever still multiplies into something nobody reviewed.

Check your own setup as you read: run the free Spend Guard self-check or test a policy in the playground — five minutes, no signup, and the gaps it names map to the controls below.

Worked example: the researcher that hired a spender

A fictional market-intelligence firm, Compass & Lark, ran an orchestrator that delegated web research to sub-agents. Sub-agents inherited the orchestrator's credentials — including, unnoticed, its access to a paid data-enrichment API with a $500 daily cap. A sub-agent researching a competitor's pricing took an enrichment tool's suggestion literally and ran bulk enrichment on 40,000 domains 'to be thorough': $470 in a day, against the parent run's intended research budget of $30. Every control the firm had set was on the parent; the spend happened in the child.

Compass & Lark rebuilt delegation on attenuation. Sub-agents are now created through the gateway with a task scope: the research children get search and fetch actions only, a $10 sub-budget carved from the run's budget, a two-hour lifetime, and no authority to delegate further. Enrichment requires the parent to request a scope widening, which routes to a human. In the following quarter the fleet ran about 1,800 sub-agent tasks; total sub-agent spend was $640, the largest single child spent $9.80, and the enrichment API has been used eleven times — all by parents, all deliberate.

Inheritance is the default and the danger

Frameworks delegate by passing context and credentials downward because it is easy, and the result is that the least-reviewed, most-temporary actor in the system — a sub-agent spun up mid-run, possibly from instructions in fetched content — holds the most accumulated authority. Every property you want runs the other way: the child should be narrower than the parent in actions, budget, resources and lifetime, and the narrowing should be verifiable at creation rather than asserted in a prompt.

Budgets subdivide; they do not multiply

A parent's run budget is a purse, and delegation spends from it. If each child receives a fresh full budget, a run with twenty children has twenty purses and your cap arithmetic is fiction. Carve child budgets out of the parent's remaining budget, count every child's spend against the run total at the gateway, and let the parent request more only through the same approval a budget rise always needs. Compass & Lark's $470 day becomes arithmetically impossible under subdivision: the whole run's purse was $30.

Lifetime and depth are authority too

A sub-agent that outlives its task keeps its authority in circulation — orphaned children with live credentials are a recurring find in fleet inventories. Bind child lifetime to the task, revoke on completion or parent termination, and sweep for orphans in the registry review. Cap delegation depth as well: two or three generations covers legitimate architectures, and a run requesting a seventh generation is telling you something about its plan that a human should hear before it proceeds.

Widening is an approval event

There are legitimate moments when a child needs more than it was given. Make widening explicit: the parent requests it, the request states the dimension and the reason, policy decides or a human approves, and the widening is logged against the run. The alternative — children that can widen themselves, or parents that pre-emptively delegate everything 'just in case' — returns you to inheritance with extra steps. The log of widening requests is also a design tool: recurring widenings show where your task scopes are mis-drawn.

A delegation record worth auditing

Each delegation should leave a record a reviewer can judge months later: parent and child identities, the task in one line, the scope granted across all four dimensions, the budget carved out, the expiry, and the outcome — completed, expired, revoked, or widened and why. Sample these records in the weekly review. Patterns emerge quickly: one parent that always asks for wide scopes, one task type whose children always expire unfinished, one widening that has become routine enough to be the new default — each is a design conversation the fleet needs to have, surfaced by records rather than by an incident.

Five actions to delegate authority safely

  1. Enforce attenuation at sub-agent creation: fewer actions, smaller budget, narrower resources, shorter life than the parent — widening requests refused.
  2. Carve child budgets from the parent's run budget and count all child spend against the run total at the gateway.
  3. Bind sub-agent lifetime to the task, revoke on completion, and sweep the registry for orphaned children.
  4. Cap delegation depth at two or three generations, with deeper requests routed to a human.
  5. Route every scope-widening request through policy or approval, and review widening patterns to fix mis-drawn task scopes.

Source note and related guides

Figures in the worked example are illustrative, drawn from a fictional company created for this guide; the controls, failure patterns and procedures described are the gateway's documented behaviour — see the Agent Auth Gateway documentation and the policy patterns in allowlists vs denylists, spend caps and the agent kill switch. Reviewed by the Ingenious AI team, 2026-11-14.

Sources

  • NIST AI Risk Management Framework (AI RMF 1.0), the voluntary framework for managing AI risk across design, development and use: nist.gov, 2023
  • OWASP Top 10 for Large Language Model Applications, the OWASP GenAI Security Project's risk list for LLM and agent systems: owasp.org, 2025
  • RFC 6749, The OAuth 2.0 Authorization Framework, the IETF standard behind scoped, expiring access tokens: rfc-editor.org, 2012

Frequently asked questions

What is attenuated delegation for sub-agents?

Creating a sub-agent with strictly less authority than its parent: fewer allowed actions, a smaller budget carved from the parent's, narrower resources and a lifetime ending with the task. The gateway refuses any delegation that widens a dimension.

Why is inheriting the parent's credentials dangerous?

Because the sub-agent is the least-reviewed actor in the system and often works from fetched, untrusted content. Compass & Lark's research child inherited a paid API and spent $470 against a $30 intended budget — every control sat on the parent.

Should sub-agents get their own spend budget?

A subdivided one: carved from the parent's run budget and counted against the run total. Fresh full budgets per child make cap arithmetic fiction — twenty children would mean twenty purses.

How deep should delegation go?

Two or three generations covers legitimate architectures. Cap depth in policy; a run seeking a seventh generation is a signal a human should review, not a routine event.

What happens when a sub-agent legitimately needs more authority?

Its parent requests a widening — dimension and reason stated — which policy or a human approves, logged against the run. Recurring widenings reveal where your default task scopes are drawn wrong.

Governing agents in production?

Spend caps, approval queues, policy simulation, burn forecasting, and step-up lockdowns — all built into the gateway. Free tier to start. Or test policies in the playground with no signup.

Share this: X Facebook LinkedIn WhatsApp
← How to Dry-Run an Agent Policy Change Be… All guides The Unit Economics of Agent Spend, Per C… →