What to do
- Giving each delegate its own narrower credentials. For example, sub-agents and remote agents receive credentials scoped to their task instead of the caller's tokens, and a delegate never holds more permission than its caller.
Evidence
Config: Scoped delegation credentialsCode or configuration showing the credentials passed at each handoff are issued or reduced for the task. May include token exchange with reduced scopes, a separate service identity and policy per agent, or code showing the parent's token is not forwarded.
- Limiting which agents can delegate to which, and how far. For example, an allowlist of permitted delegation targets, a maximum delegation depth and a cap on agents created at run time.
Evidence
Config: Delegation limitsConfiguration or code defining permitted delegation targets, a maximum depth and a spawn limit, enforced by the orchestrator or runtime rather than requested in a prompt.
- Authorizing delegated actions against the original principal. For example, the tool or service checks the authority of the user or task that started the chain, never a role an agent claims in a message.
Evidence
Config: Delegation chain authorizationCode showing downstream authorization uses identity and delegation context from authenticated tokens, not roles or claims written in messages between agents. May include on-behalf-of claims checked at the tool, or a policy engine decision that includes the full delegation chain.
