Skip to content

AgentLedger vs Codebase Memory

AgentLedger is a freemium MCP server for finance and payments. Codebase Memory is an open-source MCP server for knowledge and memory.

  • Codebase Memory is open source, while AgentLedger is freemium.
  • AgentLedger is best for cap what a coding agent can spend per month.
  • Codebase Memory is best for find callers of a function.
What it is
AgentLedger is a freemium MCP server for finance and payments.
Codebase Memory is an open-source MCP server for knowledge and memory.
Best for
Cap what a coding agent can spend per month
Find callers of a function
Kind
MCP server
MCP server
Pricing
Freemium
Open source
Platforms
API, CLI
CLI, macOS, Linux, Windows, self-hosted
Runs
Remotely
Locally
GitHub stars
48.7K
Last commit
Nov 2026
License
MIT
Open source
Good for
Cap what a coding agent can spend per month; Keep an audit trail of what agents bought; Get alerts when an agent exceeds a daily amount
Find callers of a function; Assess the impact of a diff; Link documentation to code

What AgentLedger does

  • Per-agent spend tracking

    Records spend by agent across x402, MPP and API-key rails.

  • Monthly budget caps

    Sets a cap in cents per agent that the ledger enforces.

  • Anomaly reports

    Reports per agent flag unusual spending.

  • Secret-based isolation

    Each agent has its own secret, and reads need a secret or the workspace key.

  • Wallet-based signup

    Agents with a wallet can create a workspace through an x402 payment.

  • Client wrapper

    A Python wrapper meters calls made through an OpenAI client.

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.

AgentLedger vs Codebase Memory: questions

Is AgentLedger or Codebase Memory cheaper?

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

What is the difference between AgentLedger and Codebase Memory?

AgentLedger is a freemium MCP server for finance and payments. Codebase Memory is an open-source MCP server for knowledge and memory. Codebase Memory is open source, while AgentLedger is freemium.