Open Source
Open Source

AI Memory Framework, Open-Sourced: Tencent's 3B Tops Opus 5

Tencent Hunyuan open-sourced all three layers of Hy Memory 2.0 on 2026-10-16: the model layer Hy-Memory-30B-A3B (30B total parameters with about 3B active per token, a sparse MoE on HuggingFace at tencent/Hy-Memory-30B-A3B, arXiv 2610.22196), the SDK layer hy-memory (2.0.3 on PyPI at writing time) and the tool layer MemHub (CLI v1.0.3, bootstrapped via the npm memhub-cli package). License check: the GitHub API reports NOASSERTION (non-standard text), but the raw LICENSE file is Apache-2.0 with a Tencent preamble and no added restrictions - this article follows the LICENSE text. Official documents mix two spellings, "Hy-Memory-30A3B" and "Hy-Memory-30B-A3B"; we follow the HF repository name. Official benchmarks (vendor-reported): first place at 55.49 in a four-way memory-system comparison, ahead of Opus 5 (54.62) and DeepSeek-Flash (53.64), while Qwen3-30B-A3B scores only 44.37; MemoryArena 55.31 percent, leading runner-up EverOS by 10.2 points; CodeMemoryBench 64.2/35.6; SWE-ContextBench 28.3; LoCoMo 72.6 percent with memory tokens cut from 1159 to 703 (-39.3 percent). Internal business validation (vendor-reported): stock-picking multi-hop recall up from 50 to 90 percent, iWiki up 48.6 percent relative. Positioning is a memory-writer workhorse (analyst take, secondary): the model specializes in writing and updating memory and can in principle sit under existing systems like Mem0 or MemOS. MemHub tool count in two versions: the README lists 5 while the official WeChat article says 10 - go by actual CLI output. Five limitations stated as-is: vendor-only benchmarks without third-party replication, preview-stage API churn, MemHub limited to Linux/macOS, a 30B-class model that is nontrivial to self-host, and thin English docs. Repository: github.com/Tencent-Hunyuan/Hy-Memory (verified reachable). Division note: ai-agent-long-term-memory-sop (2026-08-08) covers the build-your-own mem0/Letta route; this piece covers Tencent's ready-made stack.

Published October 20, 202610 min read
<!-- hy-memory-2-0-opensource-resource | open-source | AI Memory Framework, Open-Sourced: Tencent's 3B Tops Opus 5 -->

Your agent sat through a half-hour briefing on your project's stack and naming conventions last week. Today it opens a fresh session and asks you to explain it all again. The model didn't get dumber; nobody is managing its memory. The context window closes, and everything inside evaporates. On October 16, 2026, Tencent Hunyuan took this chronic problem apart into three layers and open-sourced all of them at once: a 30B model built for writing and updating memories, a memory framework SDK, and MemHub, a local-first memory hub for the desktop. By the company's own paper, the framework layer ranks first among open-source systems on four benchmarks, and the accompanying model edged past the closed-source Opus 5 on a self-built composite — by 0.87 points. That last clause stays attached to every claim below.

Before anything else, weigh what "all three layers open-sourced" actually means. The standard move this year has been releasing weights while the surrounding ecosystem stays proprietary. Opening the model, the framework SDK, and the application layer simultaneously is far rarer, because each layer is a separate engineering effort with its own competitors. You can use just the model, just the framework, or just the desktop app that pools memories from your other tools — and for anyone studying how memory systems should be designed, all three layers in one repository saves a round of guesswork.

One: the timeline and the license

The version line first. Version 1.0 shipped in May 2026, closed-source, with the paper published under the name DCPM on arXiv (2606.09483). Version 2.0 arrived on October 16 with all three layers released. The GitHub repository was created on October 15; as of October 20 it showed 960 stars and 79 forks, written mostly in Python.

The license holds no surprises. We fetched the LICENSE file directly on October 20: it is Apache-2.0, and Tencent's copyright preamble imposes no additional restrictions. One quirk: the GitHub API classifies the license as Other/NOASSERTION because the text is not a standard template; the in-repo LICENSE is authoritative.

The repository lives here: Tencent-Hunyuan/Hy-Memory.

Repository address: github.com/Tencent-Hunyuan/Hy-Memory

Model weights are on Hugging Face: tencent/Hy-Memory-30B-A3B.

Weights address: huggingface.co/tencent/Hy-Memory-30B-A3B

The technical report is arXiv 2610.22196, and the product site is memory.hunyuan.tencent.com.

Two: three layers — model, SDK, application

Here is where the boundaries sit.

