From escape hatch to orchestration primitive.
Delegation reimagined.
"The difference between a contractor who subcontracts because they're overwhelmed versus an architect who assembles a team of specialists because each brings unique expertise."
"Fresh mind for focused work"
delegate(
agent="self",
task="Analyze this module for performance issues"
)"Precision in what you share"
delegate(
agent="code-reviewer",
context_scope="conversation", # Just the discussion
context_depth="recent" # Last few turns only
)Six combinations to match any delegation scenario.
| none | recent | all | |
|---|---|---|---|
| conversation | Fresh start, task only | Recent discussion context | Full conversation history |
| agents | Clean + agent coordination | Recent + agent results | Full + all agent work |
| full | Clean + everything typed | Recent + all tool outputs | Complete session state |
"Know your team, coordinate them"
list_agents()delegate([a, b, c])session_id="..."delegate tool provides capability to orchestrate. Agent selection is the caller's responsibility.
Stop thinking about context windows. Start thinking about team composition.
From escape hatch to orchestration primitive.
~/.amplifier/cache/amplifier-foundation-*/delegation-instructions.md, multi-agent-patterns.md, session-storage-knowledge.md
Add the agents behavior to your bundle and start orchestrating.
# In your bundle.yaml
behaviors:
- agents
# Then delegate with precision
delegate(
agent="specialist",
task="Your focused task here",
context_scope="conversation",
context_depth="recent"
)