The Zero Runtime SDK lets you build voice AI agents with a clean, type-hinted API available for Python 3.11+ and Node.js 20.11+.

Prerequisites

Before installing, make sure you have:
  • Python 3.11 or later
  • A Zero Runtime auth token — get these from the Zero Runtime dashboard
  • API keys for any AI/voice providers you plan to use (e.g., STT, TTS, LLM providers)

Installation

Install the SDK via pip:

Connect to the Runtime

Point the worker at your runtime address and set your auth token using the values from the dashboard. Create a .env file:
.env

API reference

Python SDK API reference

Every export, type, and option in the Python SDK.

Node.js SDK API reference

Every export, type, and option in the Node.js SDK.

Github Examples

Python Examples

Runnable examples for the Python SDK.

Node.js Examples

Runnable examples for the Node.js SDK.