Skill / SKILL.md

Testing Livekit Agents

livekit/agent-skills

Writes turn-level tests for a LiveKit agent in the user's normal test suite: pytest (Python) or Vitest (Node.js). Use when the user asks to "write tests for my agent", "add a test for this tool", "test the handoff", "pin this bug", "why does my agent test fail", or after building or changing agent behavior that needs regression coverage. Covers the SDK's test session harness, assertions on messages, tool calls and handoffs, LLM judging of a reply against an intent, mocking tools, multi-turn tests, and judging whole conversations with the built-in judges. For interactive poking use debugging-livekit-agents. For grading whole conversations at scale use running-livekit-simulations.
3 views 78 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Writes turn-level tests for a LiveKit agent in the user's normal test suite: pytest (Python) or Vitest (Node.js). Use when the user asks to "write tests for my agent", "add a test for this tool", "test the handoff", "pin this bug", "why does my agent test fail", or after building or changing agent behavior that needs regression coverage. Covers the SDK's test session harness, assertions on messages, tool calls and handoffs, LLM judging of a reply against an intent, mocking tools, multi-turn tests, and judging whole conversations with the built-in judges. For interactive poking use debugging-livekit-agents. For grading whole conversations at scale use running-livekit-simulations.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/livekit/agent-skills' skill-source

Use the complete skill-source/skills/testing-livekit-agents directory with your client’s skill installer.

  • skills/testing-livekit-agents

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/testing-livekit-agents

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
915f5a5d793b62b88fb5316efdb336094bcfde5ad6339cd268c14ef1dffe5506
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills