Repository map
FL-Net is not a single monorepo. All repositories live in the FedLearnNet GitHub organization. Use this page to answer one practical question quickly:
- which repository owns the part of FL-Net you want to change?
If you want the networking focused architecture first, start with Understanding the network architecture. If you already know you are touching the Frontend, also see the Frontend workspace map.
Mental model
The repositories are easiest to understand as five layers:
- Documentation
- Deployment
- Frontend
- Platform and Client services
- Tool development
This diagram is intentionally simplified. It does not contain repository interactions.
Core repositories
| Repository | What it owns | When you usually change it |
|---|---|---|
| Documentation | Docusaurus site for Client/Platform usage, deployment, Tool development and contributors documentation, You're viewing this now! | Writing or restructuring docs, see Documentation workflow. Any changes to other repositiories that result in a different user experience must also be documented here. |
| Frontends | Angular workspace with the local (Client) and global (Platform) frontends, the shared UI library, and project themes | UI flows, components, routes, frontend integrations, see Frontend |
| Learning-APIs | Multi-module Quarkus project: core-learning-api (shared logic and DTOs), global-learning-api (Platform), local-learning-api (Client, including data import and the patient store), datamodeler-api (data models (schemas) with ontologies and datatypes) | Federated learning flows, queries, workflows, data import, schema and ontology handling, see Backend |
| Orchestration-API | Runs Tools as Docker containers: pulls images, creates an isolated network and volume per run, starts Tool builds, and tracks the run lifecycle. Also handles the tool build pipeline execution. | Starting runs, container isolation, run lifecycle, see Backend |
| Federated-Learning-Communication-API | Go services for federated communication: one controller per Client and one relay server per network | Controller and relay behavior, encryption, SMPC and DP message flows, see Federated communication layer |
Tool development repositories
| Repository | What it owns | Notes |
|---|---|---|
| Python-Tool-API | Python SDK and runtime for FL-Net Tools, published as the FL-Net-Python-Tool-API package | Imported as pyfedappwrap |
| Tool-Build-Pipeline | Containerized pipeline that builds, tests, scans, and publishes Tool images | Normally started by the Orchestration API when a Tool is published |
See Tool development for how to use these repositories to create a Tool.
Deployment repositories
| Repository | What it owns |
|---|---|
| FL-Net-CLI | The flnet command line for setting up and operating Clients and Platforms and for scaffolding new Tools |
See the Deployment section for how these are used.
Fast path: where should I change what?
- Documentation:
Documentation - Angular UI or shared frontend components:
Frontends - Platform backend behavior (projects, queries, workflows, federated runs):
global-learning-apiinLearning-APIs, potentially also thelocal-learning-apias the federated runs are executed there. - Client backend behavior (data import, patient store, local queries, Tool runs):
local-learning-apiinLearning-APIs. May also affect theorchestration-apiif it changes the run lifecycle. - Schema, ontology, or data model work:
datamodeler-apiinLearning-APIs. Careful, as this might also change the behavior of theLearning APIsand theFrontends. - Tool container and pipeline execution and run lifecycle:
Orchestration-API - Federated communication layer (Controller or relay internals):
Federated-Learning-Communication-API, see Federated communication layer - Tool development support:
Python-Tool-API,Tool-Build-Pipeline. Potentially also theFL-Net-CLIif you want to change the Tool template given to developers. - Deployment including proxy (NGINX), oauth (KeyCloak) and backup handling:
FL-Net-CLI.