Open Source Federated Learning Frameworks

Browse free open source Federated Learning Frameworks and projects below. Use the toggles on the left to filter open source Federated Learning Frameworks by OS, license, language, programming language, and project status.

  • $300 Free Credits to Build on Google Cloud Icon
    $300 Free Credits to Build on Google Cloud

    New customers can spin up VMs, build with AI, and query data at no cost.

    Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
    Start Free
  • Build Agents and Models on One Platform Icon
    Build Agents and Models on One Platform

    Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

    Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
    Try It Free
  • 1
    Flower

    Flower

    Flower: A Friendly Federated Learning Framework

    A unified approach to federated learning, analytics, and evaluation. Federate any workload, any ML framework, and any programming language. 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. 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. 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, Pandas for federated analytics, or even raw NumPy for users who enjoy computing gradients by hand.
    Downloads: 4 This Week
    Last Update:
    See Project
  • 2
    FLEXible

    FLEXible

    Federated Learning (FL) experiment simulation in Python

    FLEXible (Federated Learning Experiments) is a Python framework offering tools to simulate FL with deep learning. It includes built-in datasets (MNIST, CIFAR10, Shakespeare), supports TensorFlow/PyTorch, and has extensions for adversarial attacks, anomaly detection, and decision trees.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 3
    Fedhf

    Fedhf

    A Flexible Federated Learning Simulator

    FedHF is a Python-based simulator for flexible, heterogeneous, and asynchronous federated learning research. It provides configurable resource models, supports asynchronous protocols, and accelerates experimentation.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 4
    Appfl

    Appfl

    Advanced Privacy-Preserving Federated Learning framework

    APPFL (Advanced Privacy-Preserving Federated Learning) is a Python framework enabling researchers to easily build and benchmark privacy-aware federated learning solutions. It supports flexible algorithm development, differential privacy, secure communications, and runs efficiently on HPC and multi-GPU setups.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Train ML Models With SQL You Already Know Icon
    Train ML Models With SQL You Already Know

    BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

    Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
    Try Free
  • 5
    Awesome-FL

    Awesome-FL

    Comprehensive and timely academic information on federated learning

    A “awesome” curated list of federated learning (FL) academic resources: research papers, tools, frameworks, datasets, tutorials, and workshops. A hub for FL knowledge maintained by the academic community.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    FATE

    FATE

    An industrial grade federated learning framework

    FATE (Federated AI Technology Enabler) is the world's first industrial grade federated learning open source framework to enable enterprises and institutions to collaborate on data while protecting data security and privacy. It implements secure computation protocols based on homomorphic encryption and multi-party computation (MPC). Supporting various federated learning scenarios, FATE now provides a host of federated learning algorithms, including logistic regression, tree-based algorithms, deep learning and transfer learning. FATE became open-source in February 2019. FATE TSC was established to lead FATE open-source community, with members from major domestic cloud computing and financial service enterprises. FedAI is a community that helps businesses and organizations build AI models effectively and collaboratively, by using data in accordance with user privacy protection, data security, data confidentiality and government regulations.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    FEDML Open Source

    FEDML Open Source

    The unified and scalable ML library for large-scale training

    A Unified and Scalable Machine Learning Library for Running Training and Deployment Anywhere at Any Scale. TensorOpera AI is the next-gen cloud service for LLMs & Generative AI. It helps developers to launch complex model training, deployment, and federated learning anywhere on decentralized GPUs, multi-clouds, edge servers, and smartphones, easily, economically, and securely. Highly integrated with TensorOpera open source library, TensorOpera AI provides holistic support of three interconnected AI infrastructure layers: user-friendly MLOps, a well-managed scheduler, and high-performance ML libraries for running any AI jobs across GPU Clouds. A typical workflow is shown in the figure above. When a developer wants to run a pre-built job in Studio or Job Store, TensorOperaLaunch swiftly pairs AI jobs with the most economical GPU resources, and auto-provisions, and effortlessly runs the job, eliminating complex environment setup and management.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 8
    FL4Health

    FL4Health

    Library to facilitate federated learning research

    FL4Health is a Vector Institute toolkit for building modular, clinically-focused FL pipelines. Tailored for healthcare, it supports privacy-preserving FL, heterogeneous data settings, integrated reporting, and clear API design.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    FedLab

    FedLab

    A flexible Federated Learning Framework based on PyTorch

    A Python-based framework for federated learning simulation, emphasizing modularity, communication efficiency, and algorithmic flexibility. Supports both server- and client-side customization for research and development purposes.
    Downloads: 0 This Week
    Last Update:
    See Project
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 10
    Flexe

    Flexe

    The open source federated learning for vehicular network simulation

    Flexe is a FL simulator designed for connected and autonomous vehicles (CAVs). It enables horizontal/vertical/transfer FL schemes and simulates realistic wireless and vehicular dynamics. Separate Python client (PyFlexe) available.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    NErlNet

    NErlNet

    Nerlnet is a framework for research and development

    NErlNet is a research-grade framework for distributed machine learning over IoT and edge devices. Built with Erlang (Cowboy HTTP), OpenNN, and Python (Flask), it enables simulation of clusters on a single machine or real deployment across heterogeneous devices.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    NVIDIA FLARE

    NVIDIA FLARE

    NVIDIA Federated Learning Application Runtime Environment

    NVIDIA Federated Learning Application Runtime Environment NVIDIA FLARE is a domain-agnostic, open-source, extensible SDK that allows researchers and data scientists to adapt existing ML/DL workflows(PyTorch, TensorFlow, Scikit-learn, XGBoost etc.) to a federated paradigm. It enables platform developers to build a secure, privacy-preserving offering for a distributed multi-party collaboration. NVIDIA FLARE is built on a componentized architecture that allows you to take federated learning workloads from research and simulation to real-world production deployment.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    Pfl Research

    Pfl Research

    Simulation framework for accelerating research

    A fast, modular Python framework released by Apple for privacy-preserving federated learning (PFL) simulation. Integrates with TensorFlow, PyTorch, and classical ML, and offers high-speed distributed simulation (7–72× faster than alternatives).
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14
    Substra

    Substra

    Low-level Python library used to interact with a Substra network

    An open-source framework supporting privacy-preserving, traceable federated learning and machine learning orchestration. Offers a Python SDK, high-level FL library (SubstraFL), and web UI to define datasets, models, tasks, and orchestrate secure, auditable collaborations.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    Taorluath is a Service-Oriented Learning Architecture based on a WAFFLE Bus design methodology which is the result of the fusion of the concepts behind the Wide Area Freely Federated Learning Environment (WAFFLE) and the Enterprise Service Bus (ESB).
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16
    Xfl

    Xfl

    An Efficient and Easy-to-use Federated Learning Framework

    XFL is a lightweight, high-performance federated learning framework supporting both horizontal and vertical FL. It integrates homomorphic encryption, DP, secure MPC, and optimizes network resilience. Compatible with major ML libraries and deployable via Docker or Conda.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • Next

