Registry / llm-agents / livekit-plugins-rime

livekit-plugins-rime

JSON →
library1.6.1pypypiunverified

A LiveKit Agents plugin for Rime, providing text-to-speech TTS capabilities within the LiveKit realtime AI agent framework. Current version 1.5.7, requires Python >=3.10. Active development with frequent releases.

pip install livekit-plugins-rime
INSTALL
IMPORT
SIG · LIVEKIT-PLUGINS-RI
L
livekit-plugins-rime
llm-agentspythonv1.6.1
Install
15.2s avg
Import
Disk
290MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.1.7 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 224.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 18.2s · import 0.000s · 354MB
290MB installed
● package 290MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RimeTTS
from livekit.plugins.rime import RimeTTS
from livekit.plugins.rime import RimeTTS

Basic usage of RimeTTS to synthesize speech, assuming API key is set in environment.

import asyncio from livekit.plugins.rime import RimeTTS async def main(): tts = RimeTTS( api_key=os.environ.get("RIME_API_KEY", ""), voice_id="test-voice" ) async with tts.synthesize("Hello, world!") as stream: async for chunk in stream: print(chunk.data) asyncio.run(main())
Debug
Known issues
breakingVersion 1.0+ changed the TTS interface to async generator streams. Old synchronous `synthesize()` method removed.
fix
Use `async with tts.synthesize(text) as stream` and iterate over chunks.
affects: <1.0.0
deprecatedThe `voice` parameter in RimeTTS is deprecated in favor of `voice_id`. Passing `voice` will raise a deprecation warning.
fix
Replace `voice="..."` with `voice_id="..."`.
affects: 1.3.0+
gotchaThe Rime API key must be set via environment variable `RIME_API_KEY` or passed in constructor. If neither is found, the plugin fails silently.
fix
Always either set `RIME_API_KEY` env var or provide `api_key` argument.
affects: all
Upgrade
Version history
1.6.1latest on PyPI · released Jun 17, 2026
Audit
Dependencies
livekit-agentsrequiredCore framework dependency; plugin requires livekit.agents namespace.
Agent activity
30 hits · last 30 days
node
26
OpenAI (training)
1
Resources
livekit-plugins-rime — pip install livekit-plugins-rime · libregistry