The model layer: Hy-Memory-30B-A3B. A sparse MoE with 30B total parameters and roughly 3B active per token. One naming note: official documents have mixed two spellings, "Hy-Memory-30A3B" and "Hy-Memory-30B-A3B"; we follow the Hugging Face repository name throughout. This is not a chat model with a good memory. Per a reading from the Zhinangtuan WeChat account (secondhand), it is a workstation model inside a memory framework, responsible for writing and updating memories — the kind of component you could swap into Mem0 or MemOS in place of their general-purpose LLMs. Training ran in two stages: online-policy distillation on memory operations, followed by attribution reinforcement learning that assigns credit to individual memory blocks. The model saw only three systems during training — Mem0, MemOS, and Hy-Memory; a fourth, EverMemOS, validated transfer.

The cost logic explains the positioning. Memory write and update are high-frequency operations: every turn can trigger extraction, merging, and conflict resolution. Running a 70B-class general model for this is expensive and slow. With 3B active, inference costs sit at the 3B level. A workstation model does not need to write poetry; it needs to handle memory chores fast and reliably.

The framework layer: Hy Memory SDK. Install with pip install hy-memory; the current PyPI version is 2.0.3, and the code lives in the same GitHub monorepo. Memory is organized into eight levels, L0 through L7. Two details stand out: L2, the FACT level, is versioned and immutable, while L7, the INTENTION level, carries an expiration time — intentions go stale, and the data structure admits it. Three runtime modes are available: lite, pro, and ultra, with ultra keeping System 2 schema induction always on. Storage: ChromaDB by default for vectors, with Qdrant and FAISS as alternatives; Kuzu by default for the graph store, swappable for Neo4j; SQLite for metadata.

The application layer: MemHub. A local memory hub, version 1.0.3, offering a CLI plus a macOS desktop app. After you grant access, it imports your historical sessions scattered across AI tools, distills them into a local memory store, and syncs new sessions in real time through a plugin mechanism. The README marks it as preview.

The three layers can be used independently or combined: SDK without MemHub works, and swapping the memory model into an existing framework works too. The layering also promises decoupled upgrades, though whether that holds in practice is something the community will verify.

Three: three kinds of memory — chat, working, code

The claim worth remembering from the official materials: this is, by the vendor's own account, the first memory framework to propose working memory and code memory as first-class categories.

Chat memory exists in many frameworks, but Hunyuan upgrades it into event threads: time, place, people, plus what happened afterward. Before writing, the system merges duplicates and strips out conflicts, then hands a clean thread to the model — rather than dumping raw transcripts into a vector store. If the user said they were on plan A in March and switched to plan B in October, the stale conclusion should not fight the new fact at retrieval time.

Working memory tracks task state: what the goal is, which decisions are settled, stage results, and reusable experience. Every piece of reusable experience carries applicability conditions, checked before reuse — "it worked last time" is not the same as "it will work this time."

Code memory is stored as version-evolution diff chains. The README says it stores real diffs with zero LLM calls, and includes a personality-filled self-description: "decorator, not a retriever" — it sits beside your development flow, keeping books passively. Zero LLM calls also means the diff itself is an exact record, with no risk of a model misremembering during summarization.

Four: reading the benchmarks, vendor-reported on both levels

Benchmarks come in two tiers, all self-reported by the vendor with no independent replication yet. Treat them as an official test report, not a third-party audit.

Model layer: on a fixed 20 percent subsample of benchmarks, the official paper averages six metrics with equal weights across four memory systems:

SystemComposite score
Hy-Memory-30B-A3B55.49
Opus 5 (closed-source)54.62
DeepSeek V4.1 Flash53.64
Qwen3-30B-A3B (open, same size)44.37

An open model with 3B active parameters outscoring a closed flagship is where the headline comes from. But the caution from Zhinangtuan (secondhand) is worth heeding: a 0.87-point margin is small. The real gap is cost — the same work at a fraction of the inference bill, thanks to 3B activation. The same-size comparison is starker: against Qwen3-30B-A3B, also 30B total and 3B active, the lead exceeds 11 points, with no closed-source suspicion attached. Note also: equal weighting across six metrics means no single benchmark decides anything; the lead indicates no obvious weak spot, not a sweep.

