LiveKit Agents 1.9 landed on 25 November 2026, and it is one of the more useful releases this year for anyone building voice AI that has to make real phone calls. The headline is a new multi-turn answering-machine detector (AMD) that can follow a call through call screeners, voicemail greetings, IVR menus and hold queues, and only speak when the stage actually needs it. The release also adds fallbacks for decision models and a cleaner way to wait for the reply to a manually committed user turn.
This guide walks through the three changes you are most likely to use, shows the code, and lists the breaking changes to check before you upgrade. Everything here comes from the official 1.9.0 release notes and the docstrings in the published livekit-agents==1.9.0 package.
Upgrading to LiveKit Agents 1.9
Install or upgrade the core package (plus whichever provider plugins you use):
pip install --upgrade "livekit-agents==1.9.0"
python -c "import livekit.agents as a; print(a.__version__)" # 1.9.0
If you use remote sessions, note that they now require livekit-protocol>=1.1.31, so let pip resolve that dependency rather than pinning an older version.
Multi-turn answering-machine detection
Outbound calling agents have always had the same awkward problem: the first voice the agent hears might be a person, a voicemail greeting, a carrier’s call screener (“Please say your name and why you are calling”) or a phone menu. Older AMD approaches made a single guess early in the call. In 1.9, the AMD class keeps classifying turn by turn and moves the call through stages.
The categories exposed by the SDK are human, machine-ivr, machine-screening, machine-vm, machine-unavailable, wait and uncertain. For each machine stage you can give the agent instructions, or set them to None to stop at that stage without replying.
Basic usage
Start your AgentSession first, then enter AMD before you create the SIP participant for the outbound call. execute() waits for detection to complete and returns an AMDCompletedEvent.
from livekit.agents import AMD, AgentSession
async def run_outbound_call(session: AgentSession, place_call):
async with AMD(
session,
screening_instructions=(
"You are calling from Acme Dental about tomorrow's appointment. "
"Answer the screener briefly, then wait."
),
voicemail_instructions=(
"Leave one short message: Acme Dental calling to confirm tomorrow's "
"10 am appointment. Call 555-0100 to reschedule."
),
ivr_instructions=None, # stop as soon as we hit a phone menu
) as detector:
await place_call() # create the SIP participant here
result = await detector.execute()
print(result.category, result.reason, result.voicemail_message_played)
return result
The completed event carries category, reason, voicemail_message_played and last_prediction, which is enough to log the outcome or decide whether to retry the call later.
Skipping a stage’s reply
The release notes highlight one pattern in particular: setting a stage’s instructions to None disables the reply for that stage. If you only want to know whether a call reached voicemail, and you never want to leave a message, do this:
async with AMD(session, voicemail_instructions=None) as detector:
result = await detector.execute()
if result.category == "machine-vm":
schedule_retry()
According to the docstring, None for voicemail_instructions completes detection at the first voicemail prediction without playing a message. None for screening_instructions completes when the call enters screening, and None for ivr_instructions completes when the call enters an IVR, without menu extraction.
Letting the agent speak first
By default the other party speaks first. If your use case needs the agent to open the call, use opening_text (fixed text) or opening_instructions (a generated reply), but not both. Do not also start speech in on_enter, because AMD holds that speech and the opening then waits behind it.
Other knobs worth knowing
The constructor exposes timeouts you will probably tune in production: idle_timeout, voicemail_idle_timeout, the overall timeout (60 seconds by default), inference_timeout, machine_silence_threshold and max_uncertain_turns. You can also pass your own llm and stt. If you leave them out and LiveKit Cloud credentials are available, the SDK picks LiveKit Inference defaults; pass None to always use the current agent’s LLM or only the session transcript.
Decision-model fallback
LiveKit’s decision models are small models used for yes/no or multiple-choice decisions inside an agent. In 1.9 a failed decision request can fall back to another model, either inside LiveKit Inference or across providers.
The simplest version is the new fallback argument on inference.DecisionModel:
from livekit.agents import inference
decider = inference.DecisionModel(
"openai/gpt-6-luna-decisions",
fallback=["google/gemini-decision-1"],
)
To mix providers, wrap several decision models in the new adapter:
from livekit.agents import inference, llm
from livekit.plugins import microsoft_ai # provider plugin, installed separately
decider = llm.DecisionModelFallbackAdapter([
inference.DecisionModel("openai/gpt-6-luna-decisions"),
microsoft_ai.DecisionModel(),
])
Both snippets mirror the release notes. The release also adds microsoft-eu/decision-1 to the list of decision model IDs, which helps if you need EU hosting.
Waiting for a committed turn’s reply
If you run push-to-talk or any flow where your code decides when the user’s turn is over, you call session.commit_user_turn(). That call already schedules a reply. Before 1.9 it was awkward to wait for that specific reply to finish playing without accidentally generating a second one.
Now you can ask for the reply handle:
transcript, handle = await session.commit_user_turn(return_handle=True)
print("User said:", transcript)
if handle is not None:
await handle # wait until the agent's reply has finished playing
The handle is None if no reply was scheduled. You can still pass skip_reply=True when you only want the transcript added to chat history.
New providers and models
The 1.9 release adds or updates several plugins:
- SILMA AI: a new TTS plugin for English, Modern Standard Arabic and Saudi Najdi.
- ElevenLabs: Scribe v3 Live STT with turn prediction.
- Reson8: the
rumble-2STT model. - Gnani: Prisma v3.0 STT and Timbre v2.5/v3.0 TTS.
- Zoom: a Voice Agent speech-to-speech model.
Breaking and behaviour changes to check
Read this list before you bump the version in production:
- AMD: use the opening options instead of calling
say()orgenerate_reply()during detection, and don’t enter AMD from an activeAgentTask.send_dtmf_eventsno longer requests a reply. - Tavus:
DEFAULT_FACE_IDis removed, so set a face explicitly if you relied on it. - AssemblyAI now defaults to
assemblyai-stt-3-7-realtime-agent, including for the deprecatedu3-proalias. - Sarvam:
sarvam-105bdisables reasoning by default on auto-resolved/v2endpoints. - Gnani TTS defaults to
timbre-v2.5, and retired configurations now fail earlier. - Remote sessions require
livekit-protocol>=1.1.31.
The notes also mention reliability fixes for transcription, speech playback, Responses API streaming, tool execution, usage reporting and avatar cleanup.
A quick upgrade checklist
- Upgrade in a staging environment and search your code for
say(orgenerate_reply(calls that run during answering-machine detection. - If you use Tavus avatars, set the face ID explicitly.
- Check whether your AssemblyAI, Sarvam or Gnani defaults changed in a way that affects latency or cost.
- Replace any home-grown voicemail detection with
AMDand logresult.categoryfor a week to see how calls actually break down. - Add a decision-model fallback anywhere a failed decision would stall the conversation.
Takeaway
LiveKit Agents 1.9 is mainly a telephony release. Multi-turn AMD fixes a real pain point for outbound voice agents: your bot can now get past a screener, leave exactly one voicemail, or hang up at an IVR, depending on what you configure. Decision-model fallbacks and commit_user_turn(return_handle=True) are smaller changes, but they remove two common sources of awkward workarounds. Read the AMD documentation for migration details, then upgrade a staging agent first.
