Skip to main content
GAIA’s talk mode enables natural voice-based interaction with LLMs using Whisper for automatic speech recognition (ASR) and Kokoro for text-to-speech (TTS). Have natural conversations with AI through your microphone and speakers. Both models run inside Lemonade Server, the same server that runs the chat model — GAIA itself installs no speech model runtime. The first gaia talk downloads the Whisper model (~150 MB for base) and the Kokoro voice model (~350 MB) through Lemonade.
First time here? Complete the Setup guide first to install GAIA and its dependencies.

Quick Start

System Prerequisites

Talk mode needs a running Lemonade Server (gaia init installs it) and PortAudio for the microphone and speakers.
Transcribing an existing recording is no longer part of talk mode — point the GAIA agent at the file instead. See Transcription & Meeting Notes.
1

Install talk extras

With GAIA installed, add the talk extras:
2

Launch Talk Mode

Start voice conversation:
3

Start Speaking

When you see ⠴ Listening..., you can start talking
Say “stop” to end the session, or press Ctrl+C.
GAIA mutes the microphone while it is speaking, so it never answers its own reply. Wait for it to finish before you speak.

Voice Commands

Exit Session

Say “stop” (or press Ctrl+C)

Clear History

Say “restart”

Trigger Response

Pause longer than --silence-threshold (default 0.5 seconds)

Stop Playback

Press Enter while GAIA is speaking (terminal only)

Configuration Options

The microphone stays paused throughout playback. If the output device stalls beyond the synthesized audio duration plus five seconds, voice chat reports an error and keeps capture paused. Check the output device, then restart voice chat; gaia talk --no-tts disables spoken output. Customize your voice interaction experience:
Each size maps to a Lemonade Whisper model (base is Whisper-Base, large is Whisper-Large-v3, turbo is Whisper-Large-v3-Turbo). Larger models are more accurate but slower and a bigger first download.

Document Q&A with Voice

Voice interaction supports document-based Q&A through RAG (Retrieval-Augmented Generation). Ask questions about your PDF documents using natural speech!

Quick Start with Documents

Use Cases

Technical Support

Voice chat with product manuals and troubleshooting guides

Research

Speak questions about research papers and documentation

Learning

Voice interaction with textbooks and educational materials

Accessibility

Hands-free document Q&A for users with mobility needs

Field Work

Voice queries about procedures when hands are busy

Documentation

Quick reference lookup while working

How It Works

1

Document Indexing

PDFs are automatically indexed when you start talk with --index
2

Voice Input

Speak your question about the documents
3

Context Retrieval

Relevant document sections are retrieved automatically
4

Voice Response

AI answers based on document context and speaks the response
See the Chat documentation - Document Q&A section for more details on RAG capabilities

Testing ASR Components

Talk mode’s ASR covers live microphone input only. To transcribe a file you already have, see Transcription & Meeting Notes.

List Audio Devices

Discover available audio input devices:

Microphone Recording Test

Test real-time transcription from your microphone:
Options:
  • --recording-duration: Recording duration in seconds (default: 10)
  • --whisper-model-size: Whisper size Lemonade transcribes with (default: “base”)
  • --audio-device-index: Specific microphone (optional)

Testing TTS Components

Test text-to-speech capabilities with various test modes:

Text Preprocessing

Test how TTS processes and formats text:

Streaming Playback

Test real-time audio generation and playback:
  • Processing progress
  • Playback progress
  • Currently spoken text
  • Performance metrics

Audio File Generation

Generate and save audio to WAV file:

Troubleshooting

  • Try different --audio-device-index values
  • List available devices: gaia test --test-type asr-list-audio-devices
  • Check system audio input settings (Settings > Audio > Input)
  • Ensure correct microphone is selected as default input device
  • Try larger Whisper models: --whisper-model-size medium or large
  • Ensure you’re in a quiet environment
  • Speak clearly at a moderate pace
  • Check microphone positioning and quality
  • Verify microphone is not muted
  • Check system audio output/speaker settings
  • Verify TTS is enabled (not using --no-tts flag)
  • Ensure system volume is not muted
  • Check that Lemonade Server is running and lists kokoro-v1
  • Test with: gaia test --test-type tts-streaming
gaia talk stops with Speech recognition failed: … when Lemonade cannot transcribe an utterance — usually because the server stopped. The error says how to start it on your system; then run gaia talk again. Talk mode never falls back to a local model.
  • Check microphone permissions
  • Verify microphone is working in other applications
  • Test with: gaia test --test-type asr-microphone
  • Adjust --audio-device-index if multiple microphones
Missing RAG dependencies:
Other issues:
  • PDF processing errors: Ensure PDFs have extractable text (not scanned images)
  • Slow indexing: Use --stats to monitor; larger documents take time
  • Context not used: Verify documents indexed successfully at startup
  • Empty responses: Check PDFs contain extractable text

Best Practices

Optimal Environment

Use in quiet environments for best recognition accuracy

Speech Clarity

Speak clearly and at moderate pace

Model Selection

Balance accuracy vs. performance based on your hardware

Natural Pauses

Use natural pauses to trigger AI responses

Next Steps

Document Q&A

Chat with documents using RAG-powered retrieval

CLI Reference

Explore all command-line options

Development Guide

Build custom voice-enabled agents

Features Overview

Discover all GAIA capabilities