Skip to content

Codebase Memory vs writ

Codebase Memory is an open-source MCP server for knowledge and memory. writ is a freemium MCP server for security.

  • Codebase Memory is open source, while writ is freemium.
  • Codebase Memory is best for find callers of a function.
  • writ is best for require approval before an agent issues a refund.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
writ is a freemium MCP server for security.
Best for
Find callers of a function
Require approval before an agent issues a refund
Kind
MCP server
MCP server
Pricing
Open source
Freemium
Platforms
CLI, macOS, Linux, Windows, self-hosted
CLI, API, self-hosted
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
Require approval before an agent issues a refund; Stop an agent from deleting data without a policy match; Keep an auditable record of every agent write

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 writ does

  • Check before write

    Agents ask for a decision with verb, target and purpose before acting.

  • Purpose-bound tokens

    ALLOW returns a 90-second token tied to the exact write.

  • Tamper-evident log

    Receipts are hash-chained and verifiable with a chain check.

  • Gated execution

    Leases let Writ run the upstream request with a vaulted credential.

  • Kill switch

    Revoke a principal so later checks are denied.

  • Sandbox

    A free demo grant works without an API key.

Codebase Memory vs writ: questions

Is Codebase Memory or writ cheaper?

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

What is the difference between Codebase Memory and writ?

Codebase Memory is an open-source MCP server for knowledge and memory. writ is a freemium MCP server for security. Codebase Memory is open source, while writ is freemium.