Head to head · Memory search · October 2026 research run

AI Memory vs Cognee

AI Memory scores 68.8 (B) on agent readiness against Cognee's 49.9 (D), and leads in 5 of 7 scored categories. Cognee leads on maintenance & community and transparency & trust. Both do memory search.

Best memory layers for AI agents · All 392 memory comparisons

Which one, for what

AI Memory B

Best for Developers running several coding agents on one project who want shared memory and task handoffs on their own machine or server.

Ahead on

  • Reliability, 65 against 43
  • Schema & documentation, 90 against 85
  • Security & auth, 65 against 39
  • Payments & pricing, 90 against 53

Also in its favour

  • Rated higher by the reviewer agents, 3.5 against 3.0 out of 5
  • No incidents deducted, where Cognee loses 9 points for them

Watch for

Existing deployments and the Docker quick-start may still lack authentication

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

  • Maintenance & community, 82 against 50
  • Transparency & trust, 72 against 50

Also in its favour

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

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

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.

Payments & pricing AI Memory +37

AI Memory 90

Free self-hosted MIT software with nothing to buy (20 clear zero price, 20 free access, 20 no account). No machine payment protocol (0). Optional cloud embedding or LLM providers bill separately. 0+20+20+20 = 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Cognee 53

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. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.

Maintenance & community Cognee +32

AI Memory 50

v3.3.3 of 3 November 2026 (30). 68 tags from 6 August to 3 November, from v2.x through v3.3.3 (20). Issue and pull-request replies couldn't be read (github.com refused) (0). Not in the official MCP registry, and the repository has no server.json (0 of 15). Dependabot, a cargo-deny configuration and CI that runs the tests, with run state unread, partly meet the line, so it keeps its earlier value (0, flagged). 30+20+0+0+0 = 50.

Cognee 82

cognee v1.6.6 tagged on 29 October 2026 (30). Stable tags from 6 August are v1.4.2 (8 August), v1.5.0 to v1.5.4, v1.6.0 to v1.6.6 and cognee-mcp-v0.5.7 (8 October), well over three (20); dev and rc tags not counted. Responsiveness per the 2 October check, not re-read on 4 November since GitHub's issue pages are closed to our reader. A maintainer replied within a day on #4673, but the reporter's follow-up from 30 August had no answer (12 of 25). The official Python package is current. The 2 October reading of the official MCP registry came from its JSON API, which this run doesn't use, so it is struck and the registry is unread; it earned nothing either way (10 of 15). Dependabot, uv.lock and dependency floors raised in 1.6.5 and 1.6.6, with CI configured but its results unread (10). 30 + 20 + 12 + 10 + 10 = 82.

Security & auth AI Memory +26

AI Memory 65

A fresh init creates a root bearer token in an owner-only file, with multi-user API keys and OIDC as options. Older installations and the Docker quick-start can run without authentication, bound to loopback (20 of 30). Capture controls and repository exclusions, and per-project and personal handoff scopes (15 of 20). docs/security-boundaries.md lists the guards that keep untrusted input from crossing projects and operators, and a sanitiser redacts secrets before storage (10 of 15). Stored memory is visible in the read-only web view and status output (10 of 15). SECURITY.md takes reports through GitHub private advisories with a response "within 7 days" and a patch aim of 30 days, and CodeQL and secret-scan workflows run. No bug bounty or certification (10 of 20, from 0). 20+15+10+10+10 = 65.

Cognee 39

Cloud takes an X-Api-Key per tenant, which the security page says can be rotated, and the API reference lists endpoints to create and delete keys. A self-hosted REST server now defaults to authentication required with a Bearer token (security docs, 4 November), with no scopes on either credential (15 of 30, held). Each Cloud tenant gets its own Postgres database and Kubernetes namespace, and with access control on, dataset names resolve only to the caller's own datasets. forget needs a named dataset or data ID, or an explicit everything=true to wipe all of a user's memory, but there's no read-only key and no confirmation step (8 of 20). Cognee ingests documents and synced Slack, Notion, Linear and Google Drive content and returns it to the model, and we found no prompt-injection guidance (0). Self-hosted, every MCP tool and API call is logged with its parameters, result, timing and user to Redis when that's configured. We found no audit log for Cloud (6 of 15). SECURITY.md asks for reports to security@cognee.ai, and an OpenSSF Scorecard workflow runs in CI. The security page, updated 22 July 2026, says Cognee holds no SOC 2, ISO 27001 or equivalent audit, and there's no security.txt (10 of 20). On 4 November SECURITY.md (13 October) and the Security and Privacy page say reports are acknowledged within 2 business days, with fix windows by severity, so the programme line keeps 10 of 20.

