Upgrade with
pip install -U zeroruntime. See the Python SDK page for setup.Adds OpenAI and Anthropic support, direct knowledge base search, and short-phrase interruptions.
Turn-taking and telephony
- Interrupt phrases. Add
interrupt_phrasestoInterruptSpecandInterruptConfigso short replies like “stop” interrupt the agent even below the minimum word threshold. See VAD and interruptions and the pipeline API reference. - Warm transfer.
WarmTransferConfignow 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.
- IDE support. Better autocomplete and type hints in the Python client.
- Deepgram TTS. Updated parameters for expressivity and connection settings. See Deepgram TTS.
- Fix.
Roomnow handles the default target redaction correctly.
Gives you control over what happens to running tools when a caller interrupts.
Tools
cancel_on_interrupt. Set it on@function_toolto choose whether a caller interruption cancels a running tool. Tools can keep running after an interruption. See Function tools.- Speech from tools. Call
say()andreply()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
New
- Knowledge base.
KnowledgeBasesupport lets agents retrieve information from configured knowledge bases. See RAG. - OpenAI Duplex. Support for
gpt-live-1. See GPT-Live. context_append. New field onClientMessage.- 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
AgentEventsOptions. Pass it toRoomto send interim transcripts and realtime metrics to the playground.- Echo Omni. Enable it with the turn detector below. See Turn detection.
Smoother developer experience for:
- Fallback adapter
- DTMF
- Voicemail detection
- Pub/sub
- 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.
- Inference. Enhancements to the Zero Runtime Inference Service. See Inference Gateway.
- Fix. The
hangupmethod now works as expected. - Docs. Improved SDK docstrings and added API reference generation.
The PyPI package name is unchanged. See the CLI reference.
First release of the Zero Runtime Python SDK on PyPI. Start with the Python SDK page.