The OpenAI Agents SDK enables you to build agentic AI apps in a lightweight, easy-to-use package with very few abstractions. It’s a production-ready upgrade of our previous experimentation for agents, Swarm. The Agents SDK has a very small set of primitives:
- Agents, which are LLMs equipped with instructions and tools
- Handoffs, which allow agents to delegate to other agents for specific tasks
- Guardrails, which enable the inputs to agents to be validated
Integrating with Maxim
1
Create account
Create a Maxim account and a Log repository. Follow the instructions in the quickstart
section.
2
Install SDK
Install Maxim SDK
3
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 |
4
Manually initialize OR you can manually initialize the SDK
5
Add tracing processor
Add the
MaximOpenAIAgentsTracingProcessor
to your agent using add_trace_processor
or set_trace_processor
.