Skip to content
Eduards Čemis edited this page Nov 25, 2026 · 3 revisions

Cognitive Memory Wiki

Cognitive Memory is a vendor-neutral, local-first MCP memory engine designed to share persistent, inspectable knowledge seamlessly across all your AI coding tools (Claude Code, Cursor, Antigravity, Windsurf, Codex, Copilot, OpenCode).

Why This Project Exists (2026–2027 Vision)

Native auto-memory features lock your project learnings inside each vendor's proprietary directory. Cognitive Memory breaks that lock-in while following the 2026 empirical consensus:

  • Markdown (+ Git) as Canonical Source of Truth — human-editable, diffable, grep-compatible, zero Memory Tax.
  • Zero-Dependency Hybrid Search — SQLite FTS5 (BM25) always-on by default + optional dense embeddings (sqlite-vec) fused via Reciprocal Rank Fusion (RRF).
  • Deterministic-First Engineering (ADR 0002) — everything realistically determinizable is deterministic; LLMs are strictly optional additive layers with tested offline fallbacks.
  • Temporal Supersession & Bounded Graph — updated facts supersede stale ones (valid_until / superseded_by), with capped 1–2 hop graph expansion.
  • Continuous Harness Engineering — every retrieval and storage change is benchmarked quantitatively in evals/ and gated in CI.

Wiki Pages

  1. Architecture v2.0 — Full system diagram, storage inversion, hybrid RRF, security model.
  2. ADRs & Determinism — Architecture Decision Records (0001–0005), including the Deterministic-First principle.
  3. 2026 Empirical Research — Peer-reviewed studies (arXiv:2605.15184, 2611.20455, 2610.29823, 2602.11988, 2611.04367) behind every design decision.
  4. Harness & Evals — How pnpm verify and evals/ drive development and prevent regressions.
  5. Cross-Tool Setup — Connecting 7+ AI editors, federated local/global scopes, profiles, and hardened SSE/Docker mode.
  6. Board & Contributing — Public Engineering Board, Milestones, Curated Issue Views, Discussions, and contributor workflow.

Clone this wiki locally