经 AI Skill Hub 精选评估,腾讯DB智能代理 获评「强烈推荐」。已获得 6.1k 颗 GitHub Star,这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
腾讯DB智能代理 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
腾讯DB智能代理 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:npm 全局安装 npm install -g tencentdb-agent-memory # 方式二:npx 直接运行(无需安装) npx tencentdb-agent-memory --help # 方式三:项目依赖安装 npm install tencentdb-agent-memory # 方式四:从源码运行 git clone https://github.com/TencentCloud/TencentDB-Agent-Memory cd TencentDB-Agent-Memory npm install npm start
# 命令行使用
tencentdb-agent-memory --help
# 基本用法
tencentdb-agent-memory [options] <input>
# Node.js 代码中使用
const tencentdb_agent_memory = require('tencentdb-agent-memory');
const result = await tencentdb_agent_memory.run(options);
console.log(result);
# tencentdb-agent-memory 配置说明 # 查看配置选项 tencentdb-agent-memory --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export TENCENTDB_AGENT_MEMORY_CONFIG="/path/to/config.yml"
<img src="./assets/images/logo.png" alt="TencentDB Agent Memory" width="880" />
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 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.
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 experience
You're not opening four disconnected chat windows — you're assembling a squad with different roles that can inherit the team's accumulated experience.
TencentDB-Agent-Memory 旨在解决 AI Agent 在交互过程中频繁重复 SOP、项目背景及工具规范的问题。它并非盲目地将所有信息堆砌到 Context 中,而是通过智能记忆机制,让 Agent 能够“记住”用户的习惯与上下文,从而避免用户在对话中进行重复性解释,提升人机交互的效率与智能化程度。
本项目实现了“符号化短期记忆 + 分层长期记忆”的创新架构。短���记忆通过将沉重的工具日志压缩为精简的 Mermaid 符号,有效降低 Token 消耗并提升任务成功率;长期记忆则将碎片化的对话提炼为结构化的 Persona(人格)与 Scene(场景),而非简单的向量堆叠,确保了记忆的深度与逻辑性。
在使用本项目前,请确保您的环境支持 OpenClaw 插件架构。若需启用短期记忆压缩功能,需确保插件版本符合特定要求,并按照规范在插件配置中注册相应的 `slots` 字段,以便 OpenClaw Gateway 能够正确路由 Context-offload 请求。
您可以通过 OpenClaw 原生命令进行安装与更新。执行 `openclaw plugins install @tencentdb-agent-memory/memory-tencentdb` 进行安装,并重启 Gateway。建议使用 `openclaw plugins update` 命令进行升级,以避免因语义化版本范围导致的插件失效问题。此外,若使用 Docker 部署,请通过 `--name` 参数指定容器名称。
本项目提供快速上手体验。在完成插件安装后,您可以直接进入使用阶段。系统会自动处理对话捕获、记忆提取、场景聚合、Persona 生成以及在下一轮对话前的记忆召回,实现全自动的记忆管理流程。
本项目支持零配置快速启用,默认使用本地 `SQLite + sqlite-vec` 作为后端存储。您只需在 `~/.openclaw/openclaw.json` 中将 `memory-tencentdb.enabled` 设置为 `true` 即可。对于高级用户,可以通过环境变量 `MODEL_*` 注入配置参数,自定义 LLM 的 API Key、Base URL 及 Provider 类型。
在配置 LLM 接口时,必须提供 `MODEL_API_KEY`。`MODEL_BASE_URL` 默认指向腾讯云 LKE,但您可以通过设置 `MODEL_PROVIDER="custom"` 来适配任何兼容 OpenAI 标准的 API 接口,从而灵活调用不同的模型能力。
Hermes `memory_tencentdb` 插件作为 Gateway 的客户端运行。如果您的 Gateway 启用了身份验证,需要通过设置环境变量 `MEMORY_TENCENTDB_GATEWAY_API_KEY` 来确保插件在向 Gateway 发送请求时,能够正确携带 `Authorization: Bearer <key>` 请求头。
高质量的AI工作流项目,提供本地长期内存
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
AI Skill Hub 点评:腾讯DB智能代理 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | TencentDB-Agent-Memory |
| 原始描述 | 开源AI工作流:TencentDB Agent Memory delivers fully local long-term memory for AI Agents via a。⭐6.1k · TypeScript |
| Topics | AI代理内存工作流 |
| GitHub | https://github.com/TencentCloud/TencentDB-Agent-Memory |
| License | NOASSERTION |
| 语言 | TypeScript |
收录时间:2026-06-24 · 更新时间:2026-06-26 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端