explainx.ai0k
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • Quick reference
  • What is a "memory writer" and why does it need its own model?
  • How was it trained?
  • What do the benchmark numbers say?
  • Why EverMemOS is the number to watch
  • How to try it
  • What this means if you build agents
  • Limits and open questions
  • Where it fits in the Tencent and agent landscape
  • Related reading
← Back to blog

explainx / blog

Tencent Hy-Memory-30B-A3B: An Open 3B-Active Model That Writes Agent Memory

Tencent, Agent Memory, Open Source, Open-Weight Models, AI Agents

Part of AI Agents

Tencent Hunyuan released Hy-Memory-30B-A3B, an Apache-2.0 memory-writer model for Mem0 and MemOS that edges Claude Opus 5 on its own benchmark matrix.

Oct 16, 2026·9 min read·Yash Thakker
add explainx.ai
go deep
Tencent Hy-Memory-30B-A3B: An Open 3B-Active Model That Writes Agent Memory

Tencent Hunyuan has put a very specific kind of model on Hugging Face: Hy-Memory-30B-A3B, an Apache-2.0 mixture-of-experts model with roughly 3B active parameters whose only job is to decide what an AI agent should remember. According to the model card, it drops into Mem0, MemOS and Tencent's own Hy-Memory framework in place of a general-purpose LLM, and on Tencent's benchmark matrix it averages 55.49 versus 54.62 for Claude Opus 5. Those are Tencent's numbers, not an independent test, and the post below separates what the release shows from what it does not.

Quick reference

table · 2 cols
QuestionAnswer
Who released it?Tencent Hunyuan, on Hugging Face as tencent/Hy-Memory-30B-A3B
What is it?A compact "memory writer": reads conversations or work traces and writes, edits and updates stored memories
Size30B total parameters, about 3B active (128 experts, 8 per token per the config)
LicenseApache-2.0
Where does it plug in?Mem0, MemOS, Hy-Memory (Chat, Working, Coding), and the held-out EverMemOS
Headline claim55.49 macro average vs 54.62 for Claude Opus 5, 53.64 for DeepSeek V4.1 Flash
Is the benchmark independent?No, it is Tencent's own matrix on 20 percent subsamples
How to run itvLLM, OpenAI-compatible endpoint, reasoning_effort set to no_think
SourcesModel card, GitHub repo, tech report

What is a "memory writer" and why does it need its own model?

Most agent memory systems have two halves. The read path retrieves stored facts when a new request arrives. The write path decides, after every conversation chunk or work session, what is worth keeping, how precisely to phrase it, and whether it contradicts or updates something already stored.

The write path is where memory quality is won or lost. If the writer stores too much, retrieval fills with noise. If it stores too little or paraphrases loosely, the agent forgets a dietary restriction or misremembers a codebase convention. Frameworks such as Mem0 and MemOS usually call a general-purpose frontier model for this step, which is expensive when it runs after every turn.

Hy-Memory-30B-A3B targets that cost. Tencent describes it as a compact long-term-memory writer: with about 3B parameters active per token, serving it is closer to running a small model than a frontier one, while it is meant to match frontier quality on this one task. That framing fits a wider pattern, where a small specialised model competes with larger general ones on one measured task, and it sits alongside the argument in why agents may need documentation more than memory.

Tencent Hy-Memory-30B-A3B as an agent long-term memory store, shown as spools of thread kept in a small drawerTencent Hy-Memory-30B-A3B as an agent long-term memory store, shown as spools of thread kept in a small drawer

How was it trained?

The model card describes a two-stage recipe, both stages run inside the same deployed harness configurations that the model will later serve:

  1. Memory On-Policy Distillation (OPD). A stronger teacher supplies dense supervision on state chains that the student itself wrote. "On-policy" means the student's own memory banks, not a teacher's idealised ones, are what get corrected, which keeps training close to deployment conditions.
  2. Attributed Memory Reinforcement Learning. The resulting memory banks are examined, and credit is assigned at the chunk level. In the model card's figure, the best rollout can differ from chunk to chunk, and the bank with the highest summed chunk score becomes the parent for the next window.

