migrate-from-openinference

Migrate OpenInference packages to OpenTelemetry GenAI with package renaming and API refactoring.

27|42|Updated May 12, 2026
One-click install
npx skills add https://github.com/open-telemetry/opentelemetry-python-genai --skill migrate-from-openinference
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-from-openinference
Source: https://github.com/open-telemetry/opentelemetry-python-genai/tree/main/.github/skills/migrate-from-openinference
Command: npx skills add https://github.com/open-telemetry/opentelemetry-python-genai --skill migrate-from-openinference

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires opentelemetry-api, opentelemetry-sdk, opentelemetry-instrumentation, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the migration of OpenInference packages to the OpenTelemetry GenAI framework, ensuring seamless integration and compatibility with modern tools.

Core Features & Use Cases

  • Package Migration: Automatically migrates openinference-instrumentation-* packages to the OTel GenAI framework.
  • Greenfield Migration: Supports the creation of new packages when no existing ones are found.
  • Augment Existing Packages: Adds missing coverage from OpenInference to existing packages.
  • Use Case: When you need to integrate an OpenInference instrumented package into the OpenTelemetry ecosystem, this Skill streamlines the migration process.

Quick Start

Run the migrate-from-openinference skill with the source package name, e.g., migrate-from-openinference openinference-instrumentation-openai.

Frequently Asked Questions about migrate-from-openinference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate OpenInference packages to OpenTelemetry GenAI?

The migration skill automates moving openinference-instrumentation packages to the OpenTelemetry GenAI framework by handling package renaming, API refactoring, and conformance testing for seamless integration.

What is the difference between greenfield and augment modes for OpenInference migration?

Greenfield mode creates entirely new OpenTelemetry GenAI packages when no existing ones are found, whereas augment mode adds missing coverage from OpenInference to your existing packages.

Do I need the OpenTelemetry Python SDK to migrate OpenInference instrumentations?

Yes, OpenInference migration requires the OpenTelemetry Python SDK, specifically the opentelemetry-api, opentelemetry-sdk, and opentelemetry-instrumentation dependencies to ensure successful package integration.

When should I migrate OpenInference to the OTel GenAI framework?

You should migrate OpenInference to the OTel GenAI framework when you need to integrate your instrumented packages into the OpenTelemetry ecosystem for modern observability tool compatibility.

Does migrating OpenInference packages to OpenTelemetry support conformance testing?

Yes, the OpenInference to OpenTelemetry GenAI migration process includes conformance testing to verify that refactored APIs and renamed packages maintain proper integration and compatibility standards.