livekit-agents@1.8.6 livekit-agents@1.8.7

medium risk

livekit/agentsOct 9, 2026 → Oct 14, 20264 days between releases

What's New

Adds Anthropic Opus 5 models and E2E latency measurement, but requires httpx2 and updates telemetry attributes

Breaking Changes

  • Telemetry fallback attributes `lk.fallback.label` and `lk.fallback.index` move to adapter request spans
  • Anthropic custom SDK HTTP clients must use `httpx2` instead of `httpx`
  • OpenTelemetry removed Events API, replaced with `LogRecord(event_name=...)`

New Features

  • Realtime E2E latency measurement for assistant message metrics
  • Support for Anthropic Opus 5, Opus 5.5, and Sonnet 5.5 models
  • Prompt caching support with `CacheBreakpoint` content marker
  • `Instructions(dynamic=...)` for per-call text behind a cache breakpoint
  • `preload_modules` for forkserver preload in workers

Improvements

  • Tools continue asynchronously and deliver deferred results after interruption timeout
  • TLS contexts are cached per trust configuration
  • Deepgram Flux audio chunk duration configuration
  • Dependencies updated (openai>=3.19, mcp>=2.2, websockets>=17.1)
  • Google instruction-free realtime replies allowed on immutable-context models

Upgrade Notes

Update trace queries to reflect the flattened telemetry hierarchy for fallback attributes. Switch Anthropic SDK HTTP clients from `httpx` to `httpx2`. Restart workers after CA bundle changes due to TLS context caching.

The Two Releases

livekit-agents@1.8.6

livekit-agents@1.8.6

Oct 9, 2026· 12 days ago

This release focuses on stabilizing core components like STT, TTS, and IPC through various bug fixes, while introducing new integrations for Sarvam TTS and Nabrah STT, and optimizing inference and connection behaviors.

Full release notes
livekit-agents@1.8.7

livekit-agents@1.8.7

Oct 14, 2026· 8 days ago

The update improves agent performance with E2E latency measurement for realtime interactions and introduces support for Anthropic Opus 5. It also adds prompt caching capabilities and various reliability fixes for voice and tool handling.

Full release notes