OpenInference provides auto-instrumentation packages for popular AI/ML frameworks and LLM providers.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Arize-ai/openinference/llms.txt
Use this file to discover all available pages before exploring further.
Available Instrumentations
| Package | Framework | Description |
|---|---|---|
openinference-instrumentation-openai | OpenAI | OpenAI Python SDK (chat, completions, embeddings, assistants) |
openinference-instrumentation-langchain | LangChain | LangChain framework for LLM applications |
openinference-instrumentation-llama-index | LlamaIndex | LlamaIndex data framework (formerly GPT Index) |
openinference-instrumentation-anthropic | Anthropic | Anthropic Claude API |
openinference-instrumentation-bedrock | AWS Bedrock | Amazon Bedrock LLM service |
openinference-instrumentation-vertexai | Vertex AI | Google Cloud Vertex AI |
openinference-instrumentation-mistralai | Mistral AI | Mistral AI models |
openinference-instrumentation-groq | Groq | Groq LLM API |
openinference-instrumentation-litellm | LiteLLM | LiteLLM unified LLM interface |
openinference-instrumentation-dspy | DSPy | DSPy framework for LM programs |
openinference-instrumentation-haystack | Haystack | Haystack NLP framework |
openinference-instrumentation-crewai | CrewAI | CrewAI multi-agent framework |
openinference-instrumentation-autogen | AutoGen | Microsoft AutoGen framework |
openinference-instrumentation-autogen-agentchat | AutoGen AgentChat | AutoGen AgentChat API |
openinference-instrumentation-instructor | Instructor | Instructor structured outputs library |
openinference-instrumentation-guardrails | Guardrails AI | Guardrails AI validation framework |
openinference-instrumentation-pydantic-ai | Pydantic AI | Pydantic AI agent framework |
openinference-instrumentation-smolagents | smol-agents | Hugging Face smol-agents |
openinference-instrumentation-google-genai | Google GenAI | Google Generative AI SDK |
openinference-instrumentation-google-adk | Google ADK | Google Agent Developer Kit |
openinference-instrumentation-openai-agents | OpenAI Agents | OpenAI Agents API |
openinference-instrumentation-mcp | MCP | Model Context Protocol servers |
openinference-instrumentation-beeai | BeeAI | BeeAI agent framework |
openinference-instrumentation-agno | Agno | Agno agent framework |
openinference-instrumentation-strands-agents | Strands Agents | Strands agent framework |
openinference-instrumentation-portkey | Portkey | Portkey AI gateway |
openinference-instrumentation-openllmetry | OpenLLMetry | OpenLLMetry observability |
openinference-instrumentation-openlit | OpenLIT | OpenLIT observability |
openinference-instrumentation-pipecat | Pipecat | Pipecat voice agents |
openinference-instrumentation-agentspec | AgentSpec | AgentSpec protocol |
openinference-instrumentation-agent-framework | Agent Framework | Generic agent framework support |
Installation
Install any instrumentation package using pip:Basic Usage Pattern
All instrumentations follow a similar pattern:Example: OpenAI
Example: LangChain
Example: LlamaIndex
Features
All instrumentations provide:- Automatic span creation - Traces are created without code changes
- OpenInference semantic conventions - Standardized attributes
- Context propagation - Session, user, metadata, tags
- TraceConfig support - Privacy and payload controls
- Suppression support - Use
suppress_tracing()to pause tracing - OpenTelemetry compatible - Works with any OTel collector