Creative Automation / Foundation

China Just Open-Sourced Humanlike Memory for AI Agents (Tencent DB)

This video explains Tencent's open-source memory plugin, which raises coding-agent pass rates from 33% to 50% while cutting token use 61% by writing tool output to disk and keeping only a compressed diagram in context, plus a four-layer long-term memory system modeled on human episodic-to-semantic consolidation.

Kai11 minTranscript found

Quick learning frame

Read this before watching.

Creative automation accelerates production while keeping human taste in brief, source selection, generation, editing, and critique.

New playlist item from Kai; queued for transcript-backed review, topic mapping, and a practical learning artifact.

Skill you build: The ability to explain why compressing agent context to disk-backed summaries, rather than deleting it outright, preserves accuracy while cutting token cost.

Watch for the shift from claim to mechanism. The learning value is the point where the transcript reveals a repeatable action, tool boundary, context move, review habit, or artifact.

Concept diagram

Where this video fits.

01Brief
02Source material
03Generation
04Selection
05Edit
06Taste review
07Reusable recipe

Deep lesson

Turn this video into working knowledge.

2,039 cleaned transcript words reviewed across 602 timed caption segments.

Thesis

China Just Open-Sourced Humanlike Memory for AI Agents (Tencent DB) teaches a practical creative automation move: This video explains Tencent's open-source memory plugin, which raises coding-agent pass rates from 33% to 50% while cutting token use 61% by writing tool output to disk and keeping only a compressed diagram in context, plus a four-layer long-term memory system modeled on human episodic-to-semantic consolidation.

The goal is not to remember the video. The goal is to extract the operating principle, tie it to timestamped evidence, test how far the claim transfers, and make something reusable.

0:00

Bigger windows don't help

“You know the exact moment. You're deep in a session that's actually going well. The agent finally understands the code base, and then the little bar in the corner turns orange, compacting. And you watch it throw away...”

Chroma tested 18 frontier models and found accuracy fell as input grew, with degradation starting well before the context window was full, because attention is a fixed budget that every added token competes for, so 50,000 tokens of noise next to the one relevant line drowns out the signal. Pull up a long agent session transcript you've had and estimate what fraction of it was noise (logs, stack traces) versus the actual decision-relevant text.

6:45

Compress, don't delete

“wrong, you read it instead of squinting at cosine scores. Before that matters, though, you already have a memory system. It's a markdown file you edit by hand whenever the agent annoys you enough. And for plenty of...”

The plugin writes full tool output (search results, stack traces, file dumps) to markdown files on disk and keeps only a mermaid diagram with node IDs in the prompt, so hundreds of thousands of tokens collapse into a few hundred while the agent can still pull raw text back by node ID when it hits an error. Identify one tool output type in your own workflow that's routinely huge and rarely re-read in full, and consider offloading it to disk with a reference pointer instead of pasting it back into context.

9:10

Episodic to semantic layers

“skills, a wiki, and a code graph, each with an owner, a version, and permissions. Point it at an existing repo or your old sessions, and it backfills all of it before your agent does anything. Memory stops...”

Modeled on Tulving's 1972 split between episodic and semantic memory, the system organizes memory into four layers (L0 raw conversation, L1 atoms/facts pulled every five turns, L2 scenes, L3 persona rebuilt every 50 memories), reading persona first because it's cheap, and this raised the persona mem benchmark from a 48% baseline to 76%. Write out your own equivalent of an L3 persona file (your habits and defaults) by hand and compare it against what a generated one might produce.

01

Brief

Start with this video's job: This video explains Tencent's open-source memory plugin, which raises coding-agent pass rates from 33% to 50% while cutting token use 61% by writing tool output to disk and keeping only a compressed diagram in context, plus a four-layer long-term memory system modeled on human episodic-to-semantic consolidation. Treat "Brief" as the outcome you are trying to make visible, not a topic label. Anchor it to 0:00, where the video says: “You know the exact moment. You're deep in a session that's actually going well. The agent finally understands the code base, and then the little bar in the corner turns orange, compacting. And you watch it throw away...”

02

Source material

