showcase/integrations/crewai-crews/qa/subagents.md
/demos/subagents on the dashboard host/api/health); OPENAI_API_KEY is set; the FastAPI agent server has the /subagents Flow endpoint mounted (see src/agent_server.py)/demos/subagents; verify the page renders within 3s with the left-side delegation log panel and right-side CopilotChat panedata-testid="delegation-log" is visible with heading "Sub-agent delegations"data-testid="delegation-count" reads "0 calls" before any task is sentdata-testid="supervisor-running" ("Supervisor running" pulsing badge) appears in the header while the run is in progressdata-testid="delegation-entry" rows appear in order:
data-testid="delegation-status" reading completed and the result body containing 3-5 bullets prefixed with - completed and a single-paragraph resultcompleted and 2-3 bullet-point critiquesdata-testid="delegation-count" reads "3 calls" (or the matching number) at the end of the runrunning (its result body shows "Sub-agent running...") before transitioning to completed once the sub-crew kickoff returns — confirms the flow emits a STATE_SNAPSHOT both before and after each Crew.kickoff(...) calldata-testid="supervisor-running" badge disappears once the run finishessupervise() step clears state.delegations at the top of each turn) and grows again as the new sub-agents are calledrunning after the run finishescompletedrunning → completed (or failed if a sub-crew errors) and never gets stuck in running after the supervisor has finished