# OpenInference

> Telemetry for the AI frontier, built on OpenTelemetry

## Specification

The [OpenInference specification](https://openinf.dev/spec/index.html.md) defines how an AI application is recorded as an OpenTelemetry trace: which span kinds mark LLM calls, agents, tools, retrievers and embeddings, and which attributes hold their inputs, outputs, token counts and metadata. Every instrumentation follows it, so a trace reads the same whichever framework or language produced it.

The conventions are also published as a machine-readable [schema registry](https://openinf.dev/spec/attributes/registry.html.md), versioned at [openinf.dev/schemas](https://openinf.dev/schemas/). The specification’s attribute tables and the `openinference-semantic-conventions` packages are generated from it.

## Instrumentation

Instrumentation libraries trace popular model providers and agent frameworks automatically, following the specification. They are available for Python, JavaScript, Java and Go.

## Python

### Libraries

| Package | Description | Version |
| - | - | - |
| [`openinference-semantic-conventions`](https://github.com/Arize-ai/openinference/tree/main/python/openinference-semantic-conventions) | Semantic conventions for tracing of LLM Apps. | [PyPI Version](https://pypi.python.org/pypi/openinference-semantic-conventions) |
| [`openinference-instrumentation`](https://github.com/Arize-ai/openinference/tree/main/python/openinference-instrumentation) | Reusable utilities, decorators, configurations, and helpers for instrumentation. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation) |
| [`openinference-instrumentation-agno`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-agno) | OpenInference Instrumentation for Agno Agents. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-agno) |
| [`openinference-instrumentation-ag2`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-ag2) | OpenInference Instrumentation for AG2. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-ag2) |
| [`openinference-instrumentation-openai`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-openai) | OpenInference Instrumentation for OpenAI SDK. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-openai) |
| [`openinference-instrumentation-openai-agents`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-openai-agents) | OpenInference Instrumentation for OpenAI Agents SDK. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-openai-agents) |
| [`openinference-instrumentation-claude-agent-sdk`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-claude-agent-sdk) | OpenInference Instrumentation for Claude Agent SDK. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-claude-agent-sdk) |
| [`openinference-instrumentation-llama-index`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-llama-index) | OpenInference Instrumentation for LlamaIndex. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-llama-index) |
| [`openinference-instrumentation-dspy`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-dspy) | OpenInference Instrumentation for DSPy. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-dspy) |
| [`openinference-instrumentation-bedrock`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-bedrock) | OpenInference Instrumentation for AWS Bedrock. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-bedrock) |
| [`openinference-instrumentation-langchain`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-langchain) | OpenInference Instrumentation for LangChain. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-langchain) |
| [`openinference-instrumentation-mcp`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-mcp) | OpenInference Instrumentation for MCP. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-mcp) |
| [`openinference-instrumentation-mistralai`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-mistralai) | OpenInference Instrumentation for MistralAI. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-mistralai) |
| [`openinference-instrumentation-portkey`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-portkey) | OpenInference Instrumentation for Portkey. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-portkey) |
| [`openinference-instrumentation-guardrails`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-guardrails) | OpenInference Instrumentation for Guardrails. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-guardrails) |
| [`openinference-instrumentation-vertexai`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-vertexai) | OpenInference Instrumentation for VertexAI. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-vertexai) |
| [`openinference-instrumentation-crewai`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-crewai) | OpenInference Instrumentation for CrewAI. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-crewai) |
| [`openinference-instrumentation-haystack`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-haystack) | OpenInference Instrumentation for Haystack. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-haystack) |
| [`openinference-instrumentation-litellm`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-litellm) | OpenInference Instrumentation for liteLLM. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-litellm) |
| [`openinference-instrumentation-groq`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-groq) | OpenInference Instrumentation for Groq. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-groq) |
| [`openinference-instrumentation-instructor`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-instructor) | OpenInference Instrumentation for Instructor. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-instructor) |
| [`openinference-instrumentation-anthropic`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-anthropic) | OpenInference Instrumentation for Anthropic. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-anthropic) |
| [`openinference-instrumentation-beeai`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-beeai) | OpenInference Instrumentation for BeeAI. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-beeai) |
| [`openinference-instrumentation-google-genai`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-google-genai) | OpenInference Instrumentation for Google GenAI. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-google-genai) |
| [`openinference-instrumentation-google-adk`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-google-adk) | OpenInference Instrumentation for Google ADK. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-google-adk) |
| [`openinference-instrumentation-autogen-agentchat`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-autogen-agentchat) | OpenInference Instrumentation for Microsoft Autogen AgentChat. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-autogen-agentchat) |
| [`openinference-instrumentation-pydantic-ai`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-pydantic-ai) | OpenInference Instrumentation for PydanticAI. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-pydantic-ai) |
| [`openinference-instrumentation-smolagents`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-smolagents) | OpenInference Instrumentation for smolagents. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-smolagents) |
| [`openinference-instrumentation-pipecat`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-pipecat) | OpenInference Instrumentation for Pipecat. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-pipecat) |
| [`openinference-instrumentation-agentspec`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-agentspec) | OpenInference Instrumentation for Open Agent Specification. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-agentspec) |
| [`openinference-instrumentation-strands-agents`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-strands-agents) | OpenInference Instrumentation for Strands Agents. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-strands-agents) |
| [`openinference-instrumentation-together`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-together) | OpenInference Instrumentation for Together AI. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-together) |
| [`openinference-instrumentation-typesafe`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-typesafe) | OpenInference Instrumentation for TypeSafe AI. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-typesafe) |
| [`openinference-instrumentation-ollama`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-ollama) | OpenInference Instrumentation for Ollama. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-ollama) |
| [`openinference-instrumentation-cohere`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-cohere) | OpenInference Instrumentation for Cohere. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-cohere) |

