Files
2026-07-13 12:58:18 +08:00

13 lines
502 B
Plaintext

<Steps>
<Step>
### Represent subagents as delegation tools
The Claude Agent SDK demo keeps a supervisor prompt and exposes delegation
tools for specialist agents. CopilotKit can then render delegation progress
while the supervisor coordinates the run. Start by giving the supervisor
one tool schema per specialist.
<DemoCode file="src/agents/subagents_agent.py" region="supervisor-delegation-tools" title="subagents_agent.py - supervisor tool schemas" />
</Step>
</Steps>