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

# Python SDK

> Typed sync and async clients for uploaded decisions, streaming, models, and health.

Use the [Tazo agent skill](https://docs.tazolabs.com/guides/agent-skill.md) to have your coding agent set up
the SDK, write an integration, or verify uploads and streaming.

Requires **Python 3.11+**. Install [tazo-sdk from PyPI](https://pypi.org/project/tazo-sdk/):

```bash theme={null}
python -m pip install tazo-sdk
export TAZO_API_KEY="your-api-key"
```

Sign in to the [Tazo console](https://app.tazolabs.com), open **API keys**, and
create a key. Set `TAZO_API_KEY` to the complete key, including its `tazo_sk_`
prefix. The SDK reads this variable or accepts `Tazo(api_key="...")`. Keep the
key in an environment variable or secret manager. The SDK supports exactly four
public operations:

| Method | API |
| - | - |
| `client.decisions.create(...)` | Uploaded audio decisions |
| `client.decisions.stream(...)` | WebSocket decisions |
| `client.models.list()` | Model discovery |
| `client.health.check()` | Unauthenticated readiness |

> [card] [Quickstart](https://docs.tazolabs.com/sdk/python/quickstart.md)
>
> Make an uploaded decision.

> [card] [Streaming](https://docs.tazolabs.com/sdk/python/streaming.md)
>
> Send audio and receive decisions concurrently.

API v1 and SDK versions are independent. This SDK is a beta before 1.0. See the
[changelog](https://docs.tazolabs.com/sdk/python/changelog.md), [errors and retries](https://docs.tazolabs.com/sdk/python/errors.md), and
[configuration](https://docs.tazolabs.com/sdk/python/configuration.md). HTTP endpoint pages offer a
**Python SDK** sample alongside direct HTTP examples. Samples are displayed as
code; the API playground does not run Python in the browser.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.