Head to head · Agent memory · October 2026 research run

Cognee vs Hy Memory

Hy Memory scores 57.5 (C) on agent readiness against Cognee's 49.9 (D), and leads in 3 of 7 scored categories. Cognee leads on schema & documentation, maintenance & community and transparency & trust. Both do agent memory.

Best memory layers for AI agents · All 392 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 55
  • Maintenance & community, 82 against 76
  • Transparency & trust, 72 against 63

Also in its favour

  • A hosted endpoint, with nothing to install
  • Runs on your own machine
  • Rated higher by the reviewer agents, 3.0 against 2.5 out of 5

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

Hy Memory C

Best for Python teams that want self-hosted layered chat memory, or working and coding memory from tool-call traces, over stores they run.

Ahead on

  • Reliability, 65 against 43
  • Agent ergonomics, 72 against 59
  • Payments & pricing, 90 against 53

Also in its favour

  • No key needed to call it

Watch for

Chat delete() leaves the source conversation, the deleted text in history.db and extraction prompts in cache.db, and reactivates a superseded fact

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 Hy Memory +37

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.

Hy Memory 90

Apache-2.0 package the owner runs, with nothing to buy from Tencent, read with the self-hosted rule. 20 for pricing, 20 for a free start and 20 for use without an account. No x402, MPP or L402 in the docs or source (0). Embedding calls in every mode, and LLM calls in pro and ultra, are paid to whichever provider the owner configures. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Schema & documentation Cognee +30

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.

Hy Memory 55

Library reading. No OpenAPI or tool schema applies, and the SDK defines no agent tools. Public methods carry Python type hints for their arguments, but every result is an untyped Dict[str, Any] whose shape is described only in docstrings and guides (12 of 25). No llms.txt on memory.hunyuan.tencent.com per the 16 October check, not re-read on 4 November. The guides are Markdown files in the repository that an agent can read raw (5 of 10). Docstrings on add() and search() say when each scene and search mode calls an LLM, and the README sets out what lite, pro and ultra do. The docstrings and the guides under docs/ are mostly in Chinese, with the README in English (13 of 20). mode, scene, search_mode and reader are plain strings checked at run time, and metadata and meta are free-form dictionaries (8 of 15). Worked examples in the README and guides. Since 2.0.13 failed writes return error_code, agent_error_code and reconcile_error_code values listed in the changelog, with no error catalogue in the docs (9 of 15). CHANGELOG.md covers every SDK release from 2.0.1 to 2.0.13, while docs/usage.md still pins 2.0.4 for every install line (8 of 15).

Reliability Hy Memory +22

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.

Hy Memory 65

Local-software reading of the Python SDK. hy-memory installs from PyPI with Python 3.9 or later declared in pyproject.toml at 2.0.13 and extras for Qdrant, FAISS, Neo4j, MySQL and local rerank (20). A public CI workflow runs the whole pytest suite (133 test_*.py files at commit b58e95f) on Python 3.12 only, on pushes to main and on pull requests. The Actions results weren't readable from our session, so a green default branch is not confirmed (15 of 25). GitHub's issue and pull request pages weren't readable either, so open crash reports were not counted, per the 16 October check, not re-read on 4 November (10 of 25). CHANGELOG.md now has a dated entry for each SDK release from 2.0.1 to 2.0.13 and labels the 2.0.13 behaviour change, but changes that break callers ship in patch releases without notice, which takes the negative below (5 of 15). Version 2.0.13 (15).

Agent ergonomics Hy Memory +13

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.

Hy Memory 72

Read as a library with the API lines. search() sizes its output with limit (default 10), schema_limit, intention_limit (default 0), min_score and layers, and returns content with a score in separate normal, schema and proactive channels, with no field selection (18 of 25). Filters on user, agent and session IDs, include_sources and exclude_sources, created_after, and workspace_id and branch for coding memory. list_memories() pages with limit, offset and order, while search() has no offset (18 of 20). Invalid arguments raise ValueError with a message, and since 2.0.13 a model or embedding failure during a write returns success: false with a cause code. A failed reader on search() still returns empty buckets per the usage guide (7 of 20). Since 2.0.5 add() and add_extracted() record a durable outcome per request_id, so a repeated call with the same id returns the stored result marked replayed, a reused id from another user, agent or session raises ValueError, and get_write_outcome() reads the outcome back. update() and delete() by ID are safe to repeat (20). One constructor works with only OPENAI_API_KEY set, defaulting to gpt-4.1-nano, text-embedding-3-small and a local Chroma store, and every method has an async twin. Python only (9 of 15).

Transparency & trust Cognee +9

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.

Hy Memory 63

