tavus.AvatarSession with your face_id as in Step 2.
Tavus enables AI developers to create realistic video avatars powered by state-of-the-art speech synthesis, perception, and rendering pipelines. Through its integration with the LiveKit Agents application, you can seamlessly add conversational avatars to real-time voice AI systems.
Prerequisites
Make sure you have the following before starting:-
Tavus
face_id- You can use Tavus’s stock faces or your own custom face.
- LiveKit Voice Assistant App (Python or Node.js)
- Your own existing application.
- Or follow the LiveKit Voice AI quickstart to create one (same guide for Python and Node.js).
Integration Guide
1
Step 1: Setup and Authentication
- Install the plugin:
- Python
- Node.js
- Set
TAVUS_API_KEYin your.envfile. Use the same value as your Tavus API key from Authentication.
2
Step 2: Add an Avatar to your Agent
In your LiveKit app, create an avatar session alongside your
AgentSession:- Python
- Node.js / TypeScript
replica_id / replicaId and persona_id / personaId are still accepted as deprecated aliases for face_id / pal_id.Try out the integration using this sample code.

