github-backup/docs/03-memory-layer-evaluation.md

Edit Back to List

Memory Layer Evaluation

Principle

Do not choose the memory layer by vibes. Choose it by benchmark.

The live second brain should remain Markdown/Obsidian-compatible. Retrieval indexes are rebuildable infrastructure, not the source of truth.

The memory layer must also pass the memory-filter test: it should help agents retrieve the right facts without encouraging bulk storage of raw transcripts, Slack history, Google Drive creatives or stale working notes.

Candidate Layers

Hermes Built-In Memory

Use for:

Do not use for:

Hermes llm-wiki

Use for:

Strength:

Risk:

QMD

Use for:

Strength:

Risk:

gbrain

Use for:

Strength:

Risk:

Benchmark Set

Create 40-60 questions from synthetic or approved notes.

Question classes:

Scoring

For each candidate:

Pass threshold:

Initial Recommendation

Start with Hermes llm-wiki because it is official and simple. Add QMD or gbrain only after benchmark notes exist. Do not run local embedding/model indexing on the current n8n VM until disk and memory headroom improve.

Use gbrain's design as inspiration immediately, but treat installation as a separate benchmarked decision.