Prerequisites
- Muxx Python SDK installed (
pip install muxx) - Your Muxx API key
- An LLM provider SDK (OpenAI, Anthropic, etc.)
Basic Usage
Wrap Your Client
The simplest way to use Muxx is to wrap your LLM client:Adding Context
Traces
Group related operations into traces:Spans
Add more granular tracking with spans:Async Support
The SDK fully supports async operations:Metadata
Add custom metadata for filtering:Next Steps
Tracing
Learn more about traces and spans
Decorators
Use @observe and other decorators