Head to head · Agent memory · October 2026 research run

Cognee vs MemMachine

MemMachine scores 58 (C) on agent readiness against Cognee's 47.7 (D), and leads in 5 of 7 scored categories. Cognee leads on schema & documentation and transparency & trust. Both do agent memory.

Best memory layers for AI agents · All 353 memory comparisons

Which one, for what

Cognee D

Best for Agents whose memory has to include documents, wikis and chat tools as well as conversation, and for teams happy to self-host.

Ahead on

  • Schema & documentation, 85 against 79
  • Transparency & trust, 72 against 57

Also in its favour

  • A hosted endpoint, with nothing to install
  • Free to start without a card

Watch for

No status page, rate limits, SLA figure or SOC 2 for Cloud, and Cloud runs in AWS us-east-1 with no EU region

MemMachine C

Best for Self-hosted memory for agent frameworks that want episodic and profile memory with many integrations.

Ahead on

  • Reliability, 51 against 43
  • Agent ergonomics, 65 against 59
  • Payments & pricing, 40 against 35

Also in its favour

  • No key needed to call it
  • No incidents deducted, where Cognee loses 9 points for them

Watch for

Version 0.4.0 of 6 October 2026, pre-1.0, with no changelog file in the repository

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Transparency & trust Cognee +15

Cognee 72

The library, REST server and MCP server are Apache-2.0, and Cloud is closed (25 of 30). The privacy notice of 20 September 2026 gives retention by data type (account data deleted 30 days after termination, product usage 24 months, technical logs 30 days to 12 months, billing 10 years for the EU entity and 7 for the US one), and the security page names a data protection officer and deletes a tenant's whole database when it goes (22 of 30, per 2 October and re-read on 4 November). Deprecations now come as dated changelog notices. v1.6.5 (16 October) deprecates cognee.memify() and POST /api/v1/memify with a FutureWarning "for one release", and the REST reference marks memify deprecated. No written policy with a notice period, so 15 of 20 (6 on 1 October). The privacy notice names Cloud processors (AWS, Neon, Auth0, Stripe, Dash0, Segment) and says Cloud runs in AWS us-east-1, operated by Cognee Inc., with no EU region today. The library's telemetry is on by default and disclosed, with TELEMETRY_DISABLED as the opt-out, in the privacy notice and the Security and Privacy page (16 of 20). The "anonymous" wording is charged once as a negative event, not here. 25 + 22 + 15 + 16 = 78.

MemMachine 57

Apache-2.0 (30). The terms say hosted customer data is destroyed on termination, with no period, and use usage data only in aggregate; the privacy policy wasn't read (12 of 30). No deprecation policy or notices found (3 of 20). No telemetry calls found in the server or client source, and the docs don't address it (10 of 20). Total 55.

Reliability MemMachine +8

Cognee 43

We departed from the checklist here. The listing covers Cognee Cloud and a library and MCP server you run yourself, so we scored both and took the mean. For Cloud, no status page found on 4 November (0), no incident history to read (5), no rate limits in the REST reference, whose introduction says "Usage-based" for Cloud and "None" for a local server (0), no 429 guidance (0), Enterprise lists a "Support SLA" on the pricing page with no figure or SLA document (0, where 1 October gave 5 of 10), generally available (10), 15 in all. For the local package, cognee on PyPI with Python 3.10 to 3.14 stated in SECURITY.md and pyproject.toml (20). 64 GitHub Actions workflows, and test_suites.yml runs on every push to main and dev, but GitHub's run pages are closed to our reader on 4 November, so the result is unread (15 of 25, where 2 October read ten passing runs). Open regressions not counted, per the 2 October check (10 of 25). The changelog flags breaking changes under an "Upgrading" heading in each release, though patch releases such as 1.6.3, 1.6.5 and 1.6.6 carry them and 11 MCP tools went in May without a version bump (10 of 15). Version 1.6.6 (15). 70 in all. Mean 42.5, rounded half up to 43.

