TencentDB Agent Memory is a team-level memory hub for AI Agents — turning conversations, docs, and code into four reusable memory assets (Chat Memory, Skill, LL
TencentDB Agent Memory is a team-level memory hub for AI Agents — turning conversations, docs, and code into four reusable memory assets (Chat Memory, Skill, LL
Latest: Team Memory Beta is evolving quickly — install it and start exploring in minutes.
Start all three services in one go (memory-core + memory-hub + proxy):
git clone https://github.com/Tencent/TencentDB-Agent-Memory.git
cd TencentDB-Agent-Memory/deploy/global-images
cp .env.example .env
$EDITOR .env # Fill in two sets of LLM parameters (memory group + proxy group)
./start-all.sh # Launch everything with one command; when finished, it prints a one-liner you can paste directly into ClaudeOpen 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). The MongoDB storage backend is experimental (off by default); see INSTALL.md · MongoDB storage backend.
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.
One Proxy, unchanged protocol, zero-code integration — point the Agent's base URL to the Proxy and it's done. No plugin, hook, or MCP server is required.
DeepSeek Harness |
Claude Code |
Codex |
CodeBuddy |
WorkBuddy |
Hermes |
OpenClaw |
More frameworks coming soon... |
See INSTALL.md for the exact configuration steps of each client.
Don't see your favorite Agent? You can try adapting it yourself with the Generic integration guide — and we'd love a PR adding native support for it. See CONTRIBUTING.md to get started.
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 → Fewer turns → Less rework → More stable results and higher efficiencyMemory 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.
"Don't refactor the old auth module — mobile is still using it." — Context this costly shouldn't depend on humans repeating it every time.
Troubleshooting, code review, release checklists — learn it once, and the whole team can use it.
Wiki turns product docs, design specs, and ops runbooks into structured pages with a link graph. (Inspired by Karpathy's LLM knowledge base.)
CodeGraph indexes code symbols, files, call relationships, and impact paths.
Agents can search, read, inspect callers/callees, and perform impact analysis before modifying code.
Wiki keeps Agents from reading every file list before getting to work. CodeGraph doesn't just tell them "the code is here" — it tells them "changing this might affect those."
private belongs strictly to the Owner; team is visible to all team members; restricted grants precise access via User / Role / Agent ACLs.Most Agents' first task is re-learning your project. TencentDB Agent Memory turns the learning cost you've already paid into a save file:
Specifically, these existing assets can be imported directly and processed automatically in the panel:
Stop retraining every Agent. Give it the save file.
Open Memory Hub and create a team:
Tiny but Serious Inc.
├── You · Set goals / Make decisions
├── Scout · Research / Find opportunities
├── Builder · Write code / Build products
├── Reviewer · Test / Find issues
└── Agent Memory · Preserve the team's experienceYou're not opening four disconnected chat windows — you're assembling a squad with different roles that can inherit the team's accumulated experience.
Scout
├── User interview Chat Memory
├── Market research Wiki
└── Competitive analysis Skill
Builder
├── Product Wiki
├── Project CodeGraph
└── Feature Delivery Skill
Reviewer
├── Historical incident Chat Memory
├── Project CodeGraph
└── Release Checklist SkillDifferent roles, different loadouts. Less noise — give each Agent the memory assets it actually needs to get work done.
The company can be tiny. Experience can compound forever.
RAG answers "what can be found?" Team Memory also answers "who can use it, which version is valid, and which Agent should receive it."
| Chat History | Standard RAG | TencentDB Agent Memory | |
|---|---|---|---|
| Cross-session user understanding | △ | △ | ✅ Chat Memory |
| Distilled executable experience | — | — | ✅ Skill |
| Document structure & relationships | — | △ Chunk retrieval | ✅ Wiki + Link Graph |
| Code call graphs & impact scope | — | △ Text match | ✅ CodeGraph |
| Ownership / Version / Status | — | — | ✅ |
| Team sharing & Agent loadout | — | — | ✅ |
| Private / Team / ACL | — | △ | ✅ |
| Play Style | What you do in the Hub |
|---|---|
| Team Up | Create teams, add people and Agents, define sharing boundaries |
| Asset Library | Browse, search, review, and manage Chat Memory, Skills, Wiki, and CodeGraph |
| Agent Loadout | Bind different memory assets to different Agents; adjust priority and usage mode |
| Knowledge Workshop | Build Wiki and CodeGraph; monitor processing status and asset metadata |
| Access Control | Switch between private, team, and ACL-based access; revoke sharing when needed |
When you open an asset, what matters is not just "what it says," but also "where it came from, which version it is, who it's assigned to, and whether it's been used recently."
Memory doesn't run the Agent loop; it ensures the next iteration inherits the previous one's results: valuable interactions stay in Chat Memory, proven workflows are distilled into Skills, and document/code changes are updated through Wiki ingest and CodeGraph sync.
Without Memory, loops may just repeat faster. With inherited memory, each iteration has the chance to be better than the last.
New Chat Memory and Skills are private by default. Sharing is an explicit action, not a default leak.
| Visibility | Semantics |
|---|---|
private |
Only the Owner can read — not even team admins |
team |
Team members can read; the Owner / Admin can manage |
restricted |
Precise access via User / Role / Agent ACL |
agent |
For targeted equipping of Agents within the same team |
You can assign the "Release Skill" to the Release Agent, the "Architecture Wiki" to all development Agents, and CodeGraph to Coder and Reviewer.
TencentDB Agent Memory doesn't aim to "store everything." It solves three problems: what's worth keeping, who can use it, and how to retrieve less while retrieving the right things next time.
Conversations are first saved as L0, then refined by an async pipeline into multiple levels of granularity:
| Layer | What it stores | Primary use |
|---|---|---|
| L0 Conversation | Raw conversations with full context | Verify exact wordin |
[Bug] Explicit ACL grant on a `restricted` asset is ineffective on the `acl/check` path — empty-ACL fast path short-circuits with `visibility_restricted` before lazy ACL loading
[Bug] A transient LLM failure in L1 extraction permanently advances the cursor — the failed session's content is silently lost and never retried
[Feature] Triplet-scoped delete for L3 persona (`core/delete`) — the only memory layer with no API deletion path
[Bug] MemoryCore: pnpm-lock.yaml 缺 @rolldown/[email protected] — Windows 上 vitest 无法启动
[Feature] Team 权限与成员管理的 Panel/Core 一致性
[Feature] 人员离组与资产生命周期的安全闭环
[Feature] Task 关系与运行证据的分阶段诊断
[Feature] 在 Panel 安全管理模型与上游路由配置
[Feature] 覆盖 feat/server_team 目标分支的可信 PR 验证
L2 scene blocks grow monotonically: UPDATE appends instead of rewriting — quantitative evidence & fix proposal