The chunk-level credit matters. Memory writing is a long-horizon task: a bad decision in chunk 3 may only show up as a wrong answer after chunk 40. Scoring each chunk's contribution is Tencent's answer to that credit-assignment problem. Whether it generalises is exactly what the held-out EverMemOS test is meant to probe.

What do the benchmark numbers say?

Tencent evaluates by changing only the memory writer. The harness version, prompts, retrieval configuration, answer model and judge are fixed. Each harness score averages six metrics equally: LoCoMo Judge, LongMemEval, PersonaMem-v2, Travel SPS, Shopping PS and Code Memory Bench. The overall score averages four harnesses equally. According to the report, every DeepSeek Flash reference denotes DeepSeek V4.1 Flash, and every benchmark runs on a fixed 20 percent subsample for efficiency.

table · 6 cols
Memory writerMem0Hy-MemoryMemOSEverMemOSAverage
Hy-Memory-30B-A3B54.0260.5550.5156.8955.49
Claude Opus 553.4360.5350.5054.0454.62
DeepSeek V4.1 Flash49.7360.2049.1755.4753.64
Hy345.9958.0650.1952.3051.63
Qwen3.6-35B-A3B47.5155.8747.3650.7550.37
Hy3-A3B Base40.2050.3949.0550.9847.66
Qwen3-30B-A3B39.8145.6745.4446.5744.37

Source: Tencent Hunyuan model card, Table 1. Six-metric means on fixed 20 percent subsamples.

Three things stand out.

The small model gains most over its own base. Hy3-A3B Base scores 47.66 and the tuned model scores 55.49, a gain of about eight points. That is the clearest evidence in the table that the training recipe, not the architecture alone, did the work. The older Qwen3-30B-A3B sits at 44.37.

The lead over Opus 5 is thin. On the Hy-Memory harness the two are 60.55 versus 60.53, and on MemOS 50.51 versus 50.50. Those are ties. The real separation is on EverMemOS (56.89 against 54.04) and Mem0 (54.02 against 53.43). With subsampled benchmarks, differences of this size could move with a different sample.

Frontier models still win individual benchmarks. In the Mem0 detail table, Opus 5 scores 69.47 on LoCoMo against 59.54 for Hy-Memory, and 70.74 against 67.13 on Code Memory Bench. Hy-Memory leads on LongMemEval (73.00 versus 66.00) and Travel (54.51 versus 42.98). So the average hides a different profile: stronger at some memory tasks, weaker at others.

Note also that the Shopping PS scores are low for every model (roughly 14 to 24), which suggests that benchmark is either hard or noisy and contributes little to separating writers.

Why EverMemOS is the number to watch

Three of the four harnesses were part of training. EverMemOS was not. On it, Hy-Memory-30B-A3B scores 56.89, ahead of DeepSeek V4.1 Flash at 55.47 and Opus 5 at 54.04. If the result holds under independent testing, it supports the claim that the writer learned something general about memory rather than overfitting to three frameworks' prompt formats.

The caution is that the benchmark composition is Tencent's choice. Another team using different tasks, or full datasets instead of a 20 percent slice, might see a different ranking. For a comparable story about self-reported agent-memory scores, see our look at Garry Tan's GBrain evals and the self-graded benchmark problem.

How to try it

The model card gives a short quickstart. You serve the weights with vLLM (Tencent tested v0.31.0) under the name hy-memory, then call the OpenAI-compatible API. The prompt in the example asks the model to extract explicit user facts and preferences and return a JSON object with a list of memory strings, with temperature 0 and the chat template argument reasoning_effort set to no_think.

python
from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:8000/v1", api_key="EMPTY")

response = client.chat.completions.create(
    model="hy-memory",
    messages=[
        {"role": "system", "content": "Extract explicit user facts and preferences. Return only a JSON object with a memories list of strings."},
        {"role": "user", "content": "I live in Seattle, mainly use Python, and I am vegetarian."},
    ],
    temperature=0.0,
    max_tokens=512,
    extra_body={"chat_template_kwargs": {"reasoning_effort": "no_think"}},
)
print(response.choices[0].message.content)

The chat template also supports high and low reasoning effort, and no_think is the default when none is given. For production use, the evaluation utilities and framework code live in the Hy-Memory GitHub repository. We have not run the model ourselves for this post, so the quickstart above reflects the model card, not our own testing.

