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:Key Conventions
Once installed, keep these conventions in mind as you build:- Agents subclass
Agentand implement theasync def on_enterandon_exithooks. - Tools use the
@function_tooldecorator — the schema is automatically inferred from type hints and the docstring. - Provider plugins are imported from
zrt.plugins.
Next Steps
- Follow the Quickstart guide to build your first complete agent.
- Browse runnable examples in the zeroruntime-python-examples and zeroruntime-js-examples repositories.