flower
AI Agents & AssistantsFlower: A Friendly Federated AI Framework
Features
- Customizable federated learning configurations for diverse use cases
- Extendable architecture supporting any machine‑learning framework (PyTorch, TensorFlow, scikit‑learn, JAX, etc.)
- Framework‑agnostic design allowing integration with research‑grade or production systems
Recent releases
View all 16 releases →Federations + auto deps; breaking CLI & sim defaults
Flower Agent prep + SuperGrid guides + Executor + Python
Task system + runtime checks + TLS + command restrictions
- Removes Flower File Storage (FFS) and the `--storage-dir` option from `flower-superlink`; replaces with LinkState‑based storage methods.
- Adds `--allow-runtime-dependency-installation` flag to `flower-superexec` enabling per‑run venv creation via uv.
- Enhances federation management: inspect run details, stream logs, stop runs; adds federation name validation and hides SuperNode status for archived federations.
- Introduces experimental HMAC shared‑secret authentication for SuperExec with nonce replay protection.
Full changelog
Thanks to our contributors
We would like to give our special thanks to all the contributors who made the new version of Flower possible (in git shortlog order):
Charles Beauville, Chong Shen Ng, Daniel J. Beutel, Heng Pan, Javier, Micah Sheller, Mohammad Naseri, Patrick Foley, Yan Gao
What's new?
-
Introduce runtime dependency installation option for isolated execution (#6741)
Introduces the
--allow-runtime-dependency-installationflag toflower-superexec, enabling runtime dependency installation viauvso that applications with differing dependencies can run independently. Runtime dependency installation automatically creates an independent venv for each run, even if those runs happen concurrently. Propagates this option fromflower-superlink/flower-supernodeto automatically startedflower-superexecinstances when using subprocess isolation mode. -
Improve federation run management and validation (#6943, #6956, #6957, #6961)
Enhances federation functionality by enabling members to inspect run details, stream logs, and stop runs directly within a federation. Introduces validation for federation names during creation. Hides the SuperNode status column when a federation is archived.
-
Introduce SuperExec authentication with HMAC and shared secrets (#6948, #6949, #6950, #6951, #6952, #6977, #6978, #6979, #6980, #6981)
Introduces an experimental SuperExec authentication mechanism based on shared-secret HMAC. Establishes core primitives, nonce replay protection, and interceptor foundations, and integrates authentication into ServerAppIo and ClientAppIo.
-
Show Flower Hub compatibility note in CLI download and review flows (#6989, #6992)
Surfaces the Flower Hub-provided compatibility note when an app download resolves to an older compatible version instead of the latest release. Reads the returned
notefield and displays it inflwr run,flwr newandflwr app review, improving transparency around version selection. -
Enhance authentication for
flwr-*processes (#6796)Improves security by authenticating RPC calls from
flwr-serverapp,flwr-simulation, andflwr-clientappusing token-based mechanism. -
Update examples with FAB metadata and improved documentation (#6890, #6935)
Enhances examples by updating README files to use local SuperLink and adding FAB format metadata (
fab-format-version = 1andflwr-version-target). Introduces LICENSE files across published apps and bumps application versions at the minor level to reflect these updates. -
Display full FAB hash in
flwr listJSON output (#6958)Replaces truncated FAB hash with the full hash value in the JSON output of
flwr list, ensuring complete and accurate identification of FABs. -
Stabilize CI pipelines and improve test reliability (#6911, #6974, #6985, #6987)
-
General improvements (#6931, #6944, #6946, #6955, #6970, #6973, #6982, #6983, #6988, #6990, #6994, #6995, #6996, #6997, #6999, #7003, #7004, #7005)
As always, many parts of the Flower framework and quality infrastructure were improved and updated.
Incompatible changes
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.