Moses for LiveKit Agents

livekit-plugins-moses adds Moses realtime speech-to-text and text-to-speech to LiveKit Agents. Audio, text and transcripts are processed in Germany and not stored. Keys: API console (with the TTS and STT scopes). Prices: pricing.

Install

pip install livekit-plugins-moses

Use

from livekit.agents import AgentSession
from livekit.plugins import moses, openai, silero

session = AgentSession(
    vad=silero.VAD.load(),
    stt=moses.STT(language="de"),                        # None detects the language
    llm=openai.LLM(model="gpt-4.1-mini"),
    tts=moses.TTS(voice="german/juergen", language="de"),
)

The key is read from MOSES_API_KEY unless you pass api_key.

Limits

Each agent session uses one STT stream and one TTS connection. Accounts start with 2 of each at once; ask via Support for more. A wrong key, a key without the needed scope or no credit raises a non-retryable error. Without the plugin, LiveKit's OpenAI plugin works too: OpenAI compatibility.

Source and example

Source, a complete agent example (python examples/agent.py console talks in the terminal) and the changelog: PyPI and GitHub. Tested with LiveKit Agents 1.9. Apache 2.0.