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.8.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| livekit_plugins_tavus-1.8.12.tar.gz | 7.4 kB | With provenance | Details for livekit_plugins_tavus-1.8.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| livekit_plugins_tavus-1.8.12-py3-none-any.whl | Python 3 | none | any | Details for livekit_plugins_tavus-1.8.12-py3-none-any.whl |
Total release size: 15.6 kB
Release files / livekit_plugins_tavus-1.8.12.tar.gz
| Download URL | livekit_plugins_tavus-1.8.12.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab3c0db223dde8369b266ddf14f40e914dcc5ffa68dd82eb71414189ab2ed0e2
|
|
BLAKE2b-256 checksum How to use checksums |
0c27a858ff4e5ab8e5a7268eca70d0e3bf3f6944c9f3eacee17fc3404370ca7b
|
| 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 13, 2026.
Transparency logRelease files / livekit_plugins_tavus-1.8.12-py3-none-any.whl
| Download URL | livekit_plugins_tavus-1.8.12-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
059f3022a9c0f434d11db43f195a96f42eb1ddb7135436aa03d27846fcdd6086
|
|
BLAKE2b-256 checksum How to use checksums |
0a9ca7ca948854d41d19a2e994c6df9dcbbf9480ef59bfb93b700ad9083fb27c
|
| 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 13, 2026.
Transparency logSecurity for livekit-plugins-tavus 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for livekit_plugins_tavus-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 13, 2026.
Transparency logA 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.