Skip to main content

Tavus plugin for LiveKit Agents

Support for the Tavus virtual avatar.

See the Tavus integration docs for more information.

Installation

pip install livekit-plugins-tavus

Pre-requisites

You'll need an API key from Tavus. It can be set as an environment variable: TAVUS_API_KEY

Avatar emotion

Once the avatar has joined the room, set its facial emotion with set_emotion. The avatar keeps it until the next call.

start() returns before the avatar joins the room, and an emotion sent before then is dropped, so wait for the avatar with wait_for_join() first.

avatar = tavus.AvatarSession(face_id="...")
await avatar.start(session, room=ctx.room)
await avatar.wait_for_join()

await avatar.set_emotion("happiness")

Supported emotions: neutral, happiness, sadness, anger, fear, surprise, disgust, contempt.

To let the LLM choose the emotion, wrap it in a function tool:

@function_tool
async def set_emotion(context: RunContext, emotion: tavus.Emotion) -> None:
    """Set the facial emotion of your avatar."""
    await avatar.set_emotion(emotion)

Metadata

Release files for livekit-plugins-tavus 1.9.0

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-tavus 1.9.0
File Size Uploaded Provenance Actions
livekit_plugins_tavus-1.9.0.tar.gz 7.5 kB With provenance Details for livekit_plugins_tavus-1.9.0.tar.gz

Built distribution (wheel)

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

Total release size: 15.7 kB

Release files / livekit_plugins_tavus-1.9.0.tar.gz

Download URL livekit_plugins_tavus-1.9.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3cc7c2fcdae1ed0909a1f641f8f416e8c8441e391683e85991daf8f8667ce732
BLAKE2b-256 checksum
How to use checksums
8ca852d822e07957a35835064c0ded096d9b8a70c703aa907e246b10b002299f
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 25, 2026.

Transparency log

Release files / livekit_plugins_tavus-1.9.0-py3-none-any.whl

Download URL livekit_plugins_tavus-1.9.0-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aee6ca7fa5d926b0559c213680982f9c97d4f82ce28c1b1ea9b6c2fefc3f10b1
BLAKE2b-256 checksum
How to use checksums
33e7d64adbf55812b3697f3d3adbd10666adb685f1c2cd56ffe7707e127aa805
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 25, 2026.

Transparency log

Security for livekit-plugins-tavus 1.9.0

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_tavus-1.9.0.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 25, 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.

Release history Release notifications | RSS feed

This release

1.9.0 This release

2 release files Full provenance

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