What this means if you build agents

  • Cost. If your agent calls a frontier model after each turn only to update memory, a 3B-active writer could cut that bill. The saving depends on your hardware: a 30B-total model still needs the memory to hold all experts, even though only a fraction compute per token.
  • Privacy and control. Memory writers see the most sensitive text an agent handles: preferences, names, work history. An Apache-2.0 model you host yourself keeps that text off third-party APIs, a point that matters for the enterprise deployments discussed in our Cognition Devin memory and open spec coverage.
  • Framework lock-in. Mem0, MemOS and EverMemOS being supported means you can swap the writer without rebuilding the retrieval side.
  • Evaluation hygiene. If you adopt it, run your own conversations through both the frontier writer and this one and compare the stored banks by hand. Memory quality is domain-specific, and a public average will not tell you whether it keeps your users' constraints.

Limits and open questions

  • Self-reported. All figures come from Tencent's report. No external replication was visible at publication.
  • Subsampled evaluation. Only 20 percent of each benchmark was used, which widens the error bars on sub-point differences.
  • Judge and answer model fixed. Good for fairness, but results may shift with other answer models. The answer model and judge are not the writer, and the report holds them constant.
  • Writer only. The model does not do retrieval. A great writer paired with a weak retriever still gives poor recall.
  • Fresh release. The weights had no downloads yet when we checked and a handful of likes, so community feedback on edge cases, languages beyond English and Chinese, and failure modes does not exist yet.
  • Operational risk. Any model that rewrites stored memory can also corrupt it: a wrong update silently overwrites a right fact. Keep history and audit logs. If your agents act on memory with real permissions, a runtime guard such as AgentBeam can stop dangerous actions that a bad memory might trigger.

Where it fits in the Tencent and agent landscape

Tencent has been shipping a steady stream of focused open models, such as the Youtu-Parsing Omni 5B document and audio parser, rather than only chasing a single flagship. Hy-Memory follows the same logic: pick a narrow job inside the agent stack, train a small model on it with in-harness reinforcement learning, publish weights and an evaluation harness. For readers building computer-use or coding agents, the memory layer is increasingly the differentiator, as the OpenAI contracting agents with computer use story shows when an agent must carry context across many sessions.

The practical takeaway: treat Hy-Memory-30B-A3B as a credible, cheap candidate to test as your memory writer, not as proof that a small model has overtaken frontier models on memory in general.

Related reading

  • Agents don't need memory, they need documentation
  • Cognition Devin dreaming memory and the open memory spec
  • Garry Tan's GBrain evals: a self-graded agent-memory benchmark
  • Tencent Youtu-Parsing Omni 5B
  • OpenAI contracting agents and computer use
  • Claude Opus 5.5 launch, benchmarks and pricing

Specifications and scores are as published by Tencent Hunyuan on October 16, 2026 and may change as the repository and report are updated.

Spotted something out of date? Let us know.
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 6, 2026

Octop: Tencent Cloud's Open-Source Multi-User AI Workspace

Tencent Cloud open sourced Octop, a self-hosted AI assistant platform where each person on your machine gets a login, their own agents and an isolated workspace. It hands work to coding agents and lives in chat apps. Here is how it works, how to start, and what to check before you trust it.

Sep 16, 2026

Tencent Open-Sources BrowserSkill: Agents Borrow Your Real, Logged-In Browser

Tencent's new open-source BrowserSkill gives AI agents temporary, explicit access to a tab in your real browser — reusing your existing login state instead of a blank sandboxed session — then hands control back for captchas, logins, and confirmations. It's a CLI, not an MCP server, so it works with Cursor, Claude Code, Codex, and anything else that can run a shell command. Here's what it actually does and where the security tradeoffs are.

Aug 3, 2026

TencentDB Agent Memory v2: Team Hub for Chat, Skills, Wiki, CodeGraph

August 2026: TencentDB Agent Memory hit v2.0.0 — a MIT team memory hub that turns conversations, docs, and code into governed assets Agents can equip. explainx.ai maps the four asset types, L0–L3 layers, PersonaMem gains, and how it compares to Karpathy-style wikis and one-off RAG.