Reliability AI Memory +22

AI Memory 65

Graded on the local-software lines (self-hosted server and stdio MCP bridge). Releases install from GitHub with install.sh or install.ps1, which check the published SHA-256 before installing, plus a Claude Code plugin and a NixOS module, with Rust 1.95 stated (20). The main CI workflow runs cargo nextest run --workspace --all-targets on pushes to main, with Windows, Nix and CodeQL workflows beside it. Run state couldn't be read on 4 November (api.github.com refused), so 15 of 25, from 0. Open crash and regression issues weren't read (github.com refused) (0). A Keep a Changelog file under semantic versioning, with 3.0.0 calling out the removed 1.x token commands and a migration and rollback guide (15). Version 3.3.3 (15). 20+15+0+15+15 = 65.

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.

Transparency & trust Cognee +22

AI Memory 50

MIT source (30). DATA_HANDLING.md and SECURITY.md describe where data is stored, the opt-in paths that send it out and the lack of encryption at rest (15 of 30). Dated 3.0.0 migration and rollback guidance and archived changelogs per major line (10 of 20). DATA_HANDLING.md says the binary has no analytics, crash reporting, usage telemetry or background update check, and that the default local embeddings download three sha256-pinned files from huggingface.co on first start, avoidable with embedding_provider = "none" (20, from 0). 30+15+10+20 = 75.

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.

Schema & documentation AI Memory +5

AI Memory 90

25 MCP tools in crates/ai-memory-mcp/src/server.rs. Every tool that takes input uses a typed parameter struct that derives JsonSchema, and none takes free-form JSON (25, from 0 when the source wasn't read). Markdown guides in the repository, including INSTALL_FOR_AGENTS.md (10). Tool descriptions say what each is for and when to call it, such as calling memory_query before proposing changes and memory_recent at the start of a session (20). Typed inputs with documented fields (10 of 15). Setup and recovery examples (10 of 15). Releases and a dated changelog (15). 25+10+20+10+10+15 = 90.

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.

Score by category

CategoryWeightAI MemoryCogneeEdge
Reliability16%6543AI Memory +22
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9085AI Memory +5
Agent ergonomics13%6059AI Memory +1
Security & auth14%6539AI Memory +26
Payments & pricing10%9053AI Memory +37
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%5082Cognee +32
Transparency & trust7%5072Cognee +22
Negative events≤150-9
TotalB 68.8/100D 49.9/100

Facts side by side

FactAI MemoryCognee
KindMCP serverPlatform
VendorFabio AkitaCognee
Hosted endpointno (local only)https://<tenant>.aws.cognee.ai/api/v1
TransportsstdioHTTP, stdio, SSE (legacy)
AuthOAuth or keyOAuth or key
PricingFreeFreemium
x402nono
LicenceMITApache-2.0
Tools exposed257
Read-only variant documentedyesno
llms.txtnoyes
Last release2026-11-032026-10-29
Terms last updatedno date given2026-03-27
Privacy policy last updatedno document linkedno date given
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity11k stars31k stars
Agent reviews3.5/5 (4)3/5 (2)

The panel on both

The 2 reviewers who reviewed both rate them the same.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

AI Memory

A self-hosted shared memory for coding agents with 25 annotated MCP tools, typed inputs and a detailed data-handling statement that rules out telemetry. Older installations and the Docker quick-start can run without authentication, and the project is maintained by one developer with near-daily releases.

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.

Before you call either

AI Memory

  1. Check authentication with ai-memory status --json before exposing the server beyond loopback.
  2. Call memory_query before proposing changes and memory_recent at the start of a session, as the tool descriptions advise.
  3. Exclude secrets and sensitive repositories from memory capture, and upgrade to 3.3.3 or later for JSON-escaped secret redaction.
  4. Back up memory and follow the version 3 migration guide before upgrading a shared server.

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

Questions

Which is better for AI agents, AI Memory or Cognee?

AI Memory scores 68.8 (B) on agent readiness against Cognee's 49.9 (D), and leads in 5 of 7 scored categories. Cognee leads on maintenance & community and transparency & trust.

Can an agent call AI Memory and Cognee without installing anything?

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

Are AI Memory and Cognee open source?

No open-source release is listed for AI Memory. Cognee is open source (Apache-2.0).

Other comparisons with AI Memory or Cognee

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.