TencentDB Agent Memory is Tencent Cloud's open-source team-level AI Agent memory hub, designed to solve the problems of repeatedly explaining project context, repeatedly reading documents, and repeatedly discovering workflows when using Agents. It transforms conversations, documents, and code into four types of reusable memory assets, and governs, shares, and equips them across multiple Agents and frameworks.
Purpose
The project starts from real problems: if the project context has already been explained, it should not be repeated in a new session; if the documentation has already been read, each Agent should not start over from the first page; an already effective workflow should not be rediscovered next time. "Memory" here is not just remembering conversations, but any information that can help the next Agent avoid duplicated work should be saved, organized, and reused.
Main Capabilities
-
Four Types of Memory Assets
- Chat Memory: Preserves preferences, facts, decisions, and interaction history. Each Agent automatically gets its own memory when created. Raw conversations are progressively refined layer by layer: L0 conversation → L1 atomic → L2 scenario → L3 persona.
- Skill: After an Agent completes complex work, reusable skills can be extracted from conversations and tool calls and managed, then imported into a specified Agent's context as needed. Skills have versions, resource files, trigger boundaries, execution steps, and validation rules. Personal skills are private by default, and after review can be shared with the team and assigned to other Agents.
- LLM-Wiki: Transforms product documentation, design specifications, and operations manuals into structured pages with a link graph. Inspired by Karpathy's LLM knowledge base concept.
- Code-Graph: Indexes code symbols, files, call relationships, and impact paths. Agents can search, read, inspect callers/callees, and perform impact analysis before modifying code.
-
Automatic Asset Extraction: Extracts Chat Memory and Skill from conversations and tasks; transforms documents and code into Wiki and CodeGraph; then manages, reviews, and routes them uniformly.
-
Portable and Multi-Agent Compatible: Memory assets are decoupled from Agent frameworks, can be moved across frameworks, and are shared and maintained by multiple Agents and team members.
-
Cold-Start Friendly: Can import existing documents, codebases, and Agent conversation sessions. New Agent teams can start from existing experience instead of learning from scratch.
-
Team Memory Panel: Create teams and Agents in Memory Hub; review, share, and equip memory assets. Centrally manage ownership, versions, status, visibility, usage counts, and Agent bindings. Visibility is divided into private (strictly belonging to the owner), team (visible to all team members), and restricted (precisely authorized via User / Role / Agent ACL). Roles are divided into global System Admin and team-level Admin and Member, and asset ownership is tracked through Owner.
Usage
- Installation: One-click launch of three services (memory-core + memory-hub + proxy), then open the panel http://localhost:8125 . See INSTALL.md for the complete installation documentation (Chinese: INSTALL_CN.md). The MongoDB storage backend is experimental and disabled by default.
- Integration: One Proxy, the protocol stays the same, zero-code integration—just point the Agent's base URL to the Proxy, with no plugins, hooks, or MCP servers needed. See INSTALL.md for the specific configuration steps for each client. For unsupported Agents, refer to the general integration guide and adapt it yourself.
- Data migration: To migrate from older versions (v1.x / v0.x) to v2.0.0+, you can use the data migration tool (v2 → v3); new installations can skip this.
- Cold start: Directly import your existing codebase in the panel (CodeGraph auto-indexes), documents and files (Wiki automatically generates structured pages and a link graph), and past Agent conversation sessions (automatically extracts Skills and Chat Memory).
Use cases
- A one-person company building a continuously growing Agent team: create a team, recruit Agents for different roles, equip each Agent with the memory assets it actually needs, and let experience accumulate continuously.
- A team shares experience without sharing privacy: new Chat Memory and Skills are private by default, and sharing is an explicit action. You can assign "publish skills" to the publishing Agent, "architecture Wiki" to all development Agents, and CodeGraph to coding and review Agents.
- Reduce repetitive work: let the path the team has already traveled become the starting line for the next Agent.
Technical implementation
- Layered memory growth: Conversations are first saved as L0, then refined into multiple levels of granularity through an asynchronous pipeline. Both generation and retrieval are layered: usually L2/L3 provide quick context guidance; when specific facts are needed, BM25 + vector retrieval + RRF fall back to L1/L0. Results are limited by item count, character budget, and timeout to prevent memory from flooding the context window.
- Memory is the Agent's equipment rather than a global prompt: Chat Memory, Skills, Wiki, and CodeGraph are uniformly registered as Memory Assets. The Memory Hub uses fixed binding + ACL to determine which assets a given Agent can use: first narrow the permission scope by Team, User, Agent, and visibility, then based on the currentquery retrieval.
- Knowledge is invoked on demand: Documents are organized into searchable Wiki pages, supporting drill-down through the link graph; the codebase is indexed as a CodeGraph asset containing files, symbols, and call relationships. Agents first discover capabilities through /v3/tools/list, then use /v3/tools/call to read relevant pages, source code, or impact paths.
Limitations
- Wiki and CodeGraph are built asynchronously, and it takes some processing time to reach the ready state.
- CodeGraph currently prioritizes support for public HTTPS repositories; support for private repositories and SSH credentials is still being improved.
- The Hub supports manual asset binding; fully automatic memory routing is still being iterated on.
- The MongoDB storage backend is experimental and disabled by default.
- The current version is v2.0.0, and the next version v2.0.1 is planned to include zero-configuration cold start, faster Wiki generation, user/team custom prompts, Skill export, and Codex (IDE Plan mode) support.
Related documentation
- Roadmap (ROADMAP.md, Chinese: ROADMAP_CN.md)
- Complete installation guide (INSTALL.md, Chinese: INSTALL_CN.md)
- Data migration tool (v2 → v3)
- Knowledge OpenAPI
- API documentation: Memory Core v3 API, Memory Knowledge v3 API, Memory Proxy v3 API, Memory Panel API
- Contribution guide (CONTRIBUTING.md)
The project uses the MIT license.