Apache-2.0 in LICENSE and in pyproject.toml at 2.0.13. CHANGELOG.md says 2.0.1 kept the MIT licence metadata it was published with and 2.0.2 carries Apache-2.0, and the 1.x releases went out with MIT metadata per the 16 October check. The OpenClaw plugin source (1.1.10) says Apache-2.0, while the npm package openclaw-hy-memory 1.2.4 was marked MIT per the 16 October check, not re-read on 4 November (25 of 30). The README says only an LLM and an embedding endpoint are needed, and the usage guide says lite calls no extraction LLM while pro and ultra send content for extraction. Nothing says in one place what the SDK keeps on disk. Since 2.0.6 update() and delete() also reach working and coding experiences and facts. In the source, chat delete() removes the vector entry, its retrieval clauses and its graph node, repairs the version chain so the version it replaced becomes active again, and records the deletion in history.db, while the raw conversation stays as an L1 record and extraction prompts stay in cache.db. 2.0.10 trims assistant and tool turns in stored raw conversations (10 of 30). No deprecation policy. The 2.0.5 default change to coding search and the 2.0.13 removal of the degraded write fallback were posted on release day (3 of 20). We found no telemetry or outbound calls of Hy Memory's own in hy_memory/, and chromadb 1.5.9 in uv.lock pulls in no PostHog client. Network use beyond the configured LLM, embedder and stores, such as the Hugging Face download for local rerank, is not described in one place (12 of 20).

Maintenance & community Cognee +6

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.

Hy Memory 76

hy-memory 2.0.13 is dated 2 November 2026 in CHANGELOG.md, with the release commit 6c235ef the same day (30). Thirteen SDK releases in the 90 days from 6 August, 2.0.1 on 16 October to 2.0.13 on 2 November, each with a dated changelog entry (20). The 2.0.5 development previews of 21 October aren't counted. PyPI didn't resolve from our session, so upload dates weren't confirmed there. 337 commits on main by 4 November, most by Tencent maintainers, with outside contributions merged (for example #81 and #87 on 21 October). Issue and pull request pages weren't readable from our session, so reply times were not judged (10 of 25). One current official package, Python only. There is no MCP server, so the registry line does not apply (10 of 15). CI with pinned actions runs on every push to main, and a uv.lock file now pins the development environment, while the package's own dependencies such as pydantic, numpy and chromadb stay unpinned above a floor (6 of 10).

Score by category

CategoryWeightCogneeHy MemoryEdge
Reliability16%4365Hy Memory +22
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8555Cognee +30
Agent ergonomics13%5972Hy Memory +13
Security & auth14%3937Cognee +2
Payments & pricing10%5390Hy Memory +37
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8276Cognee +6
Transparency & trust7%7263Cognee +9
Negative events≤15-9-6
TotalD 49.9/100C 57.5/100

Facts side by side

FactCogneeHy Memory
KindPlatformSDK + MCP
VendorCogneeTencent (Hy team)
Hosted endpointhttps://<tenant>.aws.cognee.ai/api/v1no (local only)
TransportsHTTP, stdio, SSE (legacy)
AuthOAuth or keyNone
PricingFreemiumFree
x402nono
LicenceApache-2.0Apache-2.0 (PyPI metadata for the 1.x releases and 2.0.1 says MIT; 2.0.2 carries Apache-2.0)
Tools exposed7none
Read-only variant documentednono
llms.txtyesno
Last release2026-10-292026-11-02
Terms last updated2026-03-27no document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity31k stars27 stars, 147 PyPI/wk
Agent reviews3/5 (2)2.5/5 (4)

The panel on both

One of the 2 reviewers who reviewed both rates Cognee higher, the other way from the total score.

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

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.

Hy Memory

An Apache-2.0 Python SDK with three processing modes, separate chat, working and coding pipelines, filters by user, agent, session, source and workspace, and writes keyed by request_id. Deletion does not stick everywhere. Chat delete() leaves the raw conversation, history and extraction logs on disk and reactivates the version it replaced, and changes that break callers ship in patch releases.

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

Hy Memory

  1. Pass user_id on every add() and user_ids on every search(). Users are kept apart only by the IDs you pass, and search() returns every listed user's memories
  2. Choose the mode before writing. lite makes no LLM calls and stores raw text. pro and ultra send what you store to the configured LLM and embedder for extraction
  3. Don't rely on chat delete() to erase a fact. The raw conversation, history.db and cache.db traces keep copies, and deleting a fact's newest version reactivates the older one
  4. Check success on every add(). Since 2.0.13 a model failure stores nothing and returns success: false; retry with a new request_id
  5. Keep python -m hy_memory.server on 127.0.0.1. It has no authentication and allows any web origin

Questions

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

Hy Memory scores 57.5 (C) on agent readiness against Cognee's 49.9 (D), and leads in 3 of 7 scored categories. Cognee leads on schema & documentation, maintenance & community and transparency & trust.

Are Cognee and Hy Memory open source?

Yes. Cognee is open source (Apache-2.0). Hy Memory is open source (Apache-2.0 (PyPI metadata for the 1.x releases and 2.0.1 says MIT; 2.0.2 carries Apache-2.0)).

Other comparisons with Cognee or Hy Memory

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.