github livekit/agents livekit-agents@1.8.8

one hour ago

GPT-Live through LiveKit Inference

You can now run GPT-Live with your LiveKit credentials instead of a separate OpenAI key. inference.DuplexModel handles its protocol, and you can adopt it directly with a model string:

session = AgentSession(llm="openai/gpt-live-1")

New providers and models

  • OpenAI GPT-Live 1: now available through LiveKit Inference.
  • Google Gemini Live: adds Inference model-string support for google/gemini-3.8-live, google/gemini-3.8-live-extended-thinking, and google/gemini-live.
  • xAI Grok Voice 3.0: replaces Think Fast 2.0 in the Inference and xAI plugin model lists.
  • TypeSafe Jev: a new decision-model plugin supports jev-1.13.0 and OpenRouter’s Decisions API for background probability, choice, and score evaluations without delaying replies.

Breaking changes

  • OpenAI realtime: inference.RealtimeModel no longer subclasses the plugin’s openai.realtime.RealtimeModel; update isinstance checks. Incidental wildcard exports such as realtime_model.logger are no longer available.
  • GPT-Live voices: cedar replaces the unsupported aster voice; update voice selections.

Behavior changes

  • LiveKit Inference: retired GPT Realtime 1.5/2 and Grok Voice Think Fast 2.0 IDs remain accepted with deprecation warnings. Realtime inference_class is deprecated and no longer sent.
  • Google Gemini: 3.x reply instructions now use wrapped user turns.
  • xAI: hosted sessions now emit one final user transcript per turn.

XML-aware TTS chunking, realtime startup retries, turn-audio flushing, and interruption handling are more reliable.

What's Changed

  • fix(tokenize): ignore stray closing tags in the XML depth check by @ANDROIDHASSAN in #7742
  • feat(inference, google): run GPT-Live as inference.DuplexModel, wrap Gemini 3.x reply instructions, update the realtime model list by @russellmartin-livekit in #7673
  • feat(agents): add DecisionModel for background decisions by @tinalenguyen in #7714
  • feat(typesafe): add TypeSafe Jev decision model plugin by @tinalenguyen in #7756
  • livekit-agents@1.8.8 by @github-actions[bot] in #7844

Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.8.7...livekit-agents@1.8.8

Don't miss a new agents release

NewReleases is sending notifications on new releases.