crdt-merge — Federation

Distributed gossip convergence simulation. Every node maintains a CRDTMergeState. Nodes exchange states via merge() — no coordinator, no locking. Convergence is guaranteed.

pip install crdt-merge · GitHub · PyPI · Patent UK 2607132.4, GB2608127.3 · E4 Trust-Delta Architecture

Gossip Convergence Simulation

Each node starts with its own weight tensor. Nodes exchange CRDTMergeState via merge() following the selected topology. Convergence is measured as average pairwise L2 distance. When all nodes reach the same state_hash, the system has converged — no coordinator, no locking, no message ordering required.

This simulates real-world federated model merging where:

  • Nodes are geographically distributed (edge devices, data centers)
  • Network connectivity is unreliable (partitions, late joiners)
  • There is no central server dictating merge order

New in v0.9.5 -- E4 Trust-Delta: Federation now carries trust metadata via the Symbiotic Lattice Trust (SLT) protocol. Every gossip exchange propagates typed trust scores (accuracy, consistency, recency, provenance) as first-class CRDT dimensions. Byzantine peers are detected and isolated with 34% fault tolerance and zero coordinator overhead. The convergence chart now includes a secondary y-axis showing real-time trust evolution for each node.

Model Family (safetensors)
2 8
1 20
Topology
Merge Strategy
0 10

Gossip Audit Log (last 50 events)


crdt-merge v0.9.5 · Patent UK 2607132.4, GB2608127.3 · E4 Trust-Delta · BUSL-1.1 → Apache 2.0 (2028-03-29)

🏠 Flagship · 🔬 Data Playground · 🌐 Federation · GitHub · ⭐ Star Repo · 👁️ Watch · 📐 Architecture Deep Dive · PyPI · pip install crdt-merge