Overview
This plugin allows you to use ElevenLabs as an STT provider for your voice agents.
ElevenLabs STT is also available in LiveKit Inference, with billing and integration handled automatically. See the docs for more information.
Quick reference
This section includes a basic usage example and some reference material. For links to more detailed documentation, see Additional resources.
Installation
Install the plugin from PyPI:
uv add "livekit-agents[elevenlabs]~=1.2"
Authentication
The ElevenLabs plugin requires an ElevenLabs API key.
Set ELEVEN_API_KEY in your .env file.
Usage
Use ElevenLabs 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 elevenlabssession = AgentSession(stt=elevenlabs.STT(model="scribe_v2_realtime",),# ... llm, tts, etc.)
Parameters
This section describes some of the available parameters. See the plugin reference links in the Additional resources section for more details.
The ElevenLabs model to use for speech recognition.
Additional resources
The following resources provide more information about using ElevenLabs with LiveKit Agents.