Skip to content

AgentCache vs Codebase Memory

AgentCache is a paid MCP server for ai models and llm tooling. Codebase Memory is an open-source MCP server for knowledge and memory.

  • Codebase Memory is open source, while AgentCache is paid.
  • Codebase Memory is open source; AgentCache is not.
  • AgentCache is best for cut model spend on a support bot's repeated questions.
  • Codebase Memory is best for find callers of a function.
What it is
AgentCache is a paid MCP server for ai models and llm tooling.
Codebase Memory is an open-source MCP server for knowledge and memory.
Best for
Cut model spend on a support bot's repeated questions
Find callers of a function
Kind
MCP server
MCP server
Pricing
Paid
Open source
Platforms
API
CLI, macOS, Linux, Windows, self-hosted
Runs
Remotely
Locally
GitHub stars
48.7K
Last commit
Nov 2026
License
MIT
Open source
Good for
Cut model spend on a support bot's repeated questions; Share answers among a team of research agents; Speed up a coding assistant's common lookups
Find callers of a function; Assess the impact of a diff; Link documentation to code

What AgentCache does

  • Meaning-based matching

    Reworded questions can hit the same saved answer.

  • Number-strict

    Differing IDs, dates or amounts always count as different questions.

  • Private namespaces

    Answers never cross agents or namespaces.

  • Configurable retention

    Keep answers from 1 minute to 30 days, default 24 hours.

  • Pay per hit

    Misses and saves are free; hits cost $0.002.

  • Fail-open

    If the cache is down, lookups return a miss without charge.

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.

AgentCache vs Codebase Memory: questions

Is AgentCache or Codebase Memory cheaper?

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

What is the difference between AgentCache and Codebase Memory?

AgentCache is a paid MCP server for ai models and llm tooling. Codebase Memory is an open-source MCP server for knowledge and memory. Codebase Memory is open source, while AgentCache is paid. Codebase Memory is open source; AgentCache is not.