@melapre/vanna-federation
flwr new @melapre/vanna-federationVanna Federation
Flower ServerApp + ClientApp for five isolated FX desks.
Desks train an XGBoost model on private execution history. Only model updates leave the desk. The server aggregates with FedXgbBagging and exports one approved file: provider_evidence.json (fill, reject, slippage, latency per LP). Raw orders, client IDs, UTIs, and live intent are never shared.
This is one of two Flower App Bundles. Flower will not put an AgentApp in the same FAB as a ServerApp/ClientApp. The sister app is .
Simulation (local)
Expect 5 virtual SuperNodes. No Flower config edits required.
cd apps/federation uv sync uv run flwr run . --federation-config="num-supernodes=5" --stream
The ClientApp reads partition-id from context.node_config and generates deterministic synthetic desk data (or loads a saved partition if present).
SuperGrid (deployment)
Federation: @molyleela/Vanna. Needs 5 real SuperNodes online.
uv run flwr login supergrid uv run flwr run . supergrid --federation @molyleela/Vanna --stream
Desk data stays on the SuperNode. Do not pass raw order files into the shared payload.
What this app does not do
- Does not execute trades
- Does not blacklist liquidity providers
- Does not share client identities
License: MIT. Flower target: 1.35.0.