$npx skillfedfor your agent

opentelemetry-instrumentation-openai-agents-v2

OpenTelemetry OpenAI Agents instrumentation (barebones)

With conditionsPyPI MonitoringReleased Oct 20252.9M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — opentelemetry_instrumentation_openai_agents_v2-0.1.0-py3-none-any.whl
v0.1.0 · released 2025-10-15 · Python >=3.9 · 4 runtime deps: opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, opentelemetry-util-genai

Yes, if you are already using OpenTelemetry and need observability into OpenAI Agents v2 applications. The low install friction and permissive license make adoption straightforward. However, the alpha status means the instrumentation is still evolving; verify that it captures the telemetry signals you need and test thoroughly before relying on it in production. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • An OpenTelemetry SDK and exporter must be configured separately to actually emit telemetry data.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restrictions.

last release 2025-10-15 (303 days) · last repo commit 2026-08-14 · 1,086 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,890,832 downloads/mo, #2,839 on PyPI

Verify before relying

pip install opentelemetry-instrumentation-openai-agents-v2

from opentelemetry.instrumentation.openai_agents_v2 import OpenAIAgentsInstrumentor

OpenAIAgentsInstrumentor().instrument()
  • Whether this instrumentation supports all versions of OpenAI Agents v2 or only specific releases.
  • What specific telemetry signals (traces, metrics, logs) are captured and their semantic convention status.
  • Performance overhead when instrumentation is active in production workloads.
Same gist for agents: .md · .json

What it is and what it does

This package is an OpenTelemetry instrumentation for OpenAI Agents v2 applications. It automatically intercepts calls to the OpenAI Agents v2 library and emits telemetry data—traces and metrics—without requiring you to modify your application code. The instrumentation integrates with the OpenTelemetry API and semantic conventions, allowing you to export telemetry to any backend that accepts OpenTelemetry data (Jaeger, Datadog, New Relic, etc.).

The package is part of the OpenTelemetry Python contrib repository and is currently in alpha status. It depends on opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, and opentelemetry-util-genai. Installation is straightforward, and the instrumentation is activated by calling the instrument() method. Because it is alpha, the API and captured signals may change; production use should be evaluated carefully.

Use it for

  • Enable distributed tracing across OpenAI Agents v2 applications to track request flow and latency.
  • Collect metrics on OpenAI Agents v2 API calls for monitoring and alerting in observability platforms.
  • Debug OpenAI Agents v2 behavior by examining detailed traces of internal operations and dependencies.
  • Correlate OpenAI Agents v2 telemetry with other services in a microservices architecture.
  • Audit and log interactions with OpenAI Agents v2 for compliance and troubleshooting.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are already using OpenTelemetry and need observability into OpenAI Agents v2 applications.

The low install friction and permissive license make adoption straightforward. However, the alpha status means the instrumentation is still evolving; verify that it captures the telemetry signals you need and test thoroughly before relying on it in production. No known vulnerabilities.

Install

opentelemetry-instrumentation-openai-agents-v2 on PyPI

Before you install

Low install friction with a pure-Python wheel. The package is actively maintained within the OpenTelemetry Python contrib repository and carries alpha status, meaning it is still evolving; use in production environments should be approached with caution.

Requires Python 3.9 or later. An OpenTelemetry SDK and exporter must be configured separately to actually emit telemetry data.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restrictions.

Quickstart

pip install opentelemetry-instrumentation-openai-agents-v2

from opentelemetry.instrumentation.openai_agents_v2 import OpenAIAgentsInstrumentor

OpenAIAgentsInstrumentor().instrument()

Verify before relying

  • Whether this instrumentation supports all versions of OpenAI Agents v2 or only specific releases.
  • What specific telemetry signals (traces, metrics, logs) are captured and their semantic convention status.
  • Performance overhead when instrumentation is active in production workloads.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
opentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventionsopentelemetry-util-genai
MaintenanceActively maintained 303 days since the last release
Last repo commit
First released
Downloads2,890,832 / month, #2,839 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Evidence: opentelemetry_instrumentation_openai_agents_v2-0.1.0-py3-none-any.whl

Tags

Capabilities
opentelemetry instrumentation openai agentsauto-instrumentation openai agents v2otel tracing openai agentsopenai agents telemetrydistributed tracing openaiobservability openai agentsopentelemetry genai instrumentation
Topics
observabilityopentelemetrygenai-instrumentation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “opentelemetry instrumentation openai agents”

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also opentelemetry-instrumentation-openai-v2 · opentelemetry-instrumentation-openai-agents · opentelemetry-instrumentation-fastapi · opentelemetry-distro · opentelemetry-instrumentation-starlette · opentelemetry-instrumentation-openai · opentelemetry-semantic-conventions-ai · iterative-telemetry