I completely understand how waiting for the avatar and agent to load when deploying a LiveKit agent can feel a bit frustrating. The main reason for this delay is the complexity behind AI-driven video synthesis. Avatar models usually need specialized GPUs and often run on different machines than the agent code. Because of this, the audio from the agent has to travel over a network to a remote server for video generation, which naturally adds some network latency and processing time.
Also, the first time you load things up, it might take a little longer due to the initial runtime warmup, especially if you’re using local setups like BitHuman. The good news is that LiveKit has put a lot of thought into optimizing this process with pre-warming strategies, efficient architecture, and improvements in real-time communication to help reduce these delays as much as possible. Still, a bit of loading time is necessary to make sure you get a high-quality, synchronized avatar video experience.
Please don’t hesitate to reach out if you have any other questions or if there’s something specific about your setup you’re concerned about—I’m here to help and can offer more tailored advice!
Sources:
Bringing AI avatars to voice agents |
livekit-plugins/livekit-plugins-anam/livekit/plugins/anam/avatar.py