mirror of
https://github.com/livekit/agents.git
synced 2026-12-06 03:28:34 +00:00
Migrate provider WebSocket handling to shared typed protocols, pooling, pacing, and idle timers. Preserve SmallestAI continuations with response-based silence completion and isolated segments. Keep connection acquisition, reconnect controls, stream cleanup, and host wrapper ownership safe across cancellation. Consolidate provider interfaces and typed MCP contracts. Normalize pending speech boundaries and preserve conversation identity, ordering, late results, and acknowledged checkpoints across overlapping voice runs. Extend deterministic regressions, storage observations, and lifecycle documentation. Validation: rebuilt extension; 2900 Python tests passed; formatting, lint, and type checks passed. Rust, binding, codegen, and deterministic simulation checks are recorded in the audit and lifecycle verification records.
Async plugin for LiveKit Agents
Support for text-to-speech with Async.
See AsyncAI TTS docs for more information.
Installation
pip install livekit-plugins-asyncai
Pre-requisites
You'll need an API key from Async. It can be set as an environment variable: ASYNCAI_API_KEY