You're asking whether you can have multiple avatars in the same session (one per agent, both visible even if an agent isn't speaking) and whether avatars can be updated dynamically. Short answer: yes to both.
What you can do
• Multiple avatars: Each agent can have its own AvatarSession implemented as a separate participant (avatar worker) that joins the room and publishes audio/video. Multiple avatar workers can coexist in the same room, so each agent’s avatar remains visible even when that agent isn’t speaking.
• Dynamic updates: You can start, stop, or reconfigure avatars at runtime. While you don’t “swap” an avatar on an existing AvatarSession, you can stop the current avatar and start a new AvatarSession with a different configuration (different replica_id, persona_id, avatar_id, or avatar_image) to change the avatar during the session.
Frontend notes you may need
• Render multiple avatars by tracking participants (avatar workers) and their published tracks; avatars published on behalf of agents are identified with the agent identity.
• Use the
useVoiceAssistant
hook (or equivalent) to detect and map avatar audio/video to the correct agent, or manually select participants with
lk.publish_on_behalf
.
If you want, tell me:
• Which avatar provider or plugin you plan to use (Tavus, Simli, bitHuman, Hedra, Anam, etc.), and
• Whether you want to swap full models/personas or just update images
I can then give the exact API/step sequence or example code for starting/stopping AvatarSessions and rendering multiple avatar tracks.
Sources:
Tavus virtual avatar integration guide | LiveKit Docs |
Simli virtual avatar integration guide | LiveKit Docs |
Virtual avatar plugins | LiveKit Docs |
Bringing AI avatars to voice agents |
Workflows | LiveKit docs