Tencent Ships Hy Memory so AI Agents Remember Everything Across Sessions

Tencent Hunyuan open-sourced Hy Memory, a dual-system cognitive memory engine with three specialized pipelines for chat, productivity, and coding agents.

·
·
·
Tencent Ships Hy Memory so AI Agents Remember Everything Across SessionsPRO
Read2 min
TypeRepo
TopicAgents
  • Tencent Hunyuan open-sourced Hy Memory, a dual-system long-term memory framework for LLM agents, under Apache-2.0.
  • Three task-specific pipelines: chat (8-layer hierarchy), working (facts + experiences), coding (adds diff chain).
  • Coding scene uniquely tracks every code revision as real diffs with zero LLM calls.
  • Released Hy-Memory-30B-A3B, a MoE model trained via attributed RL for memory writing.
  • MemHub unifies conversation history from Claude Code, Cursor, Codex, OpenCode, and Qwen Code locally.
  • Three modes (lite, pro, ultra) trade LLM cost for cognitive capability like schema induction.

Tencent’s Hunyuan team has released Hy Memory, an open-source framework for LLM agents that retain information across sessions, tools, and projects. The project uses separate memory pipelines for conversation, knowledge work, and coding, alongside a local desktop and CLI application called MemHub.

LLM APIs do not retain state between requests, so agent applications must store useful history and retrieve it when needed. A shared vector index can mix personal preferences, task outcomes, and source-code changes despite their different retrieval requirements. Hy Memory assigns each category its own structure and lifecycle.

The release bundles the following components:

  • A Python SDK published as hy-memory==2.0.4.
  • A 30-billion-parameter Mixture-of-Experts memory-writing model, including FP8 and GGUF variants.
  • MemHub integrations for Claude Code, Cursor, Codex, OpenCode, and Qwen Code.
  • Two research papers and the CMB coding-memory benchmark.
  • Vector and graph storage integrations for local and service-backed deployments.

The release materials identify the code and model artifacts as Apache-2.0 licensed.

One job, one memory shape

Hy Memory calls its task-specific configurations “scenes.” Automatic routing selects among three scenes, and applications can specify one directly when the task is known.

  • Chat uses an eight-layer hierarchy, labeled L0 through L7. It turns raw dialogue into atomic facts, summaries, learned patterns called mental schemas, and prospective intentions such as plans or reminders. Intentions include expiration times and become ordinary facts after they expire.
  • Working uses two layers. Each session produces one fact describing the completed work, plus reusable experiences that meet the system’s value threshold.
  • Coding extends the working schema with a version-evolution chain that tracks revisions to each function by branch.

The separation gives each retrieval path information suited to its task. Chat searches can surface preferences and plans, working-memory searches can recover prior outcomes, and coding searches can reconstruct how an implementation changed.

Pro article

This story is for Pro members

You've reached the end of the free preview. Upgrade to AlphaSignal Pro to read the full article - and everything else behind the paywall.

Trending
  • No trending articles

Comments

avatar

Next Reads