Workshop 03: Multi-Agent AI Service β Supervisor + Specialist Agents
Duration: 120 minutes | Level: Advanced | Audience: AI Engineers, Solution Architects
Learning Objectives
- Design a supervisor + specialist agent architecture
- Configure agent routing, handoff protocols, and shared state
- Implement guardrails for multi-agent safety (max hops, audit trail)
- Run evaluation against quality thresholds
Prerequisites
- Azure subscription with Azure OpenAI access
- Node.js 18+ or Python 3.10+
- VS Code with FrootAI extension
Workshop Flow
Part 1: Scaffold Multi-Agent Play (10 min)
npx frootai scaffold 07-multi-agent-service
cd 07-multi-agent-service
code .Part 2: Review Supervisor Config (20 min)
- Open
config/openai.jsonβ examine supervisor routing rules and specialist agent configs - Open
config/guardrails.jsonβ review max 5 hops, 30s timeout, audit trail settings
Part 3: Build the Supervisor (40 min)
Open Copilot Chat:
@builder Build a supervisor agent that routes requests to research_agent, action_agent, and analysis_agent based on the user intentPart 4: Build Specialist Agents (30 min)
@builder Build the research_agent that answers questions using the FrootAI knowledge basePart 5: Test & Evaluate (20 min)
@tuner Run evaluation with scores: groundedness=4.2, relevance=3.8, coherence=4.5Related
Last updated on