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

Uploaded Python 3

File details

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

File metadata

  • Download URL: livekit_plugins_keyframe-1.6.6.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for livekit_plugins_keyframe-1.6.6.tar.gz
Algorithm Hash digest
SHA256 6f4b9d4e64c412b8e08f572cc7cefe4847290b05b424fd2c0fb14fd825a682d1
MD5 9a11fa3e114ef961798ad346d7ab068d
BLAKE2b-256 8a27e9ec0afe3e89958ca6e0c30d9fcfc654356623aba62ab9b7c14ac0567e9f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for livekit_plugins_keyframe-1.6.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7f4c753088c817adc5a630214585e3b8559dd72aa0f011d6dc5fe768e71284cb
MD5 30a0dacc4e4b587ac6a10861cd7bbea5
BLAKE2b-256 ed1fe054052fb1581e5b4319e1aca9dd0b46698d061eb3abd34d361bacabbd28

See more details on using hashes here.

Provenance

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