# Mlflow

> MLflow ML lifecycle management. Use for ML experiment tracking.

- Skill: `majiayu000/mlflow` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/mlflow`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/mlflow/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/mlflow

---


# MLflow

MLflow is the standard for tracking experiments. v3.0 (2025) pivots to **GenAI**, adding LLM Tracing, Prompt Management, and "LLM-as-a-Judge".

## When to Use

- **Experiment Tracking**: Logging hyperparameters (`lr=0.01`) and metrics (`accuracy=0.98`).
- **GenAI Tracing**: Visualizing the full chain of a RAG application.
- **Model Registry**: Versioning models (`my-model/v3`) for deployment.

## Core Concepts

### Tracking URI

Where logs are stored (local `./mlruns` or remote `http://mlflow-server`).

### Autologging

`mlflow.autolog()` automatically captures params from Scikit-learn, PyTorch, etc.

### LLM Tracing

OpenTelemetry-based tracing to debug prompt chains.

## Best Practices (2025)

**Do**:

- **Use `mlflow.evaluate()`**: To run "LLM-as-a-Judge" metrics on your RAG pipeline.
- **Use Prompt Engineering UI**: MLflow 3.0 has a UI to iterate on prompts.

**Don't**:

- **Don't use it for data storage**: Log artifacts (models), not datasets. Log metadata about datasets instead.

## References

- [MLflow Documentation](https://mlflow.org/)

