Build a medical office triage system where specialized voice agents (triage, support, billing) hand off conversations seamlessly while preserving full context across transfers.
Start learning at learnwithparam.com. Regional pricing available with discounts of up to 60%.
- Build multi-agent voice systems with LiveKit
- Implement seamless agent-to-agent transfers
- Preserve conversation context across handoffs
- Create specialized agents with distinct roles and responsibilities
- Manage shared state across agent transfers
- LiveKit Agents - Real-time voice AI agent framework
- Deepgram - Speech-to-text and text-to-speech
- Silero VAD - Voice activity detection
- FastAPI - High-performance async Python web framework
- LLM Provider Pattern - Supports Fireworks, OpenRouter, OpenAI
- Docker - Containerized development
- Python 3.11+
- uv (installed automatically by
make setup) - An API key from any supported LLM provider
- LiveKit Cloud account (or self-hosted LiveKit server)
- Deepgram API key
# One command to set up and run
make dev
# Or step by step:
make setup # Create .env and install dependencies
# Edit .env with your API keys
make run # Start the FastAPI servermake build # Build the Docker image
make up # Start the container
make logs # View logs
make down # Stop the containerOnce running, open http://localhost:8000/docs for the interactive Swagger UI.
Work through these incrementally to build the full application:
- The "Hello, Voice!" Agent - Basic single voice agent with LiveKit
- The Specialist Agent - Create agents with specialized prompts and roles
- The Multi-Agent Scaffold - Set up shared state and agent registry
- The Transfer Signal - Implement function tools for agent transfer triggers
- The Seamless Handoff - Transfer between agents with context preservation
- The Efficient Handoff - Chat history truncation and context management
- The Full Application - Complete medical office triage system
- Production-Ready Features - Room attributes, error handling, and monitoring
make help Show all available commands
make setup Initial setup (create .env, install deps)
make dev Setup and run (one command!)
make run Start FastAPI server
make build Build Docker image
make up Start container
make down Stop container
make clean Remove venv and cache
- Start the course: learnwithparam.com/courses/multi-agent-voice-systems
- AI Bootcamp for Software Engineers: learnwithparam.com/ai-bootcamp
- All courses: learnwithparam.com/courses