Skip to content

Codebase Memory vs Yagami AI Context Firewall

Codebase Memory is an open-source MCP server for knowledge and memory. Yagami AI Context Firewall is an open-source MCP server for knowledge and memory.

  • Codebase Memory is best for find callers of a function.
  • Yagami AI Context Firewall is best for keep repository secrets on-device while a coding agent works.
What it is
Codebase Memory is an open-source MCP server for knowledge and memory.
Yagami AI Context Firewall is an open-source MCP server for knowledge and memory.
Best for
Find callers of a function
Keep repository secrets on-device while a coding agent works
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, macOS, Linux, Windows, self-hosted
self-hosted, CLI, API
Runs
Locally
Remotely
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
Keep repository secrets on-device while a coding agent works; Stop sensitive patient text reaching cloud models; Require approval before an agent runs a dangerous tool

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 Yagami AI Context Firewall does

  • Policy-based routing

    Sends each request to a local or cloud model according to task and privacy policy.

  • Local-only for sensitive data

    Context labelled phi, phi_medical or secret stays on a local backend by default.

  • OpenAI-compatible API

    Existing SDK apps adopt it by changing the base_url.

  • Policy passports

    Content-free evidence of each decision, including matched rules and lineage.

  • Tool approvals

    One-time, identity-bound approval before risky tool calls.

  • Retrieval and memory control

    Governs what context, memory and retrieval sources an agent may use.

Codebase Memory vs Yagami AI Context Firewall: questions

Is Codebase Memory or Yagami AI Context Firewall cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Codebase Memory and Yagami AI Context Firewall?

Codebase Memory is an open-source MCP server for knowledge and memory. Yagami AI Context Firewall is an open-source MCP server for knowledge and memory.