openinference-instrumentation-crewai
OpenInference Crewai Instrumentation
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and solves a real need—CrewAI applications are difficult to debug and monitor without instrumentation. If you run CrewAI in production or need visibility into agent behavior, this is the standard path. Install it if you have an OpenTelemetry collector available; skip it only if your crews are purely local experiments with no observability requirement.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires an OpenTelemetry collector (e.g., Arize Phoenix) running and accessible at the configured endpoint; CrewAI and its dependencies must be installed separately.
- Low friction: pure Python wheel with seven runtime dependencies, all from the OpenTelemetry and OpenInference ecosystems.
- Actively maintained—last commit 2026-08-14, release 7 days old.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-08-07 (7 days) · last repo commit 2026-08-14 · 1,147 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 89,205 downloads/mo, #13,674 on PyPI
Alternatives
Verify before relying
pip install openinference-instrumentation-crewai
from openinference.instrumentation.crewai import CrewAIInstrumentor
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
trace_provider = TracerProvider()
trace_provider.add_span_processor(SimpleSpanProcessor(OTLPSpanExporter("http://127.0.0.1:6006/v1/traces")))
CrewAIInstrumentor().instrument(tracer_provider=trace_provider)- Whether event-listener mode works with all CrewAI execution patterns or only specific low-code/AMP setups.
- Performance overhead of instrumentation on large crews or high-frequency agent executions.
- Compatibility with custom CrewAI extensions or third-party agent frameworks beyond standard CrewAI.
What it is and what it does
This package wraps CrewAI agent execution to emit OpenTelemetry spans, capturing the structure and behavior of crews, agents, and tool calls. It integrates with the OpenInference semantic conventions to standardize how LLM agent traces are recorded, then exports them to any OpenTelemetry-compatible backend—most commonly Arize Phoenix for local inspection or Arize AX for cloud-hosted analysis.
The instrumentation works in two modes: the default wrapper-based approach, which intercepts Python method calls on CrewAI objects, and an event-listener mode for low-code or AMP environments where execution flows through CrewAI's event bus instead. Once enabled, it requires minimal setup—typically just instantiating the instrumentor with a tracer provider—and automatically captures agent roles, task descriptions, tool invocations, and LLM calls without modifying your crew code.
Use it for
- Debug crew execution by inspecting traces in Phoenix to see which agents ran, what tools they called, and where latency occurred.
- Monitor production CrewAI applications by exporting traces to Arize AX for alerting, performance analysis, and cost tracking.
- Validate agent behavior during development by replaying traces and checking that agents followed expected task sequences.
- Correlate crew performance with LLM provider costs and latency by analyzing span metadata and LLM call counts.
- Troubleshoot tool failures by examining detailed traces showing which tools were invoked and what data they received.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, carries a permissive license, and solves a real need—CrewAI applications are difficult to debug and monitor without instrumentation. If you run CrewAI in production or need visibility into agent behavior, this is the standard path. Install it if you have an OpenTelemetry collector available; skip it only if your crews are purely local experiments with no observability requirement.
Install
openinference-instrumentation-crewai on PyPI
Before you install
Low friction: pure Python wheel with seven runtime dependencies, all from the OpenTelemetry and OpenInference ecosystems. Actively maintained—last commit 2026-08-14, release 7 days old.
Requires an OpenTelemetry collector (e.g., Arize Phoenix) running and accessible at the configured endpoint; CrewAI and its dependencies must be installed separately.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install openinference-instrumentation-crewai
from openinference.instrumentation.crewai import CrewAIInstrumentor
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import SimpleSpanProcessor
from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
trace_provider = TracerProvider()
trace_provider.add_span_processor(SimpleSpanProcessor(OTLPSpanExporter("http://127.0.0.1:6006/v1/traces")))
CrewAIInstrumentor().instrument(tracer_provider=trace_provider)
Verify before relying
- Whether event-listener mode works with all CrewAI execution patterns or only specific low-code/AMP setups.
- Performance overhead of instrumentation on large crews or high-frequency agent executions.
- Compatibility with custom CrewAI extensions or third-party agent frameworks beyond standard CrewAI.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <3.14,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesopeninference-instrumentationopeninference-semantic-conventionsopentelemetry-apiopentelemetry-instrumentationopentelemetry-semantic-conventionstyping-extensionswrapt |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 89,205 / month, #13,674 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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.13 |
Evidence: openinference_instrumentation_crewai-1.1.12-py3-none-any.whl
Tags
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 crewai monitoring”
- openinference-instrumentation-crewaiAutomatically instruments CrewAI agent applications with…
- opentelemetry-instrumentation-crewaiAdds OpenTelemetry tracing to crewAI agentic workflows, capturing LLM…
- crewai-coreProvides shared utilities, telemetry, and configuration…
Give your agent the search over MCP, or paste the wish link into any chat.
More Monitoring packages
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.
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.
Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.
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.
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.
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.
See also openinference-instrumentation-google-genai · openinference-instrumentation-openai-agents · openinference-instrumentation-pydantic-ai · crewai-tools · openinference-instrumentation-openai · crewai · openinference-instrumentation-agno · opentelemetry-instrumentation-crewai · crewai-core · crewai-cli