TencentDB Agent Memory: a memory hub you host yourself, so your AI coding assistants stop forgetting your project

2 months ago

Every time you open a new chat, your AI coding assistant has forgotten your project. TencentDB Agent Memory saves what your assistant just learned, so the next one starts where the last one left off.

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00TencentDB Agent Memory: a memory hub you host yourself
  2. 0:10Your assistant keeps what it learns, instead of relearning it every session
  3. 0:32Most of an assistant’s first job is relearning your project
  4. 0:56Memory grows in layers, from the raw chat up to a lasting profile
  5. 1:26Four kinds of memory, each a reusable building block
  6. 1:55Each memory is owned, versioned, and equipped to the right agent
  7. 2:20The assistant checks what a change will break before it makes it
  8. 2:44Start it with one command, and the panel opens in your browser
  9. 3:07Your AI stops forgetting, and hands the save file to the next one
Show transcript

TencentDB Agent Memory: a memory hub you host yourself

GitHub Trending · Ep 26 · Aug 5, 2026

TencentDB Agent Memory

A memory hub you host yourself, so your AI coding assistants stop forgetting your project.
TypeScript MIT self-hosted

Every time you open a new chat, your AI coding assistant has forgotten your project. TencentDB Agent Memory saves what your assistant just learned, so the next one starts where the last one left off.

Your assistant keeps what it learns, instead of relearning it every session

Your assistant keeps what it learns, instead of relearning it every session.

The saved memory carries forward, like a save file for your project.
Your machine Your model
Every new task inherits the last one’s memory.
src: TencentDB Agent Memory (repo)

The AI tools you code with, like Claude Code or Cursor, forget everything the second you close the tab. TencentDB Agent Memory sits underneath them and keeps the useful parts: your preferences, your decisions, the shape of your codebase. It all runs on your own machine, on whatever AI model you already use. So every new task picks up that saved memory, and your assistant builds on the last session.

Most of an assistant’s first job is relearning your project

Most of an assistant’s first job is relearning your project.

Pour your codebase, docs, and history in once, and every agent reads from it.
Learned once, then shared by every agent on the team.
Scout Builder Reviewer
src: TencentDB Agent Memory (repo)

So much of an assistant’s time goes to just catching up. Before it writes a line, it relearns your codebase, your docs, and the decisions your team already made. You pay that again with every new agent. TencentDB Agent Memory makes that learning something your whole team shares. Pour your codebase, docs, and history in once. After that, a scout, a builder, and a reviewer agent all share one memory, each adding what it learns.

Memory grows in layers, from the raw chat up to a lasting profile

Memory grows in layers, from the raw chat up to a lasting profile.

Raw transcript → Facts → Scenes → Lasting profile
Read the top for a quick sense, or search down to the raw log for one exact fact.
src: TencentDB Agent Memory (repo)

Here’s the part that makes this clever: your memory isn’t one flat chat log. Every conversation starts as the raw transcript, saved word for word. Then a background process pulls out the key facts: your preferences, your decisions, the limits you set. It groups those facts into scenes, sorted by the project they belong to. Over time, it builds a lasting profile of how your team works. For a quick sense of things, your assistant reads the top of that pyramid. For one exact fact, it searches by keyword and by meaning, then drops back to the raw log to find it.

Four kinds of memory, each a reusable building block

Four kinds of memory, each a reusable building block.

Chat memory, a skill, a wiki, and a code map, all stored the same way.
Chat memory
Preferences, facts, and decisions you’ve made.
Skill
A full workflow: steps, triggers, and checks.
Builds on Nous Research’s Hermes Agent.
Wiki
Your docs as linked, structured pages.
Idea from Karpathy’s LLM Wiki.
CodeGraph
A map of your code and how it connects.
src: TencentDB Agent Memory README

The layered memory you just saw is one of four kinds, all stored the same way, as reusable assets. The first, chat memory, is who you are and what you’ve decided. The second is a skill: not a saved prompt, but a whole worked-out procedure with real steps, triggers, and checks. That part reuses code from Nous Research’s Hermes Agent. The third, a wiki, turns your docs and specs into linked pages, an idea the team borrowed from Andrej Karpathy. And the fourth, CodeGraph, maps your whole codebase and how its pieces connect.

Each memory is owned, versioned, and equipped to the right agent

Each memory is owned, versioned, and equipped to the right agent.

An owner A version Who can see it
Your team’s work is shared. Each person’s private work stays private.
Switch assistants, and re-equip the new one with the same memories.
src: TencentDB Agent Memory (repo)

None of this gets dumped into one giant prompt. Every memory carries an owner, a version, and a setting for who can see it: just you, your team, or only certain agents. A control panel called the Memory Hub then gives each agent only the memories it should have, like handing a character a loadout. So your team shares what it’s learned, and each person’s private work stays private. Switch to a different assistant, and you re-equip it with the same memories. Your project knowledge comes with you.

The assistant checks what a change will break before it makes it

The assistant checks what a change will break before it makes it.

CodeGraph maps how every file and function connects, so an edit isn’t a guess.
It sees everything an edit would touch, and flags what could break.
Builds on colbymchenry/codegraph (open source).
src: TencentDB Agent Memory demo

That code map is worth seeing in action. Most tools can only tell your assistant where a function lives. CodeGraph goes further: it maps how every file, symbol, and call in your project connects. So before your assistant edits a function, it sees everything else that touches that function, and warns you what the change will break. And the team didn’t build this from scratch. Their CodeGraph wraps an open-source engine of the same name, made by an outside developer.

Start it with one command, and the panel opens in your browser

Start it with one command, and the panel opens in your browser.

Three small services on your own machine. No cloud account to sign up for.
One command
Three small services, self-hosted on your box.
No cloud account
Despite the name, nothing to sign up for.
Claude Code CodeBuddy Hermes OpenClaw Your own code
MIT TypeScript self-hosted v2.0.0
shippedyou bind memories by hand nextautomatic routing
TencentCloud/TencentDB-Agent-Memory · README

The whole thing runs as three small services on your own machine, all self-hosted. Despite the name, there’s no cloud account to sign up for. It plugs into the coding tools you already use, from Claude Code to your own scripts. It’s free and open source under the MIT license, and version two point zero landed this week. The team features are a fast-moving beta. Today you bind memories to agents by hand, and automatic routing is what’s coming next.

Your AI stops forgetting, and hands the save file to the next one

TencentDB Agent Memory wordmark

Your AI stops forgetting, and hands the save file to the next one.

One memory hub, on your machine, shared across your whole team of agents.
One shared memory Your machine Your whole team
github.com/TencentCloud/TencentDB-Agent-Memory
New repo tomorrow.

So that’s TencentDB Agent Memory. Give your assistants one shared memory, hosted on your own machine, and your project stops getting relearned from scratch every session. The link’s on screen. New repo tomorrow.