Open Source Federated Learning Frameworks Guide

Open source federated learning frameworks enable organizations to develop and manage machine learning workflows that train models across multiple distributed data sources without requiring raw data to be centralized. Instead of moving sensitive information into a single repository, these frameworks coordinate model training between participating devices, organizations, or environments while exchanging model updates. This approach helps support privacy, reduce data movement, and encourage collaborative AI development across distributed ecosystems.

Modern open source federated learning frameworks provide capabilities such as distributed model orchestration, secure communication, participant management, aggregation of model updates, privacy-preserving techniques, experiment tracking, and integration with machine learning pipelines. These tools help researchers and enterprises build collaborative AI initiatives while maintaining greater control over where data remains. They are commonly used in industries where data privacy, regulatory compliance, and data ownership are important considerations.

As organizations seek to expand AI initiatives without compromising sensitive information, open source federated learning frameworks have become increasingly valuable. They allow multiple parties to contribute to model improvement while keeping data within local environments whenever possible. By supporting scalable collaboration, flexible deployment options, and transparent development, these frameworks help organizations advance machine learning projects while strengthening privacy and governance practices.

Open Source Federated Learning Frameworks Features

  • Distributed model training: Enables multiple participants to train shared AI models without moving raw data.
  • Privacy protection: Keeps sensitive information local while exchanging only model updates.
  • Secure aggregation: Combines training results while reducing exposure of individual participant contributions.
  • Model synchronization: Coordinates updates across participating environments to maintain training consistency.
  • Communication optimization: Reduces network usage through efficient transfer of training updates.
  • Flexible deployment: Supports implementation across cloud, on-premises, and edge environments.
  • Framework integration: Connects with AI development tools, data platforms, and orchestration solutions.
  • Participant management: Controls training membership, permissions, and collaboration across distributed environments.
  • Monitoring dashboards: Displays training progress, model performance, and federation status through centralized views.

Different Types of Open Source Federated Learning Frameworks

  • Cross-Device Federated Learning Frameworks: Coordinate model training across distributed endpoint devices while keeping local data on each participant.
  • Cross-Silo Federated Learning Frameworks: Connect multiple organizations to collaboratively train AI models without directly sharing sensitive datasets.
  • Horizontal Federated Learning Frameworks: Train models using datasets with similar features but different records across participating environments.
  • Vertical Federated Learning Frameworks: Support collaborative learning where participants share different features describing the same entities.
  • Privacy-Preserving Federated Learning Frameworks: Incorporate techniques that help reduce data exposure throughout distributed model training.
  • Edge Federated Learning Frameworks: Enable AI training closer to data sources, reducing latency and network traffic for distributed environments.
  • Research-Oriented Federated Learning Frameworks: Provide flexible environments for testing algorithms, evaluating privacy methods, and exploring distributed AI techniques.
  • Production Federated Learning Frameworks: Focus on scalability, orchestration, monitoring, and operational reliability for enterprise AI deployments.