Framework layer, first among open-source systems on all four benchmarks:

  • Working memory, MemoryArena (travel planning and composite shopping, equal-weighted average): 55.31 percent, 10.2 points ahead of runner-up EverOS at 45.1 percent; Mem0 scored 38.78, MemOS 37.30, Simple RAG 41.22.
  • Code memory, CodeMemoryBench: 64.2 percent QA accuracy and 35.6 percent task resolution, both first; on SWE-ContextBench (Lite Related), 28.3 percent resolution against 25.3 percent each for MemOS and Mem0 and 22.2 percent for Simple RAG.
  • Chat memory, LoCoMo: 72.6 percent accuracy versus EverOS at 71.9 percent — only 0.7 points apart. But this benchmark carries a more concrete number: recalled tokens per question fell from 1,159 to 703, a 39.3 percent reduction. Per the Zhinangtuan reading (secondhand), the real victory here is the nearly 40 percent token saving — hard money in cost, latency, and attention.

For storage footprint, the official materials present a quadrant chart labeled "high effectiveness, low footprint" across all three memory types; exact figures were not published, so none are invented.

Five: MemHub — one memory out of many scattered sessions

MemHub deserves its own section because it is the layer closest to daily use. The logic: in one day you write code in one tool, revise requirements in another, and research in a third. Sessions scatter; none of the memories talk to each other. MemHub, once authorized, imports those historical sessions, distills them into one local memory store, and syncs new sessions back in real time through plugin integration.

How many tools does it support? Two counts disagree, and we present both. The official Tencent Hunyuan WeChat account says 10 AI tools, naming WorkBuddy, Cursor, Codex, Pi, Qwen Code, Hermes, DeepSeek Harness, OpenCode, and others. The README explicitly names 5: Claude Code, Cursor, Codex, OpenCode, and Qwen Code. The README ships with the code and reads as the conservative count; the WeChat figure likely includes adaptations still in testing. Check the plugin list on your own machine before committing.

Internal business validation (official figures) offers three sets of numbers. After integrating, Tencent's stock-supertag service saw multi-hop recall rise from 50 to 90 percent, overall pass rate from 64 to 81 percent, composite score from 64.3 to 79.6, and conflict resolution from 67 to 83 percent. In the iWiki scenario, answering with recalled memories alone scored 36.7 percent correct, versus 24.7 percent with the full raw conversations — a 48.6 percent relative gain from far less input. Tencent News's long-term preference evaluation averaged 91.68 points, with 87.8 percent of cases above 90.

Six: five limitations before you commit

The following come from third-party readings and are labeled secondhand:

First, every benchmark is self-built. The model-layer composite and the four framework benchmarks all originate from the official paper; credibility awaits independent community replication, which has not happened.

Second, Windows users cannot run MemHub. The v1.0.3 README states plainly that it supports the CLI plus macOS only; on Windows you are limited to the framework SDK.

Third, home-field advantage. The model trained on only three systems — Mem0, MemOS, and Hy-Memory — so it is naturally more familiar with the very systems it was benchmarked against. The EverMemOS transfer result is partial counterevidence, not full reassurance.

Fourth, multilingual coverage is unverified. Official data centers on English and Chinese scenarios; other languages have no published numbers.

Fifth, MemHub is in preview, the desktop app is macOS-only, and interfaces can change without notice.

The combination of the first and third deserves the most weight: self-built benchmarks plus home-field advantage means the evidence behind "first among open-source" currently comes entirely from the party setting the exam. That does not make the numbers wrong, but until the community reruns this suite against current versions of Mem0 and Letta, "official test report" is the more accurate label.

Seven: the ready-made route and the build-it-yourself route do not conflict

A note on division of labor. This site published a long-term memory SOP in August 2026 covering how to assemble your own system from components like mem0 and Letta — the right path for teams that want full control over data flow and behavior. This article covers Tencent's ready-made three-layer option, for teams that want to run first and decide later. The two do not conflict: two weeks of real sessions on the ready-made stack costs far less than writing integration code on day one. Adjacent territory: our context-compression SOP addresses windows that cannot fit everything — compression governs density within a session, memory governs survival across sessions.

FAQ

Q1: Is this genuinely open-source? Any license restrictions? A1: Yes. All three layers are open: model weights on Hugging Face, SDK and MemHub on GitHub. The LICENSE file confirms Apache-2.0, with no additional restrictions in Tencent's copyright preamble. The GitHub API tags it Other due to non-standard license text; the in-repo LICENSE is authoritative.

Q2: Do I have to use the 30B model? A2: No. The three layers work independently, and the SDK runs on its own (pip install hy-memory, currently 2.0.3). Per the Zhinangtuan reading (secondhand), the model layer is a memory workstation model that can replace the general-purpose LLM inside frameworks like Mem0 or MemOS.

