Skip to main content

Requirements

OpenInference requires Python 3.9 or higher (up to Python 3.14).

Core Packages

pip install openinference-instrumentation

Instrumentation Packages

Install instrumentation for your specific AI/ML framework:
pip install openinference-instrumentation-openai

Development Installation

For development or contributing:
# Install tox for testing automation
pip install tox-uv==1.11.2

# Install development dependencies
pip install -r python/dev-requirements.txt

# Compose namespace package
tox run -e add_symlinks

# Install in editable mode
pip install -e python/openinference-instrumentation

Verify Installation

Verify your installation:
import openinference.instrumentation
import openinference.semconv

print(openinference.instrumentation.__version__)

Next Steps

Build docs developers (and LLMs) love