skillfed

metaflow

Metaflow: More AI and ML, Less Engineering

metaflow v2.19.37 930.4K downloads/30d#4,702 on PyPI10,213
Permissive license Apache Software License Active released

What it is and what it does

Metaflow is a framework for managing the full lifecycle of AI and ML projects, from rapid local prototyping to production deployment. It provides a Pythonic API that unifies code, data, and compute management, allowing teams to write workflows once and scale them across local machines, cloud infrastructure, or production orchestrators without rewriting. The framework handles experiment tracking, versioning, dependency management, and both horizontal and vertical scaling with support for CPUs and GPUs.

Originally developed at Netflix and now supported by Outerbounds, Metaflow is designed for teams of any size working on classical statistics, deep learning, or foundation models. It reduces the engineering burden of moving from notebook prototypes to reliable production systems by providing built-in support for distributed computing, failure recovery, checkpointing, and reactive orchestration. The package depends on requests and boto3, making it suitable for cloud-native workflows, particularly on AWS.

Use it for:

  • Prototype ML models locally in notebooks, then scale the same code to run on distributed cloud compute without modification
  • Track experiments, versions, and artifacts across team members with built-in versioning and visualization
  • Deploy data pipelines and ML workflows to production orchestrators with one-click deployment and event-driven triggering
  • Run embarrassingly parallel or gang-scheduled compute jobs reliably across CPUs and GPUs with automatic failure recovery
  • Manage dependencies and data access for large-scale data processing jobs handling petabytes of data

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Metaflow is a framework for building, prototyping, and deploying AI and ML systems, handling the full lifecycle from local development through production orchestration with support for scaling across cloud compute resources.

Yes. Metaflow is actively maintained, has low install friction, carries a permissive license, and is backed by proven production use at scale (Netflix runs 3000+ projects on it). It solves a real problem—bridging the gap between notebook prototyping and production ML systems—with a mature, well-documented API. Install if you're building ML workflows that need to scale beyond a single machine or move from experimentation to production.

Install

metaflow on PyPI

pip

pip install metaflow

uv

uv add metaflow

poetry

poetry add metaflow

Installing metaflow

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release (3 days old) and strong community backing; the repository shows 10213 stars and continuous development.

License in practice

Licensed under Apache Software License (permissive), which allows commercial use, modification, and distribution with minimal restrictions—suitable for both proprietary and open-source projects.

Quickstart

pip install metaflow

from metaflow import FlowSpec, step

class MyFlow(FlowSpec):
    @step
    def start(self):
        self.next(self.end)
    
    @step
    def end(self):
        pass

if __name__ == '__main__':
    MyFlow()

Verify before relying

  • Whether the package requires AWS/cloud credentials or infrastructure setup to use core features beyond local prototyping
  • Performance characteristics and overhead when running on modest hardware or in resource-constrained environments
  • Compatibility details with specific notebook environments (Jupyter, JupyterLab, etc.) beyond the stated notebook support

Package facts

License Apache Software License (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — requests, boto3
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 930,396/month — #4,702 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: metaflow-2.19.37-py2.py3-none-any.whl

Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

ml workflow orchestrationai pipeline frameworkmachine learning deploymentdata science workflow managementdistributed computing for mlexperiment tracking and versioningproduction ml orchestration
ml-orchestrationworkflow-managementcloud-native

More Distributed Computing packages