
Tencent Hy Memory 2.0 Open-Source: 30B MoE Memory Writer Model Beats Claude Opus 5, Reshaping AI Agent Long-Term Memory Architecture
Open-Source Release Overview
On October 16, 2026, Tencent Hunyuan officially released Hy Memory 2.0, a complete three-layer memory management stack designed specifically for AI agents. The release includes three core components, all under the Apache 2.0 license:
- Hy-Memory-30B-A3B: Specialized memory writer model
- hy-memory: Python memory management framework (v2.0.1)
- MemHub: Local memory management application
Core Model: Hy-Memory-30B-A3B
Architecture Design
Hy-Memory-30B-A3B is a 30-billion-parameter Mixture-of-Experts (MoE) model with approximately 3 billion active parameters per token, featuring the following architecture:
| Specification | Value |
|---|---|
| Total Parameters | 30B |
| Active Parameters per Token | 3B |
| Layers | 48 (47 sparse MoE + 1 dense) |
| Experts per Block | 128 |
| Context Window | 262,144 positions |
| License | Apache 2.0 |
Specialized Design Philosophy
Unlike general-purpose frontier models, Hy-Memory-30B-A3B is specifically optimized for "memory writing" tasks:
- Deciding what to retain: Determining which information is worth long-term storage
- How to express memories: Organizing and expressing memory content most effectively
- Overwriting outdated information: Identifying and updating stale memory entries
This specialized design enables the model to significantly outperform general-purpose models on memory management tasks.
Benchmarks: Beating Claude Opus 5
According to Tencent's internal benchmark matrix (using fixed 20% subsamples), Hy-Memory-30B-A3B achieves impressive results across four memory harnesses:
| Model | Macro-Average Score |
|---|---|
| Hy-Memory-30B-A3B | 55.49 |
| Claude Opus 5 | 54.62 |
| DeepSeek V4.1 Flash | 53.64 |
Surpassing Claude Opus 5 (a much larger general-purpose model) with a 30B parameter MoE model fully demonstrates the advantage of specialized design on specific tasks.
Training Methodology
Hy-Memory-30B-A3B uses a two-stage training process (detailed in technical report arXiv:2610.22196):
Stage 1: Memory On-Policy Distillation (OPD)
Using a stronger teacher model to provide dense supervision on memory-state chains generated by the student model, teaching the student how to effectively manage memory states.
Stage 2: Attributed Memory Reinforcement Learning
Assigning credit to individual "memory chunks" based on their contribution to successful outcomes, allowing the model to optimize its long-horizon decision-making. This approach enables the model to learn which memories are most valuable for future tasks.
hy-memory Framework
The hy-memory Python framework (v2.0.1, published on PyPI) provides three specialized memory pipelines:
Chat Memory
Manages conversation history, intelligently compressing and extracting key information to ensure coherence in long-term conversations.
Working Memory
Manages temporary information during task execution, supporting state tracking for complex multi-step tasks.
Code Memory
Specifically optimized for code-related tasks, tracking codebase changes, function definitions, and development decisions.
The framework is designed to be compatible with existing memory systems like Mem0 and MemOS, reducing migration costs.
MemHub: Unified Memory Management
MemHub is a local-first application and CLI tool that consolidates memory history from multiple AI tools into a single managed store on the user's local disk:
- Cursor: Code editor AI assistant
- Claude Code: Anthropic's code agent
- Codex: OpenAI's code generation tool
- DeepSeek Harness: DeepSeek's agent framework
Currently available as macOS and Linux binary assets, with an npm package in development.
Deployment Recommendations
Hy-Memory-30B-A3B is designed for local or private data center deployment:
- Inference Frameworks: vLLM or SGLang (OpenAI-compatible endpoint)
- Inference Settings: Use
reasoning_effort: no_thinkfor deterministic, low-latency performance - Deployment Environment: Local servers or private cloud for data privacy
Significance for Asia-Pacific AI Agent Development
The release of Hy Memory 2.0 carries important implications for AI agent developers in Asia-Pacific:
Solving Long-Term Memory Pain Points
Long-term memory management for AI agents has been a persistent industry challenge. Hy Memory 2.0 provides an open-source, production-ready solution that enables APAC developers to build AI agents with genuine long-term memory capabilities.
Local Deployment Advantages
The Apache 2.0 license and local deployment design align with data sovereignty requirements across Asia-Pacific, particularly suitable for markets with strict data privacy requirements like Japan, Singapore, and South Korea.
Multilingual Memory Support
Tencent's technical expertise gives Hy Memory 2.0 natural advantages in memory management for Asian languages including Chinese, Japanese, and Korean, facilitating more natural Asian-language AI agents.
Enterprise Application Scenarios
- Customer Service Agents: Remembering customer preferences and interaction history
- Research Assistants: Tracking progress and findings in long-term research projects
- Code Development Agents: Remembering codebase structure and development decisions
- Personal Assistants: Maintaining long-term user preferences and habits
Comparison with Existing Memory Solutions
| Feature | Hy Memory 2.0 | Mem0 | MemOS |
|---|---|---|---|
| Dedicated Memory Model | ✅ 30B MoE | ❌ | ❌ |
| Open-Source License | Apache 2.0 | Commercial | Apache 2.0 |
| Multi-Tool Integration | ✅ MemHub | Limited | Limited |
| Asian Language Optimization | ✅ | Limited | Limited |
| Local Deployment | ✅ | Limited | ✅ |
Conclusion
The release of Tencent Hy Memory 2.0 represents an important breakthrough in AI agent memory management. Through a specialized 30B MoE memory writer model, a complete Python framework, and a unified memory management application, Hy Memory 2.0 provides AI agents with a complete long-term memory solution. As AI agents evolve from single-conversation tools to long-term assistants with persistent memory, Hy Memory 2.0 provides critical technical infrastructure. For AI developers in Asia-Pacific, this is an open-source tool worth deep exploration and adoption.


