TencentCloud

TencentCloud/TencentDB-Agent-Memory

TypeScript No license AI & ML

TencentDB Agent Memory delivers fully local long-term memory for AI Agents via a 4-tier progressive pipeline, with zero external API dependencies.

8k stars
740 forks
recent
GitHub +1.6k / week

8k

Stars

740

Forks

253

Open issues

19

Contributors

v1.0.0 11 Jun 2026

AI Analysis

TencentDB Agent Memory is a TypeScript library that provides local long-term memory for AI agents through a 4-tier progressive pipeline with symbolic short-term memory and layered long-term memory, eliminating external API dependencies. It is purpose-built for AI agent developers and teams running long-horizon agent tasks who need to reduce token usage and improve task success rates without reshaping their infrastructure. It is not a general-purpose memory solution and is most valuable for or...

AI & ML AI Framework Discovery value: 6/10
Documentation 8/10
Activity 9/10
Community 8/10
Code quality 6/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 8/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

agent-memory local-first vector-search symbolic-memory long-term-memory
Actively maintained Well documented MIT licensed Niche/specialized use case Production ready
Deep Analysis · Based on README and public signals
3w ago

TencentCloud's local-first AI agent memory layer uses a 4-tier symbolic pipeline to cut token use and improve recall across sessions

TencentDB Agent Memory is a TypeScript library that provides structured, hierarchical long-term memory for AI agents — entirely locally, with no external API calls. It targets developers building agents in Node.js environments who need persistent cross-session context without leaking data to third-party memory services. Its core design distinguishes it from flat-vector approaches by using a four-layer semantic pyramid (raw conversation → atomic facts → scenarios → persona) combined with symbolic short-term memory using Mermaid diagrams to compress tool outputs. Benchmark claims suggest meaningful token reduction and task success improvements when paired with the OpenClaw agent framework.

Origin

Created in April 2026 by TencentCloud, this project appears to be a relatively new open-source release tied to Tencent's TencentDB infrastructure and the OpenClaw agent framework. It likely emerged from internal agent tooling work at Tencent rather than a community-initiated project.

Growth

The repo gained ~5,968 stars in roughly 10 weeks since creation — a fast initial spike consistent with a corporate open-source launch backed by Tencent's brand. The recent 7-day rate of 72 stars suggests the launch momentum has normalized significantly. Growth now appears organic rather than launch-driven, which may stabilize or gradually decline unless the OpenClaw ecosystem expands.

In production

Adoption not verified. No public case studies, production deployments, or third-party blog posts are referenced in the README. The benchmarks cited (WideSearch, SWE-bench, AA-LCR, PersonaMem) are internal measurements against the OpenClaw framework, not independently reproduced results. The Discord link and npm package existence indicate some user engagement, but scale of usage cannot be determined from available data.

Code analysis
Architecture

Based on the README, the system appears to use a dual-storage strategy: a database layer (likely SQLite or a compatible local DB given the 'zero external API' claim) for raw facts and logs, and Markdown files for high-level structured outputs. Short-term memory likely serializes tool outputs into tiered JSONL and Mermaid canvas files. The L0–L3 semantic pyramid for long-term memory is described in detail and appears to be a genuine architectural commitment, not just marketing framing. Integration appears to be via an npm package (@tencentdb-agent-memory/memory-tencentdb) with explicit coupling to the OpenClaw and Hermes agent frameworks.

Tests

Not documented in README

Maintenance

Last push was June 17, 2026 — five days before the evaluation date — indicating active ongoing development. The repository is approximately 10 weeks old with regular pushes, a Discord community, bilingual README, and npm packaging, all suggesting organized maintenance. No issue tracker activity or PR volume is visible from metadata alone.

Honest verdict

ADOPT IF: you are building TypeScript/Node.js agents with the OpenClaw or Hermes frameworks, have privacy or data-locality requirements that rule out cloud memory services, and want a structured hierarchical memory system rather than a flat vector store. AVOID IF: your agent stack is Python-first, you need broadly verified third-party integrations, or you require independently validated production reliability evidence before adopting a library that is under 3 months old. MONITOR IF: you are evaluating TypeScript agent memory solutions generally — if the OpenClaw ecosystem grows and the benchmarks hold up under independent scrutiny, this project could become a meaningful option within 6–12 months.

Independent dimensions

Mainstream potential

4/10

Technical importance

7/10

Adoption evidence

2/10

Risks
  • Strong coupling to Tencent's OpenClaw framework may limit portability and community breadth outside that specific ecosystem.
  • All published benchmark results are self-reported by the project authors against internal workloads; independent reproduction has not been documented.
  • The license field is listed as NOASSERTION in metadata despite the README showing MIT badge — potential licensing ambiguity that could be a concern for enterprise adoption.
  • At under 3 months old, the project has limited track record for API stability; breaking changes or pivots in design remain probable.
  • Corporate open-source projects from large tech vendors can see reduced maintenance investment if internal priorities shift, especially for libraries with limited external contributor bases.
Prediction

Likely to remain a useful but specialized tool within the OpenClaw/TencentCloud agent ecosystem. Broader adoption will depend on whether OpenClaw itself gains traction outside China-based developer communities and whether the TypeScript agent memory space consolidates around any single approach.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

TypeScript
84.1%
Python
7.5%
Shell
7%
JavaScript
1.3%

Information

Language
TypeScript
License
NOASSERTION
Last updated
2w ago
Created
3mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

rohitg00

rohitg00/agentmemory

AgentMemory provides persistent memory for AI coding agents (Claude Code,...

24.9k TypeScript AI & ML
Dataojitori

Dataojitori/nocturne_memory

Nocturne Memory is a long-term memory server for MCP (Model Context Protocol)...

1.3k Python AI & ML
supermemoryai

supermemoryai/supermemory

Supermemory is a memory and context engine for AI systems that persists...

28.3k TypeScript AI & ML
moorcheh-ai

moorcheh-ai/memanto

MEMANTO is an active memory agent designed for AI agents (CrewAI, LangChain,...

1.6k Python AI & ML
mem9-ai

mem9-ai/mem9

mem9 provides persistent memory storage for AI agents across sessions and...

1.2k TypeScript AI & ML
vs. alternatives
supermemoryai/supermemory (27,296 stars)

Supermemory is the current star-count leader and focuses on cloud-hosted memory with broad LLM integrations. TencentDB Agent Memory differentiates on fully local execution and the structured pyramid approach, though supermemory's ecosystem breadth and adoption appear significantly larger.

rohitg00/agentmemory (23,656 stars)

agentmemory is a Python-centric flat vector store approach. TencentDB Agent Memory rejects flat vector storage explicitly, targeting TypeScript/Node.js stacks — a different language ecosystem with a different architectural philosophy.

MemoriLabs/Memori (15,343 stars)

Memori is Python-based with higher adoption signals. TencentDB Agent Memory's TypeScript-first stance may appeal to frontend or full-stack developers working in Node.js agent frameworks, where Memori is less native.

MemTensor/MemOS (9,953 stars)

MemOS also uses TypeScript and is closer in language ecosystem. Relative to MemOS's 9,953 stars, TencentDB Agent Memory at 5,968 is newer but growing in the same space. MemOS's maturity and adoption data are better established.

moorcheh-ai/memanto (1,096 stars)

Memanto is a smaller Python project. TencentDB Agent Memory has substantially more stars and a corporate backer, giving it more resources for sustained development — though star counts alone do not confirm deeper adoption.