TencentDB-Agent-Memory — What is it?

TencentDB Agent Memory provides a 4-tier progressive memory system for AI agents, enhancing long-term memory capabilities and reducing token usage in AI applications.

⭐ 31,254 Stars 🍴 3,067 Forks TypeScript NOASSERTION Author: Tencent
Source: Official README and linked documentation View on GitHub →

Why it matters

This project is being discussed because its innovative approach to memory management for AI agents, addressing the pain points of excessive token usage and inefficient memory storage. Its unique combination of symbolic memory and layered long-term memory differs through the AI space.

Source: Official README and linked documentation

Core Features

Symbolic Memory

Utilizes Mermaid syntax to encode task state transitions, reducing token consumption and improving readability for both AI and humans.

Source: Official README and linked documentation
Memory Layering

Adopts a layered system for memory storage, with short-term context, long-term personalization, and skill generation layers, ensuring hierarchical and structured memory management.

Source: Official README and linked documentation
Heterogeneous Storage

Combines databases for full-text retrieval with Markdown files for high information density and white-box inspection, maintaining full traceability and lossless recovery.

Source: Official README and linked documentation

Architecture

The architecture is based on memory layering and symbolic memory. It includes short-term context layering, long-term personalization layering, and skill generation layering, with a dual-layer storage strategy for behavior under varied inputs and efficiency.

Source: Official README and linked documentation

Project Knowledge Graph

Knowledge graph: project (center) + core features (inner hexagons) + key dependencies (outer chips) @tencentdb-agent-memory/memory-tencentdb@tencentdb-age… OpenClaw Hermes Symbolic Memory Memory Layering Heterogeneous StorageHeterogeneous Stora… TencentDB-Agent-Memory Project Core feature Key dependency

Tech Stack

LanguageTypeScriptFrameworkNot enough information
@tencentdb-agent-memory/memory-tence…OpenClawHermes
Docker, as indicated in README and Dockerfile.hermes
Source: Official repository tree and dependency files

Quick Start

1. Install the plugin: `openclaw plugins install @tencentdb-agent-memory/memory-tencentdb` and `openclaw gateway restart`. 2. Enable in OpenClaw configuration: `"memory-tencentdb": {"enabled": true}`. 3. (Optional) Enable short-term compression: Adjust configuration as per instructions.
Source: Official README and linked documentation

Use Cases

This project is suitable for AI applications requiring long-term memory capabilities, such as chatbots, virtual assistants, and AI agents in customer service or data analysis scenarios.

Source: Official README and linked documentation

Strengths & Limitations

Strengths

  • Innovative memory management approach
  • Reduces token usage
  • Enhances AI agent performance

Limitations

  • Limited information on community and adoption
  • May require technical expertise to set up and configure
Source: Official README and linked documentation

Latest Release

v0.3.4 (2026-05-13): Introduced Offload Local Mode, Docker integration, and other improvements.

Source: Official releases

Verdict

TencentDB Agent Memory is a project for teams looking to enhance the memory capabilities of their AI agents, particularly in scenarios where token usage and memory efficiency are critical. Its innovative approach to memory management could significantly improve the performance and effectiveness of AI applications.

Sources and review scope
This review is based on the project's public documentation. Versions, installation commands, and feature boundaries can change upstream; check the cited sources and current release before use. Sources checked on: 2026-05-22 10:28.

Reference materials: README, GitHub API, dependency files