## Span Processors

Normalize and convert data across other instrumentation libraries by adding span processors that unify data.

| Package | Description | Version |
| - | - | - |
| [`openinference-instrumentation-openlit`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-openlit) | OpenInference Span Processor for OpenLIT traces. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-openlit) |
| [`openinference-instrumentation-openllmetry`](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-openllmetry) | OpenInference Span Processor for OpenLLMetry (Traceloop) traces. | [PyPI Version](https://pypi.python.org/pypi/openinference-instrumentation-openllmetry) |

### Examples

| Name | Description | Complexity Level |
| - | - | - |
| [Agno](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-agno/examples) | Agno agent examples | Beginner |
| [OpenAI SDK](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-openai/examples) | OpenAI Python SDK, including chat completions and embeddings | Beginner |
| [Claude Agent SDK](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-claude-agent-sdk/examples) | Claude Agent SDK | Beginner |
| [MistralAI SDK](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-mistralai/examples) | MistralAI Python SDK | Beginner |
| [VertexAI SDK](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-vertexai/examples) | VertexAI Python SDK | Beginner |
| [LlamaIndex](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-llama-index/examples) | LlamaIndex query engines | Beginner |
| [DSPy](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-dspy/examples) | DSPy primitives and custom RAG modules | Beginner |
| [Boto3 Bedrock Client](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-bedrock/examples) | Boto3 Bedrock client | Beginner |
| [LangChain](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-langchain/examples) | LangChain primitives and simple chains | Beginner |
| [LiteLLM](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-litellm) | A lightweight LiteLLM framework | Beginner |
| [LiteLLM Proxy](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-litellm/examples/litellm-proxy) | LiteLLM Proxy to log OpenAI, Azure, Vertex, Bedrock | Beginner |
| [Groq](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-groq/examples) | Groq and AsyncGroq chat completions | Beginner |
| [Together AI](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-together/examples) | Together and AsyncTogether chat completions, streaming, and tool calls | Beginner |
| [TypeSafe AI](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-typesafe/examples) | TypeSafeClient and AsyncTypeSafeClient System One calls (Noul, Choice, Score) | Beginner |
| [Anthropic](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-anthropic/examples) | Anthropic Messages client | Beginner |
| [BeeAI](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-beeai/examples) | Agentic instrumentation in the BeeAI framework | Beginner |
| [Haystack](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-haystack/examples) | A Haystack QA RAG application | Intermediate |
| [OpenAI Agents](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-openai-agents/examples) | OpenAI Agents with handoffs | Intermediate |
| [Autogen AgentChat](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-autogen-agentchat/examples) | Microsoft Autogen Assistant Agent and Team Chat | Intermediate |
| [AG2](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-ag2/examples) | AG2 tool calling, group chats, and sequential chats | Intermediate |
| [PydanticAI](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-pydantic-ai/examples) | PydanticAI agent examples | Intermediate |
| [Pipecat](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-pipecat/examples) | Pipecat application examples | Intermediate |
| [Ollama](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-ollama/examples) | Ollama chat, streaming, and tool calls | Beginner |
| [Cohere](https://github.com/Arize-ai/openinference/tree/main/python/instrumentation/openinference-instrumentation-cohere/examples) | Cohere ClientV2 chat completions | Beginner |

## JavaScript

### Libraries

| Package | Description | Version |
| - | - | - |
| [`@arizeai/openinference-semantic-conventions`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-semantic-conventions) | Semantic conventions for tracing of LLM Apps. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-semantic-conventions) |
| [`@arizeai/openinference-core`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-core) | Reusable utilities, configuration, and helpers for instrumentation. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-core) |
| [`@arizeai/openinference-instrumentation-bedrock`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-bedrock) | OpenInference Instrumentation for AWS Bedrock. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-bedrock) |
| [`@arizeai/openinference-instrumentation-bedrock-agent-runtime`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-bedrock-agent-runtime) | OpenInference Instrumentation for AWS Bedrock Agent Runtime. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-bedrock-agent-runtime) |
| [`@arizeai/openinference-instrumentation-beeai`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-beeai) | OpenInference Instrumentation for BeeAI. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-beeai) |
| [`@arizeai/openinference-instrumentation-langchain`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-langchain) | OpenInference Instrumentation for LangChain.js. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-langchain) |
| [`@arizeai/openinference-instrumentation-mcp`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-mcp) | OpenInference Instrumentation for MCP. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-mcp) |
| [`@arizeai/openinference-instrumentation-openai`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-openai) | OpenInference Instrumentation for OpenAI SDK. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-openai) |
| [`@arizeai/openinference-instrumentation-anthropic`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-anthropic) | OpenInference Instrumentation for the Anthropic SDK. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-anthropic) |
| [`@arizeai/openinference-instrumentation-claude-agent-sdk`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-claude-agent-sdk) | OpenInference Instrumentation for Claude Agent SDK. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-claude-agent-sdk) |
| [`@arizeai/openinference-vercel`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-vercel) | OpenInference Support for Vercel AI SDK. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-vercel) |
| [`@arizeai/openinference-tanstack-ai`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-tanstack-ai) | OpenInference middleware for TanStack AI. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-tanstack-ai) |
| [`@arizeai/openinference-genai`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-genai) | OpenInference Support for GenAI conventions | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-genai) |
| [`@arizeai/openinference-instrumentation-typesafe`](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-typesafe) | OpenInference Instrumentation for the TypeSafe AI SDK. | [NPM Version](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-typesafe) |

