Skip to main content

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.13

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

Source distribution (sdist)

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

Built distribution (wheel)

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

Total release size: 36.3 kB

Release files / livekit_plugins_atmee-1.8.13.tar.gz

Download URL livekit_plugins_atmee-1.8.13.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
853fe2e00b62ec8e28df58b4893abcc755b48dcbec7a21ad2ac1db286025ca9e
BLAKE2b-256 checksum
How to use checksums
d9c5c0d6f99f0f049f2586439c09933a43de5f6c908d71351ef5add27a17bc0d
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 18, 2026.

Transparency log

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

Download URL livekit_plugins_atmee-1.8.13-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed9c54f864078e4e5ed7f4aa708081abf2faac540a6f028faf0fb88dc067e461
BLAKE2b-256 checksum
How to use checksums
307ea264c3da294416c8c01f1e739a29ba376e9d77ba235b31befa4c8187163a
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 18, 2026.

Transparency log

Security for livekit-plugins-atmee 1.8.13

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for livekit_plugins_atmee-1.8.13.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 18, 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