Prerequisites
- Muxx TypeScript SDK installed (
npm 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:Metadata
Add custom metadata for filtering:Error Handling
Errors are automatically captured in traces:Next Steps
Tracing
Learn more about traces and spans
OpenAI
OpenAI-specific features