Skeg is an open-source Rust database that combines vector search with key-value storage, aiming to let a local model and its database share a machine without keeping every embedding in RAM. It accepts vector and key-value commands through RESP3, so Redis clients can use both in one connection, and it also offers a Python client. Search can return payloads and apply metadata filters, while tenant authentication and quotas provide controls for multi-tenant setups. The project is released under Apache 2.0 and provides macOS and Linux installation options.
Its disk-backed search keeps full float32 vectors on disk and uses compact two-bit TQ2 codes in memory to navigate a Vamana graph and shortlist candidates. Skeg then reads the original vectors for full-precision reranking before returning IDs, scores and requested payloads. The site also describes memory limits, index maintenance, and a local read-only console for inspecting traffic, index state, search latency and shard health; the console’s displayed metrics are explicitly illustrative, not live measurements. Skeg is presented as a way to combine approximate nearest-neighbor search, precise reranking and ordinary key-value operations without requiring the full vector collection to reside in memory.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.