Context Memory Fabric (CMF)

Context Memory Fabric (CMF) is an experimental, single-user, self-hosted personal context and memory layer shared across AI clients (Claude Desktop, IDE agents, chat interfaces, and CLI tools). It bridges the gap between siloed chat windows by uniting curated durable knowledge with temporal episodic memory through standard Model Context Protocol (MCP) tools.
[!NOTE]
Developer Public Preview: CMF is currently released as a developer preview under the PolyForm Perimeter License 1.0.1. It is designed for individual developers and power users looking to experiment with personal context continuity across their own local AI tools.
Architectural Separation
CMF preserves strict boundaries between four distinct concerns:
Context Memory Fabric MCP Server
│
┌──────────────┬──────────────┬──────────────┬────────┴───────┬──────────────┬──────────────────────┬──────────────────┐
│ │ │ │ │ │ │ │
remember() recall_mem() edit_memory() search_wiki() get_context() propose_doc_update() import_memories()
│ │ │ │ │ │ │
direct episodic episodic canonical unified reviewable administrative
episodic factual mutation / durable context proposal historical
write read re-date read assembly write bulk import
│ │ │ │ │ │ │
▼ ▼ ▼ ▼ ▼ ▼ ▼
Graphiti / FalkorDB (Episodic) Markdown Wiki Both Stores proposals-docs/ Graphiti / FalkorDB
temporal graph validity tracking (Wiki UNTOUCHED) synthesized (staging diffs) (imports/ registry)
- Source Evidence:
- Raw conversational evidence and tool invocations are journaled to an append-only SQLite store (
imports/journal/journal.db) in the background without blocking client execution.
- Derived Episodic Memory (Graphiti + FalkorDB):
- Temporal knowledge graph tracking past decisions, milestones, evolving preferences, and project facts.
- Preserves temporal validity (
valid_at, invalid_at) so newer decisions supersede older ones without silently erasing history.
- Durable Knowledge (
LLM_Wiki):
- Curated Markdown notes, research reports, PDFs, and system blueprints.
- Proposed updates never overwrite your canonical documents directly; they are staged as unified diffs in
proposals-docs/ for human review.
- Assembled Runtime Context (
get_context):
- The primary retrieval interface. Concurrently queries both durable wiki notes and recent episodic decisions, returning synthesized Markdown with clear source attribution and temporal conflict resolution guidance.
Quickstart
docs/QUICKSTART.md: install Docker Desktop, download Context Memory Fabric management, pick your features, Apply, and ask Claude to "Run the CMF self-test". No clone, no config files.
For client connection instructions (Claude Desktop, Cursor) and how to check that memories are being saved, see the Installation & Setup Guide. To work on CMF itself, see Developer setup.
Start Building Context Now
You do not need to perform complex historical imports or data migrations to start using CMF:
- Connect your favorite client (e.g. Claude Desktop or Cursor) via the Setup Guide.
- Retrieve context: Ask questions like
"What is the current architecture of Project Aether?" or "What decisions did we make regarding battery specs?" — your assistant calls get_context or search_wiki.
- Store milestones: At natural checkpoints, tell your assistant:
"Remember that we finalized the LoRa transmit interval to 5 minutes." — it will invoke remember().
- Stage wiki changes: When an assistant drafts a new architectural guideline or updates a specification, it calls
propose_doc_update() to stage a reviewable diff in proposals-docs/ without modifying your files.