← all tools
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 CodingAgentic AIAI/Dev InfrastructureOpen Source
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.
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 workflowAI engineers
Build, orchestrate and debug multi-step agentsML and MLOps engineers
Serve, scale and monitor AI workloadsTech leads
Speed up code review and keep standards consistent across PRsAutomation engineers
Replace manual multi-step workflows with tool-calling agentsPlatform engineers
Run AI infrastructure reliably and cost-efficientlyKey features
01Symbolic 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%)
024-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%
03Fully 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
RefactoringMulti-file refactors, API migrations and type-safe renames across a repo
Workflow orchestrationMulti-step tool-calling agents with planning, retries and state
Model servingHigh-throughput inference with batching and KV/prefix caching
Vertical · domain-specific
FintechChange ledger and payment services with test suites generated alongside
Customer supportTicket triage agents connected to CRM and knowledge-base APIs
EnterpriseSelf-hosted inference in a VPC to keep data in-house
TencentDB Agent Memory alternatives
browse all →GBrainopen sourceGBrain 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.ADK Recipesopen sourceADK Recipes is a public collection of runnable agent examples and reference patterns built using the Agent Development Kit (ADK).Prime Agentopen sourcePrime Agent is an open-source, self-improving coding harness that utilizes Recursive Language Model (RLM) and Continual Harness abstractions to manage complex, long-ho…