# Python livekit-agents 1.4.0 released

**URL:** <https://community.livekit.io/t/python-livekit-agents-1-4-0-released/264>\
**Category:** Announcements\
**Tags:** agent-development, python\
**Created:** [February 6, 2026, 9:28pm UTC](https://community.livekit.io/t/python-livekit-agents-1-4-0-released/264 "2026-02-06T21:28:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CWilson](https://sea1.discourse-cdn.com/flex001/user_avatar/community.livekit.io/cwilson/32/135_2.png) [@CWilson](https://community.livekit.io/u/CWilson)\
**Post date:** [February 6, 2026, 9:28pm UTC](https://community.livekit.io/t/python-livekit-agents-1-4-0-released/264/1 "2026-02-06T21:28:16Z")

</div>

[GitHub - livekit/agents: A framework for building realtime voice AI agents 🤖🎙️📹 · GitHub](http://github.com/livekit/agents) [change log](https://github.com/livekit/agents/releases/tag/livekit-agents%401.4.0)

Python 3.14 Support & Python 3.9 Dropped\*\*

This release adds **support for Python 3.14** and **drops support for Python 3.9**. The minimum supported version is now **Python 3.10**.

## **Tool Improvements**

Tools and toolsets now have **stable, unique IDs** , making it possible to reference and filter tools programmatically. Changes to agent configuration (instructions, tools) are now tracked in conversation history via `AgentConfigUpdate`.

## **`LLMStream.collect()` API**

A new `LLMStream.collect()` API makes it significantly easier to use LLMs outside of `AgentSession`. You can now call an LLM, collect the full response, and execute tool calls with a straightforward API — useful for background tasks, pre-processing, or any workflow where you need LLM capabilities without the full voice agent pipeline.

```auto
from livekit.agents import llm

response = await my_llm.chat(chat_ctx=ctx, tools=tools).collect()

for tc in response.tool_calls:
    result = await llm.execute_function_call(tc, tool_ctx)
    ctx.insert(result.fnc_call)
    if result.fnc_call_out:
        ctx.insert(result.fnc_call_out)

```

## **Manual Turn Detection for Realtime Models**

Realtime models now support `commit_user_turn`, enabling `turn_detection="manual"` mode. This gives you full control over when user turns are committed — useful for push-to-talk interfaces or scenarios where automatic VAD-based turn detection isn’t ideal.

```auto
@ctx.room.local_participant.register_rpc_method("end_turn")
async def end_turn(data: rtc.RpcInvocationData):
    session.input.set_audio_enabled(False)
    session.commit_user_turn(
        transcript_timeout=10.0,
        stt_flush_duration=2.0,
    )

```

## **Job Migration on Reconnection**

When the agent server temporarily loses connection and reconnects, **active jobs are now automatically migrated** rather than being dropped. This significantly improves reliability during transient network issues.

## **False Interruption Fix**

Fixed a bug where late end-of-speech events could trigger duplicate false interruption timers, causing the agent to incorrectly stop speaking. The agent now properly deduplicates these events and tracks STT completion state more reliably.

### **New Providers & Plugins**

- **xAI Responses LLM** — Use xAI’s Responses API via `xai.responses.LLM()`

- **Azure OpenAI Responses** — Azure-hosted Responses API via `azure.responses.LLM()`, with support for deployments and Azure auth

- **Camb.ai TTS** — New TTS plugin powered by the MARS model family (mars-flash, mars-pro, mars-instruct), with voice selection, language control, and style instructions

- **Avatario Avatar** — Virtual avatar plugin with session management and API client

## **What’s Changed**

- feat(azure/stt): TrueText post processing option added to STTOptions by **[@rafallezanko](https://github.com/rafallezanko)** in [#4557](https://github.com/livekit/agents/pull/4557)

- chore(README): remove STT and LLM API key configuration from LemonSlice example as not needed. by **[@codeSTACKr](https://github.com/codeSTACKr)** in [#4589](https://github.com/livekit/agents/pull/4589)

- fix: Add thread-safe initialization to \_DefaultLoadCalc singleton by **[@darshankparmar](https://github.com/darshankparmar)** in [#4585](https://github.com/livekit/agents/pull/4585)

- add missing plugins to dependencies by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4593](https://github.com/livekit/agents/pull/4593)

- \_setup\_cloud\_tracer still overrides TracerProviders due to checking the wrong base class by **[@hudson-worden](https://github.com/hudson-worden)** in [#4584](https://github.com/livekit/agents/pull/4584)

- fix(google): add thought\_signature support for Gemini 2.5 models by **[@gdoermann](https://github.com/gdoermann)** in [#4595](https://github.com/livekit/agents/pull/4595)

- remove shortcut inference STT model name by **[@longcw](https://github.com/longcw)** in [#4594](https://github.com/livekit/agents/pull/4594)

- Increase read\_bufsize in minimax tts plugin by **[@jose-speak](https://github.com/jose-speak)** in [#4590](https://github.com/livekit/agents/pull/4590)

- refactor(rtzr): FlushSentinel-based segment control and type safety improvements by **[@kimdwkimdw](https://github.com/kimdwkimdw)** in [#4565](https://github.com/livekit/agents/pull/4565)

- improve EndCallTool by **[@longcw](https://github.com/longcw)** in [#4563](https://github.com/livekit/agents/pull/4563)

- Fix: Add ‘required’ field to function\_tool schema for Groq compatibility by **[@VinayJogani14](https://github.com/VinayJogani14)** in [#4613](https://github.com/livekit/agents/pull/4613)

- fix: avoid modifying original raw tool description by **[@davidzhao](https://github.com/davidzhao)** in [#4616](https://github.com/livekit/agents/pull/4616)

- continue instead of return in InferenceProcExecutor loop by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4612](https://github.com/livekit/agents/pull/4612)

- add xai responses llm by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4618](https://github.com/livekit/agents/pull/4618)

- move xAI tools to separate file by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4624](https://github.com/livekit/agents/pull/4624)

- (xAI): backward compatibility for tools by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4625](https://github.com/livekit/agents/pull/4625)

- update inference models to match the latest by **[@davidzhao](https://github.com/davidzhao)** in [#4597](https://github.com/livekit/agents/pull/4597)

- AssemblyAI added EU streaming endpoint option by **[@ftsef](https://github.com/ftsef)** in [#4571](https://github.com/livekit/agents/pull/4571)

- feat: Add Camb.ai TTS plugin by **[@eRuaro](https://github.com/eRuaro)** in [#4442](https://github.com/livekit/agents/pull/4442)

- prevent duplicate false interruption due to late end of speech by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4621](https://github.com/livekit/agents/pull/4621)

- feat: add customization bithuman gpu avatar endpoint handling by **[@CathyL0](https://github.com/CathyL0)** in [#4390](https://github.com/livekit/agents/pull/4390)

- plugin/liveavatar implement sandbox on liveavatar by **[@arthurnumen](https://github.com/arthurnumen)** in [#4635](https://github.com/livekit/agents/pull/4635)

- add asyncai to pyproject by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4636](https://github.com/livekit/agents/pull/4636)

- feat: avatario avatar plugin by **[@Saksham209](https://github.com/Saksham209)** in [#4114](https://github.com/livekit/agents/pull/4114)

- add azure openai responses by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4619](https://github.com/livekit/agents/pull/4619)

- (openai realtime): add truncation param by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4642](https://github.com/livekit/agents/pull/4642)

- fix: 11Labs Scribe v2 model not working with EOT prediction model by **[@Ludobaka](https://github.com/Ludobaka)** in [#4601](https://github.com/livekit/agents/pull/4601)

- (taskgroup): support on\_complete callback functions by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4628](https://github.com/livekit/agents/pull/4628)

- add `id` to tools by **[@theomonnom](https://github.com/theomonnom)** in [#4653](https://github.com/livekit/agents/pull/4653)

- allow 499 retry by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4637](https://github.com/livekit/agents/pull/4637)

- AGT-2474: add commit user turn support for realtime models by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4622](https://github.com/livekit/agents/pull/4622)

- fix(liveavatar): emit playback\_finished on AudioSegmentEnd by **[@MSameerAbbas](https://github.com/MSameerAbbas)** in [#4669](https://github.com/livekit/agents/pull/4669)

- add `AgentConfigUpdate` & initial judges by **[@theomonnom](https://github.com/theomonnom)** in [#4547](https://github.com/livekit/agents/pull/4547)

- fix tests & ruff by **[@theomonnom](https://github.com/theomonnom)** in [#4672](https://github.com/livekit/agents/pull/4672)

- (minimax): add language boost param by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4667](https://github.com/livekit/agents/pull/4667)

- remove accidentally committed files by **[@theomonnom](https://github.com/theomonnom)** in [#4673](https://github.com/livekit/agents/pull/4673)

- fix duplicated openai realtime remote content by **[@longcw](https://github.com/longcw)** in [#4657](https://github.com/livekit/agents/pull/4657)

- use text streams & custom rpc logic by **[@theomonnom](https://github.com/theomonnom)** in [#4677](https://github.com/livekit/agents/pull/4677)

- remove chat\_ctx size limit by **[@theomonnom](https://github.com/theomonnom)** in [#4678](https://github.com/livekit/agents/pull/4678)

- clean up metrics export from traces by **[@davidzhao](https://github.com/davidzhao)** in [#4679](https://github.com/livekit/agents/pull/4679)

- `LLMStream.collect` API & external easier tool executions by **[@theomonnom](https://github.com/theomonnom)** in [#4680](https://github.com/livekit/agents/pull/4680)

- update openai responses default model by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4681](https://github.com/livekit/agents/pull/4681)

- fix(google): improve error message for model/API mismatch in Realtime API by **[@cdutr](https://github.com/cdutr)** in [#4611](https://github.com/livekit/agents/pull/4611)

- fix keyterm in Deepgram by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4684](https://github.com/livekit/agents/pull/4684)

- Expose ws close code and error messages by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4683](https://github.com/livekit/agents/pull/4683)

- fix: improve handling of 499 status code by **[@davidzhao](https://github.com/davidzhao)** in [#4685](https://github.com/livekit/agents/pull/4685)

- support wrapped tools with a warning message by **[@longcw](https://github.com/longcw)** in [#4674](https://github.com/livekit/agents/pull/4674)

- fix(transcription): prevent stale synchronizer impls ([#4486](https://github.com/livekit/agents/issues/4486)) by **[@furious-luke](https://github.com/furious-luke)** in [#4686](https://github.com/livekit/agents/pull/4686)

- Add rtzr plugin to optional dependencies by **[@zach-iee](https://github.com/zach-iee)** in [#4631](https://github.com/livekit/agents/pull/4631)

- feat(langgraph): add custom stream mode support in LangChain LLMAdapter by **[@keenranger](https://github.com/keenranger)** in [#4511](https://github.com/livekit/agents/pull/4511)

- Add room deletion timeout and cancellation by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4638](https://github.com/livekit/agents/pull/4638)

- add TaskCompletedEvent import by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4688](https://github.com/livekit/agents/pull/4688)

- prevent tool cancellation when AgentTask is called inside it by **[@longcw](https://github.com/longcw)** in [#4586](https://github.com/livekit/agents/pull/4586)

- fix gemini live tool execution interrupted by generation\_complete event by **[@longcw](https://github.com/longcw)** in [#4699](https://github.com/livekit/agents/pull/4699)

- add STT usage for google by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4599](https://github.com/livekit/agents/pull/4599)

- fix: commit user turn with STT and realtime by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4663](https://github.com/livekit/agents/pull/4663)

- add exclude\_config\_update to ChatContext copy by **[@longcw](https://github.com/longcw)** in [#4700](https://github.com/livekit/agents/pull/4700)

- add require\_confirmation param for built-in tasks by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4698](https://github.com/livekit/agents/pull/4698)

- Fix wrong “timestamp” parameter in livekit-plugins-spitch stt.py by **[@pabloFuente](https://github.com/pabloFuente)** in [#4702](https://github.com/livekit/agents/pull/4702)

- Update readme and examples to use deepgram nova-3 by **[@bcherry](https://github.com/bcherry)** in [#4697](https://github.com/livekit/agents/pull/4697)

- set exclude\_config\_update by **[@longcw](https://github.com/longcw)** in [#4709](https://github.com/livekit/agents/pull/4709)

- Restore Python 3.14 support by updating livekit-blingfire to 1.1 by **[@Abivarman123](https://github.com/Abivarman123)** in [#4710](https://github.com/livekit/agents/pull/4710)

- add ChatContext.messages() by **[@theomonnom](https://github.com/theomonnom)** in [#4712](https://github.com/livekit/agents/pull/4712)

- migrate jobs on reconnection by **[@theomonnom](https://github.com/theomonnom)** in [#4711](https://github.com/livekit/agents/pull/4711)

- use ChatMessage.messages() where applicable by **[@theomonnom](https://github.com/theomonnom)** in [#4713](https://github.com/livekit/agents/pull/4713)

- chore(docs): ditch the v0 docs and promote v1 docs to main path by **[@rektdeckard](https://github.com/rektdeckard)** in [#4695](https://github.com/livekit/agents/pull/4695)

- filter tools by id by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4723](https://github.com/livekit/agents/pull/4723)

- support python 3.14 by **[@theomonnom](https://github.com/theomonnom)** in [#4727](https://github.com/livekit/agents/pull/4727)

- Fix: Added stt lang parsing and tts voice parsing to the constructors by **[@adrian-cowham](https://github.com/adrian-cowham)** in [#4726](https://github.com/livekit/agents/pull/4726)

- fix (liveavatar): restore interruption handling and track avatar speaking state by **[@tinalenguyen](https://github.com/tinalenguyen)** in [#4725](https://github.com/livekit/agents/pull/4725)

- update padding warning message and silence subsequent ones by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4733](https://github.com/livekit/agents/pull/4733)

- fix: Add default google tts model selection for backward compatibility by **[@chenghao-mou](https://github.com/chenghao-mou)** in [#4731](https://github.com/livekit/agents/pull/4731)

- fix uv lock file & drop python 3.9 support & upgrade dependencies by **[@theomonnom](https://github.com/theomonnom)** in [#4728](https://github.com/livekit/agents/pull/4728)

- automatically close openai client by **[@theomonnom](https://github.com/theomonnom)** in [#4735](https://github.com/livekit/agents/pull/4735)

- update gitignore by **[@theomonnom](https://github.com/theomonnom)** in [#4737](https://github.com/livekit/agents/pull/4737)

- fix speaking\_rate inference by **[@theomonnom](https://github.com/theomonnom)** in [#4738](https://github.com/livekit/agents/pull/4738)

- livekit-agents 1.4.0 by **[@theomonnom](https://github.com/theomonnom)** in [#4739](https://github.com/livekit/agents/pull/4739)

## **New Contributors**

- **[@codeSTACKr](https://github.com/codeSTACKr)** made their first contribution in [#4589](https://github.com/livekit/agents/pull/4589)

- **[@hudson-worden](https://github.com/hudson-worden)** made their first contribution in [#4584](https://github.com/livekit/agents/pull/4584)

- **[@gdoermann](https://github.com/gdoermann)** made their first contribution in [#4595](https://github.com/livekit/agents/pull/4595)

- **[@jose-speak](https://github.com/jose-speak)** made their first contribution in [#4590](https://github.com/livekit/agents/pull/4590)

- **[@VinayJogani14](https://github.com/VinayJogani14)** made their first contribution in [#4613](https://github.com/livekit/agents/pull/4613)

- **[@ftsef](https://github.com/ftsef)** made their first contribution in [#4571](https://github.com/livekit/agents/pull/4571)

- **[@eRuaro](https://github.com/eRuaro)** made their first contribution in [#4442](https://github.com/livekit/agents/pull/4442)

- **[@arthurnumen](https://github.com/arthurnumen)** made their first contribution in [#4635](https://github.com/livekit/agents/pull/4635)

- **[@Saksham209](https://github.com/Saksham209)** made their first contribution in [#4114](https://github.com/livekit/agents/pull/4114)

- **[@Ludobaka](https://github.com/Ludobaka)** made their first contribution in [#4601](https://github.com/livekit/agents/pull/4601)

- **[@cdutr](https://github.com/cdutr)** made their first contribution in [#4611](https://github.com/livekit/agents/pull/4611)

- **[@keenranger](https://github.com/keenranger)** made their first contribution in [#4511](https://github.com/livekit/agents/pull/4511)

- **[@Abivarman123](https://github.com/Abivarman123)** made their first contribution in [#4710](https://github.com/livekit/agents/pull/4710)

**Full Changelog** : [https://github.com/livekit/agents/compare/livekit-agents@1.3.12…livekit-agents@1.4.0](https://github.com/livekit/agents/compare/livekit-agents@1.3.12...livekit-agents@1.4.0)