Use "Source material" to locate the part of the creative automation mechanism the video is demonstrating. Ask what changes in your real setup if this claim is true. Anchor it to 6:45, where the video says: “wrong, you read it instead of squinting at cosine scores. Before that matters, though, you already have a memory system. It's a markdown file you edit by hand whenever the agent annoys you enough. And for plenty of...”

03

Generation

Turn "Generation" into the reusable artifact for this lesson: A creative production board with source inputs, prompt recipe, selection criteria, edit pass, and taste-review checkpoints. This is where watching becomes something you can inspect and reuse.

04

Selection

Use "Selection" as the application surface. Decide whether the idea touches a browser flow, a local file, a model choice, a source document, a UI, or a review step.

05

Edit

Use "Edit" to prove the lesson. The evidence should connect back to the video title, transcript anchors, and a concrete output, not a generic best-practice claim.

06

Taste review

Use "Taste review" to carry the idea forward: save the prompt, checklist, diagram, or operating rule that would make the next agent run better.

07

Reusable recipe

Connect "Reusable recipe" to China Just Open-Sourced Humanlike Memory for AI Agents (Tencent DB) by naming the claim, the evidence, and the artifact it should produce.

Example

Source-backed artifact packet

Convert the video into a scoped artifact request that includes the transcript claim, mechanism, acceptance criteria, and proof. The output should be a creative production board with source inputs, prompt recipe, selection criteria, edit pass, and taste-review checkpoints..

Example

Creative automation proof brief

Separate what the speaker claims, what the demo actually proves, and what still needs outside verification before you adopt the creative automation pattern.

Example

Teach-back module

Transform the lesson into a definition, a Brief -> Source material -> Generation -> Selection -> Edit -> Taste review -> Reusable recipe diagram, one misconception, one practice exercise, and a check-for-understanding question.

Do not learn it wrong
  • Treating the title as the lesson without checking what the transcript actually says.
  • mistaking novelty for quality
  • no source/brief discipline
  • shipping generated media without taste review
  • Letting the lesson drift into generic content advice.
  • Letting the lesson drift into tool hype.
  • Letting the lesson drift into creative output without selection criteria.

Transcript-derived moments

Use timestamps to study the actual video.

Quality check

Do not count this as learned until these are true.

01

State the transcript-backed claim in your own words: This video explains Tencent's open-source memory plugin, which raises coding-agent pass rates from 33% to 50% while cutting token use 61% by writing tool output to disk and keeping only a compressed diagram in context, plus a four-layer long-term memory system modeled on human episodic-to-semantic consolidation.

02

Explain the practical stakes without hype: New playlist item from Kai; queued for transcript-backed review, topic mapping, and a practical learning artifact.

03

Map the idea onto the Brief -> Source material -> Generation -> Selection -> Edit -> Taste review -> Reusable recipe sequence and name the weakest link.

04

Produce the artifact and include the evidence that proves it: A creative production board with source inputs, prompt recipe, selection criteria, edit pass, and taste-review checkpoints.

Put it into practice

Give this grounded prompt to Codex or Claude after watching.

You are helping me turn one specific YouTube video into real, durable learning.

Source video:
- Title: China Just Open-Sourced Humanlike Memory for AI Agents (Tencent DB)
- URL: https://www.youtube.com/watch?v=W3yHP9_jYNk
- Topic: Creative Automation
- My current learning frame: Install the plugin on one long-running repo session and compare your own token usage and error rate on a real task before and after using it.
- Why this matters: New playlist item from Kai; queued for transcript-backed review, topic mapping, and a practical learning artifact.

Transcript anchors from this exact video:
- 0:00 / Evidence 1: "You know the exact moment. You're deep in a session that's actually going well. The agent finally understands the code base, and then the little bar in the corner turns orange, compacting. And you watch it throw away..."
- 1:35 / Evidence 2: "most people assume. A model with no memory plus a loop that keeps handing it the transcript. So, the loop compensates by pasting everything back in. Files, tool output, errors, all of it. On SWE-bench, Tencent ran 50..."
- 4:25 / Evidence 3: "to a 31.6% cut. The row next to it says 33.1. Small, probably a normalization choice rather than a mistake, but it's their arithmetic and it's the one row that doesn't divide. The long context row divides to..."
- 6:45 / Evidence 4: "wrong, you read it instead of squinting at cosine scores. Before that matters, though, you already have a memory system. It's a markdown file you edit by hand whenever the agent annoys you enough. And for plenty of..."
- 9:10 / Evidence 5: "skills, a wiki, and a code graph, each with an owner, a version, and permissions. Point it at an existing repo or your old sessions, and it backfills all of it before your agent does anything. Memory stops..."
- 10:41 / Evidence 6: "shape. Keep a sketch in context. Keep the evidence on disk. Keep the path between them intact, which is the thing the orange bar never did for you. Compaction throws the session away and hands you a note."

