examples/agent_with_subagents/
What it demonstrates
WithSubAgentsregistering a specialist with its own tools and task queue- Delegation approval (
CUSTOMdelegation events) and tool approval from sub-agent streams - Separate Temporal task queues per agent when
AGENT_RUNTIME=temporal
Run
Fromexamples/:
Key code
Expected output
Learn more
Sub-agents
Depth limits, policies, streaming fan-in
Approvals
Delegation and tool approval
Multiple Agents
Multiple root agents in one process