How to Build an AI Avatar Agent with HeyGen

LiveKit
667,743 views May 8, 2026

Build a real-time avatar voice agent with LiveKit Agents and HeyGen LiveAvatar. In this tutorial, you will see how to add a synchronized face to a LiveKit voice agent, connect the first-party LiveAvatar plugin, and publish avatar video over WebRTC. Sign up for LiveKit Cloud: https://cloud.livekit.io/signup?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=OTQh2gPAMOk This walkthrough covers the LiveKit avatar architecture, how LiveAvatar joins a LiveKit room as a participant, how the avatar consumes your agent's audio output, and how to start an `AvatarSession` before your `AgentSession`. You will also see how sandbox mode works, how to choose video quality, and how to use the same STT, LLM, and TTS pipeline you already have in LiveKit Agents. By the end, you will know how to build a voice agent avatar for product demos, customer support, tutoring, onboarding, and interactive AI experiences that need both voice and video. 📚 Resources 📚 LiveAvatar by HeyGen docs: https://docs.livekit.io/agents/models/avatar/plugins/liveavatar/?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=OTQh2gPAMOk Agent docs: https://docs.livekit.io/agents/?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=OTQh2gPAMOk 🤝 Join the Community: https://community.livekit.io/?utm_source=youtube&utm_medium=video&utm_campaign=devrel&utm_content=OTQh2gPAMOk #livekit #ai #voiceai

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close