@tanvrit/smritidb
v0.1.0
Published
An open biology-inspired associative memory layer. Storage that remembers by partial cue, degrades like a hologram, and consolidates with use. TypeScript reference implementation.
Maintainers
Readme
smritidb (core-ts)
TypeScript reference implementation of Smritidb — the open biology-inspired associative memory layer.
Status: Phase 0 — spec only. The real code lands in Phase 1, against SPEC.md.
Install (when published)
npm install @tanvrit/smritidbQuick example (target API)
import { Smritidb } from "@tanvrit/smritidb";
const store = new Smritidb({ dimension: 10000, backend: "memory" });
await store.put("the cat sat on the mat", { tags: ["sentence"] });
const hits = await store.recall("cat on mat", { topK: 5 });
// → [{ item: { value: "the cat sat on the mat", ... }, similarity: 0.91 }, ...]See docs/MANIFESTO.md for the project's thesis and SPEC.md for the wire-level contract every binding implements.
License
Apache-2.0 — with the patent grant. See the repo root LICENSE and NOTICE.
