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

# Installation

> Install the Muxx Python SDK.

Install the Muxx Python SDK to add observability to your LLM applications.

## Requirements

* Python 3.8 or higher
* pip or poetry

## Install with pip

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

## Install with Poetry

```bash theme={null}
poetry add muxx
```

## Verify Installation

```python theme={null}
import muxx
print(muxx.__version__)
```

## Configuration

Set your Muxx API key as an environment variable:

```bash theme={null}
export MUXX_API_KEY="muxx_sk_live_xxxxxxxxxxxx"
```

Or pass it directly when initializing:

```python theme={null}
from muxx import Muxx

muxx = Muxx(api_key="muxx_sk_live_xxxxxxxxxxxx")
```

## Dependencies

The SDK has minimal dependencies:

* `httpx` - For async HTTP requests
* `openai` (optional) - For OpenAI client wrapping
* `anthropic` (optional) - For Anthropic client wrapping

## Next Steps

<Card title="Quickstart" icon="rocket" href="/sdk/python/quickstart">
  Start tracing your LLM calls
</Card>
