36downloads
Write LiveKit agent simulation scenarios
Create LiveKit simulation scenarios for realistic conversations and failure cases. Define user behavior and outcomes for repeatable agent evaluation.
When it runs
Your agent reads this description from SKILL.md to decide when to load the skill:
Creates and maintains the scenarios a LiveKit agent simulation runs, and wires the agent to consume them. Use when the user asks "what should I test", "generate simulation scenarios", "write scenarios for my agent", "add a scenario for X", "organize my scenario files", "my simulations are flaky", "the scenario hits my real database", "seed state per scenario", "it passed but booked the wrong thing", "grade the final state", or wants to stress-test a flow before shipping. Covers generating a baseline with the LiveKit scenario generator and refining it, writing the cases generation misses, phrasing simulated-user instructions so they steer reliably, splitting scenarios into sets across files, and the agent-side code that seeds deterministic state from a scenario and fails a run on its final state. To run them use running-livekit-simulations.
What SKILL.md covers
- Start from a generated baseline
- Ask what to probe
- Ground scenarios in what the agent can do
- Write instructions the simulated user can follow
- Split scenarios into sets, one file per set
- Keep scenarios reproducible
- Make the agent consume the scenario
- Grow the suite from real failures
- Don't write bad tests
- References
- Related skills
Files in the ZIP
Related skills
Build LiveKit voice and chat AI agents
Design LiveKit voice and chat agents with clear tasks, handoffs and tool behavior. Keep context focused and plan for conversational latency.
Debug LiveKit agents through live conversations
Try a LiveKit agent in a live multi turn conversation with lk agent debugger. Inspect what it says and does after changing its prompts or tools.
Deploy and operate LiveKit agents in production
Ship and roll back LiveKit agents, manage worker processes and investigate production failures. Review secrets, shutdown behavior, upgrades and observability.