MLflow

Active
GitHub Python Apache-2.0

Description

MLflow is the open-source AI engineering platform for debugging, evaluating, monitoring, and optimizing AI agents and LLM applications, with model and data access management.

Key Features

  • LLM Observability — Capture complete traces of Agent and LLM applications via OpenTelemetry
  • Systematic Evaluation — 50+ built-in metrics and LLM Judges for automatic output quality assessment
  • Prompt Registry & Optimization — Version-controlled prompts with auto-optimization algorithms
  • AI Gateway — Unified API gateway managing multiple LLM providers with rate limiting, fallbacks, and A/B testing
  • Experiment Tracking — Record model parameters, metrics, and evaluation results across experiments
  • Model Registry & Deployment — Collaborative ML model lifecycle management with Docker/K8s/AWS deployment

Use Cases

💡 Monitoring latency, cost, and quality metrics of LLM applications in production
💡 Systematically evaluating Prompt version effectiveness and detecting regressions before deployment
💡 Managing access to multiple LLM providers (OpenAI, Anthropic, etc.) through a unified AI gateway
💡 Tracking ML experiment iterations and comparing effects of different model parameters and training data
💡 Deploying trained models to cloud or Kubernetes clusters for inference serving

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (27.5k stars)
  • Permissive open-source license (Apache-2.0)

⚠️ Limitations

  • High issue backlog (2.0k open issues)

Quick Start

pip install mlflow
uvx mlflow server

# In Python code:
import mlflow
mlflow.set_tracking_uri("http://localhost:5000")
mlflow.openai.autolog()

from openai import OpenAI
client = OpenAI()
response = client.responses.create(
    model="gpt-4o-mini",
    input="Hello!",
)
print(response)

Related Projects

Agenta

4.5k · TypeScript
Active B

Agenta is an open-source LLMOps platform providing prompt playground, prompt management, LLM evaluation, and LLM observability all in one place.

observabilityllmopsprompt-management +2
  • · Interactive LLM Playground for side-by-side prompt comparison with 50+ model support
  • · Integrated prompt management with version control, branching, and environment management
  • · Systematic LLM evaluation with 20+ pre-built evaluators, LLM-as-judge, and human feedback

SwanLab

4.2k · Python
Active A+

An open-source, modern-design AI training tracking and visualization tool. Supports PyTorch, Transformers and more. Monitor and evaluate AI agent training processes.

pythonobservabilityevaluation +2
  • · Seamless integration with 50+ mainstream frameworks: native support for PyTorch, Transformers, HuggingFace Accelerate, PaddleNLP, NVIDIA NeMo RL and more, with two lines of code to connect training pipelines
  • · Rich visualization system: supports line charts, scalar plots, PR curves, ROC curves, confusion matrices, 3D point clouds, molecular structures, ECharts custom charts and 20+ chart types
  • · Multi-dimensional hardware monitoring: real-time monitoring of GPU (NVIDIA/AMD ROCm/Hygon DCU/Cambricon MLU/Moore Threads/Muxi/Iluvatar/Kunlun), disk utilization, network traffic and other hardware metrics

OpenInference

1.1k · Python
Active A

OpenTelemetry instrumentation for AI observability, providing standardized tracing, metrics collection, and span definitions for LLM inference processes to help developers monitor and debug AI agent systems.

observabilitypythonllm +2
  • · OpenTelemetry-based instrumentation spec for tracing LLM inference and application context
  • · Instrumentation libraries for 15+ ML frameworks: OpenAI, LlamaIndex, LangChain, DSPy, CrewAI, Agno, and more
  • · Semantic conventions for standardized span attributes across LLM applications

Evidently

7.8k · Jupyter Notebook
Active A

Evidently is an open-source ML and LLM observability framework with 100+ metrics for evaluating, testing, and monitoring any AI-powered system or data pipeline.

observabilityevaluationmonitoring +2
  • · 100+ built-in evaluation metrics for data drift, ML models, and LLM outputs
  • · LLM-as-a-judge evaluators for generative AI quality assessment
  • · Reports and Test Suites with pass/fail conditions for CI/CD integration