OpenInference
ActiveDescription
OpenTelemetry instrumentation for AI observability, providing standardized tracing, metrics collection, and span definitions for LLM inference processes to help developers monitor and debug AI agent systems.
Key Features
- OpenTelemetry-based instrumentation spec for tracing LLM inference and application context
- Instrumentation libraries for 15+ ML frameworks: OpenAI, LlamaIndex, LangChain, DSPy, CrewAI, Agno, and more
- Semantic conventions for standardized span attributes across LLM applications
- Native integration with Arize Phoenix for LLM observability and evaluation
- Compatible with any OpenTelemetry-compatible backend (Jaeger, Zipkin, Grafana Tempo)
- Supports both Python and JavaScript/TypeScript instrumentation packages
Use Cases
Categories
Quick Start
Install the appropriate instrumentation package for your framework (e.g., `pip install openinference-instrumentation-openai`), configure an OpenTelemetry exporter to your backend, and wrap your LLM calls with the provided tracer. Results are viewable in Arize Phoenix or any OTel-compatible UI.