Skills livekit-voice
LiveKit real-time voice and video infrastructure — create rooms, generate JWT access tokens, manage participants, and record sessions. Open source WebRTC for voice AI agents and real-time communication. Use for building voice agents, video rooms, or real-time audio.
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aiwithabidi/livekit-voice" ~/.claude/skills/openclaw-skills-livekit-voice && rm -rf "$T"
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/aiwithabidi/livekit-voice" ~/.openclaw/skills/openclaw-skills-livekit-voice && rm -rf "$T"
skills/aiwithabidi/livekit-voice/SKILL.md🎧 LiveKit Voice
LiveKit real-time voice/video infrastructure for OpenClaw agents. Create rooms, generate tokens, manage participants, and integrate with voice AI platforms.
What is LiveKit?
LiveKit is an open-source WebRTC infrastructure platform for building real-time audio/video applications. It powers voice AI agents, video conferencing, live streaming, and more.
Self-hosted vs Cloud:
- LiveKit Cloud — Managed service, no infrastructure to maintain
- Self-hosted — Deploy on your own servers via Docker/Kubernetes
Requirements
| Variable | Required | Description |
|---|---|---|
| ✅ | LiveKit API key |
| ✅ | LiveKit API secret |
| ✅ | LiveKit server URL (e.g. ) |
Quick Start
# Create a room python3 {baseDir}/scripts/livekit_api.py create-room my-room # Create room with options python3 {baseDir}/scripts/livekit_api.py create-room my-room --max-participants 10 --empty-timeout 300 # Generate access token for a participant python3 {baseDir}/scripts/livekit_api.py token my-room --identity user123 --name "John" # Generate token with specific grants python3 {baseDir}/scripts/livekit_api.py token my-room --identity agent --can-publish --can-subscribe # List active rooms python3 {baseDir}/scripts/livekit_api.py list-rooms # List participants in a room python3 {baseDir}/scripts/livekit_api.py participants my-room # Delete a room python3 {baseDir}/scripts/livekit_api.py delete-room my-room # Start recording (Egress) python3 {baseDir}/scripts/livekit_api.py record my-room --output s3://bucket/recording.mp4
Commands
create-room <name>
create-room <name>Create a new LiveKit room.
— limit participants--max-participants N
— seconds before empty room auto-closes (default 300)--empty-timeout N
token <room>
token <room>Generate a JWT access token for a participant.
— participant identity (required)--identity ID
— display name--name NAME
— allow publishing audio/video--can-publish
— allow subscribing to others--can-subscribe
— token TTL in seconds (default 3600)--ttl N
list-rooms
list-roomsList all active rooms with participant counts.
participants <room>
participants <room>List participants in a room with their connection state and tracks.
delete-room <name>
delete-room <name>Delete/close a room and disconnect all participants.
record <room>
record <room>Start an Egress recording of a room.
— output destination (S3, GCS, or local path)--output URL
Voice AI Integration
LiveKit is the backbone for many voice AI platforms:
- Vapi — Uses LiveKit for real-time voice AI agent calls
- ElevenLabs — Stream TTS audio into LiveKit rooms
- OpenAI Realtime — Connect GPT-4o voice to LiveKit participants
Agent Pattern
- Create a LiveKit room
- Generate tokens for both human and AI agent
- AI agent joins, subscribes to human audio
- Process audio → STT → LLM → TTS → publish back
- Result: real-time voice conversation with AI
Credits
Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.
📅 Need help setting up OpenClaw for your business? Book a free consultation