| Crates.io | reflex-cache |
| lib.rs | reflex-cache |
| version | 0.2.2 |
| created_at | 2025-12-15 18:37:59.521704+00 |
| updated_at | 2025-12-29 01:46:28.340113+00 |
| description | Episodic memory and high-speed semantic cache for LLM responses |
| homepage | |
| repository | https://github.com/rawcontext/reflex |
| max_upload_size | |
| id | 1986518 |
| size | 651,693 |
reflex-cache is the core Reflex library: tiered cache, storage, embeddings/reranking, and vector DB integration.
This crate is published to crates.io as reflex-cache, but exposes its library as reflex (so downstream code can use reflex::...).
Docs: https://docs.rs/reflex-cache
[dependencies]
reflex = { package = "reflex-cache", version = "x.x.x" }
From this repo:
cargo run -p reflex-cache --example basic_lookup --features mock
cache: tiered cache orchestration (L1 exact + L2 semantic)storage: rkyv-backed storage + mmap/NVMe loadersvectordb: Qdrant client + binary quantization helpers (and mocks behind mock)embedding: embedder + reranker wiringscoring: L3 verification (cross-encoder)config: env-backed configuration types used by the servermetal: Apple Silicon acceleration (passes through to model deps)cuda: NVIDIA acceleration (passes through to model deps)mock: enables mock backends for tests/examplesFrom repo root:
cargo test -p reflex-cache --features mock
cargo doc -p reflex-cache --no-deps