{"data":{"slug":"ailabstw-harmonia","name":"harmonia","tagline":"Federated Learning Made Easy","github_url":"https://github.com/ailabstw/harmonia","owner":"ailabstw","repo":"harmonia","owner_avatar_url":"https://avatars.githubusercontent.com/u/28085328?v=4","primary_language":"Go","stars":17,"forks":14,"topics":[],"archived":false,"github_pushed_at":"2020-09-21T08:16:29+00:00","maintenance_label":"Dormant","url":"https://www.graphcanon.com/tools/ailabstw-harmonia","markdown_url":"https://www.graphcanon.com/tools/ailabstw-harmonia.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/ailabstw-harmonia","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=ailabstw-harmonia","description":"Federated Learning Made Easy","homepage_url":null,"license":"MPL-2.0","open_issues":0,"watchers":5,"ai_summary":null,"readme_excerpt":"# Harmonia \nHarmonia is an open source project aiming at developing systems/infrastructures and libraries to ease the adoption of [federated learning](https://en.wikipedia.org/wiki/Federated_learning) (abbreviated to FL) for researches and production usage. It is named Harmonia, the Greek goddess of harmony, to reflect the spirit of federated learning; that is, multiple parities collaboratively build a ML model for the common good. \n\nThe first release includes Harmonia-operator SDK and differential privacy modules (https://github.com/ailabstw/blurnn). We welcome contributions of new aggregation algorithms, privacy mechanism, datasets, etc. Let's work together to flourish the growth of federated learning. \n\n# FL System Architecture\n<div align=\"center\"><img src=\"./assets/architecture.jpg\" style=\"width:75%\"></img></div>  \n\nThe design of the Harmonia system is inspired by [GitOps](https://www.weave.works/blog/gitops-operations-by-pull-request). GitOps is centerred around a git repository, which maintains the desired states in the production environment. An automated process makes the production environment match the described state in the repository. In Harmonia, training plans (or simply FL parameters), global models, and local models are kept in git repositories. Updates to these repositories trigger FL system state transitions. These automates the FL training processes. A participant in a federated training is composed of an `Operator` container and an `Application` container. An `Operator` container is in charge of maintaining the FL system states, and communicates with an `Application` container via gRPC. Local training and aggerator applications are encapsulated in `Application` containers. This container based architecture enables quick plug-in of existing ML workflows.\n\n# Documentation\n* [docs](docs/)\n    * [docs/get-started](docs/get-started): A step-by-step [example](examples/mnist) tutorial\n    * [docs/sdk](docs/sdk/): Detailed sdk document\n\n# Build\nTo build the Harmonia `Operator`,\n```bash\n$ make all\n```\nfor `harmonia/operator` image\n\n# Example\nSee `examples/mnist`\n\n# Get Started\nSee [docs/get-started](docs/get-started)","github_created_at":"2020-06-04T03:20:25+00:00","created_at":"2026-07-11T23:38:20.451521+00:00","updated_at":"2026-07-11T23:38:26.415816+00:00","categories":[{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"},{"slug":"computer-vision","name":"Computer Vision","url":"https://www.graphcanon.com/categories/computer-vision","markdown_url":"https://www.graphcanon.com/categories/computer-vision.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/computer-vision"},{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"}],"tags":[{"slug":"go","name":"go"}],"trust":{"provenance":{"is_fork":false,"github_id":269250328,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-07-11T23:38:23.009Z","maintenance":{"label":"Dormant","score":18,"methodology":"github_public_v1","releases_90d":0,"days_since_push":2119,"last_release_at":null},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T23:38:23.372Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-07-11T23:38:22.574Z"},"languages":{"value":["go"],"source":"github.language","observed_at":"2026-07-11T23:38:22.574Z"},"license_spdx":{"value":"MPL-2.0","source":"github.license","observed_at":"2026-07-11T23:38:22.574Z"}}}}