LiveAvatar Plugin for Vision Agents
Real-time interactive avatar via LiveAvatar (by HeyGen). Uses LITE mode with the custom-agent integration path.
Features
- Real-time avatar video synchronized with TTS audio
- Works with any TTS provider (Cartesia, ElevenLabs, Deepgram, etc.)
- Supports both standard and Realtime LLMs
Installation
uv add "vision-agents[liveavatar]"
# or directly
uv add vision-agents-plugins-liveavatar
Quick Start
import asyncio
from uuid import uuid4
from dotenv import load_dotenv
from vision_agents.core import Agent, User
from vision_agents.plugins import deepgram, gemini, getstream, liveavatar
load_dotenv()
async def start_avatar_agent():
agent = Agent(
edge=getstream.Edge(),
agent_user=User(name="AI Assistant with Avatar", id="agent"),
instructions="You're a friendly AI assistant.",
llm=gemini.LLM(),
tts=deepgram.TTS(),
stt=deepgram.STT(),
avatar=liveavatar.Avatar(),
)
call = await agent.create_call("default", str(uuid4()))
async with agent.join(call):
await agent.simple_response("Hello! I'm your AI assistant with an avatar.")
await agent.finish()
if __name__ == "__main__":
asyncio.run(start_avatar_agent())
Configuration
Environment Variables
LIVEAVATAR_API_KEY=your_liveavatar_api_key
LIVEAVATAR_AVATAR_ID=your_avatar_uuid
Avatar Options
liveavatar.Avatar(
avatar_id="...", # LiveAvatar avatar UUID (or set LIVEAVATAR_AVATAR_ID)
api_key="...", # (or set LIVEAVATAR_API_KEY)
base_url=None, # Override https://api.liveavatar.com if needed
is_sandbox=True, # Sandbox sessions don't burn credits but are duration-capped. Set False in production.
max_session_duration=None, # Seconds; None means LiveAvatar's default
video_quality="high", # "low" | "medium" | "high" | "very_high"
video_encoding="H264", # "H264" | "VP8"
width=1920,
height=1080,
)
Requirements
- Python 3.10+
- LiveAvatar API key — see docs.liveavatar.com
- GetStream account for the user-facing call
- TTS provider or Realtime LLM
License
MIT
Links
Metadata
Release files for vision-agents-plugins-liveavatar 0.6.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vision_agents_plugins_liveavatar-0.6.9.tar.gz | 7.7 kB | Without provenance | Details for vision_agents_plugins_liveavatar-0.6.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vision_agents_plugins_liveavatar-0.6.9-py3-none-any.whl | Python 3 | none | any | Details for vision_agents_plugins_liveavatar-0.6.9-py3-none-any.whl |
Total release size: 17.7 kB
Release files / vision_agents_plugins_liveavatar-0.6.9.tar.gz
| Download URL | vision_agents_plugins_liveavatar-0.6.9.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
300fa458a0c62e33a298af32600816d2480e6e55b110fc99d77fa8f83b66871d
|
|
BLAKE2b-256 checksum How to use checksums |
11d8783e228a7e15a5dc60a423b2d4c020c44f9b09d9f27ee82081cbe4f9d99f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / vision_agents_plugins_liveavatar-0.6.9-py3-none-any.whl
| Download URL | vision_agents_plugins_liveavatar-0.6.9-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92950a93118a68fe2d663399ce69211718e7d9abb632ff8f94b477f95c971e31
|
|
BLAKE2b-256 checksum How to use checksums |
d67314cac325bf1df64c487ee807f585cb7d6af9ae41d0af5033300246bf7487
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for vision-agents-plugins-liveavatar 0.6.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.