Skip to content

Codebase Memory vs Heartwood Memory — governed memory for AI agents

Codebase Memory is an open-source MCP server for knowledge and memory. Heartwood Memory — governed memory for AI agents is a freemium MCP server for knowledge and memory.

  • Codebase Memory is open source, while Heartwood Memory — governed memory for AI agents is freemium.
  • Codebase Memory is best for find callers of a function.
  • Heartwood Memory — governed memory for AI agents is best for give coding agents memory that carries across sessions and projects.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Heartwood Memory — governed memory for AI agents is a freemium MCP server for knowledge and memory.
Best for
Find callers of a function
Give coding agents memory that carries across sessions and projects
Kind
MCP server
MCP server
Pricing
Open source
Freemium, from $349 a month
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, self-hosted, Linux, macOS, Windows
Runs
Locally
Locally
GitHub stars
48.7K
Last commit
Nov 2026
License
MIT
Open source
Good for
Find callers of a function; Assess the impact of a diff; Link documentation to code
Give coding agents memory that carries across sessions and projects; Show where an agent's answer came from; Erase one person's data and keep proof of it

What Codebase Memory does

  • Code knowledge graph

    Persistent graph of symbols, calls and dependencies.

  • Multiple search modes

    Structural, full-text and local semantic search.

  • Documentation links

    Indexes Markdown, reStructuredText, AsciiDoc and ADRs.

  • Infrastructure tracing

    Connects Docker, Kubernetes, Terraform and CI to source.

  • Change impact

    Maps a diff to affected symbols and related tests.

  • Native CLI

    Query the same graph from the command line.

What Heartwood Memory — governed memory for AI agents does

  • Signed memories

    Signs each memory and rechecks the signature on every recall.

  • Policy-gated recall

    Removes records the caller is not cleared for before ranking.

  • Crypto-shred erasure

    Destroys a subject's key and can issue a signed receipt.

  • Hash-chained audit log

    Records writes and deletions tamper-evidently.

  • Read-only by default

    Exposes recall, explain_recall and health unless you add more.

  • Shared local store

    One SQLite file readable by several MCP clients.

Codebase Memory vs Heartwood Memory — governed memory for AI agents: questions

Is Codebase Memory or Heartwood Memory — governed memory for AI agents cheaper?

Codebase Memory is the cheaper option: it is open source.

What is the difference between Codebase Memory and Heartwood Memory — governed memory for AI agents?

Codebase Memory is an open-source MCP server for knowledge and memory. Heartwood Memory — governed memory for AI agents is a freemium MCP server for knowledge and memory. Codebase Memory is open source, while Heartwood Memory — governed memory for AI agents is freemium.