Multi-turn answering-machine detection
You can now follow calls across screeners, voicemail, IVR menus, and hold queues, replying only when the stage needs it. Disable a stage’s reply by setting its instructions to None.
async with AMD(session, voicemail_instructions=None) as detector:
result = await detector.execute()For more on AMD and migration, see Docs
Decision-model fallback
You can fall back within LiveKit Inference or across providers when a decision request fails.
model = inference.DecisionModel(
"openai/gpt-6-luna-decisions", fallback=["google/gemini-decision-1"]
)
model = llm.DecisionModelFallbackAdapter([model, microsoft_ai.DecisionModel()])Wait for a committed turn’s reply
You can now get the transcript and handle for the reply commit_user_turn() already schedules, then wait for playout without generating another reply.
transcript, handle = await session.commit_user_turn(return_handle=True)
if handle is not None:
await handleNew providers and models
- SILMA AI: new TTS plugin for English, Modern Standard Arabic, and Saudi Najdi TTS v2 models.
- ElevenLabs: Scribe v3 Live STT with turn prediction.
- Reson8:
rumble-2STT. - Gnani: Prisma v3.0 STT and Timbre v2.5/v3.0 TTS.
- Zoom: Voice Agent speech-to-speech model.
- Decision models: adds
microsoft-eu/decision-1to the model IDs.
Breaking changes
- AMD: use opening instructions instead of
say()orgenerate_reply()during detection; don’t enter AMD from an activeAgentTask.send_dtmf_eventsno longer requests a reply. - Tavus:
DEFAULT_FACE_IDis removed; set a face explicitly if needed.
Behavior changes
- AssemblyAI: now defaults to
assemblyai-stt-3-7-realtime-agent, including the deprecatedu3-proalias. - Sarvam:
sarvam-105bnow disables reasoning by default on auto-resolved/v2endpoints. - Gnani: TTS now defaults to
timbre-v2.5; retired v2.0 and unsupported multilingual STT configurations fail earlier. - Remote sessions: now require
livekit-protocol>=1.1.31.
Transcription, speech playback, Responses streaming, tool execution, usage reporting, and avatar cleanup are more reliable.
What's Changed
- fix(mistralai): apply conn_options.timeout to batch STT recognize by @Caezarr in #8644
- fix(anthropic): read the cumulative usage of message_delta by @Caezarr in #8663
- fix(elevenlabs): set a request timeout on batch STT recognize by @Caezarr in #8647
- feat: support scribe v3 live turn prediction by @chenghao-mou in #8628
- fix(llm): accept raw response_format dicts in to_openai_response_format by @yibol9768-alt in #8571
- feat(assemblyai): default to assemblyai-stt-3-7-realtime-agent by @dlange-aai in #8680
- feat(reson8): support rumble-2 STT model by @phillip-kil in #8494
- examples(homepage): take page clicks as the caller's turn over RPC by @ShayneP in #8609
- fix(plugins-tavus): end the Tavus conversation when AvatarSession closes by @ggarber in #8625
- ci: create the GitHub release when some plugin uploads fail by @longcw in #8677
- fix(voice): send tool call ids in the remote session's function_tools_executed by @u9g in #8688
- fix(gradium): keep the STT words already transcribed on an error frame by @hhugo-gradium in #8633
- feat(gradium): emit preflight transcripts for preemptive generation by @nvizzari in #8638
- fix(google): bound chunk silence, not the whole request by @iamdgarcia in #7994
- fix(elevenlabs): bound uncommitted partial turns by @rosetta-livekit-bot[bot] in #8698
- feat(llm): add fallback for decision models by @chenghao-mou in #8641
- docs: correct Speechmatics EXTERNAL mode to reflect auto-loaded VAD and manual flush by @detail-app[bot] in #8681
- fix(plugins-tavus): use the pal's own face when no face is given by @ggarber in #8706
- feat: add SILMA AI TTS plugin by @karimouda in #7160
- feat(gnani): add Prisma v3.0 STT and Timbre v3.0 TTS, remove retired timbre-v2.0 by @Gnani-AI-Mintlify in #8287
- fix(sarvam): reconnect on SpeechStream.update_options instead of ending the stream by @neil-sarvam in #8382
- fix(openai): raise when a Responses HTTP stream ends before a terminal event by @HYYAlex in #8705
- feat(sarvam): turn sarvam-105b reasoning off by default by @neil-sarvam in #8377
- fix(sarvam): give the real reason STTRealtime doesn't retry by @neil-sarvam in #8674
- plugins/phonic: support text-only conversations via modalities by @arunwpm-work in #8667
- fix(baseten): honor language passed to STT.stream() by @Dulatormanov in #8437
- fix(neuphonic): keep speaking sentences released after the earlier ones finished by @MohammadHijjawi97 in #8720
- fix(voice): report a toolset that fails to set up as an error event by @Darshak03 in #8724
- fix(openai): don't dispatch Responses function calls that did not complete by @HYYAlex in #8703
- fix(xai, upliftai): report the provider in metrics by @tinalenguyen in #8710
- fix(openai): default null Responses usage counters to zero by @pstrav in #8742
- (py) hand hosted logs to LiveKit Cloud, with one output file per job by @andrewnitu in #8097
- docs(tts): fix fallback docstrings and examples by @russellmartin-livekit in #8685
- docs: clarify adaptive interruption probability estimate by @chenghao-mou in #8738
- feat: add return_handle to commit_user_turn by @chenghao-mou in #8729
- feat: add multi-turn answering-machine detection by @chenghao-mou in #6202
- feat(assemblyai): add mode="manual" for client-side turn detection by @gsharp-aai in #8751
- fix(sarvam): end legacy STT streams cleanly, without losing the last utterance by @neil-sarvam in #8381
- fix(stt): Support external AssemblyAI endpointing by @shawnfeldman in #8610
- perf(inference): Stream Gradium TTS by word by @shawnfeldman in #8682
- fix(llm): send a leading developer message as the system prompt on Anthropic, Google and AWS by @67-luck in #8670
- fix(elevenlabs): send pronunciation dictionaries on the HTTP synthesize path by @ByteMaster-1 in #8745
- feat(sarvam): keyterm prompting on saaras:v4 by @neil-sarvam in #8329
- feat(zoom-ai): add Zoom Voice Agent realtime model by @tendant in #8456
- fix(langchain): don't resend prior replies to a checkpointed LangGraph graph by @Apeksha9389 in #7730
- (py) export the hosted job log file unless the code turns logs off by @andrewnitu in #8765
- livekit-agents@1.9.0 by @github-actions[bot] in #8786
New Contributors
- @Caezarr made their first contribution in #8644
- @yibol9768-alt made their first contribution in #8571
- @nvizzari made their first contribution in #8638
- @karimouda made their first contribution in #7160
- @HYYAlex made their first contribution in #8705
- @Dulatormanov made their first contribution in #8437
- @Darshak03 made their first contribution in #8724
- @67-luck made their first contribution in #8670
- @tendant made their first contribution in #8456
- @Apeksha9389 made their first contribution in #7730
Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.8.13...livekit-agents@1.9.0