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.19rc1.tar.gz (6.3 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.19rc1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_keyframe-1.5.19rc1.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_keyframe-1.5.19rc1.tar.gz
Algorithm Hash digest
SHA256 7e4f1e4df6336cb30f5d61f469c74e941f98b632fa5714bc57aee73f6a736109
MD5 547ffbbc4f7a9e0cf12b4bc888c2b9a6
BLAKE2b-256 e27efb9d843b220f0c85be36a9e0cbfdcfcd2ef148ee92f4a18d86580f1cfac2

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_keyframe-1.5.19rc1.tar.gz:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file livekit_plugins_keyframe-1.5.19rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_keyframe-1.5.19rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 034589cb2f59fd3c23e31aa7810c10416daa3c65fff512ec3859fbc0aa366a60
MD5 1b3ca4c5886e2ae93cfdda0208ba9894
BLAKE2b-256 0927086087ad08f5fa2dde5f8275f33261974fcb28a362dd8bb069b457209a03

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_keyframe-1.5.19rc1-py3-none-any.whl:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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