Sarvam.ai Plugin for LiveKit Agents
Support for Sarvam.ai's Indian-language voice AI services in LiveKit Agents.
Features
- Speech-to-Text (STT): Convert audio to text using Sarvam's "Saaras" models. See the STT docs for more information.
- Text-to-Speech (TTS): Convert text to audio using Sarvam's "Bulbul" models. See the TTS docs for more information.
- LLM (Chat Completions): OpenAI-compatible chat-completions support for
sarvam-30b,sarvam-30b-16k,sarvam-105bandsarvam-105b-32kincluding tool calling.
Installation
pip install livekit-plugins-sarvam
Pre-requisites
You'll need an API key from Sarvam.ai. It can be set as an environment variable: SARVAM_API_KEY
LLM Usage
from livekit.plugins import sarvam
llm = sarvam.LLM(
model="sarvam-30b", # or `sarvam-30b-16k`, `sarvam-105b`, `sarvam-105b-32k`
)
sarvam-30b, sarvam-30b-16k, sarvam-105b, and sarvam-105b-32k support tool calling via the standard OpenAI-style tools and
tool_choice parameters.
Metadata
Release files for livekit-plugins-sarvam 1.8.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| livekit_plugins_sarvam-1.8.5.tar.gz | 46.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| livekit_plugins_sarvam-1.8.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 97.0 kB
Release files / livekit_plugins_sarvam-1.8.5.tar.gz
| Download URL | livekit_plugins_sarvam-1.8.5.tar.gz |
|---|---|
| Size | 46.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
625c8cb1be56ac5fbc7fd6481c9a3b724d1bb78d81f57d4eff69c8da28ce9c23
|
|
BLAKE2b-256 checksum How to use checksums |
4118054cb1791174950a86d6d32855344fa51183a83a66ecc5a2a8734464a072
|
| 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 Oct 6, 2026.
Transparency logRelease files / livekit_plugins_sarvam-1.8.5-py3-none-any.whl
| Download URL | livekit_plugins_sarvam-1.8.5-py3-none-any.whl |
|---|---|
| Size | 50.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb26401bae785778130c5fef5c6880b69891b3d2bb65f3cc8bb0b48532a78a5c
|
|
BLAKE2b-256 checksum How to use checksums |
322ea549a5959acc6bb814f1753e049be03d82c507e11dc8ac335099082c78c9
|
| 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 Oct 6, 2026.
Transparency log