livekit-agents@1.8.2
charmbracelet/crushlivekit-agents@1.8.2Sep 15, 2026by tinalenguyen
Upgrading?
AI Summary
A performance and telemetry-focused update that improves agent startup speed and provides detailed insights into agent lifecycle and blocking code.
Key Highlights
- Run loop blocking detection surfaces stalls without a profiler
- Agent startup time cut by up to 800ms
- Full agent lifecycle tracing including dispatch latency
- Added Synthesia interactive-avatar plugin
New Features
- Run loop blocking detection
- Faster agent startup
- Improved agent lifecycle tracing
- Synthesia interactive-avatar plugin
Full Release Notes
### Optimizations - **Run loop blocking detection.** The agent now detects code that blocks the asyncio event loop and surfaces the offending call in Agent Insights, so you can find stalls without attaching a profiler. - **Faster agent startup.** The prefork server preloads libraries before forking, cutting agent startup time by up to 800ms. - **Improved agent lifecycle tracing.** Traces now cover the full agent lifecycle, including initial dispatch latency, making it clear where time goes between a job request and a session going live. ## Full changelog * feat(speechify): send Speechify-Caller-Version attribution header by @luke-speechify in https://github.com/livekit/agents/pull/7166 * fix(llm): reposition mid-conversation instructions for Gemini gateway and Mistral by @L65FREAD in https://github.com/livekit/agents/pull/6591 * feat(voice): log which participant RoomIO links to by @itsnicjohn in https://github.com/livekit/agents/pull/7210 * chore(openai): remove dead VertexModels type alias by @detail-app[bot] in https://github.com/livekit/agents/pull/7223 * fix: refuse to start a DuplexModel under a text simulation by @u9g in https://github.com/livekit/agents/pull/7236 * (deepgram stt): detect a silently dropped socket instead of hanging by @GregHolmes in https://github.com/livekit/agents/pull/7206 * fix(deps): pin anthropic below 1 by @omChauhanDev in https://github.com/livekit/agents/pull/7242 * Add Synthesia interactive-avatar plugin by @swarnimkulkarni-synth in https://github.com/livekit/agents/pull/7216 * feat(telemetry): trace the end-of-turn wait and the turn handoff by @davidzhao in https://github.com/livekit/agents/pull/7130 * feat(telemetry): trace dispatch, startup, and shutdown by @davidzhao in https://github.com/livekit/agents/pull/7131 * feat(telemetry): trace RPC calls made and handled by @davidzhao in https://github.com/livekit/agents/pull/7134 * feat(telemetry): interruption detail, handoff span, fallback events, text input by @davidzhao in https://github.com/livekit/agents/pull/7137 * feat(telemetry): one agent_turn span per speech handle by @davidzhao in https://github.com/livekit/agents/pull/7143 * tests: trace-shape schema and checker by @davidzhao in https://github.com/livekit/agents/pull/7148 * feat(elevenlabs): secondary languages and language detection for realtime STT by @captainbanan in https://github.com/livekit/agents/pull/6902 * fix(aio): drain blocked senders when closing channels by @Kuang-xianxin in https://github.com/livekit/agents/pull/7257 * fix(elevenlabs): remove the duplicated secondary_languages parameter by @longcw in https://github.com/livekit/agents/pull/7262 * fix(duplex): keep late transcripts on the audio they describe by @longcw in https://github.com/livekit/agents/pull/7264 * fix(room_io): frame output audio by a cap, not a fixed size by @longcw in https://github.com/livekit/agents/pull/7261 * fix(cli): prebuffer console playback so realtime-paced audio doesn't underrun by @u9g in https://github.com/livekit/agents/pull/7238 * fix(openai): ignore incomplete and duplicate GPT Live backend tool calls by @kiwijuicer in https://github.com/livekit/agents/pull/7230 * ipc: add room_id to job logging_extra by @andrewnitu in https://github.com/livekit/agents/pull/7241 * feat(rime): support Coda streaming in LiveKit by @naszzz in https://github.com/livekit/agents/pull/6978 * Migrate Speechmatics STT plugin to Agent STT by @Smiljanic19A in https://github.com/livekit/agents/pull/7028 * fix(openai): continue GPT Live only once every backend call is answered by @longcw in https://github.com/livekit/agents/pull/7266 * Revert "fix(room_io): frame output audio by a cap, not a fixed size (#7261)" by @longcw in https://github.com/livekit/agents/pull/7271 * fix(room_io): release a partial frame before the source runs dry by @longcw in https://github.com/livekit/agents/pull/7272 * fix: prevent llm fallback retries after output by @chenghao-mou in https://github.com/livekit/agents/pull/7233 * fix: reject inline tasks during agent handoff by @chenghao-mou in https://github.com/livekit/agents/pull/7268 * (gemini live): add new models by @tinalenguyen in https://github.com/livekit/agents/pull/7289 * livekit-agents@1.8.2 by @github-actions[bot] in https://github.com/livekit/agents/pull/7292 ## New Contributors * @L65FREAD made their first contribution in https://github.com/livekit/agents/pull/6591 * @GregHolmes made their first contribution in https://github.com/livekit/agents/pull/7206 * @swarnimkulkarni-synth made their first contribution in https://github.com/livekit/agents/pull/7216 * @kiwijuicer made their first contribution in https://github.com/livekit/agents/pull/7230 * @andrewnitu made their first contribution in https://github.com/livekit/agents/pull/7241 * @Smiljanic19A made their first contribution in https://github.com/livekit/agents/pull/7028 **Full Changelog**: https://github.com/livekit/agents/compare/livekit-agents@1.8.1...livekit-agents@1.8.2
Related Repositories
ollama/ollama★ 184,215
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fatedier/frp★ 110,053
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
infiniflow/ragflow★ 92,614
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
gohugoio/hugo★ 90,198
The world’s fastest framework for building websites.
junegunn/fzf★ 83,715
:cherry_blossom: A command-line fuzzy finder