showcase/integrations/pydantic-ai/qa/subagents.md
/demos/subagents on the dashboard host/api/health); OPENAI_API_KEY is set; the PydanticAI agent server is reachable on the configured AGENT_URL and the /subagents sub-path is mounted (supervisor + 3 sub-agents)/demos/subagents; verify the page renders within 3s with a left-side delegation log panel and a right-side CopilotChat panedata-testid="delegation-log" is visible with heading "Sub-agent delegations"data-testid="delegation-count" reads 0 calls initiallydata-testid="supervisor-running" appears next to the headingdata-testid="delegation-entry" for Research appears with the running task visible, then transitions from running to completed with a bulleted list of factsWriting entry appears next, transitioning from running to completed with a polished paragraph in the resultCritique entry appears last, transitioning from running to completed with 2-3 actionable critiquesdata-testid="delegation-count" reads 3 calls after the full sequence completesrunning and the placeholder copy "Sub-agent is working..."delegation-count increases accordinglyfailed with the failure message in the result body, and the supervisor surfaces the failure to the user (no fabricated success)completedfailed (red) with a server-safe message; the supervisor does not pretend the work succeeded