Building a decentralized hive mind, one protocol at a time. New here? Start with The bytesandbrains Library or read from the beginning.
-
Product Quantization: Vector Compression for Fast Search
An introduction to Product Quantization (PQ) for compressing high-dimensional vectors and enabling fast approximate nearest neighbor search
-
K-Means Clustering
An introduction to the k-means clustering algorithm, k-means++ initialization, and Lloyd's iterative refinement
-
Product Quantization: Rust Implementation Deep Dive
A walkthrough of the bb-codec crate: ProductQuantizer, PQCode, distance tables, and integration with the Codec trait
-
The bytesandbrains Library
An introduction to the bytesandbrains Rust library for decentralized networking and edge AI
-
Gossip Peer Sampling: Rust Implementation Deep Dive
Walking through the Rust implementation of the gossip peer sampling protocol in the bytesandbrains library
-
Gossip Peer Sampling Service
Overlay architectures, sampling services, and the abstraction that connects them