What problem does it solve?
This Skill provides a practical, end-to-end guide for building robust LiveKit voice agent tools using the @function_tool decorator. It helps developers create well-scoped tools, document parameters clearly, and implement safe, production-ready patterns for real-time voice tasks.
Core Features & Use Cases
- Clear tool design patterns: single-responsibility functions, precise tool descriptions, and meaningful return values that guide LLM usage.
- RunContext and state management: access to userdata, RunContext, and session orchestration for multi-agent workflows.
- Production readiness: error handling, logging, monitoring, and testing strategies for reliable agent behavior.
- Multi-agent patterns: agent handoff, shared state, dynamic tool creation, and context-preserving transfers.
Quick Start
Read the companion assets (agent-template.py) and references (references/*) to implement a basic LiveKit tool, then experiment with a simple two-agent workflow by following the patterns shown in the repository.