TencentCloud /TencentDB-Agent-Memory

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, LLM-Wiki, Code-Graph) that are governed, shared, and equipped across agents and frameworks.

★ 30,923⑂ 3,028👁 89⑃ 1,423● 529▤ 22
TypeScriptNOASSERTIONCreated 2026-04-07tencentcloud.github.io/TencentDB-Agent-Memory/
More from this author
Download: v2.0.3v2.0.3 ↓2.0.32026-10-26
+22
Daily
+531
Weekly
+3,029
Monthly
30,923
stars
3,028
forks
89
watchers
1,423
prs
529
issues
22
releases

README

Agents remember. Humans innovate.











Installation · Supported Agents · Best Practices · What is it? · Team Play · Technical Implementation · Benchmark · Roadmap

English · 简体中文



---


   


 Installation

Start all three services in one go (memory-core + memory-hub + proxy):

bash
git clone https://github.com/TencentCloud/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 Claude


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).
The MongoDB storage backend is experimental (off by default); see
INSTALL.md · MongoDB storage backend.

 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.

 All Agents Share the Same Memory Server

One Proxy, unchanged protocol, zero-code integration — point the Agent's base URL to the Proxy and configure its User Key. Most clients don't require a plugin, hook, or MCP server.



DeepSeek Harness
Claude Code
Codex
CodeBuddy


WorkBuddy
Hermes
OpenClaw
More frameworks coming soon...


OpenCode
Pi



See INSTALL.md for links to the exact configuration steps of each client.

OpenCode has a ready-to-use adapter configuration, and Pi uses the pi-plugin extension to connect through OpenAI Chat Completions. After binding a session, you can save a Team, Agent, and Task combination as the default for new sessions.

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.

 Best Practices

Once you've deployed the stack and connected your Agents, use the guide to set up a team, import and assign memory assets, and see how well they work on a real task.

See the Best Practices guide.

 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.

text
Existing information → Reusable memory assets → Fewer turns → Less rework → More stable results and higher eff

Top issues

Discussions

Latest release

v2.0.3 v2.0.3 2026-10-26
[2.0.3] - 2026-10-26

v2.0.3 发布,相比 v2.0.3-beta.1 新增会话默认绑定与 Wiki 富文档,并把未单独配置超时的上游等待时间从 10 分钟改为 1 小时。同时修复 DeepSeek Harness 辅助接口、历史记忆时间格式、安装脚本、面板交互、Knowledge 启动,以及代理在 Redis 中断后不能自行恢复的问题。

 产品定位:让 Agent 的经验、文档、代码沉淀成可复用资产,让下一位 Agent
 直接读档。详见 README_CN.md。

 🔁 会话默认绑定

- 用户可为自己保存 Team、Agent、Task 的默认组合。新会话会直接使用该组合,不再每次弹出选择
- 未设置时仍走原来的选择流程;默认组合失效时自动回到原流程,并说明原因
- 可在会话中锁定或解锁该默认组合,避免后续会话被意外改掉

 📄 Wiki 富文档

- Wiki 新增 Word、Excel、PowerPoint、PDF 等富文档的导入、预览和内容抽取
- 原有 Markdown、文本和 HTML 导入保持可用;修复 Markdown 粘贴在部分情况下导入失败的问题

 ⏱️ 长回复不再被提前截断

- 未单独配置超时时,上游等待时间由 10 分钟改为 1 小时;已填写 forwardTimeoutMs 的配

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON