Skip to main content

Agent Framework plugin for Keyframe Labs avatars

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

livekit_plugins_keyframe-1.5.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livekit_plugins_keyframe-1.5.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_keyframe-1.5.1.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_keyframe-1.5.1.tar.gz
Algorithm Hash digest
SHA256 646ca4168f541b96c68d545420e7dc55becd5e22191d1e26097cb8c969ade5f8
MD5 74976cb0b2bea328633c50bd20486fe4
BLAKE2b-256 ff8f2ac9d9c7c726b10fb29d8695c7a88229ff4a1ada37c634f904a1395af598

See more details on using hashes here.

File details

Details for the file livekit_plugins_keyframe-1.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_keyframe-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3554e7a1a5f80712f5d4c8c0189acbc417e1cb648a3ab86e541e0334e7c6a44f
MD5 8e79102b2a1e88a2261b7dca1fb9e2cc
BLAKE2b-256 349b9d78ebcad095252143d2f98f71e0782af0b70b90498d1d38d1e159e5dbc6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page