StackMap
Subscribe

agent-memory vs MemMachine

Neo4j Labs' graph-native agent memory: conversations, a POLE+O entity knowledge graph and reasoning traces in one store, with a 16-tool MCP server and hosted or self-hosted backends. — versus — Long-term memory layer for AI agents — episodic (graph), profile (SQL) and working memory behind Python/TS SDKs, REST and MCP; ships LangChain, LangGraph, CrewAI and LlamaIndex integrations.

The curated verdict

Both are drop-in long-term memory layers with framework adapters; MemMachine splits an episodic graph from a SQL profile store, while this keeps conversations, entities and reasoning in one Neo4j graph you can query in Cypher.

agent-memoryMemMachine
Stars4783.2k
Forks94205
LanguagePythonPython
LicenseApache-2.0Apache-2.0
Last activity3 days ago4 days ago
Topicsmemory, knowledge-graphsmemory
Curated connections412

agent-memory — the curator's take

The pick when memory has to be queryable as a graph instead of a black box: entities resolve and dedupe, reasoning steps get explicit :TOUCHED audit edges to the entities they used, and you can adopt an existing Neo4j graph as long-term memory rather than re-ingesting. Multi-tenant scoping, buffered writes, consolidation primitives and an eval harness are already in the box, and the hosted NAMS tier lets you start with no database to run. Caveats: Neo4j Labs marks it Experimental and community-supported; extraction stacks spaCy/GLiNER/GLiREL plus an LLM pass, so ingest costs real time and tokens; and if you don't want a graph database in the stack at all, a Postgres- or file-backed layer is far less machinery.

MemMachine — the curator's take

Pick it when memory is a product requirement, not a cache: separating episodic (graph) from profile (SQL) from working memory maps to how assistants actually personalize, and the documented LangGraph/CrewAI/LlamaIndex integrations mean you don't write the glue. NOT worth the footprint for a single-user tool — it wants a server plus Neo4j and SQL; a vector store or a JSON file gets a prototype further. Watch the open-core boundary: the managed platform is the business model.