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

Requirements

  • Python 3.8 or higher
  • pip or poetry

Install with pip

pip install muxx

Install with Poetry

poetry add muxx

Verify Installation

import muxx
print(muxx.__version__)

Configuration

Set your Muxx API key as an environment variable:
export MUXX_API_KEY="muxx_sk_live_xxxxxxxxxxxx"
Or pass it directly when initializing:
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

Quickstart

Start tracing your LLM calls