livekit-agents@1.5.9

livekit/agentslivekit-agents@1.5.9May 13, 2026by tinalenguyen

AI Summary

Introduces Answering Machine Detection (AMD) and adds Perplexity LLM plugin, along with various fixes for ElevenLabs chunk scheduling and Google STT memory leaks.

Key Highlights

  • Introduces Answering Machine Detection (AMD) for outbound calls.
  • Adds Perplexity LLM plugin.
  • Adds Rime WebSocket streaming TTS support.
  • Fixes ElevenLabs chunk_length_schedule in WS init payload.
  • Adds media resolution option to Gemini LLM and RealtimeModel.

New Features

  • Answering Machine Detection (AMD)
  • Perplexity LLM plugin
  • Rime WebSocket TTS
  • ElevenLabs fixes
  • Gemini media resolution

Full Release Notes

## Introducing Answering Machine Detection

An outbound call can reach a person, voicemail, an IVR menu, or a number that can't accept messages. Answering machine detection (AMD) listens to the start of the call, classifies it with an LLM, and returns a result so your agent can respond appropriately.

Read more about using AMD in [our blog](https://livekit.com/blog/answering-machine-detection).


## What's Changed
* fix(fishaudio): prevent TTS generation hang by @davidzhao in https://github.com/livekit/agents/pull/5649
* add comments to agent side and inference side fallback adapters by @tmshapland in https://github.com/livekit/agents/pull/5654
* fix(amd): fix negative zero in amd delay calculation by @chenghao-mou in https://github.com/livekit/agents/pull/5650
* fix(async-toolset): use underscore in synthetic call_id by @longcw in https://github.com/livekit/agents/pull/5656
* fix(console): set mock participant state to active by @longcw in https://github.com/livekit/agents/pull/5645
* Update LemonSlice integration to use wait_playback_start by @jp-lemon in https://github.com/livekit/agents/pull/5655
* Fix the memory leak of Google STT when no audio input. by @jmuk in https://github.com/livekit/agents/pull/5591
* ci(examples): add separate file for workflow by @tinalenguyen in https://github.com/livekit/agents/pull/5651
* fix: wording in missing required argument error by @carschandler in https://github.com/livekit/agents/pull/5659
* chore(amd): add uncertain branch in example by @chenghao-mou in https://github.com/livekit/agents/pull/5658
* docs(agents): document realtime capabilities by @shizhigu in https://github.com/livekit/agents/pull/5598
* fix(elevenlabs): restore chunk_length_schedule in WS init payload by @IanSteno in https://github.com/livekit/agents/pull/5006
* fix(voice): prevent scheduling deadlock when pipeline task crashes by @theomonnom in https://github.com/livekit/agents/pull/5678
* (elevenlabs tts): add apply_language_text_normalization param by @tinalenguyen in https://github.com/livekit/agents/pull/5679
* (gemini llm): add service tier param by @tinalenguyen in https://github.com/livekit/agents/pull/5680
* Emit AgentConfigUpdate in OTLP session logs by @theomonnom in https://github.com/livekit/agents/pull/5601
* fix(core): clean up variables when committing a user turn manually by @chenghao-mou in https://github.com/livekit/agents/pull/5671
* (deepgram stt): add redact param by @tinalenguyen in https://github.com/livekit/agents/pull/5692
* fix(agents): persist _speech_start_time across intra-turn VAD bursts by @AlessandroElyos in https://github.com/livekit/agents/pull/5585
* fix: pass API key via header in Neuphonic and Murf WebSocket TTS by @u9g in https://github.com/livekit/agents/pull/5691
* fix(core): make default user span time explicit by @chenghao-mou in https://github.com/livekit/agents/pull/5699
* require CanManageAgentSession grant for remote session by @theomonnom in https://github.com/livekit/agents/pull/5487
* test(examples/survey): add TaskGroup testing reference (DOCS-1225) by @kath0la in https://github.com/livekit/agents/pull/5557
* fix(anthropic): raise default httpx read timeout for streaming; add configurable timeout param by @SuperMarioYL in https://github.com/livekit/agents/pull/5529
* fix(examples): consistent CSV schema in survey_agent by @u9g in https://github.com/livekit/agents/pull/5689
* Adding fine-grained VAD params to Sarvam saaras:v3 STT plugin by @dhruvladia-sarvam in https://github.com/livekit/agents/pull/5563
* Update codec config, MIME mapping, and interruption handling by @dhruvladia-sarvam in https://github.com/livekit/agents/pull/5561
* (gradium): update endpoint by @tinalenguyen in https://github.com/livekit/agents/pull/5722
* Revert "require CanManageAgentSession grant for remote session (#5487)" by @chenghao-mou in https://github.com/livekit/agents/pull/5714
* feat(gemini llm): add media resolution option to LLM and RealtimeModel by @csanz91 in https://github.com/livekit/agents/pull/5712
* (inworld tts): add language param by @tinalenguyen in https://github.com/livekit/agents/pull/5723
* fix(core): surface real http_context error from STT streams by @longcw in https://github.com/livekit/agents/pull/5709
* docs: clarify function tools executed event pairing by @nightcityblade in https://github.com/livekit/agents/pull/5701
* feat(workflows): expose dtmf and ringing_timeout on WarmTransferTask by @a-gasior in https://github.com/livekit/agents/pull/5721
* fix(agents): await realtime auto tool reply in RunResult by @longcw in https://github.com/livekit/agents/pull/5702
* chore(amd): update default models and default behavior by @chenghao-mou in https://github.com/livekit/agents/pull/5713
* Add Perplexity LLM plugin by @jliounis in https://github.com/livekit/agents/pull/5610
* fix: raise on unexpected ElevenLabs websocket close by @nightcityblade in https://github.com/livekit/agents/pull/5729
* fix(agents): clear pending auto tool reply future on timeout by @u9g in https://github.com/livekit/agents/pull/5725
* (azure + perplexity): bump versions by @tinalenguyen in https://github.com/livekit/agents/pull/5731
* fix: do not republish tracks on reconnect by @davidzhao in https://github.com/livekit/agents/pull/5698
* chore(amd): add default amd prediction log by @chenghao-mou in https://github.com/livekit/agents/pull/5732
* feat(rime): add WebSocket streaming TTS support by @mcullan in https://github.com/livekit/agents/pull/5663
* livekit-agents@1.5.9 by @github-actions[bot] in https://github.com/livekit/agents/pull/5733

## New Contributors
* @jmuk made their first contribution in https://github.com/livekit/agents/pull/5591
* @shizhigu made their first contribution in https://github.com/livekit/agents/pull/5598
* @SuperMarioYL made their first contribution in https://github.com/livekit/agents/pull/5529
* @nightcityblade made their first contribution in https://github.com/livekit/agents/pull/5701
* @a-gasior made their first contribution in https://github.com/livekit/agents/pull/5721
* @jliounis made their first contribution in https://github.com/livekit/agents/pull/5610

**Full Changelog**: https://github.com/livekit/agents/compare/livekit-agents@1.5.8...livekit-agents@1.5.9