SplunkAOTracingProcessor
The SplunkAOTracingProcessor SDK reference.
Integrate Splunk Agent Observability into an OpenAI Agents SDK app
Get hands on integrating Splunk Agent Observability into an agentic app using the OpenAI Agents SDK.
Log an OpenAI Agent app
To log OpenAI Agent apps to Splunk Agent Observability, you need to create an instance of theSplunkAOTracingProcessor, and set this as the default tracing processor for your agent using the set_trace_processors function from the OpenAI Agents SDK.


@log wrapper, then the processor will log to the same logger.
You can override this by passing a SplunkAOLogger into the SplunkAOTracingProcessor constructor.
Next steps
Splunk Agent Observability logger
Log with full control over sessions, traces, and spans using the Splunk Agent Observability logger.
Log decorator
Quickly add logging to your code with the log decorator and wrapper.
Splunk Agent Observability context
Manage logging using the Splunk Agent Observability context manager.