$npx skillfedfor your agent

openinference-instrumentation-pydantic-ai

OpenInference PydanticAI Instrumentation

Worth itPyPI MonitoringReleased Aug 2026375.5K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — openinference_instrumentation_pydantic_ai-0.1.20-py3-none-any.whl
v0.1.20 · released 2026-08-12 · Python <3.15,>=3.10 · 7 runtime deps: openinference-instrumentation, openinference-semantic-conventions, opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions, typing-extensions, wrapt

Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and directly solves the problem of observing PydanticAI agents. If you're running PydanticAI in production or need visibility into agent behavior, this is the standard instrumentation library. The Apache-2.0 license is permissive for commercial use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; OpenTelemetry SDK and an exporter (e.g., OTLP) must be installed separately to send traces to a collector.
  • Low friction: pure Python wheel with seven runtime dependencies already in the OpenTelemetry and OpenInference ecosystems.
  • Active maintenance—released 2 days ago with a 1147-star repository and continuous commits.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production environments.

last release 2026-08-12 (2 days) · last repo commit 2026-08-14 · 1,147 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 375,482 downloads/mo, #7,137 on PyPI

Verify before relying

pip install openinference-instrumentation-pydantic-ai

from openinference.instrumentation.pydantic_ai import OpenInferenceSpanProcessor
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor

tracer_provider = TracerProvider()
tracer_provider.add_span_processor(OpenInferenceSpanProcessor())
tracer_provider.add_span_processor(SimpleSpanProcessor(exporter))
  • Whether the package supports PydanticAI versions beyond what the fact sheet indicates.
  • Performance overhead of instrumentation on agent execution latency.
  • Whether custom span processors or filtering options are available beyond the documented quickstart.
Same gist for agents: .md · .json

What it is and what it does

This package adds automatic tracing to PydanticAI agents by wrapping their execution with OpenTelemetry instrumentation. It captures agent interactions, model calls, and reasoning steps as structured spans that conform to the OpenInference standard, making them viewable in observability platforms like Arize Phoenix and Arize AX. The instrumentation is transparent—you enable it by adding a span processor to your tracer provider, and all subsequent agent runs emit traces without code changes to your agent logic.

The package is built on top of the OpenInference instrumentation framework and depends on OpenTelemetry's core APIs and semantic conventions. It's designed for developers who want to monitor, debug, and analyze PydanticAI agent behavior in development and production environments. The traces can be exported to any OpenTelemetry-compatible backend, giving you flexibility in where and how you store and visualize agent execution data.

Use it for

  • Debug PydanticAI agent reasoning and model interactions by viewing detailed traces in Phoenix or Arize AX.
  • Monitor agent performance and latency across model calls in production environments.
  • Analyze agent behavior patterns and identify bottlenecks or failure modes.
  • Track structured outputs and model responses for compliance or audit purposes.
  • Correlate agent traces with other application telemetry in a unified observability platform.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, installs with low friction, and directly solves the problem of observing PydanticAI agents. If you're running PydanticAI in production or need visibility into agent behavior, this is the standard instrumentation library. The Apache-2.0 license is permissive for commercial use.

Install

openinference-instrumentation-pydantic-ai on PyPI

Before you install

Low friction: pure Python wheel with seven runtime dependencies already in the OpenTelemetry and OpenInference ecosystems. Active maintenance—released 2 days ago with a 1147-star repository and continuous commits.

Requires Python 3.10 or later; OpenTelemetry SDK and an exporter (e.g., OTLP) must be installed separately to send traces to a collector.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production environments.

Quickstart

pip install openinference-instrumentation-pydantic-ai

from openinference.instrumentation.pydantic_ai import OpenInferenceSpanProcessor
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor

tracer_provider = TracerProvider()
tracer_provider.add_span_processor(OpenInferenceSpanProcessor())
tracer_provider.add_span_processor(SimpleSpanProcessor(exporter))

Verify before relying

  • Whether the package supports PydanticAI versions beyond what the fact sheet indicates.
  • Performance overhead of instrumentation on agent execution latency.
  • Whether custom span processors or filtering options are available beyond the documented quickstart.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <3.15,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
openinference-instrumentationopeninference-semantic-conventionsopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventionstyping-extensionswrapt
MaintenanceActively maintained 2 days since the last release
Last repo commit
First released
Downloads375,482 / month, #7,137 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended 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.14

Evidence: openinference_instrumentation_pydantic_ai-0.1.20-py3-none-any.whl

Tags

Capabilities
pydantic ai instrumentationopentelemetry tracing pydanticai agent observabilitydistributed tracing pydantic aiopeninference instrumentationllm agent monitoringpydantic ai traces
Topics
observabilityopentelemetryai-agents

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 › “pydantic ai instrumentation”

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 logfire · openinference-instrumentation-agno · openinference-instrumentation-google-genai · openinference-instrumentation-crewai · openinference-instrumentation-anthropic · openinference-instrumentation-dspy · arize · openinference-instrumentation-claude-agent-sdk · openinference-instrumentation-google-adk · openinference-instrumentation-llama-index