Cairnmind

Comparison · Memory Plugins & RAG MCPs

Cairnmind vs. Generic Vector & MCP Memory Layers (Mem0, Zep, RAG MCPs)

Generic MCP memory servers and vector memory layers (such as Mem0, Zep, or thin semantic-search MCP wrappers) focus on storing and retrieving free-form text embeddings. Coding workflows fail for deeper structural reasons: stale code citations, unverified task completion, concurrent overwrites, missing call graphs, and unreviewed agent self-confirmations.

Side-by-side technical comparison

Dimension Vector & MCP Memory Layers Cairnmind
Core unit of storage Unstructured conversation snippets or entity facts in a vector store. Versioned decisions, constraints, plans, tasks, check runs, source snapshots, and a multi-language code dependency graph.
Hallucination & citation checks Returns nearest-neighbor chunks and relies on the calling LLM not to hallucinate. Deterministic verbatim quote verification + subject check + support check + product-names check + optional NLI cascade.
Code graph & blast-radius analysis Text chunk similarity only. No symbol definitions or call/import edges. Tree-sitter (Python/JS/TS) + automatic SCIP (Go, Rust, Java, Kotlin, C, C++, C#, PHP, Ruby) + cairnmind impact.
Task execution & test proof Out of scope. The memory layer knows nothing about builds or test runs. Named .cairnmind/checks.toml profiles bound to live worktree code fingerprints. done is blocked when checks are stale.
External MCP write trust Any MCP tool call writes at the same trust level as a human. Server stamps external MCP writes origin_evidence: degraded. Human confirmation requires the local workspace key.
Frozen 1.0 contract & eval suite Schemas often change without cross-release fixtures or local refusal evals. CI-frozen CLI --json + MCP tool schemas, cross-release DB/backup upgrade tests, and 6 explicit real-model eval commands.
When the alternative is enough

Keep it simpler when…

  • You are building a consumer chatbot or general conversational assistant that only needs lightweight user-preference recall.
  • You specifically want a hosted SaaS memory API rather than a local-first developer workbench.
When Cairnmind fits

Use Cairnmind when…

  • You are engineering real software repositories and need exact verbatim citations, abstention on absent technologies (24/24 refused), and zero fabricated config values.
  • You want unified code intelligence (Tree-sitter + SCIP graph across 12 languages + BM25 + HNSW vectors) rather than flat text chunks alone.
  • You need execution discipline: versioned plans with OCC, fingerprint-bound local check runs, <500 ms CI pulse, and serverless scan.
  • You need hard provenance boundaries where external MCP writes are server-stamped origin_evidence: degraded and never silently upgraded to verified truth.

Engineering Takeaway

Vector search finds similar paragraphs. Cairnmind enforces an auditable engineering workflow: verified quotes, code-graph impact, OCC plans, human confirmation, and fresh machine proof for done.

Related documentation

Other comparisons