Tencent Hunyuan open-sources Hy Memory 2.0 for AI agents
2026-10-18 · Pandaily
Tencent Hunyuan has released version 2.0 of Hy Memory, its memory framework for AI agents, and open-sourced all three layers: a dedicated memory model, the framework, and a local memory app called MemHub. The layers can be used separately or combined. Tencent says internal teams in finance, news, knowledge management, office agents, social entertainment and games already use it.
The framework handles storage, updating and evolution of three memory types: chat, working and code. Developers connect it through the hy-memory 2.0.2 SDK on PyPI. Working and code memory are new in 2.0, recording a task's goal, decisions made, intermediate results and reusable lessons with the conditions where they apply. Before resuming a long task, the system works out which task is in progress and retrieves relevant decisions, valid experience and prior work. Chat memory groups scattered facts into events with time, place and people, merging duplicates and resolving conflicts.
Tencent reports first place against open-source frameworks including Mem0, MemOS and EverOS on four benchmarks: working memory averages 55.31% on MemoryArena tasks; code memory reaches 64.2% QA accuracy and 35.6% task resolution on CodeMemoryBench; chat memory hits 72.6% on LoCoMo while cutting tokens per question from 1,159 to 703, a 39.3% reduction. These are Tencent's own figures.
The model layer, Hy-Memory-30B-A3B, is a mixture-of-experts model with about 3 billion active parameters. On a fixed 20% subsample of the benchmarks its macro average is 55.49, slightly above Claude Opus 5 at 54.62 and DeepSeek V4.1 Flash at 53.64. Weights are on Hugging Face.
MemHub is local-first, with a command-line tool and a Mac client; once authorized it imports past sessions from connected tools into one local store and keeps syncing, currently across 10 tools including Cursor, Codex, Qwen Code and DeepSeek Harness. The repository is Apache 2.0.