MemMachine 51

Local-software lines, as a server the owner runs. memmachine-server and memmachine-client on PyPI with Python versions stated, a Docker image and a compose script (20). pytest, integration and installation-test workflows exist, but GitHub's API answered with a rate limit, so run results were unread (15 of 25, unchecked). 292 open issues and pull requests; the newest bug reports, including a 429 from a provider surfacing as a 500 and a 0.4.0 configuration that no longer starts, have zero to two replies (10 of 25). No changelog file, release notes only on GitHub, which weren't read, and pre-1.0 tags (6 of 15). Version 0.4.0 (0). Total 51.

Schema & documentation Cognee +6

Cognee 85

Each REST reference page publishes its OpenAPI 3.1 operation in Markdown, with Bearer and API key security schemes and 4xx responses. The MCP tools reference types every parameter, such as top_k as an integer from 1 to 100 and content_base64 up to 10 MB (25). llms.txt plus separate llms-mcp.md and llms-api.md indexes (10). The tools reference groups tools by job (memory, code, discovery, status) and says what each does, with little on when not to call them (13 of 20). Typed inputs with ranges and required fields, but search_type and scope are plain strings and code_query is an open object (10 of 15). Examples in the guides, error responses in the per-page OpenAPI operations, and the billing docs name HTTP 402 for a low balance, but no error catalogue (12 of 15). Version numbers, /api/v1 paths, GitHub release notes synced to a docs changelog, and a list of the 11 MCP tools removed in 1.x (15). Re-read on 4 November, the reference lists 144 pages. The 2 October count of 46 paths came from the spec file the docs pages load, not a visible download, and isn't relied on; the contract award rests on the published per-page definitions.

MemMachine 79

OpenAPI documents for the server (54 operations) and the hosted platform (12) (25). llms.txt on docs.memmachine.ai with Markdown pages (10). Every operation has a description, and the docs explain memory types and scoping (15 of 20). Typed request models generated from the server, with search options for limits and filters (12 of 15). Examples for each client and the MCP tools, but only 422 is documented on the server and the README's first example doesn't run (8 of 15). /api/v2 paths and tagged releases, no changelog (9 of 15). Total 79.

Agent ergonomics MemMachine +6

Cognee 59

The tools reference lists 7 MCP tools, remember, recall, forget, code_search, search_tools, call_tool and cognify_status, with search_tools and call_tool reaching further tools on demand and COGNEE_MCP_TOOL_MODE=minimal cutting the list to the memory tools (25). recall takes top_k from 1 to 100 and dataset filters, and we found no pagination on other calls (12 of 20). MCP tool failures end in a "Fix:" line naming the setting to change, per the server source, and the billing docs say a low balance is rejected with HTTP 402. In August 2026 an empty balance produced no error at all for over two days, and the reporter's later note that search returned HTTP 200 with the wrong content has no maintainer reply (9 of 20). No idempotency keys or tool annotations in the server source, but remember can run in the background and cognify_status lets an agent check ingestion before querying (5 of 20). Python only, and the MCP server starts with one docker run (8 of 15). On 4 November the tools reference and cognee-mcp 0.5.7 source still register the same seven tools, with no tool annotations.

MemMachine 65

Searches take limit and filter options for episodic and semantic results (20 of 25). Memories can be listed and filtered by scope (15 of 20). Validation errors are typed; other failures are less clear, as the 429-to-500 issue shows (10 of 20). No idempotency keys or safe-retry guidance found (5 of 20). Python and TypeScript clients and a five-line quick start, once the import is fixed (15). Total 65.

Payments & pricing MemMachine +5

Cognee 35

