$npx skillfedfor your agent

mlflow-tracing

MLflow Tracing SDK is an open-source, lightweight Python package that only includes the minimum set of dependencies and functionality to instrument your code/models/agents with MLflow Tracing.

With conditionsPyPI Python ModulesReleased Aug 202623.2M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mlflow_tracing-3.15.1-py3-none-any.whl
v3.15.1 · released 2026-08-03 · Python >=3.10 · 8 runtime deps: cachetools, databricks-sdk, opentelemetry-api, opentelemetry-proto, opentelemetry-sdk, packaging, protobuf, pydantic

Yes, if you need distributed tracing for GenAI applications and want a lightweight alternative to the full MLflow package. The low install friction, active maintenance, Apache 2.0 license, and zero known vulnerabilities make it safe to deploy. Install only if you have access to a remote MLflow backend (Databricks, SageMaker, Nebius, or self-hosted); local-only tracing is not supported. Do not co-install with the full MLflow package.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Requires a remote MLflow server backend (Databricks, SageMaker, Nebius, or self-hosted) to log traces; local-only use is not supported.
  • Active maintenance with recent release (11 days old).

License · maintenance · safety

permissive license (permissive) — Apache 2.0 permissive license allows commercial and derivative use with minimal restrictions. Attribution and license text preservation required in distributions.

last release 2026-08-03 (11 days) · last repo commit 2026-08-14 · 27,503 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 23,168,516 downloads/mo, #954 on PyPI

Verify before relying

pip install mlflow-tracing

import mlflow

mlflow.set_tracking_uri("databricks")
mlflow.set_experiment("/Path/To/Experiment")

# Enable auto-tracing for supported AI libraries
mlflow.openai.autolog()
  • Which AI libraries support automatic tracing and whether additional setup is required beyond autolog().
  • Performance overhead of tracing instrumentation in high-throughput production scenarios.
  • Compatibility guarantees with specific versions of databricks-sdk and opentelemetry packages.
Same gist for agents: .md · .json

What it is and what it does

MLflow Tracing is a lightweight Python SDK designed to instrument GenAI applications with distributed tracing for observability. It captures execution flows, spans, and metadata from AI library calls and sends them to a remote MLflow backend for centralized monitoring and analysis. The package is intentionally minimal—it includes only the dependencies needed for tracing (cachetools, databricks-sdk, opentelemetry-api, opentelemetry-proto, opentelemetry-sdk, packaging, protobuf, pydantic) and omits MLflow's other features like the tracking server UI, model registry, and evaluation tools.

It supports both automatic tracing via decorators and manual instrumentation through APIs like @trace, mlflow.set_trace_tag, and mlflow.search_traces. The package is designed for production environments where smaller deployment footprint, simpler dependency management, and reduced security surface are priorities. Traces are logged to a remote backend (Databricks offers a free managed option), not stored locally.

Use it for

  • Monitor AI library calls and agent execution flows in production without deploying the full MLflow package.
  • Trace multi-step AI workflows to identify latency bottlenecks and failure points across supported libraries.
  • Centralize observability for serverless or containerized GenAI applications with minimal dependency overhead.
  • Instrument custom AI code with manual tracing decorators to log business logic alongside library calls.
  • Search and analyze historical traces to debug agent behavior or validate output quality in production.

Worth the install?

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

With conditions

Yes, if you need distributed tracing for GenAI applications and want a lightweight alternative to the full MLflow package.

The low install friction, active maintenance, Apache 2.0 license, and zero known vulnerabilities make it safe to deploy. Install only if you have access to a remote MLflow backend (Databricks, SageMaker, Nebius, or self-hosted); local-only tracing is not supported. Do not co-install with the full MLflow package.

Install

mlflow-tracing on PyPI

Before you install

Active maintenance with recent release (11 days old). Low install friction: pure Python wheel with 8 runtime dependencies. No known vulnerabilities. Requires Python 3.10+. Documentation explicitly warns against co-installing with the full MLflow package due to version mismatch risk.

Requires Python 3.10 or later. Requires a remote MLflow server backend (Databricks, SageMaker, Nebius, or self-hosted) to log traces; local-only use is not supported.

License in practice

Apache 2.0 permissive license allows commercial and derivative use with minimal restrictions. Attribution and license text preservation required in distributions.

Quickstart

pip install mlflow-tracing

import mlflow

mlflow.set_tracking_uri("databricks")
mlflow.set_experiment("/Path/To/Experiment")

# Enable auto-tracing for supported AI libraries
mlflow.openai.autolog()

Verify before relying

  • Which AI libraries support automatic tracing and whether additional setup is required beyond autolog().
  • Performance overhead of tracing instrumentation in high-throughput production scenarios.
  • Compatibility guarantees with specific versions of databricks-sdk and opentelemetry packages.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
8 packages
cachetoolsdatabricks-sdkopentelemetry-apiopentelemetry-protoopentelemetry-sdkpackagingprotobufpydantic
MaintenanceActively maintained 11 days since the last release
Last repo commit
First released
Downloads23,168,516 / month, #954 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 :: DevelopersIntended Audience :: End Users/DesktopIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Python Modules

Evidence: mlflow_tracing-3.15.1-py3-none-any.whl

Tags

Capabilities
genai tracing and observabilitymlflow tracing sdkdistributed tracing for ai agentsopentelemetry instrumentationai application monitoringtrace logging for llm callsproduction ai observability
Topics
observabilitygenai-monitoringdistributed-tracing
PyPI keywords
mlflowaidatabricks

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 › “mlflow tracing sdk”

  • mlflow-tracingInstrument GenAI applications with distributed tracing to log…
  • mlflow-skinnymlflow-skinny is a lightweight client library for MLflow that enables…
  • mlflowMLflow is an open-source platform for managing the complete lifecycle…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also mlflow · weave · mlflow-skinny · opik · opentelemetry-instrumentation-openai-agents · openinference-instrumentation-openai-agents · opentelemetry-instrumentation-openai · literalai · braintrust · opentelemetry-instrumentation-vertexai