mnestic 0.8.0
First release of mnestic, an independently maintained fork of CozoDB tuned as a substrate for agentic memory. Built on upstream 481af05 — 30 commits ahead of cozo 0.7.6. The importable crate name stays cozo, so existing CozoDB code works unchanged.
[dependencies]
mnestic = "0.8.0"Fixes
- Equality pushdown —
*rel[k, ..], k == <value>now compiles to a keyedstored_prefix_joininstead of a full scan (~28–29× faster single-row primary-key lookups, measured at 5k rows). Numeric equalities keep cross-typeop_eqsemantics. - Parser fix (#281) — identifiers that start with a keyword literal (
nullable_column,trueValue,falsey) now parse correctly. - Unreleased upstream fixes for free — the fork point is 30 commits ahead of the published 0.7.6, including the
stored_prefix_joincorrectness fix. env_loggermoved to a dev-dependency for a slimmer dependency graph (#287).
New — hybrid retrieval for agentic memory
Datalog-composable fixed rules:
ReciprocalRankFusion(aliasRRF) — fuse vector (HNSW) + full-text (FTS) + graph-traversal result lists into one ranking.MaximalMarginalRelevance(aliasMMR) — diversity-aware reranking that avoids near-duplicate recalls.rand_ulid()/ulid_timestamp()— lexicographically-sortable identifiers for time-ordered scans (#296).
Full detail in CHANGELOG-FORK.md. mnestic is not the official CozoDB and is not affiliated with or endorsed by its original authors; all credit for the original design belongs to Ziyang Hu and the Cozo Project Authors.