Files
livekit-agents/python/livekit-plugins/livekit-plugins-fishaudio
Théo Monnom 09262038db Harden realtime, worker and recording boundaries
Run realtime DST scenarios through production provider bookkeeping, with
asynchronous transcription, provider failures, response correlation and
cross-provider history coverage. Ignore unknown provider messages and
settle pending operations when streams or host tasks disappear.

Make job phases own their operations, preserve token restrictions on
refresh, validate inference options and contain failures at external
boundaries. Remove the duplicate Rust media benchmark.

Compare recordings against independent speaker PCM and keep transcripts,
provider spans and reports on the session audio clock across wall-clock
corrections. Preserve silence duration in Gladia energy filtering.

Add regression tests and document the provider and recording audit
findings, including the remaining backend waveform issue and two
independently reproduced baseline storage DST failures.
2026-11-18 04:07:42 -08:00
..

Fish Audio plugin for LiveKit Agents

Support for voice synthesis with Fish Audio.

  • Docs: https://docs.fish.audio/

Installation

pip install livekit-plugins-fishaudio

Prerequisites

Obtain an API key from Fish Audio.

Set the API key as an environment variable:

FISH_API_KEY=<your_api_key>

Usage

from livekit.agents import VoiceSession
from livekit.plugins import fishaudio

# Basic usage with env-based credentials
tts = fishaudio.TTS()

session = VoiceSession(
    tts=tts,
    # ... stt, llm, etc.
)