Skip to main content
Release notes for the Zero Runtime SDKs, newest first. Use the view selector to switch between the Python and Node.js SDKs.
Upgrade with pip install -U zeroruntime. See the Python SDK page for setup.
AgentsPluginsSecurity
Subagents, agent workflows, Mistral AI and TLS settings
Hand calls between agents with transfer_to(), sequence agents from YAML, and run the SDK behind a TLS-inspecting proxy.

Agents

Plugins

TLS and networking

Both variables are read from the environment before the SDK connects.
ZERORUNTIME_TLS_VERIFY=false does not affect gRPC. gRPC connections always verify certificates.
PluginsSessions
New speech plugins, prosody control and faster session start
Adds four speech providers and two speech-to-speech integrations, and starts sessions in a single request.

Plugins

PluginsTurn-takingKnowledge base
Interrupt phrases, knowledge base retrieval, OpenAI and Anthropic
Adds OpenAI and Anthropic support, direct knowledge base search, and short-phrase interruptions.

Turn-taking and telephony

  • Interrupt phrases. Add interrupt_phrases to InterruptSpec and InterruptConfig so short replies like “stop” interrupt the agent even below the minimum word threshold. See VAD and interruptions and the pipeline API reference.
  • Warm transfer. WarmTransferConfig now sets consultation rooms, hold messages and failure messages. See Warm transfer.

Knowledge base

  • retrieve. A new async method searches knowledge base entries directly. See RAG.
  • Retrieval metrics hook. Monitor knowledge base searches through observability hooks.

Providers

See Inference Gateway for managed inference.
PluginsDeprecation
IDE experience and Deepgram TTS updates
  • IDE support. Better autocomplete and type hints in the Python client.
  • Deepgram TTS. Updated parameters for expressivity and connection settings. See Deepgram TTS.
  • Fix. Room now handles the default target redaction correctly.
KnowledgeBase.report_unanswered is deprecated.
ToolsPrivacy
Tool cancellation controls and PII redaction
Gives you control over what happens to running tools when a caller interrupts.

Tools

  • cancel_on_interrupt. Set it on @function_tool to choose whether a caller interruption cancels a running tool. Tools can keep running after an interruption. See Function tools.
  • Speech from tools. Call say() and reply() inside a tool to speak while it runs.
  • Session cleanup. Running tools are cancelled when the session ends.

Privacy

  • PII redaction. Redact sensitive data from transcripts and recordings. See PII redaction.

Changed defaults

PluginsContextKnowledge base
OpenAI Duplex, context appending and knowledge base

New

  • Knowledge base. KnowledgeBase support lets agents retrieve information from configured knowledge bases. See RAG.
  • OpenAI Duplex. Support for gpt-live-1. See GPT-Live.
  • context_append. New field on ClientMessage.
  • Duplex context. Append instructions, thinking and commentary to duplex models during a session. See Context control.
  • OpenAI configuration. New options for the OpenAI backend and the delegate LLM.

Changed

Credential resolution was refactored. The alternate credentials function is removed. Use the new method for setting provider credentials instead.
Turn-taking
Playground events and Echo Omni
  • AgentEventsOptions. Pass it to Room to send interim transcripts and realtime metrics to the playground.
  • Echo Omni. Enable it with the turn detector below. See Turn detection.
Improved
Developer experience improvements
Smoother developer experience for:
Fixes
Realtime pipeline arguments and stability fixes
  • Realtime models. Supported in the LLM pipeline arguments. See Pipeline modes.

Fixes

  • Fixed agent cleanup issues that caused unbounded memory growth.
  • Fixed tool timeout handling during warm transfers.
  • Fixed stream reading after warm-transfer phase events and call-transfer results.
Fixes
Inference service and docs tooling
  • Inference. Enhancements to the Zero Runtime Inference Service. See Inference Gateway.
  • Fix. The hangup method now works as expected.
  • Docs. Improved SDK docstrings and added API reference generation.
Breaking change
Package rename from ZRT to ZeroRuntime
Code written for 0.1.0 does not run unchanged on 0.1.1. Update imports, the CLI command and environment variables as listed below.
The PyPI package name is unchanged. See the CLI reference.
Release
Initial Python SDK release
First release of the Zero Runtime Python SDK on PyPI. Start with the Python SDK page.