### Examples

| Name | Description | Complexity Level |
| - | - | - |
| [TypeSafe AI](https://github.com/Arize-ai/openinference/tree/main/js/packages/openinference-instrumentation-typesafe/examples) | Classification, structured questions, and confidence-gated routing to an LLM | Beginner |

## Java

### Libraries

| Package | Description | Version |
| - | - | - |
| [`openinference-semantic-conventions`](https://github.com/Arize-ai/openinference/tree/main/java/openinference-semantic-conventions) | Semantic conventions for tracing of LLM Apps. | [Maven Central Version](https://central.sonatype.com/artifact/com.arize/openinference-semantic-conventions) |
| [`openinference-instrumentation`](https://github.com/Arize-ai/openinference/tree/main/java/openinference-instrumentation) | Base instrumentation utilities. | [Maven Central Version](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation) |
| [`openinference-instrumentation-langchain4j`](https://github.com/Arize-ai/openinference/tree/main/java/instrumentation/openinference-instrumentation-langchain4j) | OpenInference Instrumentation for LangChain4j. | [Maven Central Version](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-langchain4j) |
| [`openinference-instrumentation-springAI`](https://github.com/Arize-ai/openinference/tree/main/java/instrumentation/openinference-instrumentation-springAI) | OpenInference Instrumentation for Spring AI. | [Maven Central Version](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-springAI) |
| [`openinference-instrumentation-annotation`](https://github.com/Arize-ai/openinference/tree/main/java/instrumentation/openinference-instrumentation-annotation) | Annotation-based manual tracing with ByteBuddy. | [Maven Central Version](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-annotation) |
| [`openinference-instrumentation-adk-java`](https://github.com/Arize-ai/openinference/tree/main/java/instrumentation/openinference-instrumentation-adk-java) | OpenInference Instrumentation for Google ADK Java (`-javaagent`). | [Maven Central Version](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-adk-java) |

### Examples

| Name | Description | Complexity Level |
| - | - | - |
| [LangChain4j Example](https://github.com/Arize-ai/openinference/tree/main/java/examples/langchain4j-example) | Simple example using LangChain4j with OpenAI | Beginner |
| [Spring AI Example](https://github.com/Arize-ai/openinference/tree/main/java/examples/spring-ai-example) | Spring AI example with OpenAI and tool calling | Beginner |
| [Annotation Example](https://github.com/Arize-ai/openinference/tree/main/java/examples/annotation-example) | Annotation-based tracing with `@Chain`, `@LLM`, `@Tool`, `@Agent` | Beginner |
| [Programmatic Example](https://github.com/Arize-ai/openinference/tree/main/java/examples/programmatic-example) | Manual tracing with typed span classes (`LLMSpan`, `AgentSpan`, etc.) | Beginner |
| [ADK Java Example](https://github.com/Arize-ai/openinference/tree/main/java/examples/adk-java-example) | Google ADK for Java agent with a function tool, traced by the ADK `-javaagent` | Beginner |

## Go

### Libraries

| Package | Description | Version |
| - | - | - |
| [`openinference-semantic-conventions`](https://github.com/Arize-ai/openinference/tree/main/go/openinference-semantic-conventions) | Semantic conventions for tracing of LLM Apps. | `go get github.com/Arize-ai/openinference/go/openinference-semantic-conventions` |
| [`openinference-instrumentation`](https://github.com/Arize-ai/openinference/tree/main/go/openinference-instrumentation) | Suppression, context attribute propagation, and `TraceConfig` masking. Honors `OPENINFERENCE_HIDE_*` env vars. | `go get github.com/Arize-ai/openinference/go/openinference-instrumentation` |
| [`openinference-instrumentation-anthropic-sdk-go`](https://github.com/Arize-ai/openinference/tree/main/go/openinference-instrumentation-anthropic-sdk-go) | OpenInference Instrumentation for the Anthropic Go SDK (`anthropics/anthropic-sdk-go`). | `go get github.com/Arize-ai/openinference/go/openinference-instrumentation-anthropic-sdk-go` |
| [`openinference-instrumentation-openai-go`](https://github.com/Arize-ai/openinference/tree/main/go/openinference-instrumentation-openai-go) | OpenInference Instrumentation for the official OpenAI Go SDK ([`openai/openai-go`](https://github.com/openai/openai-go)). | `go get github.com/Arize-ai/openinference/go/openinference-instrumentation-openai-go` |

Requires Go 1.25+. Pair with [`arize-otel-go`](https://github.com/Arize-ai/arize-otel-go) for the one-line OTLP/HTTP setup to [Arize AX](https://arize.com/products/ax?utm_source=docs&utm_medium=web&utm_content=openinference), or wire up any OTel exporter (e.g. [Phoenix](https://github.com/Arize-ai/phoenix) at `http://localhost:6006/v1/traces`).

## Supported Destinations

OpenInference traces are standard OpenTelemetry traces, so they can be sent to any backend that accepts OTLP.

- [Arize Phoenix](https://github.com/Arize-ai/phoenix): open source, with native OpenInference support.
- [Arize AX](https://arize.com/products/ax?utm_source=docs&utm_medium=web&utm_content=openinference): native OpenInference support.
- [Dynatrace](https://docs.dynatrace.com/docs/observe/dynatrace-for-ai-observability/get-started/openinference): OpenInference support in Dynatrace AI Observability.
- Any OpenTelemetry collector or OTLP-compatible backend.

## Community

Questions, bug reports and ideas are welcome.

- Report bugs and request features in [GitHub Issues](https://github.com/Arize-ai/openinference/issues).
- Star [the repository](https://github.com/Arize-ai/openinference) on GitHub.
