Agent Framework plugin for Runway Characters Avatar
Project Links
Meta
Author: LiveKit
Requires Python: >=3.10.0
Classifiers
Intended Audience
- Developers
License
- OSI Approved :: Apache Software License
Programming Language
- Python :: 3
- Python :: 3 :: Only
- Python :: 3.10
Topic
- Multimedia :: Sound/Audio
- Multimedia :: Video
- Scientific/Engineering :: Artificial Intelligence
livekit-plugins-runway
LiveKit Agents plugin for Runway Characters avatar integration.
Your LiveKit agent owns the full conversational AI pipeline (STT, LLM, TTS). Runway provides the visual layer — audio in, avatar video out.
Installation
pip install livekit-plugins-runway
Usage
from livekit.agents import AgentSession, Agent, RoomOutputOptions
from livekit.plugins import runway
async def entrypoint(ctx):
session = AgentSession()
avatar = runway.AvatarSession(
avatar_id="your-custom-avatar-id",
# api_key defaults to RUNWAYML_API_SECRET env var
)
await avatar.start(session, room=ctx.room)
await session.start(
agent=Agent(instructions="Talk to me!"),
room=ctx.room,
room_output_options=RoomOutputOptions(audio_enabled=False),
)
Using a preset avatar
avatar = runway.AvatarSession(
preset_id="runway-preset-slug",
)
With a session duration limit
avatar = runway.AvatarSession(
avatar_id="your-custom-avatar-id",
max_duration=300,
)
Configuration
| Parameter | Env var | Description |
|---|---|---|
api_key |
RUNWAYML_API_SECRET |
Runway API key |
api_url |
RUNWAYML_BASE_URL |
API base URL (default: https://api.dev.runwayml.com) |
avatar_id |
— | Custom avatar ID (mutually exclusive with preset_id) |
preset_id |
— | Preset avatar slug (mutually exclusive with avatar_id) |
max_duration |
— | Maximum session duration in seconds |
LiveKit credentials (LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET) are read from environment variables or can be passed to avatar.start().
1.5.12
May 21, 2026
1.5.11
May 19, 2026
1.5.10
May 18, 2026
1.5.9
May 13, 2026
1.5.8
May 05, 2026
1.5.7
Apr 30, 2026
1.5.6
Apr 22, 2026
1.5.5
Apr 20, 2026
1.5.4
Apr 16, 2026
1.5.3
Apr 15, 2026
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
livekit-agents
(>=1.5.12)