Advantages of Open Source Federated Learning Frameworks

  • Strengthens data privacy: Keeps sensitive information within local environments while sharing only learning updates.
  • Supports distributed collaboration: Enables multiple organizations to contribute without centrally pooling confidential datasets.
  • Increases scalability: Trains models across many locations without depending on a single data repository.
  • Improves transparency: Allows teams to review source code and understand framework functionality.
  • Encourages customization: Adapts workflows, communication methods, and training processes for specialized requirements.
  • Reduces licensing costs: Many open source options eliminate recurring licensing expenses.
  • Supports regulatory objectives: Helps organizations address privacy and data governance requirements.
  • Promotes interoperability: Connects with diverse AI environments, infrastructure, and development workflows.

Types of Users That Use Open Source Federated Learning Frameworks

  • AI researchers: Study distributed machine learning methods while protecting sensitive training data across participating organizations.
  • Data science teams: Build collaborative machine learning workflows without centralizing confidential datasets.
  • Healthcare organizations: Train shared AI models while keeping patient information within local environments.
  • Financial institutions: Collaborate on fraud detection models without directly exchanging sensitive financial data.
  • Academic institutions: Conduct joint research projects using distributed datasets while maintaining data privacy.
  • Government agencies: Support cross-agency AI initiatives while reducing unnecessary data sharing.
  • Technology companies: Develop privacy-focused AI solutions using distributed model training approaches.
  • Compliance teams: Help align collaborative AI projects with privacy and regulatory requirements.

How Much Do Open Source Federated Learning Frameworks Cost?

The cost of open source federated learning frameworks depends largely on deployment complexity, infrastructure requirements, customization needs, and ongoing operational support. Although the framework itself is typically available without licensing fees, organizations often invest in implementation, model development, integration, testing, and security. Projects involving multiple participating organizations or large volumes of distributed data generally require greater technical resources, increasing the overall investment.

Organizations should also consider expenses beyond the initial deployment. Cloud infrastructure, computing resources, monitoring, maintenance, employee training, and compliance activities all contribute to the total cost of ownership. Businesses should evaluate both short-term and long-term expenses when comparing open source federated learning frameworks to ensure the selected solution aligns with technical requirements, scalability goals, and available budgets.

What Software Do Open Source Federated Learning Frameworks Integrate With?

Open source federated learning frameworks can integrate with machine learning operations platforms, data management solutions, cloud infrastructure management platforms, container orchestration technologies, and workflow automation tools. They also work with identity and access management solutions, data governance platforms, analytics technologies, model monitoring tools, and API management solutions to support secure distributed model training. Integrations with edge computing platforms, enterprise data warehouses, security monitoring technologies, and version control systems help coordinate model updates while protecting sensitive information. These connections enable organizations to manage decentralized AI workflows, improve collaboration across distributed environments, and maintain privacy throughout the model development lifecycle.

What Are the Trends Relating to Open Source Federated Learning Frameworks?

  • Privacy-preserving machine learning gains momentum by allowing model training without centralizing sensitive data.
  • Cross-organization collaboration expands as institutions train shared models while keeping local datasets under their control.
  • Secure aggregation techniques improve protection by limiting exposure of individual participant updates during model training.
  • Edge AI adoption increases, enabling connected devices to participate in distributed model training with local data.
  • Scalability enhancements support larger deployments involving more participants, devices, and distributed training workloads.
  • Integration with cloud and edge environments improves deployment flexibility across diverse computing infrastructures.
  • Model optimization advances reduce communication overhead, making distributed training more efficient across networks.

How Users Can Get Started With Open Source Federated Learning Frameworks

Selecting the right open source federated learning frameworks begins with defining your machine learning objectives, data privacy requirements, and deployment environment. Evaluate whether the framework supports your preferred machine learning libraries, communication methods, and distributed training architecture. Consider scalability, security features, documentation quality, and the activity of the development community to ensure long-term reliability. Review available tools for monitoring, model aggregation, participant management, and fault tolerance, along with compatibility with cloud, on-premises, or hybrid environments. It is also important to assess deployment complexity, ongoing maintenance, and licensing terms. Running a pilot project with representative workloads can help verify performance, ease of integration, and operational efficiency before selecting a framework for production use.