Prerequisites
- LiveKit CLI installed
- A LiveKit Cloud account
- An OpenAI API key
- An Anam API key from lab.anam.ai
Set up the agent
Clone the LiveKit Node.js agent starter and install dependencies:Configure credentials
Create a.env.local file:
.env.local
Add the avatar to your agent
Replace the contents ofsrc/agent.ts:
Test locally
Set up the frontend
In a new terminal, create the React frontend:.env.local with your LiveKit credentials:
.env.local
http://localhost:3000, click connect, and the avatar appears as the agent speaks.
Deploy to LiveKit Cloud
Next steps
- Configuration — persona config, advanced examples, and API reference
- Avatar Gallery — browse stock avatars
- Create a custom avatar — use your own face

