How to integrate Maxim’s observability and real-time evaluation capabilities with OpenAI Agents SDK.
Create account
Install SDK
Set the following environment variables to configure the Maxim SDK
Environment Variable | Description |
---|---|
MAXIM_API_KEY | Your Maxim API key |
MAXIM_LOG_REPO_ID | ID of the log repository to use |
Manually initialize OR you can manually initialize the SDK
Add tracing processor
MaximOpenAIAgentsTracingProcessor
to your agent using add_trace_processor
or set_trace_processor
.