Q3: Can Windows users run MemHub? A3: Not currently. The v1.0.3 README limits support to the CLI and the macOS desktop app, and the project is in preview. Windows users can build on the framework SDK instead.

Q4: Are the benchmarks trustworthy? A4: All are vendor-built, vendor-reported, with no independent replication yet. Two reference points: the 0.87-point lead over Opus 5 is thin, but the 39.3 percent reduction in recalled tokens on LoCoMo is a hard cost-side gain.

Q5: How does this compare with building my own memory system? A5: For out-of-the-box validation, take the three-layer stack as-is; for full control over data flow and behavior, follow this site's August 2026 self-build SOP. A common path: prove the value with the ready-made stack, then decide whether to build your own.

This article is AI-assisted and human-edited. Last updated: 2026-10-20

FAQ

Is this genuinely open-source? Any license restrictions?
Yes. All three layers are open: model weights on Hugging Face, SDK and MemHub on GitHub. The LICENSE file confirms Apache-2.0, with no additional restrictions in Tencent's copyright preamble. The GitHub API tags it Other due to non-standard license text; the in-repo LICENSE is authoritative.
Do I have to use the 30B model?
No. The three layers work independently, and the SDK runs on its own (pip install hy-memory, currently 2.0.3). Per the Zhinangtuan reading (secondhand), the model layer is a memory workstation model that can replace the general-purpose LLM inside frameworks like Mem0 or MemOS.
Can Windows users run MemHub?
Not currently. The v1.0.3 README limits support to the CLI and the macOS desktop app, and the project is in preview. Windows users can build on the framework SDK instead.
Are the benchmarks trustworthy?
All are vendor-built, vendor-reported, with no independent replication yet. Two reference points: the 0.87-point lead over Opus 5 is thin, but the 39.3 percent reduction in recalled tokens on LoCoMo is a hard cost-side gain.
How does this compare with building my own memory system?
For out-of-the-box validation, take the three-layer stack as-is; for full control over data flow and behavior, follow this site's August 2026 self-build SOP. A common path: prove the value with the ready-made stack, then decide whether to build your own.

Related

Open Source

DeepInfer Open-Sourced: 155T Tokens/Day, Engine or Factory?

On October 20, 2026 DeepSeek announced full open sourcing of DeepInfer, its production-grade inference framework - the first time the official production engine is available instead of open-source parts plus guesswork. The repository deepseek-ai/DeepInfer ships under Apache-2.0 and measured 17,902 stars, 1,836 forks, and 188 open issues on launch day, while the companion token codec deepseek-recipe is MIT-licensed; the two repositories carry different licenses. Every performance figure below is vendor-reported and has no third-party reproduction yet: a single cluster serves 155 trillion tokens per day (about 38 dollars per card per hour at off-peak pricing), first-token latency of 400 milliseconds, 230 tokens per second generation, 96 percent prefix-cache hit rate, and Prefill throughput per card rising from 60,000 to 1.5 million tokens per second when caching counts. SWA Bounded Replay pins the recompute of cache misses to the last 128 tokens, which nearly halves total Prefill compute and makes cost independent of context length; DSpark speculative decoding drafts up to 5 tokens, adds another 6 percent to live throughput, and yields 14K tokens per card per second; MoE expert replicas reshuffle every 10,000 steps so the busiest card runs only 9 percent above average load. Hardware covers both NVIDIA SM100 and Huawei Ascend 950 NPUs, and setup means a Python 3.12 virtual environment, the DEEPINFER_ACCELERATOR variable, and a source build that pulls DeepSeek-V4.1-Flash-1017 weights by default. The boundaries matter: DeepSeek states that Prefill and Decode disaggregation, data-parallel load balancing, and the KVCache management layer are still not fully open because they couple too deeply to internal infrastructure - this is the engine, not the whole factory - and no official benchmark against vLLM, SGLang, or TensorRT-LLM exists. In production, 8-card servers handle Prefill while 64 to 128-card supernodes handle Decode, with KVCache kept beyond 72 hours to avoid recomputation.

Oct 22, 202610 min read
Open Source

A 60 FPS World Model on One RTX 5090. Its Own Site Shows 0

