Skip to content

VideoAvatar handling does not allow per-agent session customization #4198

@Viktoriagrg

Description

@Viktoriagrg

Bug Description

The VideoAvatar logic assumes that a single AgentSession is tied to one video avatar. This design prevents assigning separate avatars to different agents within the same session, even though logically it should be possible.

As a result:

  • We cannot have multiple agents within the same session each using a distinct video avatar.
  • The current implementation restricts flexibility, forcing one avatar per session instead of allowing per-agent avatar configuration.

Expected Behavior

  • Each agent within a session should be able to have its own video avatar.
  • The system should still support shared session data while allowing per-agent avatar customization.

Reproduction Steps

async def start(
        self,
        agent_session: AgentSession,

Operating System

macOS

Models Used

No response

Package Versions

livekit==1.0.20
livekit-agents==1.3.6

Session/Room/Call IDs

No response

Proposed Solution

Additional Context

No response

Screenshots and Recordings

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions