opentelemetry-instrumentation-agno
OpenTelemetry Agno instrumentation
What it is and what it does
This package is an OpenTelemetry instrumentation plugin for the Agno framework. It automatically captures telemetry data from Agno applications—including agent execution, team operations, model invocations, function calls, and streaming responses—without requiring manual instrumentation code. You install it, call AgnoInstrumentor().instrument() once at startup, and all Agno activity is then emitted as OpenTelemetry traces that can be sent to any compatible observability backend.
The package is designed for developers building or operating Agno-based applications who need visibility into how agents behave, which models are being called, how long operations take, and where failures occur. It integrates with the OpenTelemetry ecosystem through its dependencies on opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions-ai, and opentelemetry-semantic-conventions. The package is actively maintained, has no known security vulnerabilities, and requires Python 3.10 or later.
Use it for:
- Monitor agent execution latency and success rates in production Agno applications to identify performance bottlenecks.
- Trace model invocations across distributed Agno deployments to correlate AI operations with other service metrics.
- Debug team operations and function call chains by inspecting detailed trace spans in an observability platform.
- Collect streaming response telemetry to understand response patterns and latency in real-time.
- Correlate Agno agent traces with application logs and metrics for end-to-end observability of AI workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Automatically instruments the Agno framework to emit OpenTelemetry traces for agent execution, team operations, model invocations, function calls, and streaming responses.
Yes—if you are running Agno in production or development and need observability. The package is actively maintained, has zero known vulnerabilities, low install friction, and a permissive Apache-2.0 license. It integrates cleanly with standard OpenTelemetry infrastructure. Install it if you want to trace Agno agent behavior; skip it only if you have no observability requirements.
Install
opentelemetry-instrumentation-agno on PyPI
pip
pip install opentelemetry-instrumentation-agnouv
uv add opentelemetry-instrumentation-agnopoetry
poetry add opentelemetry-instrumentation-agnoInstalling opentelemetry-instrumentation-agno
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release and no known vulnerabilities. Depends on four OpenTelemetry packages (opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions-ai, opentelemetry-semantic-conventions) which are standard observability infrastructure.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions—only requiring license and copyright notice retention.
Quickstart
pip install opentelemetry-instrumentation-agno
from opentelemetry.instrumentation.agno import AgnoInstrumentor
AgnoInstrumentor().instrument()
Requires Python 3.10 or later.
Verify before relying
- Whether instrumentation works with all Agno versions or has specific version constraints beyond what the fact sheet shows
- Performance overhead of instrumentation on agent execution and streaming workloads
- Whether async instrumentation covers all async patterns used in Agno applications
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<4,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — opentelemetry-api, opentelemetry-instrumentation, opentelemetry-semantic-conventions-ai, opentelemetry-semantic-conventions |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,348,744/month — #3,114 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: opentelemetry_instrumentation_agno-0.62.3-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
openinference-instrumentation-agnoAuto-instruments Agno Agent applications to…
permissive · top 15,000 on PyPI
agnoAgno is a framework and runtime for building,…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-fastapiAutomatically instruments FastAPI applications…
permissive · top 1,000 on PyPI
instanaInstana is a Python instrumentation package…
permissive · top 15,000 on PyPI
agnoctlagnoctl is a command-line interface for…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-loggingIntegrates Python's standard logging module…
permissive · top 1,000 on PyPI
opentelemetry-instrumentation-starletteAdds automatic tracing and observability…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-sagemakerAutomatically captures traces of Amazon…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-groqAutomatically captures traces of Groq SDK API…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-openai-agentsAdds distributed tracing to OpenAI Agents…
permissive · top 5,000 on PyPI