Overview
Beyond Presence provides hyper-realistic interactive avatars for conversational video AI agents. You can use the open source Beyond Presence integration for LiveKit Agents to add virtual avatars to your voice AI app.
Quick reference
This section includes a basic usage example and some reference material. For links to more detailed documentation, see Additional resources.
Installation
Install the plugin from PyPI:
pip install "livekit-agents[bey]~=1.2"
Authentication
The Beyond Presence plugin requires a Beyond Presence API key.
Set BEY_API_KEY
in your .env
file.
Usage
Use the plugin in an AgentSession
. For example, you can use this avatar in the Voice AI quickstart.
from livekit.plugins import beysession = AgentSession(# ... stt, llm, tts, etc.)avatar = bey.AvatarSession(avatar_id="...", # ID of the Beyond Presence avatar to use)# Start the avatar and wait for it to joinawait avatar.start(session, room=ctx.room)# Start your agent session with the userawait session.start(room=ctx.room,)
Preview the avatar in the Agents Playground or a frontend starter app that you build.
Parameters
This section describes some of the available parameters. See the plugin reference for a complete list of all available parameters.
ID of the Beyond Presence avatar to use.
The identity of the participant to use for the avatar.
The name of the participant to use for the avatar.
Additional resources
The following resources provide more information about using Beyond Presence with LiveKit Agents.
Python package
The livekit-plugins-bey
package on PyPI.
Plugin reference
Reference for the Beyond Presence avatar plugin.
GitHub repo
View the source or contribute to the LiveKit Beyond Presence avatar plugin.
Beyond Presence docs
Beyond Presence's full docs site.
Agents Playground
A virtual workbench to test your avatar agent.
Frontend starter apps
Ready-to-use frontend apps with avatar support.