Skip to main content
LiveKit Agents is an open source framework for building real-time voice and multimodal AI agents. It handles streaming audio pipelines, turn detection, interruptions, and LLM orchestration so you can focus on your agent’s behavior. Fish Audio integrates with LiveKit through the fishaudio plugin, providing text-to-speech synthesis with support for both chunked and real-time WebSocket streaming modes.

Prerequisites

Installation

Install LiveKit Agents with Fish Audio support:

Configuration

Set your Fish Audio API key as an environment variable:

Basic usage

Add Fish Audio TTS to your LiveKit agent:

Key parameters

Streaming modes

The plugin supports two synthesis modes:

Resources