Skip to content

livekit-agents@1.9.0

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 18:33
· 2 commits to main since this release
8f2fa50

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 handle

New 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-2 STT.
  • 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-1 to the model IDs.

Breaking changes

  • AMD: use opening instructions instead of say() or generate_reply() during detection; don’t enter AMD from an active AgentTask. send_dtmf_events no longer requests a reply.
  • Tavus: DEFAULT_FACE_ID is removed; set a face explicitly if needed.

Behavior changes

  • AssemblyAI: now defaults to assemblyai-stt-3-7-realtime-agent, including the deprecated u3-pro alias.
  • Sarvam: sarvam-105b now disables reasoning by default on auto-resolved /v2 endpoints.
  • 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

Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.8.13...livekit-agents@1.9.0