Overview
Spitch provides AI-powered speech and language solutions optimized for African languages. With LiveKit's Spitch STT integration and the Agents framework, you can build voice AI agents that understand speech in a variety of African languages.
Quick reference
This section provides a quick reference for the Spitch STT plugin. For more information, see Additional resources.
Installation
Install the plugin from PyPI:
pip install "livekit-agents[spitch]~=1.0"
Authentication
The Spitch plugin requires a Spitch API key.
Set SPITCH_API_KEY
in your .env
file.
Usage
Use Spitch STT in an AgentSession
or as a standalone transcription service. For example, you can use this STT in the Voice AI quickstart.
from livekit.plugins import spitchsession = AgentSession(stt=spitch.STT(language="en",),# ... llm, tts, etc.)
Parameters
This section describes some of the available parameters. See the plugin reference for a complete list of all available parameters.
Language short code of the input speech. For supported values, see Spitch languages.
Additional resources
The following resources provide more information about using Spitch with LiveKit Agents.
Python package
The livekit-plugins-spitch
package on PyPI.
Plugin reference
Reference for the Spitch STT plugin.
GitHub repo
View the source or contribute to the LiveKit Spitch STT plugin.
Spitch docs
Spitch's official documentation.
Voice AI quickstart
Get started with LiveKit Agents and Spitch.
Spitch TTS
Guide to the Spitch TTS integration with LiveKit Agents.