> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroruntime.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Python

> The Zero Runtime Python SDK: build voice AI agents on Python 3.11+ with a clean, type-hinted API.

## Requirements

* Python 3.11+
* A Zero Runtime auth token from the [dashboard](https://app.zeroruntime.ai/)
* API keys for the providers you use

## Install

```bash theme={null}
pip install zeroruntime
```

## Connect to the Runtime

Point the worker at your runtime address, and set your auth token, using the values from the dashboard:

```bash theme={null}
export ZERORUNTIME_TARGET=us2.zeroruntime.ai:443
export ZERORUNTIME_AUTH_TOKEN=<your-auth-token>
```

## Conventions

* Agents subclass `Agent` and implement the `async def on_enter` and `on_exit` hooks.
* Tools use the `@function_tool` decorator; the schema is inferred from type hints and the
  docstring.
* Provider plugins are imported from `zrt.plugins`.

The [Quickstart](/quickstarts/build-your-first-voice-agent) shows a complete agent. Runnable examples are at
[zeroruntime-python-examples](https://github.com/ZeroRuntimeAI/zeroruntime-python-examples/tree/main).