Video-aware target:
- Prompt lane: Creative automation
- Mechanism to extract: Extract the creative production loop, especially where the human keeps taste, selection, and final judgment.
- Artifact to produce: A creative production board with source inputs, prompt recipe, selection criteria, edit pass, and taste-review checkpoints.
- Artifact must include: brief; source inputs; generation recipe; selection criteria; edit/review checkpoint

Your task:
1. Use the transcript anchors above as the primary source packet. If you add outside context, label it clearly as outside context and keep it secondary.
2. Create a source-check table with columns: timestamp, claim, transcript support, what the demo proves, confidence, and what still needs verification.
3. Extract the actual teachable mechanism from the video: Extract the creative production loop, especially where the human keeps taste, selection, and final judgment. Do not invent claims that are not supported by the title, lesson frame, or transcript anchors.
4. Build a reusable learning artifact: A creative production board with source inputs, prompt recipe, selection criteria, edit pass, and taste-review checkpoints.
5. Include:
   - a plain-English definition of the core idea
   - a diagram or structured model using this sequence: Brief -> Source material -> Generation -> Selection -> Edit -> Taste review -> Reusable recipe
   - answers to these source questions: What asset is being produced? | What inputs and tools drive it? | Where does human taste intervene?
   - 3 concrete examples that apply the video idea to real agentic work, such as Claude-generated video campaign; image-to-site workflow; voice or video editing loop
   - 2 failure modes the video helps prevent, chosen from the transcript evidence and these likely risks: mistaking novelty for quality; no source/brief discipline; shipping generated media without taste review
   - a checklist for the next real workflow, focused on: brief, inputs, generation, selection, critique
   - one practical exercise with a clear done signal: Build one reusable creative recipe and define what would make the result rejectable.
6. Add a "learning transfer" section: what changes in my workflow tomorrow if I actually learned this?
7. Add a "source check" section that cites which transcript anchor supports each major takeaway.

Quality bar:
- Make this specific to "China Just Open-Sourced Humanlike Memory for AI Agents (Tencent DB)", not a generic Creative Automation essay.
- Anchor each creative step to transcript evidence about inputs, model/tool choices, iteration, editing, or critique.
- Prefer operational examples, failure modes, and reusable artifacts over broad definitions.
- Call out uncertainty instead of smoothing over weak evidence.
- Avoid these generic drifts: generic content advice; tool hype; creative output without selection criteria.
- If evidence is weak or missing, stop and say what transcript segment or timestamp needs review instead of guessing.
- Finish with a concise artifact I could paste into my learning app.

Misconceptions

What to stop believing.

Creative AI removes the need for taste.

It increases the need for taste because output volume explodes.

The best prompt is enough.

References, critique, iteration, and post-production matter just as much.

Practice studio

Learning only counts when you make something.

01

Transcript evidence map

Separate what the video actually says from what you already believe about the topic.

3 source-backed takeaways with timestamps, confidence, and a transfer note.
02

One useful artifact

Apply the video to a real workflow and produce a creative production board with source inputs, prompt recipe, selection criteria, edit pass, and taste-review checkpoints..

A reusable artifact with a done signal and one verification step.
03

Creative automation teach-back card

Explain the creative automation mechanism to someone who has not watched the video yet.

A 90-second explanation, one diagram, one example, and one misconception to avoid.

Recall check

Answer first, then reveal — without rewatching.

Why does Chroma's research show that bigger context windows alone don't fix agent memory problems?

How does Tencent's memory plugin keep the prompt small without losing detail?

What are the four memory layers (L0-L3) and what result did the layered approach produce on the persona mem benchmark?

Source shelf

Use the video as a doorway, then verify with primary sources.

ReadingComfyUIwww.comfy.org/ReadingAffinityaffinity.serif.com/