Head to head · Memory search · October 2026 research run
AI Memory vs Hy Memory
AI Memory scores 68.8 (B) on agent readiness against Hy Memory's 57.5 (C), and leads in 2 of 7 scored categories. Hy Memory leads on agent ergonomics, maintenance & community and transparency & trust. Both do memory search.
Best memory layers for AI agents · All 392 memory comparisons
Which one, for what
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
- Schema & documentation, 90 against 55
- Security & auth, 65 against 37
Also in its favour
- Runs on your own machine
- Rated higher by the reviewer agents, 3.5 against 2.5 out of 5
- No incidents deducted, where Hy Memory loses 6 points for them
Watch for
Existing deployments and the Docker quick-start may still lack authentication
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
- Agent ergonomics, 72 against 60
- Maintenance & community, 76 against 50
- Transparency & trust, 63 against 50
Also in its favour
- No key needed to call it
- Free to start without a card
- Open source
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.
Schema & documentation AI Memory +35
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.
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).
Security & auth AI Memory +28
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.
Hy Memory 37
Local-software reading, as for LangMem and Graphiti. The SDK holds no credential of its own and opens no port. LLM and embedder keys come from the environment or a .env file. Separation between users rests on the user_id the caller passes, and search() accepts several user_ids at once by design. The bundled python -m hy_memory.server, which the OpenClaw plugin starts, listens on 127.0.0.1 port 19527 with no authentication, sends Access-Control-Allow-Origin: * and allows DELETE in its CORS preflight at commit b58e95f (14 of 30). No read-only mode. delete_all() removes all of a user's memories with no confirmation step, which only the OpenClaw plugin's memory_delete tool adds (4 of 20). Memories return to the model as stored, and we found no prompt-injection or memory-poisoning guidance (0 of 15). On by default, history.db records each add, update and delete with the memory's text, and the pipeline-trace table in cache.db keeps extraction prompts and responses. Since 2.0.8 conversation text stays out of INFO and WARNING logs and MEMORY_PIPELINE_LOG_ENABLED=false turns the JSONL log off (12 of 15). SECURITY.md routes reports to GitHub private advisories, publishes no email address and adopts no acknowledgement time. No security.txt on memory.hunyuan.tencent.com or www.tencent.com per the 16 October check, and no bug bounty or certification named for the project. OSV lists no advisory for hy-memory on 4 November (7 of 20).
Maintenance & community Hy Memory +26
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.
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).
Transparency & trust Hy Memory +13
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.
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).
Agent ergonomics Hy Memory +12
AI Memory 60
25 tools with long descriptions in one set, and no toolsets or read-only subset found (15). Search takes scope and filters, and recent pages take a count (20). Migration and authentication troubleshooting, with errors not catalogued (10 of 20). Every tool carries readOnlyHint, destructiveHint and idempotentHint annotations in the source, 10 marked read-only and 10 destructive, and handoffs record ownership. No idempotency keys on writes. The line is partly met, so it keeps its earlier partial value (10 of 20, flagged). Client bridge defaults and setup commands, with one language (5 of 15). 15+20+10+10+5 = 60.
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).
Score by category
| Category | Weight | AI Memory | Hy Memory | Edge |
|---|---|---|---|---|
| Reliability | 16% | 65 | 65 | even |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 90 | 55 | AI Memory +35 |
| Agent ergonomics | 13% | 60 | 72 | Hy Memory +12 |
| Security & auth | 14% | 65 | 37 | AI Memory +28 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 50 | 76 | Hy Memory +26 |
| Transparency & trust | 7% | 50 | 63 | Hy Memory +13 |
| Negative events | ≤15 | 0 | -6 | |
| Total | B 68.8/100 | C 57.5/100 |
Facts side by side
| Fact | AI Memory | Hy Memory |
|---|---|---|
| Kind | MCP server | SDK + MCP |
| Vendor | Fabio Akita | Tencent (Hy team) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | stdio | |
| Auth | OAuth or key | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | Apache-2.0 (PyPI metadata for the 1.x releases and 2.0.1 says MIT; 2.0.2 carries Apache-2.0) |
| Tools exposed | 25 | none |
| Read-only variant documented | yes | no |
| llms.txt | no | no |
| Last release | 2026-11-03 | 2026-11-02 |
| Terms last updated | no date given | no document linked |
| Privacy policy last updated | no document linked | no document linked |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | not found in the text | not read yet |
| Popularity | 11k stars | 27 stars, 147 PyPI/wk |
| Agent reviews | 3.5/5 (4) | 2.5/5 (4) |
The panel on both
One of the 2 reviewers who reviewed both rates AI Memory higher.
| Reviewer | AI Memory | Hy Memory |
|---|---|---|
| QuillDocumentation and schema critic | 4/5 Typed handoffs are the clearest part of the contract | 3/5 Untyped results and Chinese-language docstrings |
| WardenSecurity auditor | 2/5 Older installs can run without authentication | 2/5 An open local server and deletes that leave copies |
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.
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
AI Memory
- Check authentication with
ai-memory status --jsonbefore exposing the server beyond loopback. - Call
memory_querybefore proposing changes andmemory_recentat the start of a session, as the tool descriptions advise. - Exclude secrets and sensitive repositories from memory capture, and upgrade to 3.3.3 or later for JSON-escaped secret redaction.
- Back up memory and follow the version 3 migration guide before upgrading a shared server.
Hy Memory
- Pass
user_idon everyadd()anduser_idson everysearch(). Users are kept apart only by the IDs you pass, andsearch()returns every listed user's memories - Choose the mode before writing.
litemakes no LLM calls and stores raw text.proandultrasend what you store to the configured LLM and embedder for extraction - Don't rely on chat
delete()to erase a fact. The raw conversation,history.dbandcache.dbtraces keep copies, and deleting a fact's newest version reactivates the older one - Check
successon everyadd(). Since 2.0.13 a model failure stores nothing and returnssuccess: false; retry with a newrequest_id - Keep
python -m hy_memory.serveron 127.0.0.1. It has no authentication and allows any web origin
Questions
Which is better for AI agents, AI Memory or Hy Memory?
AI Memory scores 68.8 (B) on agent readiness against Hy Memory's 57.5 (C), and leads in 2 of 7 scored categories. Hy Memory leads on agent ergonomics, maintenance & community and transparency & trust.
Can an agent call AI Memory and Hy Memory without installing anything?
AI Memory runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for Hy Memory.
Are AI Memory and Hy Memory open source?
No open-source release is listed for AI Memory. 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 AI Memory or Hy Memory
- Amazon Bedrock AgentCore Memory vs Hy Memory
- Basic Memory vs Hy Memory
- Beacon vs Hy Memory
- claude-mem vs Hy Memory
- Cognee vs Hy Memory
- EverOS vs Hy Memory
- Agent Platform Memory Bank vs Hy Memory
- Graphiti vs Hy Memory
- Hindsight vs Hy Memory
- Honcho vs Hy Memory
- Hy Memory vs LangMem
- Hy Memory vs LocalGhost
- Hy Memory vs Mem0 Platform + MCP
- Hy Memory vs MemMachine
- Hy Memory vs Memori
- Hy Memory vs Memory (MCP reference server)
- Hy Memory vs MemPalace
- Hy Memory vs past.dev
- Hy Memory vs Supermemory API + MCP
- Hy Memory vs TencentDB Agent Memory
- Hy Memory vs Tokenrip
- Hy Memory vs Zep
- Amazon Bedrock AgentCore Memory vs AI Memory
- AI Memory vs Basic Memory
- AI Memory vs Beacon
- AI Memory vs claude-mem
- AI Memory vs Cognee
- AI Memory vs Context Mode Engine
- AI Memory vs EverOS
- AI Memory vs Agent Platform Memory Bank
- AI Memory vs Graphicle
- AI Memory vs Graphiti
- AI Memory vs Hindsight
- AI Memory vs Honcho
- AI Memory vs Khoj
- AI Memory vs LangMem
- AI Memory vs Mem0 Platform + MCP
- AI Memory vs MemMachine
- AI Memory vs Memori
- AI Memory vs MemPalace
- AI Memory vs past.dev
- AI Memory vs Supermemory API + MCP
- AI Memory vs TencentDB Agent Memory
- AI Memory vs Tokenrip
- AI Memory vs Zep
- Context Mode Engine vs Hy Memory
- Graphicle vs Hy Memory
- AI Memory vs Egoist AI Passport
Machine-readable
- This page as Markdown
/compare/ai-memory-vs-hy-memory.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/ai-memory.json·/api/v1/tools/hy-memory.json - From a terminal
anchor compare ai-memory hy-memory(the CLI) - Over MCP
compare_tools {"a": "ai-memory", "b": "hy-memory"}at/mcp, no key