Creates a new AvatarSession.
Configuration options for the avatar session
BeyException if BEY_API_KEY is not set
Starts the avatar session and connects it to the agent.
This method:
The agent session to connect to the avatar
The LiveKit room where the avatar will join
Optional LiveKit credentials (falls back to environment variables)
BeyException if LiveKit credentials are not available or if the avatar session fails to start
A Beyond Presence avatar session.
This class manages the connection between a LiveKit agent and a Beyond Presence avatar, routing agent audio output to the avatar for visual representation.
Example