flower logo

flower

flwrlabs/flower

A Friendly Federated AI Framework

GraphCanon updated 2w · GitHub synced 2w

7.1k stars1.2k forksLast push 2w Python Apache-2.0

Decision brief

A customizable, extendable federated learning framework supporting multiple ML frameworks, coded in Python.

Good fit when

  • When you require support for a wide range of machine learning frameworks including PyTorch, TensorFlow, and scikit-learn to integrate federated learning
  • If your project benefits from an easily extendable design developed with AI research needs in mind

Avoid when

  • Avoid if your use case demands real-time model updates or integration with specific ML frameworks not covered by Flower's framework support
  • Not recommended for projects where the federated learning setup requires extensive customization beyond what the extendable components offer

Observed Jul 17, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (0d since push)
As of 2w
Provenance
Not a fork · Organization account
As of 2w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install flower
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

Flower is a customizable, extendable, framework-agnostic federated learning system supporting multiple machine learning frameworks.

Capability facts

Languages
python

Source: github.language · Aug 4, 2026

Categories

Tags

README

Flower: A Friendly Federated AI Framework

Flower Website

Website | Blog | Docs | Slack

Flower (flwr) is a framework for building federated AI systems. The design of Flower is based on a few guiding principles:

  • Customizable: Federated learning systems vary wildly from one use case to another. Flower allows for a wide range of different configurations depending on the needs of each individual use case.

  • Extendable: Flower originated from a research project at the University of Oxford, so it was built with AI research in mind. Many components can be extended and overridden to build new state-of-the-art systems.

  • Framework-agnostic: Different machine learning frameworks have different strengths. Flower can be used with any machine learning framework, for example, PyTorch, TensorFlow, Hugging Face Transformers, PyTorch Lightning, scikit-learn, JAX, TFLite, MONAI, fastai, MLX, XGBoost, CatBoost, LeRobot for federated robots, Pandas for federated analytics, or even raw NumPy for users who enjoy computing gradients by hand.

  • Understandable: Flower is written with maintainability in mind. The community is encouraged to both read and contribute to the codebase.

Meet the Flower community on flower.ai!

Federated Learning Tutorial

Flower's goal is to make federated learning accessible to everyone. This series of tutorials introduces the fundamentals of federated learning and how to implement them in Flower.

  1. What is Federated Learning?

  2. Get started with Flower

  3. Write your first Flower App

  4. Write your first Flower App with PyTorch

  5. Use a federated learning strategy

  6. Customize a Flower Strategy

  7. Communicate Custom Messages

Stay tuned, more tutorials are coming soon. Topics include Privacy and Security in Federated Learning, and Scaling Federated Learning.

Documentation

Flower Docs:

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.