BetterDB gives your AI agents long-term memory, self-tuning caching, and typed retrieval in one SDK on open Valkey - plus observability and migration for the Valkey or Redis you already run. remember() and recall() with scoped, ranked retrieval, exact-match and semantic prompt caching, ~93% recall on LongMemEval-M, sub-millisecond cache hits.