In-process, offline
A library, not a service. No server, no network access, no background process. Works on laptops, desktops and air-gapped machines.
pip install srvdbimport srvdb
db = srvdb.Database("./memory", dimension=384)db.add(ids=["a"], embeddings=[embedding], metadatas=['{"text": "hello"}'])db.persist() # crash-safe from here onprint(db.search(query, k=5)) # [("a", 0.93), ...]In-process, offline
A library, not a service. No server, no network access, no background process. Works on laptops, desktops and air-gapped machines.
Crash-safe by design
After persist() returns, your data survives a crash or power loss, and
the database reopens exactly as it was. Every write path has a crash test.
Pick your trade-off
Exact flat search, HNSW, IVF, or 4× (SQ8) and up to 32× (PQ) smaller storage. Switch with one argument.
Rust core, Python first
A Rust engine with SIMD distance kernels, thread-safe Python bindings that release the GIL, typed errors in both languages.