# \#agent-sdk-python

**URL:** https://community.livekit.io/tag/agent-sdk-python/5.md

[Latest](https://community.livekit.io/latest.md) · [Categories](https://community.livekit.io/categories.md) · [Tags](https://community.livekit.io/tags.md)

---

## [Getting a voice plugin merged into LiveKit Agents: what 178 attempts show](https://community.livekit.io/t/getting-a-voice-plugin-merged-into-livekit-agents-what-178-attempts-show/2592)

<div class="topic-metadata">

**Author:** [@Rehan\_Sanjay\_Venkatesan](https://community.livekit.io/u/Rehan_Sanjay_Venkatesan)\
**Replies:** 2\
**Last updated:** [November 24, 2026, 10:09am UTC](https://community.livekit.io/t/getting-a-voice-plugin-merged-into-livekit-agents-what-178-attempts-show/2592 "2026-11-24T10:09:16Z")

</div>

Numbers from public GitHub data on livekit/agents, outside pull requests that add a plugin, opened since October 2025. If you run a speech-to-text, text-to-speech or voice-model company, getting your plugin into LiveKit…

---

## [Sophon-Realtime: open-weights, self-hosted OpenAI Realtime alternative that works with RealtimeModel(base\_url=...)](https://community.livekit.io/t/sophon-realtime-open-weights-self-hosted-openai-realtime-alternative-that-works-with-realtimemodel-base-url/2468)

<div class="topic-metadata">

**Author:** [@jie\_jin](https://community.livekit.io/u/jie_jin)\
**Replies:** 3\
**Last updated:** [November 21, 2026, 2:25am UTC](https://community.livekit.io/t/sophon-realtime-open-weights-self-hosted-openai-realtime-alternative-that-works-with-realtimemodel-base-url/2468 "2026-11-21T02:25:24Z")

</div>

We just released Sophon-Realtime v1, an open full-duplex voice model family (Apache-2.0). Its Live gateway speaks the OpenAI Realtime protocol (GA event names, function calling, barge-in truncation, PCM16 and G.711), so …

---

## [Agent simulations hit the new 2 KB attribute limit](https://community.livekit.io/t/agent-simulations-hit-the-new-2-kb-attribute-limit/2570)

<div class="topic-metadata">

**Author:** [@lukas1](https://community.livekit.io/u/lukas1)\
**Replies:** 3\
**Last updated:** [November 20, 2026, 9:02am UTC](https://community.livekit.io/t/agent-simulations-hit-the-new-2-kb-attribute-limit/2570 "2026-11-20T09:02:10Z")

</div>

Running lk agent simulate text --scenarios scenarios.yaml on Cloud fails with: failed to create room: attribute size exceeds limits lk. attributes max size 2048 The simulator embeds the full scenario including instruct…

---

## [Turn detector ends the turn mid-number when callers read phone numbers / PINs: measurements and a drop-in fix](https://community.livekit.io/t/turn-detector-ends-the-turn-mid-number-when-callers-read-phone-numbers-pins-measurements-and-a-drop-in-fix/2519)

<div class="topic-metadata">

**Author:** [@Rehan\_Sanjay\_Venkatesan](https://community.livekit.io/u/Rehan_Sanjay_Venkatesan)\
**Replies:** 5\
**Last updated:** [November 18, 2026, 5:53pm UTC](https://community.livekit.io/t/turn-detector-ends-the-turn-mid-number-when-callers-read-phone-numbers-pins-measurements-and-a-drop-in-fix/2519 "2026-11-18T17:53:50Z")

</div>

People read phone numbers and PIN codes in chunks (“nine eight four zero one … two three four five six”), and the pause in the middle can end the turn, so the agent replies to half a number. I measured how often, on 341…

---

## [How to modify turn\_handling.interruption while Session is running?](https://community.livekit.io/t/how-to-modify-turn-handling-interruption-while-session-is-running/2517)

<div class="topic-metadata">

**Author:** [@Kevin\_Quijano](https://community.livekit.io/u/Kevin_Quijano)\
**Replies:** 1\
**Last updated:** [November 12, 2026, 4:25pm UTC](https://community.livekit.io/t/how-to-modify-turn-handling-interruption-while-session-is-running/2517 "2026-11-12T16:25:47Z")

</div>

Hi, I’d like to know if I can modify initial configuration of turn\_handling.interruption ( to set enabled: True|False) at any point of a running session? Or if there’s another strategy to, globally, disable/enable inter…

---

## [A way to cut agent job memory by 86% and start processes 25× faster](https://community.livekit.io/t/a-way-to-cut-agent-job-memory-by-86-and-start-processes-25x-faster/2504)

<div class="topic-metadata">

**Author:** [@Tanish\_Desai](https://community.livekit.io/u/Tanish_Desai)\
**Replies:** 1\
**Last updated:** [November 11, 2026, 9:36am UTC](https://community.livekit.io/t/a-way-to-cut-agent-job-memory-by-86-and-start-processes-25x-faster/2504 "2026-11-11T09:36:09Z")

</div>

The hidden cost of every new job Every time a LiveKit agent picks up a new job on Linux, it starts a fresh process. That process is forked from a forkserver, a small parent process whose whole purpose is to make new work…

---

## [Can I change silero VAD and use a provider to detect interruptions](https://community.livekit.io/t/can-i-change-silero-vad-and-use-a-provider-to-detect-interruptions/2458)

<div class="topic-metadata">

**Author:** [@Kevin\_Quijano](https://community.livekit.io/u/Kevin_Quijano)\
**Replies:** 10\
**Last updated:** [November 10, 2026, 2:49pm UTC](https://community.livekit.io/t/can-i-change-silero-vad-and-use-a-provider-to-detect-interruptions/2458 "2026-11-10T14:49:02Z")

</div>

Hi there I’d like to know if I can change the silero VAD and use another provider that implements VAD/Turn detection (like assemblyai STT or another one) to detect user interruptions? (for a full self-hosted deployment:…

---

## [Sharing: Talking Avatar avatar plugin for LiveKit Agents (PR #8491)](https://community.livekit.io/t/sharing-talking-avatar-avatar-plugin-for-livekit-agents-pr-8491/2486)

<div class="topic-metadata">

**Author:** [@Tushar\_Tuteja](https://community.livekit.io/u/Tushar_Tuteja)\
**Replies:** 1\
**Last updated:** [November 10, 2026, 9:25am UTC](https://community.livekit.io/t/sharing-talking-avatar-avatar-plugin-for-livekit-agents-pr-8491/2486 "2026-11-10T09:25:49Z")

</div>

Hi everyone, I’m the co-founder and CTO of Talking Avatar. We’ve opened PR #8491 adding livekit-plugins-talkingavatar: a photorealistic avatar that joins the room and speaks your agent’s voice with lip sync, from any LLM…

---

## [How to connect your personal phone to LiveKit (no SIP trunk)](https://community.livekit.io/t/how-to-connect-your-personal-phone-to-livekit-no-sip-trunk/2430)

<div class="topic-metadata">

**Author:** [@Nikita\_Podelenko1](https://community.livekit.io/u/Nikita_Podelenko1)\
**Replies:** 1\
**Last updated:** [November 2, 2026, 7:45pm UTC](https://community.livekit.io/t/how-to-connect-your-personal-phone-to-livekit-no-sip-trunk/2430 "2026-11-02T19:45:26Z")

</div>

Made repo to call from your phone with your agent. Like outbound calls example from livekit docs but no twilio, no sip trunk, nothing external. $15 bluetooth dongle, phone thinks its a car. Call goes to livekit room, age…

---

## [GPT-Live assistant intermittently silent 24-36s after input, resumes on caller re-entry](https://community.livekit.io/t/gpt-live-assistant-intermittently-silent-24-36s-after-input-resumes-on-caller-re-entry/2405)

<div class="topic-metadata">

**Author:** [@Athanasios\_Papachristou](https://community.livekit.io/u/Athanasios_Papachristou)\
**Replies:** 7\
**Last updated:** [October 31, 2026, 4:01pm UTC](https://community.livekit.io/t/gpt-live-assistant-intermittently-silent-24-36s-after-input-resumes-on-caller-re-entry/2405 "2026-10-31T16:01:00Z")

</div>

We use a LiveKit Cloud-hosted Python SIP agent with gpt-live-1 over WebSocket and Responses delegation (livekit-agents and livekit-plugins-openai 1.8.2; openai Python 2.54.0; custom instrumented application bridge). In …

---

## [Tool choice set to 'none', ignoring](https://community.livekit.io/t/tool-choice-set-to-none-ignoring/2339)

<div class="topic-metadata">

**Author:** [@Kevin\_Quijano](https://community.livekit.io/u/Kevin_Quijano)\
**Replies:** 1\
**Last updated:** [October 26, 2026, 10:00am UTC](https://community.livekit.io/t/tool-choice-set-to-none-ignoring/2339 "2026-10-26T10:00:36Z")

</div>

Hi, sometimes in my app I’m getting this warning: ‘received a tool call with tool\_choice set to ‘none’, ignoring’ What does this even mean? Thanks in advance for any help

---

## [GPT-Live 1: diagnosing an early AgentSession startup error before session.started (Python SDK 1.8.8)](https://community.livekit.io/t/gpt-live-1-diagnosing-an-early-agentsession-startup-error-before-session-started-python-sdk-1-8-8/2319)

<div class="topic-metadata">

**Author:** [@medianza](https://community.livekit.io/u/medianza)\
**Replies:** 1\
**Last updated:** [October 21, 2026, 10:25am UTC](https://community.livekit.io/t/gpt-live-1-diagnosing-an-early-agentsession-startup-error-before-session-started-python-sdk-1-8-8/2319 "2026-10-21T10:25:20Z")

</div>

I am troubleshooting a small browser-only voice prototype using a local Python agent and LiveKit Cloud. This is direct OpenAI GPT-Live, not OpenAI Realtime and not LiveKit Inference. No SIP/PSTN is involved in these test…

---

## [Mobile speakerphone echo makes the agent interrupt itself mid-call](https://community.livekit.io/t/mobile-speakerphone-echo-makes-the-agent-interrupt-itself-mid-call/2268)

<div class="topic-metadata">

**Author:** [@callan.capitolo](https://community.livekit.io/u/callan.capitolo)\
**Replies:** 4\
**Last updated:** [October 20, 2026, 7:37am UTC](https://community.livekit.io/t/mobile-speakerphone-echo-makes-the-agent-interrupt-itself-mid-call/2268 "2026-10-20T07:37:25Z")

</div>

Hi everyone, we’re seeing this in production and could use some help. Setup: LiveKit Cloud with a self-hosted Python agent (livekit-agents 1.8.6). An Anam avatar publishes the agent’s audio (audio\_output=False). The web…

---

## [Turn-taking on real SIP calls: what cut my median reply from 2.44 s to 1.81 s (plus a question on short answers)](https://community.livekit.io/t/turn-taking-on-real-sip-calls-what-cut-my-median-reply-from-2-44-s-to-1-81-s-plus-a-question-on-short-answers/2139)

<div class="topic-metadata">

**Author:** [@Mohammed\_Usmani](https://community.livekit.io/u/Mohammed_Usmani)\
**Replies:** 2\
**Last updated:** [September 29, 2026, 2:56pm UTC](https://community.livekit.io/t/turn-taking-on-real-sip-calls-what-cut-my-median-reply-from-2-44-s-to-1-81-s-plus-a-question-on-short-answers/2139 "2026-09-29T14:56:11Z")

</div>

I’ve been measuring a LiveKit Agents phone agent (Python, SIP, Deepgram, Gemini, Cartesia) turn by turn, and wanted to share a few findings in case they help others, plus one open question. What moved the numbers (agent…

---

## [An Agent in 'draining' state can accept new requests?](https://community.livekit.io/t/an-agent-in-draining-state-can-accept-new-requests/2017)

<div class="topic-metadata">

**Author:** [@Kevin\_Quijano](https://community.livekit.io/u/Kevin_Quijano)\
**Replies:** 6\
**Last updated:** [September 8, 2026, 8:48pm UTC](https://community.livekit.io/t/an-agent-in-draining-state-can-accept-new-requests/2017 "2026-09-08T20:48:32Z")

</div>

Hi there. I was making some tests, and I noticed that an agent that already received a SIGTERM signal (and it’s handling an active call), can accept new requests… is this the expected behavior?. In case it is, is it ava…

---

## [Server-side echo cancellation on PSTN audio — advice, delay limits, and recommended config?](https://community.livekit.io/t/server-side-echo-cancellation-on-pstn-audio-advice-delay-limits-and-recommended-config/1789)

<div class="topic-metadata">

**Author:** [@Allen\_Sussman](https://community.livekit.io/u/Allen_Sussman)\
**Replies:** 1\
**Last updated:** [August 12, 2026, 5:31am UTC](https://community.livekit.io/t/server-side-echo-cancellation-on-pstn-audio-advice-delay-limits-and-recommended-config/1789 "2026-08-12T05:31:18Z")

</div>

Context up front: we’re not on LiveKit Cloud or rooms — we use the livekit Python package standalone for its AudioProcessingModule, doing server-side echo cancellation in a phone-bot pipeline (Twilio Media Streams, PSTN …

---

## [Voice feeling very robotic and less expressive](https://community.livekit.io/t/voice-feeling-very-robotic-and-less-expressive/1793)

<div class="topic-metadata">

**Author:** [@Tanish\_Rajput](https://community.livekit.io/u/Tanish_Rajput)\
**Replies:** 3\
**Last updated:** [August 7, 2026, 7:34pm UTC](https://community.livekit.io/t/voice-feeling-very-robotic-and-less-expressive/1793 "2026-08-07T19:34:08Z")

</div>

Hi I am building a telephony outbound voice agent, and I am using sarvam’s STT and TTS models but the voice is feeling very robotic and without expressions. It’s like I am talking to a machine and also I want to make it…

---

## [Unable to use ai\_coustics in agents](https://community.livekit.io/t/unable-to-use-ai-coustics-in-agents/832)

<div class="topic-metadata">

**Author:** [@Dylan\_Wang](https://community.livekit.io/u/Dylan_Wang)\
**Replies:** 13\
**Last updated:** [July 24, 2026, 7:20am UTC](https://community.livekit.io/t/unable-to-use-ai-coustics-in-agents/832 "2026-07-24T07:20:16Z")

</div>

how could I get ai\_coustics works? I only get the error from livekit.plugins.ai\_coustics of: “Unable to authorize model use: Model use unauthorized” seems there are a feature gate check, but we are on paid account I’m…

---

## ["could not establish signal connection: Failed to fetch",](https://community.livekit.io/t/could-not-establish-signal-connection-failed-to-fetch/1463)

<div class="topic-metadata">

**Author:** [@Yethu\_Krishnan](https://community.livekit.io/u/Yethu_Krishnan)\
**Replies:** 4\
**Last updated:** [June 22, 2026, 1:06pm UTC](https://community.livekit.io/t/could-not-establish-signal-connection-failed-to-fetch/1463 "2026-06-22T13:06:29Z")

</div>

Hi Team, We are facing connect establishment issues with our clients from US region. We are currently experiencing a critical production issue where calls are unable to connect to our agent. One example is: Room ID: …

---

## [Livekit API Error](https://community.livekit.io/t/livekit-api-error/1397)

<div class="topic-metadata">

**Author:** [@siddharthmot](https://community.livekit.io/u/siddharthmot)\
**Replies:** 2\
**Last updated:** [June 11, 2026, 4:37am UTC](https://community.livekit.io/t/livekit-api-error/1397 "2026-06-11T04:37:54Z")

</div>

Don’t know why, but getting this errors for multiple calls. The call goes well but at the end the error is getting triggered : livekit\_api::signal\_client::signal\_stream:371:livekit\_api::signal\_client::signal\_stream - …

---

## [Slow room creation](https://community.livekit.io/t/slow-room-creation/1358)

<div class="topic-metadata">

**Author:** [@Rushi\_Patel](https://community.livekit.io/u/Rushi_Patel)\
**Replies:** 4\
**Last updated:** [June 8, 2026, 7:17am UTC](https://community.livekit.io/t/slow-room-creation/1358 "2026-06-08T07:17:32Z")

</div>

I am using a self-hosted LiveKit stack (with the Python Agents SDK) and experiencing a severe 7–8 second delay during call initialization across both web widgets and our Meta SIP inbound trunk. The issue is consistently …

---

## [rtpVideoPayloadTypes listener leak on publisher PCTransport during audio-only renegotiations](https://community.livekit.io/t/rtpvideopayloadtypes-listener-leak-on-publisher-pctransport-during-audio-only-renegotiations/1320)

<div class="topic-metadata">

**Author:** [@Boussaid\_Mohamed](https://community.livekit.io/u/Boussaid_Mohamed)\
**Replies:** 3\
**Last updated:** [June 3, 2026, 1:06pm UTC](https://community.livekit.io/t/rtpvideopayloadtypes-listener-leak-on-publisher-pctransport-during-audio-only-renegotiations/1320 "2026-06-03T13:06:34Z")

</div>

Summary In livekit-client@2.17.2, when the local participant never publishes a video track (camera off — e.g. an audio-only (call), every publisher renegotiation permanently leaks one rtpVideoPayloadTypes listener on th…

---

## [User\_state stuck in speaking during the agent handoff](https://community.livekit.io/t/user-state-stuck-in-speaking-during-the-agent-handoff/685)

<div class="topic-metadata">

**Author:** [@Yuva\_Prabhu](https://community.livekit.io/u/Yuva_Prabhu)\
**Replies:** 4\
**Last updated:** [May 26, 2026, 3:30pm UTC](https://community.livekit.io/t/user-state-stuck-in-speaking-during-the-agent-handoff/685 "2026-05-26T15:30:45Z")

</div>

We are using livekit workflow multi-agent framework. We noticed that during the agent transfer, if the user is speaking the state is stuck in speaking. it never changes to listening after user silence or after agent ha…

---

## [Issue: \[Python SDK\] Network switch causes "stuck-in-reconnecting" and "ghost room" states in livekit-agents](https://community.livekit.io/t/issue-python-sdk-network-switch-causes-stuck-in-reconnecting-and-ghost-room-states-in-livekit-agents/1174)

<div class="topic-metadata">

**Author:** [@Matan\_Porat](https://community.livekit.io/u/Matan_Porat)\
**Replies:** 3\
**Last updated:** [May 19, 2026, 10:47pm UTC](https://community.livekit.io/t/issue-python-sdk-network-switch-causes-stuck-in-reconnecting-and-ghost-room-states-in-livekit-agents/1174 "2026-05-19T22:47:21Z")

</div>

Hey team — hitting a reliable failure on Wi-Fi network switches with livekit-agents (Python). We’ve confirmed this in production on LiveKit Cloud, and I am also able to consistently reproduce it locally by simply switchi…

---

## [Livekit-agents@1.5.9 Latest](https://community.livekit.io/t/livekit-agents-1-5-9-latest/1112)

<div class="topic-metadata">

**Author:** [@CWilson](https://community.livekit.io/u/CWilson)\
**Replies:** 1\
**Last updated:** [May 13, 2026, 10:17pm UTC](https://community.livekit.io/t/livekit-agents-1-5-9-latest/1112 "2026-05-13T22:17:59Z")

</div>

Highlights :telephone:Answering Machine Detection :telephone: Introducing the headline feature of 1.5.9: AMD reliably distinguishes humans from machines and classifies every outbound call as human, voicemail, IVR, or un…

---

## [AssignmentTimeoutError when accepting job requests](https://community.livekit.io/t/assignmenttimeouterror-when-accepting-job-requests/1110)

<div class="topic-metadata">

**Author:** [@Cameron\_Flint](https://community.livekit.io/u/Cameron_Flint)\
**Replies:** 5\
**Last updated:** [May 13, 2026, 9:50pm UTC](https://community.livekit.io/t/assignmenttimeouterror-when-accepting-job-requests/1110 "2026-05-13T21:50:45Z")

</div>

We’re seeing a flood of failed job request accepts in our production agents today, Wednesday May 13, since around 7:25am PST. The stack trace looks like this: Traceback (most recent call last): File "/app/src/socrait/…

---

## [Cloud Agents: SIP inbound returns 503 before Call object created — public-side debug exhausted](https://community.livekit.io/t/cloud-agents-sip-inbound-returns-503-before-call-object-created-public-side-debug-exhausted/1065)

<div class="topic-metadata">

**Author:** [@Nick\_O\_Connor](https://community.livekit.io/u/Nick_O_Connor)\
**Replies:** 10\
**Last updated:** [May 13, 2026, 9:34pm UTC](https://community.livekit.io/t/cloud-agents-sip-inbound-returns-503-before-call-object-created-public-side-debug-exhausted/1065 "2026-05-13T21:34:52Z")

</div>

Hi LiveKit Cloud Support, object is created. Public-side debugging in the community forum (https://community.livekit.io/) ruled out every documented configuration cause; the issue is now confirmed to require edge log v…

---

## [Attaching custom attributes to user transcription stream — public hook in RoomOutputOptions?](https://community.livekit.io/t/attaching-custom-attributes-to-user-transcription-stream-public-hook-in-roomoutputoptions/1111)

<div class="topic-metadata">

**Author:** [@Boussaid\_Mohamed](https://community.livekit.io/u/Boussaid_Mohamed)\
**Replies:** 1\
**Last updated:** [May 13, 2026, 8:22pm UTC](https://community.livekit.io/t/attaching-custom-attributes-to-user-transcription-stream-public-hook-in-roomoutputoptions/1111 "2026-05-13T20:22:45Z")

</div>

Title: How to add a language attribute to the user transcription stream (multi-language STT per participant)? Hi team, We’re building a multi-user transcriber where each participant has their own STT language configur…

---

## [Inbound SIP returning 404 from LK Cloud edge before session creation — Telnyx FQDN, 0 dashboard sessions](https://community.livekit.io/t/inbound-sip-returning-404-from-lk-cloud-edge-before-session-creation-telnyx-fqdn-0-dashboard-sessions/1044)

<div class="topic-metadata">

**Author:** [@Dubworx](https://community.livekit.io/u/Dubworx)\
**Replies:** 1\
**Last updated:** [May 6, 2026, 3:57pm UTC](https://community.livekit.io/t/inbound-sip-returning-404-from-lk-cloud-edge-before-session-creation-telnyx-fqdn-0-dashboard-sessions/1044 "2026-05-06T15:57:15Z")

</div>

Hi there! Looking for a sanity check / DM partner on a fairly urgent inbound SIP issue. Pattern I am seeing: - Inbound INVITE via Telnyx FQDN connection → LK Cloud - LK edge returns 404 within ~60–240ms before any se…

---

## [Intermittent silent calls: cross-region media routing failure between Germany and UK SIP bridge (30s BYE, agent audio in recording but no client audio)](https://community.livekit.io/t/intermittent-silent-calls-cross-region-media-routing-failure-between-germany-and-uk-sip-bridge-30s-bye-agent-audio-in-recording-but-no-client-audio/985)

<div class="topic-metadata">

**Author:** [@macarvassl](https://community.livekit.io/u/macarvassl)\
**Replies:** 1\
**Last updated:** [April 29, 2026, 12:52pm UTC](https://community.livekit.io/t/intermittent-silent-calls-cross-region-media-routing-failure-between-germany-and-uk-sip-bridge-30s-bye-agent-audio-in-recording-but-no-client-audio/985 "2026-04-29T12:52:50Z")

</div>

Summary We have an intermittent issue where outbound SIP calls via Telnyx connect successfully (200 OK + ACK) but result in complete silence on both sides. After exactly 30 seconds, LiveKit sends a BYE. This affects rou…

[Next page](https://community.livekit.io/tag/agent-sdk-python/5.md?match_all_tags=true&page=1&tags%5B%5D=agent-sdk-python)
