Your AI keeps forgetting you โ brew its memory instead
introduce yourself once. set the rules once. your AI remembers โ next week, next project, next agent
the repo, front and center โ github.com/TencentCloud/TencentDB-Agent-Memory
setup in one breath: clone โ one .env file โ ./start-all.sh โ paste the one-liner into your AI ยท full guide: docs
jar 1 ยท
chat memory
your preferences, facts and decisions survive between sessions โ โI always want short answersโ is said once
each agent only sees the memories you allow it to see
jar 2 ยท
skills
when your AI finishes something tricky, the working recipe gets bottled โ with versions and trigger rules, not just a prompt paste
any other agent can pick up that skill on day one instead of rediscovering it
jar 3 ยท
LLM-wiki
your documents turn into a wiki every agent can consult โ no more re-reading the PDF from page one every session
jar 4 ยท
code-graph
your codebase becomes a map โ โdonโt refactor the auth module, mobile still uses itโ is remembered forever, not re-explained weekly
how the brewing works
raw chats are distilled layer by layer: L0 conversation โ L1 atoms (facts) โ L2 scenarios (recipes) โ L3 persona (who you are)
the result is a human-readable save file โ a brand-new agent loads your whole history in one call
hookup is one URL swap: Claude Code, Codex, DeepSeek Harness, OpenClaw, OpenCode โ no plugins needed ยท your control panel: localhost:8125
the memory garden โ pick your flavor, all free
Mem0 (68.9K
) โ the simplest add-and-remember layer ยท tested at 92.5% recall with ~7K tokens instead of 25K
Graphiti (32.8K
) โ time-travel memory: facts keep โwas true then / true nowโ windows ยท game NPCs finally hold grudges properly
Cognee (33.2K
) โ docs + code + chats woven into one knowledge graph
Basic Memory (4.6K
) โ memory as plain Markdown you can read, edit and back up yourself โ the no-black-box pick
Letta / MemGPT (25.4K
) โ the agent that manages its own brain, rewriting its memory and skills
PMB โ a tiny SQLite memory for coding agents, no LLM needed to read it
โธ one minimized window (click to open)
the receipts โ long-session tests report โ61% tokens on WideSearch, SWE-bench success 58โ64%, PersonaMem 48โ76% (vendor-published; an issue caught a math typo and it was fixed in public โ thatโs how open source should behave)
the โvector-DB killerโ defused โ it kills the mandatory separate vector-DB service (SQLite + keyword search by default, optional embeddings) โ it doesnโt ban vectors, it de-gatekeeps them
privacy, honestly โ โlocal-firstโ means the memory stays home, but extraction still talks to whatever model you point it at โ use Ollama for a fully-local loop
fun use โ agents sharing a family brain: appliance manuals, allergies, school calendars โ with private vs family visibility controls
โธ the fine print, two lines
setup = Docker + two model configs โ one brain for extracting memories, one for serving your agent (a cheap one for memory, a strong one for work)
never pour secrets โ banking, passwords and private messages donโt belong in any AIโs memory jar
Your AI always had the brains. Now it finally keeps them.

!