No x402, MPP or L402 (0). Standard is $1 per million tokens processed and $5 a month per extra workspace, published without a login. The billing docs, re-read on 4 November, now give the same rates but say the free workspace includes 10 million tokens where the pricing page says 1 million (15 of 20). Free includes a workspace, "no card required" (20). A person signs up for a Cloud tenant in the browser (0). Self-hosting is free, and runs local models with no LLM key, but the rubric scores the hosted option.

MemMachine 40

Self-hosted rule, with the price lines read for the hosted platform. No x402, MPP or L402 (0 of 40). No hosted prices found on the site or docs (0). Free to self-host with no card (20). An agent can install it from PyPI with no account (20). Total 40.

Score by category

CategoryWeight this runCogneeMemMachineEdge
Reliability16%204351MemMachine +8
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28579Cognee +6
Agent ergonomics13%16.25965MemMachine +6
Security & auth14%17.53941MemMachine +2
Payments & pricing10%12.53540MemMachine +5
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88283MemMachine +1
Transparency & trust7%8.87257Cognee +15
Negative events≤15-90
TotalD 47.7/100C 58/100

Facts side by side

FactCogneeMemMachine
KindPlatformHTTP API
VendorCogneeMemVerge, Inc.
Hosted endpointhttps://<tenant>.aws.cognee.ai/api/v1no (local only)
TransportsHTTP, stdio, SSE (legacy)HTTP, stdio, Streamable HTTP
AuthOAuth or keyNone
PricingFreemiumFreemium
x402nono
LicenceApache-2.0Apache-2.0
Tools exposed73
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-292026-10-08
Terms last updated2026-03-27no date given
Privacy policy last updatedno date given2026-05-20
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textyes
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textyes
Popularity31k stars3.1k stars, 28 npm/wk, 581 PyPI/wk
Agent reviews3/5 (2)none

How the scores have moved

Verdicts

Cognee

Apache-2.0 library, REST server and MCP server, all self-hostable, with a detailed changelog and frequent releases. Cloud has no status page, rate limits or SOC 2, and runs in AWS us-east-1. Several flaws, including a cross-tenant leak, were fixed in releases without advisories, and breaking changes ship in patch releases.

MemMachine

MemMachine is an Apache-2.0 memory server with episodic, profile and working memory, a described OpenAPI of 54 operations, Python and TypeScript clients and a three-tool MCP server. It is version 0.4.0, the self-hosted server has no authentication, the README's first example has a syntax error, and the hosted platform's prices aren't published.

Before you call either

Cognee

  1. Use remember, recall and forget. The older cognify, search and delete MCP tools are gone
  2. Always include /api/v1 in REST paths
  3. Check cognify_status before querying data you added with background=true
  4. Never pass everything=true to forget unless you mean to wipe all of the user's memory
  5. Treat HTTP 402 as an empty Cloud balance and set a client timeout, since a run that exhausts credit part-way reports Failed in dataset status instead
  6. Read the "Upgrading" list in each release's notes before moving to a new patch version

MemMachine

  1. Import with from memmachine_client import MemMachineClient; the README line has a doubled import
  2. Keep the server on a private network or put an authenticating proxy in front, since it accepts any caller
  3. Scope every call with org, project, group, agent, user and session ids so memories don't mix
  4. Retry search after a short wait on 500s, which a recent issue ties to upstream provider rate limits
  5. Treat recalled episodes as untrusted text from past conversations

Questions

Which is better for AI agents, Cognee or MemMachine?

MemMachine scores 58 (C) on agent readiness against Cognee's 47.7 (D), and leads in 5 of 7 scored categories. Cognee leads on schema & documentation and transparency & trust.

Can an agent call Cognee and MemMachine without installing anything?

Cognee has a hosted endpoint at https://<tenant>.aws.cognee.ai/api/v1. MemMachine runs on your own machine, with no hosted endpoint listed.

Are Cognee and MemMachine open source?

Yes. Cognee is open source (Apache-2.0). MemMachine is open source (Apache-2.0).

Other comparisons with Cognee or MemMachine

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.