kuilt Help

All modules

Every module in kuilt. The overview highlights the handful you meet first; this is the complete set. Each is published independently — you depend only on the ones you use.

Module

What it gives you

kuilt-core

The contract (Loom/Seam/Swatch), InMemoryLoom reference impl, MuxSeam + NamedMux channel splitters

kuilt-crdt

Replication data structures (GCounter, ORSet, LWWMap, JsonCrdt, …)

kuilt-quilter

Live replication over a Seam: Quilter propagates deltas and merges inbound changes

kuilt-gossip

Partial-mesh overlay (GossipSeam): gossip with ~k neighbours so large sessions scale O(k), not O(N)

kuilt-deal

Cryptographically fair card dealing (DealSession) + dealer-less fair-random (FairRandom)

kuilt-game

Turn-based game facade: gameHost/gameJoin/gameNodeGameSession, TurnSequencer, SpeculativeSequencer

kuilt-raft

Raft consensus — leader election, log replication, snapshots, dynamic membership, linearizable reads, leadership transfer

kuilt-cluster

Server-cluster overlay: ServerCluster (voter mesh + relay accept loop) + ClusterClient (propose + observe)

kuilt-liveness

Peer-liveness detection: HeartbeatPartitionDetector emits PartitionEvent (Unresponsive/Recovered/Lost)

kuilt-session

Membership-aware Room: admit/identify handshake, roster, reconnect tokens

kuilt-websocket

Ktor WebSocket fabric (KtorClientLoom + KtorServerLoom)

kuilt-mdns

Bonjour/mDNS local-network discovery feeding a WebSocket connection

kuilt-multipeer

Apple Multipeer Connectivity fabric (iOS/macOS)

kuilt-nearby

Google Nearby Connections fabric (Android)

kuilt-webrtc

WebRTC data-channel fabric (wasmJs)

kuilt-conformance

SeamConformanceSuite + RoomConformanceSuite — prove any fabric or room implementation correct

kuilt-otel

Offline-first telemetry: record logs, metrics, and traces on any device; they sync up when the network returns, with no duplicates

Last modified: 02 July 2026