Statelet is a Fair Source distributed database written in Rust. It gives AI agents durable memory, context versions, runtime state snapshots, an openCypher-style memory query language, DiskHNSW/SPFresh vector recall, temporal graph recall, CDC, Raft consensus, Redis compatibility, and local ONNX embeddings.
Three-tier distributed architecture: stateless Gateway (gRPC :9379, HTTP :9380, Redis :6379) routing to a Metadata Plane (Raft consensus for namespace/database registry, shard map, column families, and node registry) and Data Plane (ShardEngine per node with LSM-tree, DiskHNSW/SPFresh vector search, temporal GraphSST, and per-shard Raft).
Fair Source (FSL-1.1-ALv2) — free to use, modify and self-host; each release converts to Apache-2.0 two years after it ships. Source release coming soon.
Statelet's gateway extracts structured facts from conversations, detects conflicts through vector similarity, resolves updates with temporal supersedes edges, and stores each fact with temporal metadata. Agents can recall memories with vector search, hybrid dense+sparse search, graph-RAG expansion, Personalized PageRank, and AS OF time travel.
Official gRPC clients: Python 3.9+ (pip install statelet-sdk), Node.js 18+ (npm install statelet-sdk), Go 1.21+, Rust 1.70+, Java 17+, C++ 17+. Redis RESP2 protocol compatible — connect with redis-cli or any Redis client library.
Install the server with pip install statelet, brew install stateletlab/statelet/statelet, apt-get install statelet, dnf install statelet, a Windows MSI, or a platform tarball. Start everything with statelet-cluster start, or let the systemd unit from the Debian and RPM packages handle it. Also deployable via Docker (multi-stage build) and Kubernetes (StatefulSets with 3+ data nodes).
Fair Source (FSL-1.1-ALv2) — the engine source release is coming soon. View the public benchmark on GitHub.