Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

Atmee plugin for LiveKit Agents

Give a LiveKit voice agent a face with an Atmee avatar. The avatar joins the room as its own participant and speaks the agent's audio with lips in sync. Your agent keeps its own speech recognition, model and voice.

Any Atmee avatar renders by its id, v1 (a talking head generated from a single portrait) or v2 (moves as a whole). Create avatars in the Atmee studio or with the Atmee API; this plugin renders them.

See the Atmee integration docs for more information.

Installation

pip install livekit-plugins-atmee

Pre-requisites

You'll need an API key from Atmee, created at atmee.ai/studio/api-keys. It can be set as an environment variable: ATMEE_API_KEY

The plugin mints the avatar participant's join token with your own LiveKit credentials (LIVEKIT_URL, LIVEKIT_API_KEY, LIVEKIT_API_SECRET); only that token is sent to Atmee.

Usage

from livekit.plugins import atmee

avatar = atmee.AvatarSession(avatar_id="...")  # ATMEE_API_KEY from env
await avatar.start(session, room=ctx.room)  # before session.start
await session.start(agent=Agent(...), room=ctx.room)

start() returns once Atmee's rendering worker has acknowledged the session; the avatar's video and audio tracks appear in the room a few seconds later. It first reads the avatar's generation: a v1 start may take up to 1 minute (3 with wait_for="avatar_joined"). The first v2 session after a quiet period can take a few minutes, so a v2 start may take up to 5 (7.5). The session ends when your agent leaves the room, when aclose() runs (registered as a job shutdown callback), or at max_duration_seconds. If aclose() runs while start() is still waiting, the render that start opens is ended and start() raises atmee.AtmeeException with code="closed".

Start the agent first

Started before session.start(), the avatar carries the agent's voice from the first word, but a slow v2 start keeps the user waiting with no agent. To let the agent talk right away and give it a face once the avatar is in the room, start the avatar after the session, without awaiting it:

await session.start(agent=Agent(...), room=ctx.room)  # the agent speaks with its own voice

async def attach_avatar() -> None:
    avatar = atmee.AvatarSession(avatar_id=avatar_id, wait_for="avatar_joined")
    try:
        await avatar.start(session, room=ctx.room)  # the agent's voice moves to the avatar
    except atmee.AtmeeException:
        logger.warning("continuing without an avatar", exc_info=True)

attach_task = asyncio.create_task(attach_avatar())  # keep a reference

Parameters

Parameter Default Description
avatar_id required The Atmee avatar to render.
api_key ATMEE_API_KEY Your Atmee API key.
api_url ATMEE_API_URL or https://api.atmanity.us Atmee API base URL.
avatar_participant_identity "atmee-avatar-agent" The LiveKit identity the avatar joins under. Must be unique per concurrent avatar in a room.
avatar_participant_name "atmee-avatar-agent" The LiveKit display name the avatar joins under.
max_duration_seconds 3600 Hard ceiling of the session.
wait_for "initializing" "avatar_joined" makes start() block until the avatar is in the room.
metadata None Free-form JSON stored with the session on the Atmee side.

API failures raise atmee.AtmeeException with status_code, code and message; atmee.AtmeeNoCapacityError (check retry_after) and atmee.AtmeeAvatarNotReadyError are subclasses worth handling. atmee.AtmeeAvatarWarmingError means a v2 avatar was still getting ready when the start's wait ran out; nothing was billed, and you can try again after retry_after.

Metadata

Release files for livekit-plugins-atmee 1.8.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

Source distribution for livekit-plugins-atmee 1.8.12
File Size Uploaded Provenance Actions
livekit_plugins_atmee-1.8.12.tar.gz 17.0 kB With provenance Details for livekit_plugins_atmee-1.8.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for livekit-plugins-atmee 1.8.12
File Interpreter ABI Platform Actions
livekit_plugins_atmee-1.8.12-py3-none-any.whl Python 3 none any Details for livekit_plugins_atmee-1.8.12-py3-none-any.whl

Total release size: 36.3 kB

Release files / livekit_plugins_atmee-1.8.12.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL livekit_plugins_atmee-1.8.12.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a1b338738f1f11216e6c032990d42408e46726909023b8f5d188ab8eb8d0ebc6
BLAKE2b-256 checksum
How to use checksums
b2eaae26bec81b50844a7810dc7850b4780283ad3440ccbe9cacd5917acd1332
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / livekit_plugins_atmee-1.8.12-py3-none-any.whl

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL livekit_plugins_atmee-1.8.12-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
070e1b4f50fc3973ba8f72ee826bbbd13122803e0a9f97b94169d8ec4409e3d5
BLAKE2b-256 checksum
How to use checksums
0ea8b7bc79535b6a927fb60d177d9cc61067d402caac7883d44d771d3ace54e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for livekit-plugins-atmee 1.8.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for livekit_plugins_atmee-1.8.12.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page