Skip to main content
Source Code: src/gaia/audio/
Import: from gaia.audio.audio_client import AudioClient

Detailed Spec: spec/audio-client Purpose: Voice interaction with ASR (Whisper) and TTS (Kokoro).

Audio Client

AudioClient glues Whisper ASR and Kokoro TTS together into a full voice-chat loop. It is used by the Talk SDK and the gaia talk CLI. Because the voice loop runs microphone I/O alongside LLM calls, start_voice_chat is async:
To list available input devices, use WhisperAsr.list_audio_devices() directly (see ASR section below). AudioClient itself does not expose a device-enumeration method.

Whisper ASR (Speech-to-Text)

Import: from gaia.audio.whisper_asr import WhisperAsr

Kokoro TTS (Text-to-Speech)

Import: from gaia.audio.kokoro_tts import KokoroTTS