livekit-plugins-keyframe 1.5.1


pip install livekit-plugins-keyframe

  Latest version

Released: Mar 23, 2026


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-keyframe

Agent Framework plugin for Keyframe Labs avatars.

Installation

pip install livekit-plugins-keyframe

Usage

from livekit.agents import AgentSession
from livekit.plugins import keyframe

session = AgentSession(stt=..., llm=..., tts=...)

avatar = keyframe.AvatarSession(
    persona_id="ab85a2a0-0555-428d-87b2-ff3019a58b93",  # or persona_slug="public:cosmo_persona-1.5-live"
    api_key="keyframe_sk_live_...",  # or set KEYFRAME_API_KEY env var
)

await avatar.start(session, room=ctx.room)
await session.start(room=ctx.room, agent=my_agent)

Authentication

Set the following environment variables:

  • KEYFRAME_API_KEY - Your Keyframe API key
  • LIVEKIT_URL - LiveKit server URL
  • LIVEKIT_API_KEY - LiveKit API key
  • LIVEKIT_API_SECRET - LiveKit API secret
Extras: None
Dependencies:
livekit-agents (>=1.5.1)