SkyworkAI, a unit under Kunlun Wanwei, pushed Matrix-Game 4.0 to GitHub on 2026-10-15 (the series repo github.com/SkyworkAI/Matrix-Game was created 2025-05-06, with 4.0 living in the Matrix-Game-4/ subdirectory and a homepage at matrix-game-v4-0.github.io). A GitHub API snapshot on 2026-10-16 shows 2,488 stars and 272 forks - the aggregate for the series repo, folding in versions 1.0 through 3.0, so it must not be read as 4.0's own growth. The core idea: the game engine first renders a low-poly proxy frame, then a causal DiT video model performs streaming neural rendering into the final image. Three layers: a game engine holding state, physics and input; a coding agent that turns natural-language instructions into new rules that rewrite the engine while retrieving engine state to build a dynamic prompt; and a causal DiT distilled to one or two denoising steps where each latent yields four frames. HUD and sound are frame-aligned presentation layers outside the model. Three scenes - Medieval Castle, Ancient Egypt and City Racing - with weights and assets on Hugging Face as Skywork/Matrix-Game-4.0. The license must be read in three layers, LICENSE originals as authority: the root LICENSE is MIT (Copyright 2025 SkyworkAI and contributors, covering older series code); the v4 directory's Matrix-Game-4/LICENSE is the full Apache-2.0 text (11,357 characters); and inside v4's bundled licenses/ directory, MG4CF keeps Apache-2.0 while TAEHV keeps MIT (Copyright (c) 2025 Ollin Boer Bohan). The README states it directly: project code is Apache-2.0, vendored components retain their original licenses, and model and asset distributions carry their own statements. The Hugging Face model card's license field could not be retrieved for this piece because the lookup was blocked, so the article writes only that the model card is the final authority and does not guess a license name. Three sets of performance figures must be written side by side: (1) official launch figures of a single RTX 5090, 480p at 60 FPS, end-to-end latency under 150 ms, an 83 FPS steady single-step denoising rate and 18.5 GiB peak VRAM, not independently reproduced; (2) the project page performance panel is still a placeholder at 0 FPS, 0 ms, 0p and 0 GPU, with a footer saying content will be updated at release, visited on 2026-10-16; (3) the repository README's own measurements, the hardest of the three - one A100-SXM4-80GB at 864 x 480 with one denoising step plus TAEHV, SDPA, ring and fused DiT and CUDA graphs, giving about 38-39 FPS for the two shooter scenes with fixed prompts (model processing within an online session), about 38.5 for racing fixed and about 28.9 for racing dynamic (server-side online pipeline throughput), with the README stating that --fps 40 is a target capture cadence rather than a throughput or latency guarantee, that these are neither browser presentation FPS nor action-to-photon latency, and that the racing rows come from an earlier checkpoint. Version 4.0 also ships RTX 5090 presets (--preset rtx5090 on PyTorch SDPA, rtx5090-sage on SageAttention) that convert DiT block linear weights to FP8 at load time and quantize activations at inference while keeping embeddings and the output head in BF16, plus fused kernels and CUDA graphs; a version for the RTX 5080 and 5070 is officially slated for next week. Boundaries worth knowing: one server process supports only one active session and one scene model; networking binds to loopback by default under a security statement calling this a trusted single-user demo rather than an authenticated public cloud-gaming service; and the legacy Windows entry is retained but not validated for feature parity. Repository address: github.com/SkyworkAI/Matrix-Game.

Oct 16, 202610 min read
Open Source

AI Agents Can Now Reverse Engineer Apps: 84k Stars in a Week

morluto/rea (Reverse Engineer Anything) topped GitHub Trending: verified via GitHub API on October 11, 2026 - 84,088 stars, MIT, TypeScript; the star-growth chain cites three sources separately (~10,400 via trending data, 47,884 via a third party quoting the GitHub API, 84,088 verified by us). Repo: github.com/morluto/rea. It is an MCP server plus CLI (npx rea-agents setup) that wires your coding agent (Claude Code/Codex/Cursor/Gemini CLI and more) into a reverse-engineering toolbox: native binaries through Hopper/Ghidra/IDA, static JS/Electron with no engine needed, .NET assemblies, APKs (JADX), firmware (Binwalk/Unblob), EVM bytecode, HAR/mitmproxy captures and websites. v6.0 (release notes, October 8, 2026) added pwntools offline ELF layout, crash inspection, Windows PE x86 and LLDB observation, with v6.1-v6.3 following within 24 hours. Honest limits: it does not recover original source, does not clone apps wholesale, and every conclusion ships with evidence and stated caveats; analysis runs locally so the target binary never leaves your machine. README-cited showcases: DX-Ball function rebuilt in C passing 3,205 original x86 cases with all 63 bytes reproduced; the Notion clipboard bridge traced end to end. created_at 2026-04-14 (API) vs a reported October 7 launch - both stated, no exact date asserted.

Oct 11, 202610 min read