Skip to main content

Python SDK

The Splunk AO Python SDK on PyPI.

Python SDK GitHub repo

The GitHub repo for the Splunk AO Python SDK.

Installation

If you are using the OpenAI wrapper, you need to install the optional OpenAI dependencies.

Initialization and authentication

You can configure Splunk Agent Observability using environment variables:
.env
If you’re using the free version of Splunk Agent Observability, the SPLUNK_AO_CONSOLE_URL environment variable isn’t needed.
For more information on these environment variables, see Find Your Organization Keys.