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.10.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.10-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for livekit_plugins_keyframe-1.5.10.tar.gz
Algorithm Hash digest
SHA256 f4ee1bd68ca811d6599ce99ea43f29305ed0d0c6bb681cae24a40a83bac10863
MD5 1d25fcfa8d60bc089028e1790a2de729
BLAKE2b-256 ab3d810d299b4e7c5124147ce1630a3513464c6589af923b00665cdd4d274131

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_keyframe-1.5.10.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.10-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_keyframe-1.5.10-py3-none-any.whl
Algorithm Hash digest
SHA256 b9276dfa45a7f90913fb25594036f6cc9b3a0dc0c35cb9425ee191318280d221
MD5 3686a1b9c103eb8244203ee9cfb9166c
BLAKE2b-256 c0bdf51602dc0a69944fbac5f670cd9a58a4b4138f02a1b51de854c81b73b295

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_keyframe-1.5.10-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