---
title: "TencentDB Agent Memory by Tencent | AIDeveloper44"
url: https://aideveloper44.com/product/tencentdb-agent-memory-6a1089b4d33d51952987cba5
description: "TencentDB Agent Memory by Tencent is a fully local open-source long-term memory system for AI agents. 4-tier progressive pipeline (Mermaid symbolic + layered persona) cuts token usage 61% and improves agent pass rates 51% with zero external APIs."
lang: en
---

← all tools (https://aideveloper44.com/)

Tencent · May 20, 2026 · open source

# TencentDB Agent Memory

TencentDB Agent Memory is a fully local, open-source long-term memory system for AI agents built by Tencent.

AI Coding Agentic AI AI/Dev Infrastructure Open Source

Visit Website: https://github.com/Tencent/TencentDB-Agent-Memory
Docs: https://github.com/Tencent/TencentDB-Agent-Memory

## What is TencentDB Agent Memory?

TencentDB Agent Memory is a fully local, open-source long-term memory system for AI agents built by Tencent. Using a 4-tier progressive pipeline with symbolic short-term memory (Mermaid canvas) and layered long-term memory (L0→L3 persona hierarchy), it cuts token usage by 61% and improves agent task success by 51% when integrated with OpenClaw — with zero external API dependencies.

Tencent's fully local 4-tier agent memory — 61% token reduction, +51% task success rate, zero external API deps, works with OpenClaw and Hermes.

TencentDB Agent Memory fits into the AI Coding, Agentic AI and AI/Dev Infrastructure categories. It was released on May 20, 2026.

TencentDB Agent Memory is open source. Teams typically use it for refactoring, workflow orchestration, model serving and code review, with domain-specific use in Fintech, Customer support, Enterprise and E-commerce.

## Who TencentDB Agent Memory is for

Teams and individual developers working in AI Coding, Agentic AI and AI/Dev Infrastructure.

### Software engineers

Write, refactor and debug code faster in their existing workflow

### AI engineers

Build, orchestrate and debug multi-step agents

### ML and MLOps engineers

Serve, scale and monitor AI workloads

### Tech leads

Speed up code review and keep standards consistent across PRs

### Automation engineers

Replace manual multi-step workflows with tool-calling agents

### Platform engineers

Run AI infrastructure reliably and cost-efficiently

## Key features

01 Symbolic short-term memory — offloads verbose tool logs to external files and condenses in-context state into compact Mermaid symbol graphs with node_id tracing; cuts WideSearch token usage by 61.38% and improves pass rate from 33% to 50% (relative +51.52%)

02 4-tier long-term memory pipeline — L0 raw conversation → L1 atomic facts → L2 scenario blocks → L3 user persona; layered storage with full drill-down traceability (no irreversible compression); raises PersonaMem accuracy from 48% to 76%

03 Fully local, zero external API dependencies — dual-layer storage (database for facts/logs + Markdown for personas/scenes); integrates as an OpenClaw plugin and Hermes skillpack; SWE-bench improvement +9.93% with 33% token savings

## TencentDB Agent Memory use cases

### Horizontal · cross-industry

Refactoring Multi-file refactors, API migrations and type-safe renames across a repo

Workflow orchestration Multi-step tool-calling agents with planning, retries and state

Model serving High-throughput inference with batching and KV/prefix caching

### Vertical · domain-specific

Fintech Change ledger and payment services with test suites generated alongside

Customer support Ticket triage agents connected to CRM and knowledge-base APIs

Enterprise Self-hosted inference in a VPC to keep data in-house

## TencentDB Agent Memory alternatives

browse all → (https://aideveloper44.com/)

GBrain open source GBrain is an AI agent long-term memory and self-wiring knowledge graph system built by Garry Tan (YC President & CEO) to power his personal AI agents.: https://aideveloper44.com/product/gbrain-6a1089b204aa640dc039a3b6
ADK Recipes open source ADK Recipes is a public collection of runnable agent examples and reference patterns built using the Agent Development Kit (ADK).: https://aideveloper44.com/product/adk-recipes-6ad5f18b8b2b6d6e21aa40a8
Prime Agent open source Prime Agent is an open-source, self-improving coding harness that utilizes Recursive Language Model (RLM) and Continual Harness abstractions to manage complex, long-ho…: https://aideveloper44.com/product/prime-agent-6a73a7a69c63a921e615e57d

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "@type": [
      "WebSite",
      "NewsArticle"
    ],
    "name": "AIDeveloper44",
    "url": "https://aideveloper44.com",
    "isAccessibleForFree": true,
    "isPartOf": {
      "productID": "CAowsfXgCw:openaccess",
      "@type": [
        "Product"
      ]
    }
  },
  {
    "@context": "https://schema.org",
    "@type": "Organization",
    "name": "AIDeveloper44",
    "url": "https://aideveloper44.com",
    "logo": "https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/696b2bd107af20deac4cc200/9f77c0b91_a-digital-illustration-of-a-white-llama-_j4dyH5xoRnKf_3rtw-mvEQ_OdqL2BrSTtKHjJAuhTp_zg.png"
  },
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://aideveloper44.com/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "product",
        "item": "https://aideveloper44.com/product"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Product Detail",
        "item": "https://aideveloper44.com/product/tencentdb-agent-memory-6a1089b4d33d51952987cba5"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "@type": "SoftwareApplication",
    "name": "TencentDB Agent Memory",
    "description": "TencentDB Agent Memory is a fully local, open-source long-term memory system for AI agents built by Tencent. Using a 4-tier progressive pipeline with symbolic short-term memory (Mermaid canvas) and layered long-term memory (L0→L3 persona hierarchy), it cuts token usage by 61% and improves agent task success by 51% when integrated with OpenClaw — with zero external API dependencies.",
    "provider": {
      "@type": "Organization",
      "name": "Tencent"
    },
    "offers": {
      "@type": "Offer",
      "price": "Free (Open Source)"
    }
  },
  {
    "@context": "https://schema.org",
    "@type": "Organization",
    "name": "AINews.sh",
    "alternateName": "AI News",
    "url": "https://ai-dev-pulse-ac4cc200.base44.app",
    "logo": "https://ai-dev-pulse-ac4cc200.base44.app/logo.png",
    "description": "Developer-focused AI product releases, reviews, and news. Your source for the latest AI tools, open-source models, and platform updates.",
    "foundingDate": "2026",
    "slogan": "Stay ahead with AI product intelligence",
    "sameAs": [],
    "knowsAbout": [
      "Artificial Intelligence",
      "Machine Learning",
      "Large Language Models",
      "AI Tools",
      "Open Source AI",
      "AI Frameworks",
      "Developer Tools"
    ]
  }
]
```