-
Notifications
You must be signed in to change notification settings - Fork 647
Description
Priority: Medium
Problem Statement
Strands supports delegation through sub-agent processes, but agents cannot autonomously choose when to delegate. Delegation decisions are currently static (defined at build time). Agents should be able to dynamically delegate based on task complexity and context constraints, preventing the orchestrator from accumulating detailed context that would consume its window.
Proposed Solution
Implement an autonomous delegation meta-tool in the core SDK that lets agents spawn sub-agents on demand. Unlike context management (what to do once we have context) and tool context (preventing tools from bloating context), delegation prevents context from entering the system in the first place.
This is largely a migration: bringing meta-agent concepts from strands-agents/tools into the core SDK as foundational tooling.
Use Case
- Orchestrator agents that need to keep their context clean by offloading subtasks
- Complex multi-step workflows where sub-tasks benefit from isolated context
- Agents that dynamically determine when a task is complex enough to warrant delegation
Additional Context
Part of the Context Management epic, Track 3: Delegation.