On-screen text
TencentCloud / TencentDB-Agent-Memory
Public
Code
Issues 94
Pull requests 475
Discussions
feat/server_team
Code
Maxwell-Code07 3 days ago
.github
MemoryCore
MemoryKnowledge
MemoryPanel
MemoryProxy
assets
deploy
sdk/memory-core
.gitignore
CHANGELOG.md
View all files
README
Contributing
License
TencentDB
Agent Memory
Agents remember. Humans innovate.
Agents remember. Humans innovate.
GITHUB TRENDING
#1 Repository Of The Day
npm v1.0.1
License MIT
node >=22.16
OpenClaw >=2026.3.13
Hermes Gateway Discord Join
Installation
What is it?
Team Play
Technical Implementation
Benchmark
English
简体中文
Latest: Team Memory Beta is evolving quickly - install it
and start exploring in minutes.
memoryhub_demo.mov
0:00 / 2:47
TencentDB
Agent Memory
Agents remember. Humans innovate.
Installation
Start all three services in one go (memory-core + memory-hub +
proxy ):
git clone https://github.com/Tencent/TencentDB-Ager
cd TencentDB-Agent-Memory/deploy/global-images
cp .env.example .env
$EDITOR .env
./start-all.sh
# Fill in two sets of LLM param
# Launch everything with one co
Open the panel: http://localhost:8125.
Complete installation documentation (standalone Memory Hub
deployment, Proxy + Claude Code / CodeBuddy usage, stop and
cleanup, port reference, etc.) is available in INSTALL.md (中
INSTALL_CN.md).
Migrating data from an older version
If you're already on an older release (v1.x/v0.x) and want to
bring your existing data over to v2.0.0+, we provide a migration
tool:
See Data Migration Tool (v2 -> v3) for full usage and flags. New
installations can skip this.
What is TencentDB Agent
Memory?
We started from a practical question: How do you reduce
repetitive work when using Agents?
If project context has already been explained, it shouldn't need to
be repeated in a new session. If documents have already been
read, every Agent shouldn't have to start again from page one. A
workflow that already works shouldn't have to be rediscovered
next time.
Memory here means more than just "remembering
conversations." Any information that helps the next Agent
avoid reinventing the wheel should be saved, organized, and
reused.
Existing information - Reusable memory assets -> Few
Let experience accumulate, flow, and pass on to the
next Agent
Memory Hub for Agent teams closes the loop across the entire
experience lifecycle: work produces assets, assets circulate
through the team, and new members can load the team's save
file on day one.
1. Automatic asset extraction: Extract Chat Memory and Skills
from conversations and tasks; convert documents and code
into Wiki and CodeGraph; then manage, review, and route them
consistently.
2. Portable & multi-Agent compatible: Memory assets are
decoupled from Agent frameworks - they can move across
frameworks and be shared and maintained by multiple
Agents and team members.
3. Cold-start friendly: Import existing documents, codebases,
and Agent conversation sessions. New Agent teams can
start from existing experience instead of learning from
scratch.
A brain that remembers people and context
Chat Memory retains preferences, facts, decisions, and
interaction history.
Each Agent automatically gets its own memory when created
- no need to re-introduce yourself next time.
LO Conversation -> L1 Atom -> L2 Scenario -> L3 Persona -
raw conversations are distilled layer by layer.
Team Operating Doctrine
Core Principles
Don't refactor the old auth module - mobile is still using
it." - Context this costly shouldn't depend on humans
repeating it every time.
A Skill library that accumulates expertise
After completing complex work, Agents can extract and
manage reusable Skills from conversations and tool calls, and
import them into the context of a designated Agent when needed.
A Skill isn't just a prompt snippet; it has versions, resource
files, trigger boundaries, execution steps, and validation
rules.
Personal Skills are private by default; after review, they can
be shared with the team and assigned to other Agents.
Troubleshooting, code review, release checklists - learn it
once, and the whole team can use it.
A knowledge map that reads both docs and code
Wiki turns product docs, design specs, and ops runbooks
into structured pages with a link graph. (Inspired by
Karpathy's LLM knowledge base.)
01/12
Việc đầu tiên mọi agent làm là
học lại dự án của bạn từ đầu
Vấn đề nằm ở đây:
việc đầu tiên
gần như mọi agent
là học lại dự
án của bạn từ con
số không. Thông
lần lẽ ra
không cần lặp lại. Tài
liệu đã đọc rồi
thì agent sau
không nên đọc lại
từ trang một.
Toàn bộ công lặp lại đó
lặp lại đó chính
muốn
xóa. Cách
giải quyết của nó gọi
là Memory Hub,
một trung tâm ký ức
cấp đội. Nguyên
tắc: bất cứ
thông tin nào giúp
agent sau khỏi
xe đều được lưu,
sắp xếp và dùng lại.
Nó biến
những gì cả đội từng
tài sản ký ức, được
quản lý, chia
sẻ và gắn cho
từng agent. Bốn
từng agent. Bốn
tài sản đó là gì?
Một,
Chat Memory
Sở thích, sự thật, quyết định, lịch sử
Skill
Kỹ năng chắt lọc, có phiên bản
Wiki
Tài liệu thành trang
có liên kết
CodeGraph
Bản đồ gợi hàm, ảnh hưởng
Wiki biến
tài liệu thành trang
kiến thức có liên kết.
Bốn, CodeGraph
lập bản đồ mã nguồn:
hàm nào gọi hàm
nào, và sửa
chỗ này thì ảnh
hưởng chỗ nào. Điểm
Ký ức lớn theo tầng
L0 - Hội thoại
Bài thơ, đầy đủ ngữ cảnh
Ký ức lớn theo tầng
L0 - Hội thoại
Bài thơ, đầy đủ ngữ cảnh
L1 - Nguyên tử
Sự thật, sở thích, ràng buộc
L1 - Nguyên tử
Sự thật, sở thích, ràng buộc
L2 - Bối cảnh
Gom quanh từng dự án
L2 - Bối cảnh
Gom quanh từng dự án
L3 - Chân dung
Mẫu dài hạn về người & đội
L3 - Chân dung
Mẫu dài hạn về người & đội
Rồi một pipeline
chạy ngầm chưng cất dần:
nguyên tử, tức
sự thật và ràng
buộc tách ra từ hội
thoại; L2
gom thành bối cảnh
quanh từng dự án;
L3 là
chân dung dài hạn
về bạn và cả
đội. Khi
cần, hệ thống
lấy nhanh ở L2
và L3,
chỉ lần xuống L1
và L0 khi
cần sự thật thật chính
xác. Nghe
tới đây bạn có thể
à, rag
chứ gì. Không
hẳn. rag
trả lời câu tìm
được gì. Còn
cái này trả lời thêm:
ai được dùng,
phiên bản nào còn hiệu
lực, và agent
nào nên nhận. Nó
thoại, mà là
tài sản có chủ
sở hữu, có
phiên bản, có
trạng thái và có
kiểm soát truy cập.
giới thật sự. Và
giới thật sự. Và
đội agent, mỗi vai một loadout
Bạn
Đột mục tiêu, ra quyết định
Scout
Khảo sát: Chat Memory + Wiki thị trường
Builder
Viết code: Wiki sản phẩm + CodeGraph
Reviewer
Soát lỗi CodeGraph + checklist phát hành
Mỗi vai được
gắn đúng tài sản nó
cần. Agent
soát lỗi nhận CodeGraph
của dự án và checklist
phát hành, chứ
không ôm tất tần tật.
ít nhiều hơn,
mỗi agent chỉ mang
thứ thật sự dùng tới.
PersonaMem
Không dùng
48
Bật lần
76
Nó có thật sự giúp
agent nhớ tốt hơn
không? Nhóm
phát triển đo bằng một
bài tên PersonaMem,
kiểm tra sau nhiều
lượt trao đổi dài,
agent còn hiểu
và dùng đúng thông tin
về người dùng không.
Theo con số họ
tự công bố: không
bật công cụ,
điểm chỉ 48
phần trăm; bật
lên, điểm đạt
76 phần trăm.
Đây là số
của chính nhóm,
chưa có bên thứ ba
lại, nhưng mức
chênh lệch chú
Sức hút
Sao GitHub
18,224
Lượt fork
1,638
Ngày tuổi
124
về độ nóng, con
số tự nói.
Tính đến đầu tháng 8,
repo có hơn 18
nghìn sao và
hơn 1,600 lượt
fork, gom
lại chỉ trong khoảng
124 ngày.
Nó cũng đã
lọt bảng xu hướng Trendshift,
lên một phiên bản lớn
mới. Với
một dự án hạ tầng
ký ức còn rất mới,
thường. Cái
thì gọn bất ngờ.
Chạy thử
- /TencentDB-Agent-Memory/Deploy
$ git clone https://github.com/Tencent/TencentDB-Agent-Memory.git
Cloning into 'TencentDB-Agent-Memory'...
cp .env.example .env
$ EDITOR .env
./start-all.sh
memory-core memory-hub proxy - :8125
Clone repo về,
vào thư mục deploy,
chép file cấu hình mẫu
rồi điền hai bộ
tham số mô hình.
Chạy một câu
lệnh start-all duy
nhất, ba dịch
vụ lõi ký ức,
hub và proxy
cùng bật. Xong,
mở bảng điều khiển
ở cổng 8125
ngay trên máy bạn,
và nó in sẵn một
dòng để dán thẳng
vào Claude Code.
10/12
CẦN CÂN NHẮC
Vẫn là bản Beta, còn nhiều
thứ làm tay
Trước khi bookmark,
cân nhắc vài điểm.
Đây vẫn là bản
Beta: Wiki
và CodeGraph dựng
ngầm phải chờ: ưu tiên repo
công khai; gắn tài sản còn thủ công; mới chạy với vài
công cụ.
hỗ trợ repo riêng
tư còn đang hoàn
thiện. Việc
gắn tài sản cho agent
phần lớn vẫn làm
hóa hoàn toàn còn
đang làm dở. Và
nó mới chạy với vài
công cụ như Claude
Code, CodeBuddy
hay OpenClaw.
Để định vị
Nó đứng ở đâu trên bản đồ?
Memo
Nhớ cá nhân
Zep. Letta
1 người / 1 agent
TencentDB
Cả ĐỘI agent
một agent. TencentDB
đặt cược khác:
kho nhớ dùng chung
cho cả đội,
canh bạc chưa ai thắng.
Nếu đội của bạn xài
12/12
Bạn sẽ cho agent nhớ điều gì
đầu tiên?
Biến mọi nội dung thành video trong vài
phút.
Link, chủ đề, file hay video - ainius dụng video cho bạn.
Bắt đầu miễn phí tại ainius.net
ainius.net
Link repo ở phần mô tả
ainius.net
Bạn sẽ cho agent nhớ điều gì
đầu tiên?
Link repo ở phần mô tả
Biến mọi nội dung thành video trong vài
phút.
Link, chủ đề, file hay video - ainius dụng video cho bạn.
Bắt đầu miễn phí tại ainius.net
ainius.net