Prerequisites
- A Protoface API key from app.protoface.com.
- A LiveKit project with
LIVEKIT_URL,LIVEKIT_API_KEY, andLIVEKIT_API_SECRET. - A Google Gemini API key for the sample realtime model:
GOOGLE_API_KEY.
1. Install
2. Set environment variables
Create.env:
3. Add the avatar
Createagent.py:
4. Run the agent
Expected result
- A
protoface-avatar-agentparticipant joins the same LiveKit room. - The avatar publishes audio/video.
avatar.session_idcontains thesess_...ID.
Troubleshooting
Next
LiveKit Agents guide
Configuration options and lifecycle details.
More Integrations
Quickstarts for other platforms and SDKs.
Avatars
Choose the avatar ID for your app.

