Skip to main content

Vakyam AI plugin for LiveKit Agents

Support for voice synthesis with Vakyam AI Raaga 1 — text-to-speech for Indian languages.

See https://docs.vakyam.ai/integrations/livekit for provider docs.

Installation

pip install livekit-plugins-vakyam

Or with the LiveKit Agents extra:

uv add "livekit-agents[vakyam]"

Pre-requisites

You'll need an API key from Vakyam. Set it as an environment variable:

export VAKYAM_API_KEY="vak_live_..."

Usage

from livekit.agents import AgentSession
from livekit.plugins import vakyam

session = AgentSession(
    tts=vakyam.TTS(
        model="raaga-v1",
        voice="Archana",
        language="ta-IN",
        sample_rate=24000,
    ),
    # ... stt, llm, vad
)

stream() uses the realtime WebSocket API and sentence-tokenizes LLM text so each utterance is one complete sentence (Vakyam does not accept partial tokens). synthesize() uses HTTP streaming (POST /v1/tts/stream) and returns PCM audio.

WebSocket connections are pooled and reused between sequential agent turns. Each active synthesis stream has exclusive ownership of its connection, so an overlapping stream uses a separate connection. On interruption, the plugin sends cancel, drains through Vakyam's cancellation acknowledgement, and returns the healthy connection to the pool.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

livekit_plugins_vakyam-1.8.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livekit_plugins_vakyam-1.8.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_vakyam-1.8.0.tar.gz.

File metadata

  • Download URL: livekit_plugins_vakyam-1.8.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for livekit_plugins_vakyam-1.8.0.tar.gz
Algorithm Hash digest
SHA256 d26ead0f35e96980a2f99d139cc4bdf0602f7398ffb81c76a9e62630e355ebb6
MD5 837bf372d7a1c363d3ffc6ba39b54e4d
BLAKE2b-256 5fe56044f7993878b75ecc2e49d0497e833f6aff2a6eb50677999491582bd4c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_vakyam-1.8.0.tar.gz:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file livekit_plugins_vakyam-1.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_vakyam-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59e9dbd99c31da3f1d755d48bfc6895846326eed9a0d318532d43390328d34ad
MD5 6a79e2f9612adee1d12a250a05caa79d
BLAKE2b-256 11e551ae9875a2c3b856f3a6f0256d8e3b96799ede82480fbc1e76fea59bc2c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for livekit_plugins_vakyam-1.8.0-py3-none-any.whl:

Publisher: publish.yml on livekit/agents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.8.1

2 files

This release

1.8.0 This release

2 files

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