Skip to content

agentmem vs Total Agent Memory

agentmem is an open-source MCP server for knowledge and memory. Total Agent Memory is an open-source MCP server for knowledge and memory.

  • agentmem is best for giving a coding or support agent memory that persists across sessions.
  • Total Agent Memory is best for carry architecture decisions across sessions and repos.
What it is
agentmem is an open-source MCP server for knowledge and memory.
Total Agent Memory is an open-source MCP server for knowledge and memory.
Best for
Giving a coding or support agent memory that persists across sessions
Carry architecture decisions across sessions and repos
Kind
MCP server
MCP server
Pricing
Open source
Open source
Platforms
CLI, API, self-hosted
CLI, self-hosted, macOS, Windows, Linux
Runs
Locally
Open source
Good for
Giving a coding or support agent memory that persists across sessions; Saving working state before an agent's context window is compressed; Isolating memories per user or per project in a multi-agent setup
Carry architecture decisions across sessions and repos; Stop re-explaining project conventions to an agent; Share team knowledge through a self-hosted server

What agentmem does

  • Hybrid keyword and semantic search

    Combines FTS5 BM25 keyword matching with vector similarity and adaptive ranking for recall.

  • Single-file SQLite storage

    All memories, entities and vectors live in one database file with WAL enabled.

  • Tiered memory model

    Core, procedural, learned, episodic and working tiers, with working memory expiring automatically.

  • Temporal fact versioning

    Updating a memory archives the old version and links the chain so its history can be traced.

  • Automatic entity extraction

    Regex-based extraction of mentions, URLs, IPs, ports, emails, env vars, money amounts, paths and hashtags.

  • Multiple access interfaces

    Offers 16 MCP tools, a 14-endpoint HTTP REST API, a Python API and a command-line interface.

What Total Agent Memory does

  • Local-first storage

    Memories live in SQLite files on your machine, with embeddings computed locally.

  • Hybrid recall

    Combines BM25, embeddings, fuzzy matching and a knowledge graph, then reranks.

  • Temporal facts

    Facts carry validity intervals and newer values can retire older ones.

  • No LLM in default path

    Saving and searching make no LLM call, so retrieval can be benchmarked offline.

  • Team server

    Personal, team and shared memory with roles, authorship and audit history.

  • Setup wizard

    Detects and registers with Claude Code, Codex, Cursor, Windsurf, Gemini CLI and others.

agentmem vs Total Agent Memory: questions

Is agentmem or Total Agent Memory cheaper?

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

What is the difference between agentmem and Total Agent Memory?

agentmem is an open-source MCP server for knowledge and memory. Total Agent Memory is an open-source MCP server for knowledge and memory.

Keep comparing