# TencentDB-Agent-Memory | Tencent Cloud | Knowledge Base | Instagit

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

GitHub Stars: 5.6k

Repository: https://github.com/TencentCloud/TencentDB-Agent-Memory

---

## Articles

### [How the CodeGraph Engine Indexes Code Repositories in Memory Knowledge Service](/TencentCloud/TencentDB-Agent-Memory/how-does-the-codegraph-engine-in-memory-knowledge-service-index-code-repositories)

Discover how the CodeGraph Engine indexes code repositories by building queryable dependency graphs. Learn about metadata persistence, job queuing, and worker execution for efficient code analysis.

- Tags: internals
- Published: 2026-09-04

### [How the Wiki Engine in Memory Knowledge Service Ingests and Processes Documents](/TencentCloud/TencentDB-Agent-Memory/how-does-the-wiki-engine-in-memory-knowledge-service-ingest-and-process-documents)

Learn how the Wiki Engine in Memory Knowledge Service ingests and processes documents. Discover the three-stage pipeline that transforms markdown into searchable Wiki pages.

- Tags: how-to-guide
- Published: 2026-09-04

### [Memory Knowledge Service: Architecture and Management Capabilities in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-memory-knowledge-service-and-what-does-it-manage)

Discover the Memory Knowledge Service in TencentDB Agent Memory. This independent HTTP service manages Wiki capabilities and Code-Graph indexing with LLM-powered ingestion and code exploration via a Hono REST API.

- Tags: architecture
- Published: 2026-09-04

### [Storage Backends for the Memory Core Service: COS, SQLite, FS, and Memory Explained](/TencentCloud/TencentDB-Agent-Memory/what-storage-backends-can-be-used-by-the-memory-core-service)

Explore COS, SQLite, FS, and Memory storage backends for the Memory Core service. Choose the right option for distributed, local, or ephemeral storage needs.

- Tags: deep-dive
- Published: 2026-09-04

### [Key Metadata Operations Managed by the Memory Core Service](/TencentCloud/TencentDB-Agent-Memory/what-are-the-key-metadata-operations-managed-by-the-memory-core-service)

Discover the key metadata operations managed by the Memory Core service in TencentDB Agent. Learn about its Metadata API and standardized CRUD operations for 14+ entity domains.

- Tags: api-reference
- Published: 2026-09-04

### [How Authentication Works in the TencentDB Memory Core Service](/TencentCloud/TencentDB-Agent-Memory/how-is-authentication-handled-for-the-memory-core-service)

Discover how TencentDB Memory Core service secures your data with a robust three-layer authentication model including kernel-level Bearer tokens and user-specific keys.

- Tags: internals
- Published: 2026-09-04

### [What Is the Memory Core Service in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-is-the-role-of-the-memory-core-service-in-tencentdb-agent-memory)

Understand the TencentDB Agent Memory Core service, the central engine transforming raw conversation data into structured long-term memories and providing essential RPC APIs for memory management.

- Tags: deep-dive
- Published: 2026-09-04

### [What Storage Adapters Are Available for Context Offload in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-storage-adapters-are-available-for-context-offload-in-tencentdb-agent-memory)

Explore four storage adapters for context offload in TencentDB Agent Memory: COS, SQLite, Filesystem, and in-memory. Choose the best fit for your deployment needs.

- Tags: api-reference
- Published: 2026-09-04

### [Client Mode vs Server Mode in TencentDB Agent Memory: Context Offload Architecture Explained](/TencentCloud/TencentDB-Agent-Memory/what-is-the-difference-between-client-mode-and-server-mode-for-context-offload-in-tencentdb-agent-memory)

Explore client mode vs server mode in TencentDB Agent Memory. Understand context offload architecture and how each mode processes memory, choose the best for your needs.

- Tags: architecture
- Published: 2026-09-04

### [API Endpoints for Context Offloading and Querying in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-api-endpoints-for-context-offloading-and-querying-in-tencentdb-agent-memory)

Discover API endpoints for context offloading and querying in TencentDB Agent Memory. Learn about ingest, query-mmd, and compact endpoints for efficient data management. Access them via REST.

- Tags: api-reference
- Published: 2026-09-04

### [How TencentDB Agent Memory Handles Context Offload When Token Limits Are Exceeded](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-handle-context-offload-when-token-limits-are-exceeded)

Discover how TencentDB Agent Memory handles context offload when token limits are exceeded using a three-stage architecture and adaptive max_tokens allocation for seamless request processing.

- Tags: how-to-guide
- Published: 2026-09-04

### [Configurable Thresholds for the Memory Refinement Pipeline in TencentDB Agent](/TencentCloud/TencentDB-Agent-Memory/what-are-the-configurable-thresholds-for-the-memory-refinement-pipeline)

Discover the eight configurable thresholds for the memory refinement pipeline in TencentDB Agent Memory including everyNConversations and warmup_threshold to control L1/L2 stages and buffer flushes.

- Tags: deep-dive
- Published: 2026-09-04

### [How the Memory Refinement Pipeline Works in TencentDB Agent Memory: L0 to L3 Architecture Explained](/TencentCloud/TencentDB-Agent-Memory/how-is-the-memory-refinement-pipeline-driven-in-tencentdb-agent-memory)

Discover the timer-driven memory refinement pipeline in TencentDB Agent Memory. Learn how L0 to L3 stages build persona knowledge from raw conversations.

- Tags: architecture
- Published: 2026-09-04

### [How the L3 Core Persona Layer Synthesizes Agent Identity in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-purpose-of-the-l3-core-persona-layer-in-tencentdb-agent-memory)

Discover how the L3 Core Persona layer synthesizes agent identity in TencentDB Agent Memory. Learn how it codifies operating doctrine through a triggered LLM pipeline, enhancing agent functionality.

- Tags: internals
- Published: 2026-09-04

### [What Is the L1 Atom Layer in TencentDB Agent Memory? Architecture and API Guide](/TencentCloud/TencentDB-Agent-Memory/what-is-the-purpose-of-the-l1-atom-layer-in-tencentdb-agent-memory)

Discover the L1 Atom layer in TencentDB Agent Memory. This guide explains how it extracts key facts and preferences from logs for efficient, precise information recall. Learn its architecture and API.

- Tags: architecture
- Published: 2026-09-04

### [Understanding the L0 Conversation Layer in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-purpose-of-the-l0-conversation-layer-in-tencentdb-agent-memory)

Discover the L0 Conversation layer in TencentDB Agent Memory. It captures raw dialogue as JSON-L records for accurate retrieval and structured memory extraction. Learn its foundational role.

- Tags: deep-dive
- Published: 2026-09-04

### [TencentDB Agent Memory Layers Explained: L0, L1, L2, and L3 Architecture](/TencentCloud/TencentDB-Agent-Memory/what-are-the-different-memory-layers-in-tencentdb-agent-memory-l0-l1-l2-l3)

Understand the TencentDB Agent Memory L0, L1, L2, and L3 architecture. Learn how these layers manage transient, team, and long-term knowledge for efficient agent context retrieval and durable storage.

- Tags: architecture
- Published: 2026-09-04

### [Understanding the Layered Architecture of TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-layered-architecture-of-tencentdb-agent-memory)

Explore the layered architecture of TencentDB Agent Memory, featuring a four-layer system (L0-L3) managed by a Node.js Gateway. Understand how conversations, facts, contexts, and profiles are isolated and accessed.

- Tags: architecture
- Published: 2026-09-04

### [How TencentDB Agent Memory Core Services Communicate: HTTP v3 API Architecture](/TencentCloud/TencentDB-Agent-Memory/how-do-the-core-services-in-tencentdb-agent-memory-communicate)

Discover how TencentDB Agent Memory core services communicate via stateless HTTP v3 REST APIs. Learn how Memory Proxy forwards requests to Memory Core and Knowledge.

- Tags: architecture
- Published: 2026-09-04

### [What Are the Four Core Services of TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-are-the-four-core-services-of-tencentdb-agent-memory)

Explore the four core services of TencentDB Agent Memory: MemoryCore, MemoryPanel, MemoryKnowledge, and MemoryProxy. Discover how these integrated services form a complete team memory platform for LLM agents.

- Tags: deep-dive
- Published: 2026-09-04

### [What Are the Three Key Questions TencentDB Agent Memory Answers?](/TencentCloud/TencentDB-Agent-Memory/what-are-the-three-key-questions-tencentdb-agent-memory-answers)

Discover how TencentDB Agent Memory addresses three core LLM agent development challenges: reducing repetition, building team knowledge, and speeding up onboarding with portable memory assets.

- Tags: deep-dive
- Published: 2026-09-04

### [How TencentDB Agent Memory Stores and Distributes Experience Across Agent Sessions](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-store-and-distribute-experience-across-agent-sessions)

Learn how TencentDB Agent Memory stores and distributes experience using a central Memory Hub and SQLite. Discover how knowledge is shared across sessions via filters and pub/sub streams.

- Tags: deep-dive
- Published: 2026-09-04

### [How to Refresh the Agent Session Cache Using MemoryProxy](/TencentCloud/TencentDB-Agent-Memory/how-to-refresh-agent-session-cache-using-memoryproxy)

Refresh agent session cache with MemoryProxy by sending the mem:session-reset command. This action clears cached session state and forces reinitialization for a seamless experience.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Configure Rate Limits for MemoryProxy Services: Global Defaults and Per-Model Overrides](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-rate-limits-for-memoryproxy)

Learn how to configure rate limits for MemoryProxy services using global defaults and per-model overrides. Discover Redis-backed TPM and QPM caps for enhanced control.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Manage Teams, Agents, and ACLs Using the Meta-Plane API in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-manage-teams-agents-and-acls-using-meta-plane)

Master team, agent, and ACL management with the TencentDB Agent Memory meta-plane API. Discover CRUD operations and streamline your access control via the MetadataClient.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Manage Custom Memory Prompts for Generation Layers in TencentDB Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-manage-custom-memory-prompts)

Learn to manage custom Memory Prompts for TencentDB generation layers using the MemoryPromptClient SDK. Understand precedence chains for Agent, Team, Instance, and defaults.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Clear Chat Memory Across L0-L3 Layers for Privacy in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-clear-chat-memory-for-privacy)

Learn how to clear chat memory across L0-L3 layers for privacy using the clearChatMemory API. Preserve asset identifiers for future use and ensure data security.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Generate a Skill Listing for Prompt Injection with TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-generate-skill-listing-for-prompt-injection)

Generate a skill listing for prompt injection using the POST /v3/skill/listing endpoint. Retrieve a markdown catalog for LLM prompts while respecting isolation boundaries.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Create, Update, and Patch Skills Using the TencentDB Agent Memory API](/TencentCloud/TencentDB-Agent-Memory/how-to-create-update-and-patch-skills)

Easily create, update, and patch Skills using the TencentDB Agent Memory API. Learn how to insert new Skills, perform full content replacements, and apply partial modifications efficiently.

- Tags: api-reference
- Published: 2026-09-02

### [How to Read and Write L3 Core/Persona Data in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-read-and-write-l3-core-persona-data)

Learn to read and write L3 core persona data in TencentDB Agent Memory. Instantiate MemoryClient and use read_core or write_core for long-term user profiles.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Manage L2 Scenario Files in TencentDB Agent Memory: List, Read, Write, and Delete](/TencentCloud/TencentDB-Agent-Memory/how-to-manage-l2-scenario-files)

Learn to manage L2 scenario files in TencentDB Agent Memory. Use SDK methods to list, read, write, and delete these persistent knowledge blocks for your team and agent namespace.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Query and Search L1 Atomic Data by Type and Keyword in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-query-and-search-l1-atomic-data)

Learn how to query and search L1 atomic data in TencentDB Agent Memory using /v3/atomic/query for type and time filtering, or /v3/atomic/search for keyword and type searches.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Perform Keyword Search on L0 Conversations in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-perform-keyword-search-on-l0-conversations)

Learn to perform keyword search on L0 conversations in TencentDB Agent Memory using HTTP POST, SDKs, or OpenClaw. Retrieve semantically matching chat turns efficiently.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Ingest Messages and Trigger the LI Pipeline Using the Conversation API in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-ingest-messages-and-trigger-l1-pipeline)

Learn to ingest messages and trigger the LI pipeline with the TencentDB-Agent-Memory Conversation API. Send POST requests to /v3/skill/conversation/add for automated archiving and pipeline execution.

- Tags: how-to-guide
- Published: 2026-09-02

### [Memory Core API Response Envelope Structure: A Complete Technical Guide](/TencentCloud/TencentDB-Agent-Memory/response-envelope-structure-for-memorycore)

Understand the Memory Core API response envelope structure, detailing code, message, request_id, and data fields for consistent error handling and parsing.

- Tags: api-reference
- Published: 2026-09-02

### [How Agents Discover and Use Wiki and CodeGraph Capabilities in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-agents-discover-and-use-capabilities)

Learn how agents dynamically discover and use Wiki and CodeGraph capabilities in TencentDB Agent Memory. Understand the self-discovery process and knowledge injection for seamless integration.

- Tags: deep-dive
- Published: 2026-09-02

### [How Wiki and CodeGraph Indexing and Retrieval Work in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-wiki-and-codegraph-work)

Explore how TencentDB Agent Memory indexes and retrieves Wiki and CodeGraph data. Learn about its unified serial queue architecture and tenant-isolated asset storage.

- Tags: internals
- Published: 2026-09-02

### [TencentDB Agent Memory Skill Error Codes: Complete 5-Digit Reference Guide](/TencentCloud/TencentDB-Agent-Memory/5-digit-error-codes-for-skill-module)

Troubleshoot TencentDB Agent Memory Skill module errors with this complete 5-digit error code reference. Understand all 15 codes from 40001 to 50303 for quick resolution.

- Tags: api-reference
- Published: 2026-09-02

### [How to Extract Skills from Conversation Sessions in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-extract-skills-from-conversation-sessions)

Learn how to extract skills from conversation sessions in TencentDB Agent Memory. Send messages via POST /v3/skill/conversation/add and let LLM extraction handle the rest.

- Tags: how-to-guide
- Published: 2026-09-02

### [What Are Skills in TencentDB Agent Memory and How Are They Versioned?](/TencentCloud/TencentDB-Agent-Memory/what-are-skills-and-how-are-they-versioned)

Understand skills in TencentDB Agent Memory. Learn how these versioned, executable knowledge assets are managed with metadata, resource files, and TTL-based cleanup.

- Tags: deep-dive
- Published: 2026-09-02

### [How to Create and Manage Chat Memory for an Agent in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-create-and-manage-chat-memory)

Learn how to create and manage chat memory for your TencentDB Agent Memory. Discover how it stores conversational context and uses panel-level APIs and kernel SDK methods for efficient management.

- Tags: how-to-guide
- Published: 2026-09-02

### [Required Headers for Data-Plane and Meta-Plane Requests in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/required-headers-for-data-plane-and-meta-plane-requests)

Discover essential HTTP headers for TencentDB Agent Memory data-plane and meta-plane requests. Learn the required keys for agent and user identification. Master your data integration.

- Tags: how-to-guide
- Published: 2026-09-02

### [How Data Isolation Works in TencentDB Agent Memory: Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/how-is-data-isolated-between-teams-agents-and-users)

Discover how TencentDB Agent Memory ensures robust multi-tenant data isolation using a four-field tuple validated at the API and embedded in storage keys for secure access.

- Tags: architecture
- Published: 2026-09-02

### [How the Layered Memory Architecture (L0–L3) Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-layered-memory-architecture-work)

Understand TencentDB Agent Memory's layered architecture (L0-L3). Discover how raw data becomes atomic facts, structured scenarios, and persona profiles for efficient prompt injection.

- Tags: architecture
- Published: 2026-09-02

### [TencentDB Agent Memory Ports: Complete Guide to Core Service Networking](/TencentCloud/TencentDB-Agent-Memory/what-are-the-ports-used-by-tencentdb-agent-memory-core-services)

Discover the TencentDB Agent Memory ports for core services: 8420, 8096, 8421, 8123, 5173, and 6379. Understand your TencentDB Agent Memory networking.

- Tags: how-to-guide
- Published: 2026-09-02

### [How to Deploy TencentDB Agent Memory Using Docker Compose: Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-deploy-tencentdb-agent-memory-using-docker-compose)

Deploy TencentDB Agent Memory with Docker Compose. Follow our guide to clone the repo, set env vars, and run the setup for a seamless deployment. Get started now!

- Tags: how-to-guide
- Published: 2026-09-02

### [Storage Backends for MemoryProxy: COS, SQLite, Filesystem, and In-Memory Options Explained](/TencentCloud/TencentDB-Agent-Memory/what-are-the-available-storage-backends-for-memoryproxy-and-their-use-cases)

Explore MemoryProxy storage backends: COS for persistence, SQLite for queries, filesystem for key-value, and in-memory for caching. Choose the best option for your needs.

- Tags: deep-dive
- Published: 2026-09-01

### [How Anchor-Based Landing Ensures Precise Injection into System Prompts](/TencentCloud/TencentDB-Agent-Memory/how-does-anchor-based-landing-ensure-precise-injection-into-system-prompts)

Learn how anchor-based landing precisely injects into system prompts by resolving semantic slots. Discover how TencentDB Agent Memory ensures accurate message reconstruction for robust AI applications.

- Tags: how-to-guide
- Published: 2026-09-01

### [When Is the COS Backend Required for Cache Coherence in TencentDB MemoryProxy?](/TencentCloud/TencentDB-Agent-Memory/when-is-the-cos-backend-for-cache-coherence-required-in-memoryproxy)

Discover when the COS backend is required for cache coherence in TencentDB MemoryProxy. Learn about durable state needs for multi-instance deployments, Kernel-STS, TTL entries, and eviction.

- Tags: best-practices
- Published: 2026-09-01

### [MemoryProxy Hooks Cache Strategies: None, Session_Init, and Hybrid Explained](/TencentCloud/TencentDB-Agent-Memory/what-are-the-cache-strategies-supported-by-memoryproxy-hooks)

Understand TencentDB Agent MemoryProxy cache strategies: none, session_init, and hybrid. Learn how hook outputs are computed, cached per session, or pre-warmed and runtime-cached for optimal performance.

- Tags: deep-dive
- Published: 2026-09-01

### [TencentDB Agent Memory Injectors Explained: Skill, Knowledge, and Profile Modules](/TencentCloud/TencentDB-Agent-Memory/what-is-the-purpose-of-the-different-injectors-in-tencentdb-agent-memory)

Understand TencentDB Agent Memory injectors skill knowledge and profile modules. Learn how they enrich LLM agent capabilities with dynamic XML context for better performance.

- Tags: deep-dive
- Published: 2026-09-01

### [MemoryProxy Injection Pipeline: Understanding ContextContentProvider and InjectionHook Abstractions](/TencentCloud/TencentDB-Agent-Memory/what-are-the-key-abstractions-in-the-memoryproxy-injection-pipeline)

Explore the MemoryProxy injection pipeline and its key abstractions: InjectionHook for protocol-agnostic context injection and ContextContentProvider for creating cache-aware injectors. Learn how they work together.

- Tags: internals
- Published: 2026-09-01

### [How Anchor-Based Landing Works in MemoryProxy: Configuration Guide](/TencentCloud/TencentDB-Agent-Memory/what-is-anchor-based-landing-in-memoryproxy-and-how-is-it-configured)

Learn how anchor-based landing in MemoryProxy injects content precisely before or after markdown headings. Configure your MemoryProxy injection hooks with this guide.

- Tags: how-to-guide
- Published: 2026-09-01

### [Which Coding Agents Are Supported by MemoryProxy? A Complete Integration Guide](/TencentCloud/TencentDB-Agent-Memory/which-coding-agents-are-supported-by-memoryproxy)

Discover which coding agents MemoryProxy supports including Claude Code, CodeBuddy, Codex, and more. Get a complete integration guide for seamless use.

- Tags: how-to-guide
- Published: 2026-09-01

### [Client Configuration for Connecting to MemoryProxy: The Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/what-is-the-client-configuration-for-connecting-to-memoryproxy)

Master client configuration for MemoryProxy. Connect LLM clients easily by setting the base URL, authenticating with user_key, and matching the model name. Get the complete setup guide.

- Tags: how-to-guide
- Published: 2026-09-01

### [How MemoryProxy Manages Multi-Tenant Routing Using spaceId in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-is-multi-tenant-routing-managed-in-memoryproxy-using-spaceid)

Learn how MemoryProxy manages multi-tenant routing with spaceId in TencentDB-Agent-Memory. Discover how it isolates tenants, routes traffic, and scopes credentials for secure data management.

- Tags: internals
- Published: 2026-09-01

### [How MemoryProxy Handles OpenAI and Anthropic Protocols](/TencentCloud/TencentDB-Agent-Memory/how-does-memoryproxy-handle-openai-and-anthropic-protocols)

Discover how MemoryProxy unifies OpenAI and Anthropic protocols, normalizes requests, handles authentication, and ensures seamless response compatibility for LLM providers.

- Tags: internals
- Published: 2026-09-01

### [What Are the Eight Stages of the MemoryProxy Request Pipeline?](/TencentCloud/TencentDB-Agent-Memory/what-are-the-eight-stages-of-the-memoryproxy-request-pipeline)

Explore the eight stages of the MemoryProxy request pipeline: authentication, session init, context injection, rate limiting, forwarding, memory extraction, and more. Securely proxy LLM traffic.

- Tags: internals
- Published: 2026-09-01

### [What Is the Default Port for MemoryProxy?](/TencentCloud/TencentDB-Agent-Memory/what-is-the-default-port-for-memoryproxy)

Discover the default port for MemoryProxy. Learn how TencentDB Agent MemoryProxy uses port 8096 for its operations and get the configuration details you need.

- Tags: api-reference
- Published: 2026-09-01

### [What Is MemoryProxy in TencentDB Agent Memory? Architecture and Integration Guide](/TencentCloud/TencentDB-Agent-Memory/what-is-the-role-of-memoryproxy-in-tencentdb-agent-memory)

Discover MemoryProxy's role in TencentDB Agent Memory. This HTTP service provides a stable protocol layer for zero-code integration with AI agents and the Memory Hub.

- Tags: architecture
- Published: 2026-09-01

### [How L1 (Atom) Memory Is Recalled and Used in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-is-l1-memory-recalled-and-used-by-the-model-in-tencentdb-agent-memory)

Discover how L1 Atom memory is recalled and used in TencentDB Agent Memory. Explore the two-stage retrieval pipeline, token budgets, and Memory Hub API integration.

- Tags: internals
- Published: 2026-09-01

### [How L0 Memory Write-Back Works Asynchronously in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-l0-memory-write-back-work-asynchronously-in-tencentdb-agent-memory)

Understand asynchronous L0 memory write-back in TencentDB Agent Memory. Learn how the MemoryProxy pipeline ensures low LLM inference latency during storage operations.

- Tags: internals
- Published: 2026-09-01

### [How the Injection Pipeline Is Organized in TencentDB Agent Memory: Architecture and Flow](/TencentCloud/TencentDB-Agent-Memory/how-is-the-injection-pipeline-organized-in-tencentdb-agent-memory)

Discover the TencentDB Agent Memory injection pipeline architecture. Learn how it processes LLM requests, detects profiles, and executes InjectionHooks for enhanced prompts.

- Tags: architecture
- Published: 2026-09-01

### [TencentDB Agent Memory Retrieval Methods: BM25, Vector Search, and RRF Explained](/TencentCloud/TencentDB-Agent-Memory/what-retrieval-methods-are-used-in-tencentdb-agent-memory)

Explore TencentDB Agent Memory retrieval methods: BM25, vector search, and RRF. Learn how this powerful combination enhances AI agent recall and performance.

- Tags: deep-dive
- Published: 2026-09-01

### [How TencentDB Agent Memory Prevents Context Window Overflow with Its Layered Architecture](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-prevent-context-window-overflow-with-its-layered-approach)

Discover how TencentDB Agent Memory uses a layered architecture to prevent context window overflow by injecting compressed, pre-summarized data into LLM requests.

- Tags: architecture
- Published: 2026-09-01

### [Understanding the Layered Memory Architecture (L0-L3) in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/explain-the-layered-memory-architecture-l0-l3-in-tencentdb-agent-memory)

Explore TencentDB Agent Memory's layered memory architecture (L0-L3) for faster retrieval. Learn how it optimizes context checking before accessing detailed conversation data.

- Tags: deep-dive
- Published: 2026-09-01

### [How TencentDB Agent Memory Eliminates Repetitive Work for AI Coding Agents](/TencentCloud/TencentDB-Agent-Memory/what-problem-does-tencentdb-agent-memory-solve-for-ai-coding-agents)

TencentDB Agent Memory eliminates AI coding agent cold-start inefficiency. Persistently store, structure, and retrieve reusable knowledge for seamless teamwork and faster development.

- Tags: use-case
- Published: 2026-09-01

### [TencentDB Agent Memory Core Components: The 4-Service Architecture](/TencentCloud/TencentDB-Agent-Memory/what-are-the-core-components-of-tencentdb-agent-memory)

Discover the four core components of TencentDB Agent Memory: MemoryCore, MemoryPanel, MemoryKnowledge, and MemoryProxy. Learn how this architecture enables AI agents to share contextual memory.

- Tags: architecture
- Published: 2026-09-01

### [How TencentDB Agent Memory Enables AI Agents to Share Context Across Sessions](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-enable-ai-agents-to-share-context-across-sessions)

Discover how TencentDB Agent Memory uses hierarchical storage and HTTP gateway to let stateless AI agents share conversational context across sessions with team user and agent IDs.

- Tags: how-to-guide
- Published: 2026-09-01

### [How the TencentDB Agent Memory SDK Transport Interface Supports Dual GET/POST via the `requestGet` Abstraction](/TencentCloud/TencentDB-Agent-Memory/sdk-transport-interface-dual-get-post-requestget-abstraction)

Learn how the TencentDB Agent Memory SDK Transport Interface supports dual GET/POST with the requestGet abstraction. Discover flexible HTTP method selection without breaking client code.

- Tags: deep-dive
- Published: 2026-08-31

### [How to Use Wiki and CodeGraph Asset Tools with /v3/tools/list and /v3/tools/call APIs](/TencentCloud/TencentDB-Agent-Memory/wiki-codegraph-asset-tools-v3-tools-list-v3-tools-call)

Learn how to use Wiki and CodeGraph Asset Tools with /v3/tools/list and /v3/tools/call APIs. Discover and execute operations with the TencentDB Agent Memory service.

- Tags: how-to-guide
- Published: 2026-08-31

### [MemoryAsset ACL Strategy: How Fixed Binding + ACL Controls Agent Loadouts in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/memoryasset-acl-strategy-fixed-binding-acl-agent-loadouts)

Learn how the MemoryAsset ACL Strategy uses Fixed Binding and ACLs to control agent loadouts in TencentDB Agent Memory, ensuring secure access to memory assets.

- Tags: how-to-guide
- Published: 2026-08-31

### [How to Configure V3HttpTransport with Endpoint, API Key, Service ID, Timeout, and TLS Validation](/TencentCloud/TencentDB-Agent-Memory/configure-v3httptransport-endpoint-apikey-serviceid-timeout-rejectunauthorized)

Learn to configure V3HttpTransport with endpoint, apiKey, serviceId, timeout, and TLS validation in TencentDB Agent Memory. Follow our guide for a seamless setup.

- Tags: how-to-guide
- Published: 2026-08-31

### [What Is ParamError Validation and How Does It Act as a Client-Side Guard for Destructive Operations?](/TencentCloud/TencentDB-Agent-Memory/paramerror-validation-client-side-guard-destructive-operations)

Discover ParamError validation, a client-side guard that blocks malformed requests before destructive API calls. Protect your TencentDB operations effectively.

- Tags: deep-dive
- Published: 2026-08-31

### [How to Use IsolationOverrides and withIsolation() for Scoping Clients Across Sessions in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/isolationoverrides-withisolation-scoping-clients-sessions)

Master IsolationOverrides and withIsolation() in TencentDB Agent Memory to scope clients across sessions. Override context fields without mutation for flexible data aggregation. Learn more!

- Tags: how-to-guide
- Published: 2026-08-31

### [How Context Window Budgeting Works in TencentDB Agent Memory: Item Count, Character Budget, and Timeout Limits](/TencentCloud/TencentDB-Agent-Memory/context-window-budgeting-item-count-character-budget-timeout-limits)

Learn how TencentDB Agent Memory uses item count, character budget, and timeout limits to manage context window budgeting and prevent prompt overflow and request stalls.

- Tags: deep-dive
- Published: 2026-08-31

### [Memory Retrieval Strategy Using BM25 + Vector Retrieval with RRF in TencentDB Agent‑Memory](/TencentCloud/TencentDB-Agent-Memory/memory-retrieval-strategy-bm25-vector-retrieval-rrf)

Explore the TencentDB Agent Memory retrieval strategy combining BM25 keyword search, vector semantic search, and RRF for superior relevance. Learn how hybrid retrieval enhances agent memory recall.

- Tags: deep-dive
- Published: 2026-08-31

### [How Skill Files Are Managed in TencentDB Agent Memory: encodeUtf8, encodeBase64, writeFiles, and readFile Explained](/TencentCloud/TencentDB-Agent-Memory/skill-file-management-encodeutf8-encodebase64-writefiles-readfile)

Learn how TencentDB Agent Memory manages skill files using encodeUtf8, encodeBase64, writeFiles, and readFile. Discover how payloads are prepared, uploaded, and retrieved for efficient resource management.

- Tags: how-to-guide
- Published: 2026-08-31

### [How Skill Versioning Works in TencentDB Agent Memory: Expected Version, Patch, Update, and Version History](/TencentCloud/TencentDB-Agent-Memory/skill-versioning-expected-version-patch-update-version-history)

Understand TencentDB Agent Memory skill versioning. Learn about expected_version, patch, update, and version history for seamless updates and conflict prevention.

- Tags: deep-dive
- Published: 2026-08-31

### [Skill Extraction Workflow in TencentDB Agent Memory: How to Use `/extract`, `/conversation/add`, and `/conversation/force-archive`](/TencentCloud/TencentDB-Agent-Memory/skill-extraction-workflow-extract-conversation-add-force-archive)

Master skill extraction in TencentDB Agent Memory with our guide. Learn the workflow using /extract, /conversation/add, and /conversation/force-archive for efficient data processing.

- Tags: how-to-guide
- Published: 2026-08-31

### [SkillClient v3 Endpoints: Complete Guide to 17 CRUD, File, and Extraction APIs](/TencentCloud/TencentDB-Agent-Memory/skillclient-v3-endpoints-crud-files-extraction)

Discover the 17 SkillClient v3 endpoints for CRUD operations, file management, and asynchronous extraction. This guide details every API under the /v3/skill prefix for efficient skill lifecycle management.

- Tags: api-reference
- Published: 2026-08-31

### [How to Manage Prompts with the Memory Prompt Client: Create, Apply, Clear, and Effective Functions](/TencentCloud/TencentDB-Agent-Memory/manage-prompts-memory-prompt-client-create-apply-clear)

Master prompt management with TencentDB Agent Memory! Learn to create, apply, clear, and use effective prompts with the Memory Prompt Client SDK for optimal LLM interaction.

- Tags: how-to-guide
- Published: 2026-08-31

### [Batch Delete Limits and `normalizeDeleteIds` Deduplication in TencentDB Agent Memory SDK](/TencentCloud/TencentDB-Agent-Memory/batch-delete-limits-normalize-delete-ids-deduplication)

Understand TencentDB Agent Memory SDK batch delete limits (100-5000 items). Learn how normalizeDeleteIds deduplicates and validates ID arrays before server requests.

- Tags: how-to-guide
- Published: 2026-08-31

### [When Is `sessionId` Required or Optional in TencentDB Agent Memory? Session Resolution Rules Explained](/TencentCloud/TencentDB-Agent-Memory/session-resolution-rules-session-id-required-optional)

Understand when sessionId is required or optional in TencentDB Agent Memory. Discover session resolution rules for L0 L1 L2 L3 layers to optimize your data operations.

- Tags: how-to-guide
- Published: 2026-08-31

### [What Data Is Deleted and Preserved with Asset-Level `clearChatMemory` in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/asset-level-clearchatmemory-data-deleted-preserved)

Understand what data is deleted and preserved with TencentDB Agent Memory asset-level clearChatMemory. Learn how it removes conversational content while retaining essential metadata.

- Tags: how-to-guide
- Published: 2026-08-31

### [TencentDB-Agent Memory v3 Core Endpoints: How to Read and Write L3 Core/Persona Data](/TencentCloud/TencentDB-Agent-Memory/v3-core-endpoints-l3-core-persona-read-write)

Learn how to use TencentDB-Agent-Memory v3 core endpoints for L3 Core/Persona read and write operations. Access versioned persona content via RPC with isolation fields.

- Tags: api-reference
- Published: 2026-08-31

### [How the v3 `/v3/scenario/*` Endpoints Manage L2 Scenarios in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/v3-scenario-endpoints-manage-l2-scenarios)

Discover how v3 scenario endpoints manage L2 scenarios via CRUD operations. Learn about listing, reading, writing, deleting, and counting files with enhanced security.

- Tags: internals
- Published: 2026-08-31

### [`/v3/atomic/*` Endpoints for CRUD Operations on L1 Atomic Memory in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/v3-atomic-endpoints-crud-operations-l1-atomic-memory)

Master TencentDB Agent Memory's v3 atomic endpoints for CRUD operations on L1 Atomic Memory. Learn to create, read, update, delete, count, and search your data efficiently.

- Tags: api-reference
- Published: 2026-08-31

### [v3 /v3/conversation/* Endpoints: Add, Query, Search, Delete, and Count Operations Explained](/TencentCloud/TencentDB-Agent-Memory/v3-conversation-endpoints-add-query-search-delete-count-operations)

Explore the TencentDB Agent Memory Core's v3 conversation endpoints: add, query, search, delete, and count. Learn how to manage L0 conversation messages effectively.

- Tags: api-reference
- Published: 2026-08-31

### [Isolation Context Fields (teamId, agentId, userId, sessionId, taskId) in the TencentDB Agent Memory v3 SDK](/TencentCloud/TencentDB-Agent-Memory/isolationcontext-fields-teamid-agentid-userid-sessionid-taskid-v3-sdk)

Understand IsolationContext fields like teamId, agentId, userId, and sessionId in the TencentDB Agent Memory v3 SDK. Learn how these fields enforce multi-dimensional tenancy and enhance data filtering for your applications.

- Tags: api-reference
- Published: 2026-08-31

### [How the L0-L3 Memory Distillation Pipeline Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-l0-l3-memory-distillation-pipeline-works-tencentdb-agent-memory)

Discover how the L0-L3 Memory Distillation Pipeline in TencentDB Agent Memory converts logs into reusable knowledge assets. Learn about this asynchronous four-layer process for efficient data transformation.

- Tags: internals
- Published: 2026-08-31

### [What Is the Default Storage Backend for TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-is-the-default-storage-backend-for-tencentdb-agent-memory)

Discover the default storage backend for TencentDB Agent Memory. Learn how SQLite is automatically used when not explicitly configured for optimal performance.

- Tags: how-to-guide
- Published: 2026-08-30

### [How to Configure the Recall Strategy in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-can-i-configure-the-recall-strategy-in-tencentdb-agent-memory)

Learn how to configure the recall strategy in TencentDB Agent Memory. Easily set embedding, keyword, or hybrid recall via JSON configuration and reload the gateway for instant updates.

- Tags: how-to-guide
- Published: 2026-08-30

### [What LLM Providers Are Supported by the Proxy Service in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-llm-providers-are-supported-by-the-proxy-service)

Discover which LLM providers TencentDB-Agent-Memory's Proxy service supports. Learn about OpenAI and Anthropic compatible integrations and configuration options.

- Tags: api-reference
- Published: 2026-08-30

### [Token Reduction Achieved by Using TencentDB Agent Memory: A Technical Deep Dive](/TencentCloud/TencentDB-Agent-Memory/what-is-the-token-reduction-achieved-by-using-tencentdb-agent-memory)

Discover how TencentDB Agent Memory slashes LLM token usage by 40%–60% with smart caching and reusable assets, minimizing prompt redundancy. Learn more today.

- Tags: deep-dive
- Published: 2026-08-30

### [How TencentDB Agent Memory Improves WideSearch and SWE-bench Performance](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-improve-performance-in-benchmarks-like-widesearch-and-swe-bench)

TencentDB Agent Memory enhances WideSearch and SWE-bench performance by up to 59%. Discover how layered memory assets and atomic proxy storage optimize token generation and eliminate race conditions.

- Tags: performance
- Published: 2026-08-30

### [How to Enable Remote Embedding for TencentDB Agent Memory: A Complete Configuration Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-enable-remote-embedding-for-tencentdb-agent-memory)

Learn how to enable remote embedding for TencentDB Agent Memory. Configure your openclaw.json file with provider details, API key, and model specs to integrate seamlessly. Restart the gateway to apply changes.

- Tags: how-to-guide
- Published: 2026-08-30

### [How to Configure the memory-tencentdb Plugin: Complete Environment and File Settings](/TencentCloud/TencentDB-Agent-Memory/what-are-the-configuration-settings-for-the-memory-tencentdb-plugin)

Configure the memory-tencentdb plugin using environment variables and YAML JSON files. Learn the priority order for settings to optimize your TencentDB agent performance.

- Tags: how-to-guide
- Published: 2026-08-30

### [How to Integrate TencentDB Agent Memory with Claude Code Agent](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-claude-code-agent)

Integrate TencentDB Agent Memory with Claude Code Agent easily. Set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN to enable automatic skill and memory injection via the proxy.

- Tags: how-to-guide
- Published: 2026-08-30

### [Memory Proxy v3 API: Administrative Operations Guide for TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-purpose-of-the-memory-proxy-v3-api)

Learn how to manage your Memory Proxy v3 API with this administrative guide. Discover instance destruction, rate-limit settings, and session cache operations for optimal performance.

- Tags: api-reference
- Published: 2026-08-30

### [Where to Find the Knowledge Service OpenAPI Specification in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/where-is-the-knowledge-service-openapi-specification-located)

Locate the Knowledge service OpenAPI specification at MemoryKnowledge/openapi.yaml in the TencentDB-Agent-Memory repository. This document follows the OpenAPI 3.0.3 standard for easy integration.

- Tags: api-reference
- Published: 2026-08-30

### [How to Access the Memory Core v3 API Documentation](/TencentCloud/TencentDB-Agent-Memory/how-to-access-the-memory-core-v3-api-documentation)

Access the Memory Core v3 API documentation in the TencentDB-Agent-Memory repository. Find RPC endpoint details for port 8420.

- Tags: api-reference
- Published: 2026-08-30

### [Where to Find the OpenClaw Plugin Manifest for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/where-can-i-find-the-openclaw-plugin-manifest-for-tencentdb-agent-memory)

Locate OpenClaw plugin manifest files for TencentDB Agent Memory on GitHub. Find specific paths for core local and client gateway modes on the feat/server_team branch.

- Tags: how-to-guide
- Published: 2026-08-30

### [Understanding the Role of node_id in the Mermaid Canvas Tracing Mechanism](/TencentCloud/TencentDB-Agent-Memory/what-is-the-role-of-node_id-in-the-mermaid-canvas-tracing-mechanism)

Discover how node_id connects offload log entries to Mermaid flowchart nodes. Understand bidirectional traceability for tool call execution history in TencentDB Agent Memory.

- Tags: deep-dive
- Published: 2026-08-30

### [How the Mermaid Canvas Handles Verbose Tool Logs in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-mermaid-canvas-handle-verbose-tool-logs-in-tencentdb-agent-memory)

Learn how the Mermaid Canvas efficiently handles verbose tool logs in TencentDB Agent Memory. Discover its multi-stage pipeline for filtering and rendering essential flowchart nodes.

- Tags: how-to-guide
- Published: 2026-08-30

### [What Information Does the CodeGraph Index in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-information-does-codegraph-index-in-tencentdb-agent-memory)

Discover what information CodeGraph indexes in TencentDB Agent Memory. Learn about static repository metadata and structural code graphs powering query tools.

- Tags: deep-dive
- Published: 2026-08-30

### [How the LLM-Wiki Feature Works in TencentDB Agent Memory: Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/how-does-the-llm-wiki-feature-in-tencentdb-agent-memory-work)

Discover how TencentDB Agent Memory's LLM-Wiki feature transforms documentation into searchable, summarized knowledge assets using a three-tier architecture for efficient LLM ingestion and generation.

- Tags: architecture
- Published: 2026-08-30

### [Visibility Levels for Skills in TencentDB Agent Memory: Complete Developer Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-visibility-levels-for-skills-in-tencentdb-agent-memory)

Understand TencentDB Agent Memory visibility levels: private, task, agent, team, and restricted. Learn how TypeScript SDK and ACLs control skill access for developers.

- Tags: deep-dive
- Published: 2026-08-30

### [How TencentDB Agent Memory Manages Skills in Its Skill Library: Architecture Deep Dive](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-manage-skills-in-its-skill-library)

Discover how TencentDB Agent Memory manages skills via its three-layer architecture. Explore SQLite persistence, versioning, and resource storage for atomic creation and safe editing.

- Tags: architecture
- Published: 2026-08-30

### [Chat Memory Layers (L0-L3) in TencentDB Agent Memory: Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/what-are-the-different-layers-of-chat-memory-l0-l3)

Explore Chat Memory layers L0-L3 in TencentDB Agent Memory. Discover how this architecture moves from raw dialogue to knowledge graphs for short-term context and long-term learning.

- Tags: architecture
- Published: 2026-08-30

### [How TencentDB Agent Memory Works with L0-L3 Chat Memory Layers](/TencentCloud/TencentDB-Agent-Memory/how-does-chat-memory-in-tencentdb-agent-memory-work-with-l0-l3-layers)

Discover how TencentDB Agent Memory uses L0-L3 layers to store and distill conversational context, optimizing retrieval for efficient chat memory management.

- Tags: deep-dive
- Published: 2026-08-30

### [TencentDB Agent Memory Service Ports: Complete Network Configuration Guide](/TencentCloud/TencentDB-Agent-Memory/what-ports-do-the-tencentdb-agent-memory-services-use)

Master TencentDB Agent Memory ports with this guide. Discover essential TCP ports 8420, 8096, 8123, 8421, 8125/8424 for seamless network configuration and optimal performance.

- Tags: api-reference
- Published: 2026-08-30

### [TencentDB Agent Memory Architecture: The 4 Core Services Explained](/TencentCloud/TencentDB-Agent-Memory/what-are-the-core-services-in-tencentdb-agent-memory-architecture)

Explore the TencentDB Agent Memory architecture and its four core services: Memory Core, Knowledge, Proxy, and Panel. Understand how they create a searchable knowledge base for LLM agents.

- Tags: architecture
- Published: 2026-08-30

### [How to Install TencentDB Agent Memory Using Docker: Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-install-tencentdb-agent-memory-using-docker)

Easily install TencentDB Agent Memory using Docker. Follow our complete setup guide to clone the repository and run the start script for automated deployment.

- Tags: how-to-guide
- Published: 2026-08-30

### [Where to Find the Full Extraction Pipeline Code in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/where-can-i-find-the-full-extraction-pipeline-code)

Discover the full extraction pipeline code in TencentDB-Agent-Memory. Find the main entry point and UI-specific parsers within the MemoryProxy and MemoryCore packages. Explore the code now.

- Tags: how-to-guide
- Published: 2026-08-29

### [MemoryCore Service Port Configuration: Understanding Port 8420 in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-ports-used-by-the-memorycore-service)

Discover TencentDB Agent Memory service port configuration, specifically TCP port 8420 for the TDAI gateway. Learn how MemoryCore uses this essential port.

- Tags: how-to-guide
- Published: 2026-08-29

### [TencentDB Agent Memory Deployment Modes: Standalone vs Service Configuration](/TencentCloud/TencentDB-Agent-Memory/what-are-the-deployment-modes-for-tencentdb-agent-memory)

Discover TencentDB Agent Memory deployment modes: Standalone for local dev and Service for cloud production. Easily switch using the TDAI_DEPLOY_MODE environment variable.

- Tags: how-to-guide
- Published: 2026-08-29

### [How to Integrate TencentDB Agent Memory with Other Agent Frameworks via MemoryProxy](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-other-agent-frameworks-via-memoryproxy)

Seamlessly integrate TencentDB Agent Memory with agent frameworks using MemoryProxy. Inject skills memory and knowledge into LLM requests without altering your agent code.

- Tags: how-to-guide
- Published: 2026-08-29

### [Hermes Agent v2 Plugin Environment Variables: Complete Configuration Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-environment-variables-required-for-hermes-agent-v2-plugin)

Configure Hermes Agent v2 plugins with essential environment variables for authentication and multi-tenant session routing. Master MEMORY_ENDPOINT, MEMORY_API_KEY, and more.

- Tags: how-to-guide
- Published: 2026-08-29

### [How to Integrate TencentDB Agent Memory with Hermes Agent (v2 Plugin)](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-hermes-agent-v2-plugin)

Integrate TencentDB Agent Memory with Hermes Agent v2 by deploying the TDAI Gateway sidecar. Proxy OpenAI-compatible requests and extract metadata seamlessly.

- Tags: how-to-guide
- Published: 2026-08-29

### [How to Integrate TencentDB Agent Memory with Hermes Agent (v1 Plugin)](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-hermes-agent-v1-plugin)

Learn how to integrate TencentDB Agent Memory with Hermes Agent using the v1 plugin. Expose an OpenAI-compatible gateway and configure essential headers for seamless integration and memory prefetching.

- Tags: how-to-guide
- Published: 2026-08-29

### [How to Integrate TencentDB Agent Memory with OpenClaw: Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-openclaw)

Learn how to integrate TencentDB Agent Memory with OpenClaw. Deploy the memory proxy and configure essential headers for seamless integration. Get started now.

- Tags: how-to-guide
- Published: 2026-08-29

### [How CodeGraph Is Indexed and What Analysis It Performs in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-is-codegraph-indexed-and-what-analysis-can-it-perform)

Discover how CodeGraph is indexed in TencentDB Agent Memory for dependency traversal, call-graph exploration, and impact analysis. Learn about its unique ID system and memory persistence.

- Tags: internals
- Published: 2026-08-29

### [How Agents Discover and Use LLM-Wiki Capabilities in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-agents-discover-and-use-llm-wiki-capabilities)

Discover how agents find and use LLM-Wiki capabilities via the Knowledge Tools Injector. Learn how TencentDB-Agent-Memory leverages prompt context for efficient knowledge retrieval.

- Tags: deep-dive
- Published: 2026-08-29

### [How the LLM-Wiki Stores and Serves Documentation in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-llm-wiki-store-and-serve-documentation)

Discover how the LLM-Wiki stores and serves documentation using a three-layer architecture. Explore its multi-tenant storage, asynchronous ingestion pipeline, and REST API for efficient agent access.

- Tags: how-to-guide
- Published: 2026-08-29

### [How to Automatically Extract Skills from Conversation Turns in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-can-skills-be-extracted-automatically-from-conversation-turns)

Automatically extract skills from conversation turns using the TencentDB-Agent-Memory pipeline. Transform raw conversations into structured skill records with our automated /v3/skill/extract endpoint.

- Tags: how-to-guide
- Published: 2026-08-29

### [How Skills Are Created and Versioned in TencentDB Agent Memory: A Complete Technical Guide](/TencentCloud/TencentDB-Agent-Memory/how-are-skills-created-and-versioned-in-tencentdb-agent-memory)

Learn how skills are created and versioned in TencentDB Agent Memory. Discover immutable, versioned artifacts with atomic increments and historical snapshot retention. A complete technical guide.

- Tags: how-to-guide
- Published: 2026-08-29

### [How to Customize LLM Extraction Prompts for L1/L2/L3 Memory in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-can-i-customize-llm-extraction-prompts-for-l1-l2-l3-memory)

Learn to customize LLM extraction prompts for L1, L2, and L3 memory in TencentDB Agent Memory using the Memory Prompt API and apply() method. Enhance your agent's recall and context.

- Tags: how-to-guide
- Published: 2026-08-29

### [How Symbolic Memory and Context Offloading with Mermaid Canvas Work in TencentDB-Agent](/TencentCloud/TencentDB-Agent-Memory/how-does-symbolic-memory-and-context-offloading-with-mermaid-canvas-work)

Discover how TencentDB-Agent-Memory uses symbolic IDs and Mermaid Canvas for efficient context offloading. See agent states visualized compactly without LLM bloat.

- Tags: how-to-guide
- Published: 2026-08-29

### [How Memory Retrieval Works in TencentDB Agent Memory: SQLite Store Architecture Explained](/TencentCloud/TencentDB-Agent-Memory/how-is-memory-retrieval-performed-in-tencentdb-agent-memory)

Understand TencentDB Agent Memory retrieval with this SQLite store architecture explanation. Learn how tenant-scoped requests flow through HTTP to SQLite for efficient data access.

- Tags: architecture
- Published: 2026-08-29

### [What Is Stored in the L3 Persona Layer of TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-is-stored-in-l3-persona-layer)

Discover what the L3 Persona layer in TencentDB Agent Memory stores. Learn how stable user profiles and cognition enable fast agent context bootstrapping without reprocessing conversation history.

- Tags: deep-dive
- Published: 2026-08-29

### [What Is Stored in the L2 Scenario Layer in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-stored-in-l2-scenario-layer)

Discover what the L2 Scenario layer in TencentDB-Agent-Memory stores. Learn how organized knowledge blocks like JSON and Markdown files enable instant context restoration for AI agents.

- Tags: deep-dive
- Published: 2026-08-29

### [What Is Stored in the L1 Atom Layer? Inside TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-stored-in-l1-atom-layer)

Discover what the L1 Atom layer stores in TencentDB Agent Memory. It holds verbatim session conversation history, forming the immutable base for memory aggregations.

- Tags: internals
- Published: 2026-08-29

### [What Is Stored in the L0 Conversation Layer? Complete Guide to TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-stored-in-l0-conversation-layer)

Discover what the L0 Conversation layer stores in TencentDB Agent Memory. Learn how it preserves complete dialogues, timestamps, and metadata for memory processing.

- Tags: deep-dive
- Published: 2026-08-29

### [How Layered Memory (L0-L3) Works in TencentDB Agent Memory: A Technical Deep Dive](/TencentCloud/TencentDB-Agent-Memory/how-does-layered-memory-l0-l3-work-in-tencentdb-agent-memory)

Explore TencentDB Agent Memory's layered memory L0-L3 architecture. Understand how it transforms raw interactions into structured knowledge with async processing and session isolation. Learn more.

- Tags: deep-dive
- Published: 2026-08-29

### [What Are the Four Memory Assets in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-are-the-four-memory-assets-in-tencentdb-agent-memory)

Discover the four memory assets in TencentDB Agent Memory: chat_memory, llm_wiki, code_graph, and skill. Learn how they enhance agent persistence, knowledge recall, code queries, and skill execution.

- Tags: deep-dive
- Published: 2026-08-29

### [How to Set Up TencentDB Agent Memory in Standalone Mode](/TencentCloud/TencentDB-Agent-Memory/how-to-set-up-tencentdb-agent-memory-standalone-mode)

Learn how to set up TencentDB Agent Memory in standalone mode. Deploy a single-process service in a Docker container using SQLite for efficient operation without external dependencies.

- Tags: how-to-guide
- Published: 2026-08-29

### [Configure the Pipeline for Memory Extraction and Processing in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-configure-memory-extraction-pipeline)

Configure the memory extraction pipeline for TencentDB Agent Memory by instantiating PipelineFactoryOptions and launching MemoryPipelineManager. Optimize your data processing today.

- Tags: how-to-guide
- Published: 2026-08-28

### [API Endpoints for Managing Atomic Memory in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-api-endpoints-atomic-memory-management)

Discover the five POST API endpoints in TencentDB Agent Memory for managing atomic L1 memory records. Create, query, search, delete, and count records with ease. Learn more now.

- Tags: api-reference
- Published: 2026-08-28

### [TencentDB Agent Memory API Endpoints for Conversation Management: Complete v3 Reference](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-api-endpoints-conversation-management)

Explore TencentDB Agent Memory API endpoints for conversation management. Master add, query, search, delete, count, and clear chat memory actions with our v3 reference.

- Tags: api-reference
- Published: 2026-08-28

### [How Threshold-Based Auto-Archiving Works for Skills in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-threshold-auto-archiving-skills)

Discover how threshold-based auto-archiving in TencentDB Agent Memory saves conversation data when limits like count, size, or tool usage are met. Optimize your agent's memory management.

- Tags: how-to-guide
- Published: 2026-08-28

### [How TencentDB Agent Memory Automatically Extracts Skills from Conversation Sessions: A Technical Deep Dive](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-automatic-skill-extraction)

Discover how TencentDB Agent Memory automatically extracts skills from conversation sessions using LLM analysis and persists them for API exposure. Learn the technical details.

- Tags: deep-dive
- Published: 2026-08-28

### [How to Export Skills as ZIP Archives from TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-export-skills-zip)

Easily export Skills as ZIP archives from TencentDB Agent Memory using the exportSkill method. This guide shows you how to retrieve skill metadata and resources efficiently.

- Tags: how-to-guide
- Published: 2026-08-28

### [Maximum Size for Resource Files Associated with Skills in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-skill-resource-file-size-limit)

Discover the maximum size for resource files in TencentDB Agent Memory Skills. Learn about the 1 MiB limit for JSON request bodies and embedded files to optimize your configurations.

- Tags: api-reference
- Published: 2026-08-28

### [Skill Asset Structure in TencentDB Agent Memory: Frontmatter and Body Format](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-skill-asset-structure)

Discover the Skill asset structure in TencentDB Agent Memory. Learn how YAML frontmatter and Markdown body define skill purpose, workflow, and constraints.

- Tags: api-reference
- Published: 2026-08-28

### [Types of Memory Assets in TencentDB Agent Memory and Their Storage Locations](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-memory-asset-types-storage)

Discover the four memory asset types in TencentDB Agent Memory: skill, llm_wiki, code_graph, and chat_memory. Learn where these assets are stored across COS, SQLite, and caches.

- Tags: api-reference
- Published: 2026-08-28

### [What Are Memory Assets in TencentDB Agent Memory? Decoupling Knowledge from Agent Frameworks](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-memory-assets-decoupling)

Discover memory assets in TencentDB Agent Memory like Chat Memory, Skills, Wiki, and CodeGraph. Learn how a four-layer architecture decouples knowledge from agent frameworks for cross-framework sharing.

- Tags: deep-dive
- Published: 2026-08-28

### [How L3 Core Persona Memory Is Generated and Its Role in Context Bootstrapping](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-l3-persona-memory-generation-bootstrapping)

Discover how L3 Core Persona memory is generated via a priority trigger system. Learn its role in context bootstrapping, providing instant awareness without reprocessing history.

- Tags: deep-dive
- Published: 2026-08-28

### [Delays and Constraints for L2 Scenario Memory Generation in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-l2-scenario-memory-generation-constraints)

Understand L2 Scenario memory generation delays and constraints in TencentDB Agent Memory. Discover automatic triggers, execution intervals, and inactivity halts for optimal performance.

- Tags: performance
- Published: 2026-08-28

### [How L2 Scenario Memory Is Stored and Organized in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-l2-scenario-memory-storage-organization)

Discover how L2 Scenario memory is stored and organized in TencentDB Agent Memory. Learn about Markdown files, JSON indexing, and storage backend for efficient retrieval.

- Tags: internals
- Published: 2026-08-28

### [How to Handle Version Type Inconsistencies Between `/v3/atomic/update` and `/v3/atomic/query` APIs in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-atomic-api-version-inconsistency)

Avoid version type inconsistencies in TencentDB Agent Memory APIs. Learn how to handle mismatches between v3 atomic update and query endpoints by preserving the type field client-side.

- Tags: how-to-guide
- Published: 2026-08-28

### [Pipeline Configuration for L1 Memory Extraction in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-l1-memory-extraction-pipeline-configuration)

Configure the L1 memory extraction pipeline in TencentDB Agent Memory using ExtractionConfig and PipelineTriggerConfig. Control deduplication, model selection, and trigger intervals for efficient memory conversion.

- Tags: how-to-guide
- Published: 2026-08-28

### [How to Configure L1 Atomic Memory Extraction: Deduplication and Session Limits](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-l1-atomic-memory-extraction-configuration)

Configure L1 Atomic Memory extraction using the V3AtomicUpdateRequest interface. Control deduplication, session limits, and memory scoping with simple parameters in the TencentDB-Agent-Memory SDK.

- Tags: how-to-guide
- Published: 2026-08-28

### [How the Async Extraction Pipeline Processes L0 Conversation Data in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-l0-async-extraction-pipeline)

Learn how the async extraction pipeline processes L0 conversation data in TencentDB Agent Memory. Discover the fire-and-forget HTTP request to the /v3/extract endpoint for efficient background processing.

- Tags: internals
- Published: 2026-08-28

### [How Conversation Data (L0) Is Stored in TencentDB Agent Memory: Schema and Operations](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-l0-conversation-storage-operations)

Learn how TencentDB Agent Memory stores raw L0 conversation data in a MongoDB-style document store. Explore the six core HTTP operations for managing this immutable data.

- Tags: how-to-guide
- Published: 2026-08-28

### [TencentDB Agent Memory: Understanding the Four Progressive Memory Layers (L0-L3)](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-memory-layers-l0-l3-purposes)

Explore the four progressive memory layers L0-L3 in TencentDB Agent Memory. Understand how raw dialogue transforms into abstract, reusable knowledge for enhanced AI capabilities.

- Tags: deep-dive
- Published: 2026-08-28

### [OpenClaw Plugin Entry Point for TencentDB Agent Memory: Location and Architecture](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-openclaw-plugin-entrypoint)

Discover the OpenClaw plugin entry point for TencentDB Agent Memory at MemoryCore/openclaw-plugin/index.ts. Learn how it initializes the memory client and registers hooks.

- Tags: architecture
- Published: 2026-08-28

### [How to Integrate Agents with TencentDB Agent Memory Using MemoryProxy for Zero-Code Integration](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-zero-code-integration-memoryproxy)

Easily integrate AI agents with TencentDB Agent Memory using MemoryProxy. Route HTTP requests for zero-code integration without client SDK modifications. Learn how now.

- Tags: how-to-guide
- Published: 2026-08-28

### [TencentDB Agent Memory Architecture: Ports and Functions of MemoryCore, MemoryHub, and MemoryProxy](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-component-ports-functions)

Explore the TencentDB Agent Memory architecture. Understand the ports and functions of MemoryCore, MemoryHub, and MemoryProxy for AI agent memory management and LLM traffic.

- Tags: architecture
- Published: 2026-08-28

### [How TencentDB Agent Memory Architecture Decouples Storage, Routing, and Team Management](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-architecture-decoupling)

Discover how TencentDB Agent Memory architecture decouples storage, routing, and team management using orthogonal layers for pluggable persistence, data-driven routing, and protocol-agnostic session binding.

- Tags: architecture
- Published: 2026-08-28

### [How to Manage Team Roles and Permissions in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-manage-team-roles-and-permissions)

Learn to manage team roles and permissions in TencentDB Agent Memory using its RBAC system. Control access with admin, member, and reviewer roles and ACL rules.

- Tags: how-to-guide
- Published: 2026-08-27

### [Asset Visibility Levels in TencentDB Agent Memory: The Complete Developer Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-asset-visibility-levels-in-tencentdb-agent-memory)

Understand the five asset visibility levels private team restricted agent and task in TencentDB Agent Memory. Master access control for your data and resources.

- Tags: deep-dive
- Published: 2026-08-27

### [CodeGraph Tools in TencentDB Agent Memory: Complete API Reference](/TencentCloud/TencentDB-Agent-Memory/what-are-the-available-codegraph-tools)

Explore nine CodeGraph tools in TencentDB Agent Memory: get_info, search, explore, callers, callees, impact, node, status, and files. Access read-only LLM agent integration via the /v3/tools HTTP namespace.

- Tags: api-reference
- Published: 2026-08-27

### [Complete Guide to Wiki Tools in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-available-wiki-tools)

Explore seven read-only Wiki tools in TencentDB Agent Memory. Discover how LLM agents query wiki metadata and content via HTTP endpoints for comprehensive knowledge access.

- Tags: how-to-guide
- Published: 2026-08-27

### [How to Execute a Wiki Search Tool in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-execute-a-wiki-search-tool)

Learn to execute a Wiki search tool in TencentDB Agent Memory. Discover available tools and invoke wiki-search via API calls for efficient data retrieval.

- Tags: how-to-guide
- Published: 2026-08-27

### [How to List Available Tools for an Agent in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-list-available-tools-for-an-agent)

Learn how to list available tools for an agent in TencentDB-Agent-Memory. Send a POST request to /v3/tools/list to get tool details and prepare for operations.

- Tags: how-to-guide
- Published: 2026-08-27

### [How to Add a Conversation Using the TencentDB Agent Memory Python SDK](/TencentCloud/TencentDB-Agent-Memory/how-to-add-conversation-using-the-python-sdk)

Easily add conversations with the TencentDB Agent Memory Python SDK. Use the add_conversation method for seamless message thread submission and automatic context resolution.

- Tags: how-to-guide
- Published: 2026-08-27

### [How to Query Atomic Memories by Type Using the TypeScript SDK](/TencentCloud/TencentDB-Agent-Memory/how-to-query-atomic-memories-by-type-using-the-typescript-sdk)

Query atomic memories by type in your TypeScript app with the TencentDB SDK. Learn how to use MemoryClient.queryAtomic() and V3AtomicQueryRequest for efficient filtering.

- Tags: how-to-guide
- Published: 2026-08-27

### [How to Add Conversation History Using the TypeScript SDK in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-add-conversation-history-using-the-typescript-sdk)

Easily add conversation history to your sessions with the TencentDB-Agent-Memory TypeScript SDK. Learn how to use the conversationAdd method to manage buffering and extraction triggers.

- Tags: how-to-guide
- Published: 2026-08-27

### [How to Initialize the TypeScript MemoryClient for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-initialize-the-typescript-memoryclient)

Learn to initialize the TypeScript MemoryClient for TencentDB Agent Memory. Pass V3MemoryClientConfig with endpoint, API key, service ID, and isolation identifiers for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-27

### [How the Retrieval Strategy Combines Different Memory Layers in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-retrieval-strategy-combine-different-memory-layers)

Discover how TencentDB Agent Memory's retrieval strategy blends L3 persona L2 scenario data with L1 facts and L0 logs using BM25 and vector search then fuses results for optimal speed and precision.

- Tags: deep-dive
- Published: 2026-08-27

### [Atomic Memory Types in L1: Complete Technical Guide to the LI Layer in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-atomic-memory-types-in-l1)

Explore the six atomic memory types in TencentDB Agent Memory L1. Understand how AtomicDetail, UpdateRequest, QueryRequest, SearchRequest, DeleteRequest, and CountRequest power CRUD, semantic search, and concurrency.

- Tags: deep-dive
- Published: 2026-08-27

### [What Is the Purpose of Each Memory Layer (L0-L3) in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-is-the-purpose-of-each-memory-layer-l0-l3)

Understand the purpose of each memory layer L0-L3 in TencentDB Agent Memory. Discover how transient and persistent data are organized for efficient knowledge management.

- Tags: deep-dive
- Published: 2026-08-27

### [How the Wiki Custom Tokenizer Handles English and Chinese Text in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-wiki-custom-tokenizer-handle-english-and-chinese-text)

Discover how the Wiki custom tokenizer in TencentDB-Agent-Memory processes English and Chinese text using a dual-stage pipeline for efficient indexing and query construction.

- Tags: deep-dive
- Published: 2026-08-27

### [Which Database and Search Engine Does the TencentDB Agent Memory Wiki Use?](/TencentCloud/TencentDB-Agent-Memory/which-database-and-search-engine-does-the-wiki-use)

Discover the database and search engine behind the TencentDB Agent Memory Wiki. Learn how SQLite and FTS5 with BM25 ranking power its hybrid search capabilities.

- Tags: how-to-guide
- Published: 2026-08-27

### [Phases of Wiki Incremental Ingestion: How TencentDB Agent Memory Processes Documents](/TencentCloud/TencentDB-Agent-Memory/what-are-the-phases-of-wiki-incremental-ingestion)

Explore the three phases of Wiki incremental ingestion: extracting, merging, and indexing. Learn how TencentDB Agent Memory processes documents with real-time visibility.

- Tags: how-to-guide
- Published: 2026-08-27

### [How to Access MemoryKnowledge OpenAPI Documentation: Swagger UI, REST API, and Markdown Reference](/TencentCloud/TencentDB-Agent-Memory/how-to-access-memoryknowledge-openapi-documentation)

Access MemoryKnowledge OpenAPI documentation easily via Swagger UI, REST API, or Markdown reference. Explore the TencentDB-Agent-Memory repository for full details.

- Tags: api-reference
- Published: 2026-08-27

### [How to Use Header Overrides for MemoryCore Context](/TencentCloud/TencentDB-Agent-Memory/how-to-use-header-overrides-for-memorycore-context)

Learn how to use header overrides for MemoryCore context. Customize execution context by setting x-tdai-* HTTP headers, avoiding JSON payload changes.

- Tags: how-to-guide
- Published: 2026-08-27

### [Mandatory Context Fields for MemoryCore Data Operations: Complete API Reference](/TencentCloud/TencentDB-Agent-Memory/what-are-the-mandatory-context-fields-for-memorycore-data-operations)

Understand mandatory context fields for MemoryCore data operations. Discover required API parameters like session_id, messages, ratio, and more for efficient data handling.

- Tags: api-reference
- Published: 2026-08-27

### [How to Authenticate with the MemoryCore API: Header-Based Security Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-authenticate-with-memorycore-api)

Authenticate with the MemoryCore API using header based security. Learn how to include Authorization and x-tdai-service-id headers for secure access to your MemoryCore API.

- Tags: how-to-guide
- Published: 2026-08-27

### [MemoryCore API Endpoint and Port: Configuration Guide for TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-memorycore-api-endpoint-and-port)

Learn how to configure the TencentDB Agent MemoryCore API endpoint and port. Discover default settings and how to override them using environment variables for seamless integration.

- Tags: api-reference
- Published: 2026-08-27

### [How to Set Up TencentDB Agent Memory with Docker Compose: Complete Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-setup-tencentdb-agent-memory-with-docker-compose)

Learn to set up TencentDB Agent Memory with Docker Compose. Deploy the full stack locally to orchestrate core services, Redis, and mock dependencies efficiently.

- Tags: how-to-guide
- Published: 2026-08-27

### [How the Source Fetcher Registry Handles Git and Local File Protocols in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-source-fetcher-registry-handles-git-local-file-protocols)

Learn how the Source Fetcher Registry in TencentDB-Agent-Memory manages Git and local file protocols. Discover its automatic classification and routing for efficient source fetching.

- Tags: how-to-guide
- Published: 2026-08-26

### [How to Configure the Memory Panel API for Custom Integrations](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-memory-panel-api-custom-integrations)

Configure the Memory Panel API for custom integrations by registering your instance and authenticating requests. Expose your instance via the METADATA_INSTANCES_CONFIG environment variable for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-26

### [How to Implement Cross-Agent Memory Sharing Without Exposing Private Data](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-cross-agent-memory-sharing-without-private-data)

Securely share agent memory with TencentDB Agent Memory. Learn how to implement cross-agent memory sharing without exposing private data using visibility flags and ACL checks.

- Tags: how-to-guide
- Published: 2026-08-26

### [Performance Considerations for Large‑Scale Memory Operations in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/performance-considerations-large-scale-memory-operations)

Optimize large-scale memory operations in TencentDB Agent Memory. Discover how batching and back-pressure techniques reduce CPU, I/O, and network load for efficient performance.

- Tags: performance
- Published: 2026-08-26

### [How to Implement Cold-Start by Importing Existing Codebases and Documents in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-cold-start-importing-codebases-documents)

Implement cold-start in TencentDB Agent Memory by importing codebases and documents. Give new agents full context from the start for faster, more informed interactions. Learn how now.

- Tags: how-to-guide
- Published: 2026-08-26

### [How to Debug Memory Retrieval Issues with BM25 and Vector Hybrid Search](/TencentCloud/TencentDB-Agent-Memory/how-to-debug-memory-retrieval-issues-bm25-vector-hybrid-search)

Debug BM25 and vector hybrid search issues in TencentDB Agent Memory. Verify FTS5 support, enable nativeHybridSearch, and trace query execution with logs to resolve retrieval failures.

- Tags: how-to-guide
- Published: 2026-08-26

### [How to Use `/v3/tools/list` and `/v3/tools/call` for Knowledge Retrieval in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-use-v3-tools-list-call-knowledge-retrieval)

Master knowledge retrieval in TencentDB Agent Memory. Learn to use /v3/tools/list and /v3/tools/call to discover and fetch information efficiently using the discover-then-use pattern.

- Tags: how-to-guide
- Published: 2026-08-26

### [How the Conversation Archive and Skill Extraction Pipeline Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-conversation-archive-skill-extraction-pipeline-works)

Discover how the TencentDB Agent Memory conversation archive and skill extraction pipeline captures, normalizes, and stores chat data. Learn about real-time endpoints and persistence for efficient skill processing.

- Tags: deep-dive
- Published: 2026-08-26

### [How to Configure LLM Routing with Proxy and BYO Modes in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-llm-routing-proxy-byo-modes)

Learn to configure LLM routing with proxy and BYO modes in TencentDB Agent Memory. Optimize your LLM calls by understanding default proxy and custom BYO settings for efficient agent requests.

- Tags: how-to-guide
- Published: 2026-08-26

### [MemoryClient vs SkillClient in the TencentDB Agent Memory SDK: Key Differences Explained](/TencentCloud/TencentDB-Agent-Memory/difference-between-memoryclient-and-skillclient-sdk)

Understand MemoryClient vs SkillClient in TencentDB Agent Memory SDK. Learn how MemoryClient manages data operations and SkillClient handles skill management for your applications.

- Tags: deep-dive
- Published: 2026-08-26

### [How to Implement Auto-Sync for CodeGraph Repositories in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-auto-sync-codegraph-repositories)

Implement auto-sync for CodeGraph repositories with TencentDB-Agent-Memory. Use AutoSyncScheduler to keep your semantic code index updated automatically without manual effort.

- Tags: how-to-guide
- Published: 2026-08-26

### [How to Migrate Data from v2 to v3 Using the Migration Tool in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-migrate-data-v2-to-v3-migration-tool)

Easily migrate data from v2 to v3 using the TencentDB Agent Memory migration tool. Upgrade your SQLite schema and relocate files with this Python script for a seamless transition.

- Tags: migration-guide
- Published: 2026-08-26

### [How Memory Hub Team Management and Asset Binding Works: A Technical Deep Dive](/TencentCloud/TencentDB-Agent-Memory/how-memory-hub-team-management-asset-binding-works)

Discover how Memory Hub team management and asset binding work. Explore hierarchical roles and fixed asset binding for efficient resource allocation in TencentDB Agent Memory.

- Tags: deep-dive
- Published: 2026-08-26

### [How to Use the Python SDK for Agent Memory Integration with TencentDB](/TencentCloud/TencentDB-Agent-Memory/how-to-use-python-sdk-agent-memory-integration)

Integrate agent memory with TencentDB using the Python SDK. Explore synchronous and asynchronous clients for secure data isolation across teams, agents, users, and sessions.

- Tags: how-to-guide
- Published: 2026-08-26

### [How to Use the TypeScript SDK to Manage Chat Memory Layers in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-use-typescript-sdk-manage-chat-memory-layers)

Master Chat Memory management in TencentDB Agent Memory using the TypeScript SDK. Learn to clear all memory layers with V3Client.clearChatMemory and manage data with MemoryPromptClient.

- Tags: how-to-guide
- Published: 2026-08-26

### [How to Implement Access Control with Private, Team, and Restricted Visibility Levels in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-access-control-private-team-restricted-visibility)

Learn to implement access control in TencentDB Agent Memory using private, team, and restricted visibility levels. Secure your data with this team-centric ACL model.

- Tags: how-to-guide
- Published: 2026-08-26

### [TencentDB-Agent-Memory v3 API Endpoints for Memory Operations: Complete Reference](/TencentCloud/TencentDB-Agent-Memory/v3-api-endpoints-memory-operations-request-response-formats)

Explore TencentDB Agent Memory v3 API endpoints for memory operations. Get complete reference for request/response formats of memory resources, rate limits, and session caches.

- Tags: api-reference
- Published: 2026-08-26

### [How CodeGraph Indexing Works and How to Query Code Relationships: A Technical Guide](/TencentCloud/TencentDB-Agent-Memory/how-codegraph-indexing-works-query-code-relationships)

Learn how CodeGraph indexing transforms Git repositories into queryable knowledge graphs. Discover how to query code relationships with MCP tools like code_callers and code_callees.

- Tags: how-to-guide
- Published: 2026-08-26

### [How to Set Up Wiki Ingestion with LLM-Powered Document Processing in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-set-up-wiki-ingestion-llm-document-processing)

Set up wiki ingestion with LLM document processing in TencentDB Agent Memory. Register wiki sources, trigger ingest, and configure LLM_MODE=proxy for summarization via Knowledge Service.

- Tags: how-to-guide
- Published: 2026-08-26

### [How Skill Extraction Works and What Triggers Automatic Skill Creation in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-skill-extraction-works-triggers-automatic-skill-creation)

Understand how skill extraction works in TencentDB-Agent-Memory. Discover what triggers automatic skill creation when conversations end with final answers.

- Tags: deep-dive
- Published: 2026-08-26

### [How to Configure the Memory Proxy for Zero-Code Integration with Claude Code](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-memory-proxy-zero-code-integration-claude-code)

Learn how to configure the Memory Proxy for zero-code integration with Claude Code. This transparent HTTP proxy seamlessly injects context and memory without code changes.

- Tags: how-to-guide
- Published: 2026-08-26

### [How to Implement Custom Memory Isolation with teamId, agentId, and userId in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-custom-memory-isolation-with-team-agent-user-ids)

Implement custom memory isolation in TencentDB Agent Memory using teamId, agentId, and userId. Learn how to initialize SkillClient for secure API requests.

- Tags: how-to-guide
- Published: 2026-08-26

### [How the L0-L3 Memory Layering System Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-l0-l3-memory-layering-work-tencentdb-agent-memory)

Discover how the L0-L3 memory layering system in TencentDB Agent Memory transforms raw data into user personas. Understand the four-stage hierarchy for efficient storage and retrieval.

- Tags: internals
- Published: 2026-08-26

### [What Dependencies Does TencentDB Agent Memory Use? A Complete Breakdown of the Monorepo Stack](/TencentCloud/TencentDB-Agent-Memory/what-dependencies-does-tencentdb-agent-memory-have)

Uncover the dependencies of TencentDB Agent Memory. Explore its TypeScript monorepo stack, including OpenTelemetry, AI SDKs, SQLite-Vec, and ClickHouse, for seamless integration and robust performance.

- Tags: internals
- Published: 2026-08-25

### [How to Monitor TencentDB Agent Memory Status Using OpenTelemetry and ClickHouse](/TencentCloud/TencentDB-Agent-Memory/how-to-monitor-tencentdb-agent-memory-status)

Learn how to monitor TencentDB Agent memory status in real time. Discover how OpenTelemetry and ClickHouse provide insights into performance metrics for better observability.

- Tags: how-to-guide
- Published: 2026-08-25

### [What Programming Languages Is TencentDB Agent Memory Written In? A Complete Stack Breakdown](/TencentCloud/TencentDB-Agent-Memory/what-programming-languages-is-tencentdb-agent-memory-written-in)

Discover the programming languages powering TencentDB Agent Memory. Explore the full stack breakdown, from TypeScript and Python to shell and JavaScript, for this polyglot system.

- Tags: internals
- Published: 2026-08-25

### [Is TencentDB Agent Memory Open Source? MIT License and Architecture Breakdown](/TencentCloud/TencentDB-Agent-Memory/is-tencentdb-agent-memory-open-source)

Discover if TencentDB Agent Memory is open source. Explore its MIT license and architecture. Get unrestricted rights to use, modify, and distribute the code.

- Tags: internals
- Published: 2026-08-25

### [Common Errors When Using TencentDB Agent Memory: A Complete Troubleshooting Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-common-errors-when-using-tencentdb-agent-memory)

Troubleshoot common TencentDB Agent Memory errors like missing environment variables ParamError and TDAMError. Fix runtime failures with this complete guide.

- Tags: how-to-guide
- Published: 2026-08-25

### [How TencentDB Agent Memory Impacts Database Performance: Benchmarks and Resource Analysis](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-impact-database-performance)

Analyze how TencentDB Agent Memory impacts database performance. Discover benchmark results and resource utilization to optimize your systems.

- Tags: performance
- Published: 2026-08-25

### [What Is the Purpose of the Memory Agent in TencentDB?](/TencentCloud/TencentDB-Agent-Memory/what-is-the-purpose-of-the-memory-agent-in-tencentdb)

Discover the purpose of the memory agent in TencentDB. Learn how this open-source platform enhances LLM agents by storing, organizing, and reusing experience for efficient context management and team collaboration.

- Tags: deep-dive
- Published: 2026-08-25

### [How to Integrate TencentDB Agent Memory with TencentDB](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-tencentdb)

Integrate TencentDB Agent Memory with TencentDB by deploying core services and pointing your LLM agent to the OpenAPI endpoint for seamless access to Chat Memory, Skills, and more.

- Tags: how-to-guide
- Published: 2026-08-25

### [How to Troubleshoot TencentDB Agent Memory Connection Issues: 8 Debug Steps](/TencentCloud/TencentDB-Agent-Memory/how-to-troubleshoot-tencentdb-agent-memory-connection-issues)

Troubleshoot TencentDB Agent Memory connection issues with 8 debug steps. Enable verbose logging and trace requests to quickly resolve HTTP gateway or LLM resolver failures.

- Tags: how-to-guide
- Published: 2026-08-25

### [Where Are TencentDB Agent Memory Logs Located? Configuration and File Paths Explained](/TencentCloud/TencentDB-Agent-Memory/where-are-tencentdb-agent-memory-logs-located)

Find TencentDB Agent Memory log file locations. Learn about proxy.log and default ./logs directory configuration for troubleshooting.

- Tags: how-to-guide
- Published: 2026-08-25

### [How to Restart the TencentDB Agent Memory Service: A Complete Docker Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-restart-the-tencentdb-agent-memory-service)

Quickly restart the TencentDB Agent Memory service in Docker. Learn how to gracefully stop and relaunch containers preserving data. Follow our simple guide.

- Tags: how-to-guide
- Published: 2026-08-25

### [How to Stop the TencentDB Agent Memory Service: Complete Shutdown Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-stop-the-tencentdb-agent-memory-service)

Stop the TencentDB Agent Memory service with our guide. Learn to use the stop-all.sh script and the optional purge flag for a complete shutdown and data removal.

- Tags: how-to-guide
- Published: 2026-08-25

### [How to Start the TencentDB Agent Memory Service](/TencentCloud/TencentDB-Agent-Memory/how-to-start-the-tencentdb-agent-memory-service)

Easily start the TencentDB Agent Memory service stack with interactive Docker scripts. Orchestrate containers and configure environments automatically for a seamless launch.

- Tags: getting-started
- Published: 2026-08-25

### [TencentDB Agent Memory Operating Systems Support: Linux, macOS and Docker Deployment](/TencentCloud/TencentDB-Agent-Memory/what-operating-systems-does-tencentdb-agent-memory-support)

Discover TencentDB Agent Memory operating systems support. Learn how to deploy on Linux, macOS, and Docker for efficient memory management. Get started now.

- Tags: getting-started
- Published: 2026-08-25

### [How to Configure TencentDB Agent Memory: Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-tencentdb-agent-memory)

Learn to configure TencentDB Agent Memory with this complete setup guide. Deploy Memory Core, Hub, and Proxy using Docker Compose for unified AI agent collaboration.

- Tags: how-to-guide
- Published: 2026-08-25

### [Prerequisites for TencentDB Agent Memory: Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-prerequisites-for-tencentdb-agent-memory)

Learn the essential prerequisites for TencentDB Agent Memory setup. Ensure Docker, Git, LLM access, and open network ports for successful deployment.

- Tags: getting-started
- Published: 2026-08-25

### [Runtime Configuration Options for TencentDB Agent Memory: Complete Environment Variable Guide](/TencentCloud/TencentDB-Agent-Memory/runtime-configuration-options-tencentdb-agent-memory)

Explore runtime configuration options for TencentDB Agent Memory. This guide details environment variables for gateway limits, vector stores, COS storage, and security policies.

- Tags: api-reference
- Published: 2026-08-24

### [How MemoryCore Manages Skills in TencentDB-Agent-Memory: A Deep Dive into the Metadata-Driven Architecture](/TencentCloud/TencentDB-Agent-Memory/how-memorycore-manages-skills)

Discover how MemoryCore manages skills in TencentDB-Agent-Memory. Explore its metadata-driven architecture for skill lifecycle management from creation to retrieval.

- Tags: deep-dive
- Published: 2026-08-24

### [Knowledge Metadata Registry in MemoryCore: Purpose, Architecture, and Implementation](/TencentCloud/TencentDB-Agent-Memory/purpose-knowledge-metadata-registry-memorycore)

Discover the purpose of the Knowledge Metadata Registry in MemoryCore. This component manages a queryable catalog of Knowledge entity metadata, not the actual data.

- Tags: architecture
- Published: 2026-08-24

### [How MemoryCore Supports Memory Recall: Architecture and Implementation Guide](/TencentCloud/TencentDB-Agent-Memory/how-memorycore-supports-memory-recall)

Discover how MemoryCore enhances memory recall with its layered retrieval pipeline. Explore vector search, FTS, and session filtering for efficient L1 memory surfacing before LLM prompt construction.

- Tags: architecture
- Published: 2026-08-24

### [MemoryCore: Key Capabilities of the TencentDB Agent Memory System](/TencentCloud/TencentDB-Agent-Memory/key-capabilities-of-memorycore)

Explore MemoryCore's key capabilities, the TencentDB Agent Memory system's engine. Discover unified storage, hierarchical processing, hybrid retrieval, and HTTP APIs for AI.

- Tags: deep-dive
- Published: 2026-08-24

### [Benchmark Results for Symbolic Memory Integration with OpenClaw](/TencentCloud/TencentDB-Agent-Memory/benchmark-results-symbolic-memory-openclaw)

Discover benchmark results for symbolic memory integration with OpenClaw. See the PersonaMem benchmark reveal a 59% improvement with memory hub enabled in TencentDB Agent Memory.

- Tags: performance
- Published: 2026-08-24

### [What Is Node_ID Tracing in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-is-node_id-tracing)

Understand node_id tracing in TencentDB Agent Memory. Learn how unique identifiers ensure end-to-end auditability for tool calls and LLM steps in the off-load pipeline.

- Tags: internals
- Published: 2026-08-24

### [How the Mermaid Canvas Represents Task State in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-mermaid-canvas-works-task-state)

Explore how the Mermaid Canvas visualizes task state in TencentDB Agent Memory. See how it maps tool calls to color-coded nodes for real-time progress tracking.

- Tags: internals
- Published: 2026-08-24

### [What Is Context Offloading and Symbolization in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/context-offloading-symbolization-tencentdb-agent-memory)

Discover context offloading and symbolization in TencentDB Agent Memory. Understand how these features overcome LLM token limits and improve code comprehension.

- Tags: deep-dive
- Published: 2026-08-24

### [How TencentDB Agent Memory Handles Verbose Intermediate Logs in Long-Horizon Tasks](/TencentCloud/TencentDB-Agent-Memory/handling-verbose-logs-long-horizon-tasks)

Learn how TencentDB Agent Memory manages verbose logs in long tasks using its dual logging system. Get detailed traces without impacting production traffic.

- Tags: how-to-guide
- Published: 2026-08-24

### [Heterogeneous Storage Strategy in TencentDB Agent Memory: COS, SQLite, and Graceful Fallback](/TencentCloud/TencentDB-Agent-Memory/heterogenous-storage-strategy-tencentdb-agent-memory)

Explore the heterogeneous storage strategy in TencentDB Agent Memory. Discover how COS, SQLite, and graceful fallback ensure system stability and multi-node safety for your production deployments.

- Tags: deep-dive
- Published: 2026-08-24

### [Why the Layered Memory Approach Beats Flat Vector Stores in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/why-layered-memory-approach-better-than-flat-vector-stores)

Discover why TencentDB Agent Memory's layered memory approach outperforms flat vector stores. Optimize retrieval, control context, and enrich semantics with hierarchical data organization.

- Tags: architecture
- Published: 2026-08-24

### [What Information Is Stored in the L3 Memory Layer of TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/information-stored-in-l3-memory-layer)

Discover what the L3 memory layer stores in TencentDB Agent Memory. Learn about long-term persona profiles, user preferences, habits, and identity for instant context bootstrapping.

- Tags: deep-dive
- Published: 2026-08-24

### [How L2 Memory Layers Are Organized in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-l2-memory-layers-organized)

Discover how TencentDB Agent Memory organizes L2 memory layers using team-agent scoped scenario blocks accessed via /v3/scenario/* API endpoints without session identifiers.

- Tags: internals
- Published: 2026-08-24

### [What Is the Primary Use of the L1 Memory Layer in TencentDB-Agent-Memory?](/TencentCloud/TencentDB-Agent-Memory/primary-use-of-l1-memory-layer)

Discover the primary use of the L1 memory layer in TencentDB-Agent-Memory. Learn how it ensures durable, cross-session persistence for agent interactions and knowledge, maintaining context across LLM workflows.

- Tags: deep-dive
- Published: 2026-08-24

### [What Information Is Stored in the L0 Memory Layer in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-information-stored-in-l0-memory-layer)

Discover what information resides in the L0 memory layer of TencentDB Agent Memory, including raw conversation records, session keys, message content, and metadata. Understand its role as the immutable source of truth.

- Tags: deep-dive
- Published: 2026-08-24

### [TencentDB Agent Memory Four-Layer Model: Complete Guide to L0-L3 Architecture](/TencentCloud/TencentDB-Agent-Memory/explain-four-layer-memory-model)

Master the TencentDB Agent Memory four-layer model L0-L3. Understand how raw dialogue evolves to long-term personas via isolated HTTP endpoints and TypeScript modules. Get the complete guide.

- Tags: architecture
- Published: 2026-08-24

### [How MemoryPanel Enables Team Management in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-memorypanel-aids-team-management)

Discover how MemoryPanel streamlines team management in TencentDB Agent Memory. Create teams, orchestrate agents, and govern memory assets with its centralized UI and REST endpoints.

- Tags: how-to-guide
- Published: 2026-08-24

### [What Is MemoryKnowledge in TencentDB Agent Memory: Purpose and Architecture](/TencentCloud/TencentDB-Agent-Memory/purpose-of-memoryknowledge-in-tencentdb-agent-memory)

Discover MemoryKnowledge in TencentDB Agent Memory. Access reusable Wiki pages, Code-Graph indexes, and Skills via a unified API for efficient retrieval of structured documentation and code intelligence.

- Tags: deep-dive
- Published: 2026-08-24

### [How MemoryCore Functions in TencentDB Agent Memory: Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/how-memorycore-functions-in-tencentdb-agent-memory)

Discover how MemoryCore functions in TencentDB Agent Memory. Learn about the TdaiCore class architecture, memory layers L0-L3, and pipeline scheduling for efficient agent operations.

- Tags: architecture
- Published: 2026-08-24

### [What Is MemoryProxy in TencentDB Agent Memory? Architecture and Integration Guide](/TencentCloud/TencentDB-Agent-Memory/role-of-memoryproxy-in-tencentdb-agent-memory)

Discover MemoryProxy in TencentDB Agent Memory. This HTTP service offers a stable gateway for AI agents to integrate with the Memory Hub, enabling zero-code shared memory.

- Tags: architecture
- Published: 2026-08-24

### [Understanding the Layered Architecture of TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/layered-architecture-of-tencentdb-agent-memory)

Explore the four-layer memory architecture of TencentDB Agent Memory. Discover how L0-L3 organizes user data and access through a Node.js Gateway API.

- Tags: architecture
- Published: 2026-08-24

### [TencentDB Agent Memory Performance Improvements: Benchmarks, Token Efficiency, and Latency](/TencentCloud/TencentDB-Agent-Memory/performance-improvements-with-tencentdb-agent-memory)

Discover TencentDB Agent Memory performance improvements: 59% higher success rates, reduced token use, and faster cold starts. Learn how it enhances LLM efficiency with minimal overhead.

- Tags: performance
- Published: 2026-08-23

### [CodeGraph for Codebase Understanding: Key Characteristics in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/key-characteristics-of-codegraph)

Discover the key characteristics of CodeGraph for codebase understanding. Learn how this metadata-only registry simplifies graph storage and processing for TencentDB Agent Memory.

- Tags: architecture
- Published: 2026-08-23

### [How LLM-Wiki Transforms Documentation into a Searchable Knowledge Base](/TencentCloud/TencentDB-Agent-Memory/how-llm-wiki-transforms-documentation)

Discover how LLM-Wiki transforms markdown documentation into a searchable knowledge base using a three-stage pipeline for efficient agent access to information.

- Tags: how-to-guide
- Published: 2026-08-23

### [What Information Can Be Extracted into Reusable Skills in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-information-can-be-extracted-into-skills)

Discover what information can be extracted into reusable Skills in TencentDB-Agent-Memory. Learn about metadata, workflows, troubleshooting, and success criteria for managing the memory-tencentdb plugin.

- Tags: deep-dive
- Published: 2026-08-23

### [How Skills Are Managed and Shared Within TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-skills-are-managed-and-shared)

Discover how TencentDB Agent Memory manages and shares versioned, asset-based skills. Explore ACL systems for ownership, visibility, and runtime permissions across teams.

- Tags: internals
- Published: 2026-08-23

### [Key Characteristics of Chat Memory in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/key-characteristics-of-chat-memory)

Discover the key characteristics of Chat Memory in TencentDB Agent Memory. Learn about its persistent, hierarchical structure, data layers, bulk operations, ACL controls, and lifecycle management for effective conversational co...

- Tags: deep-dive
- Published: 2026-08-23

### [How TencentDB Agent Memory Ensures Full Traceability of Data: UUID-v7 Tracing Across Langfuse and Opik](/TencentCloud/TencentDB-Agent-Memory/how-full-traceability-is-ensured)

TencentDB Agent Memory uses UUID-v7 tracing across Langfuse and Opik to ensure full data traceability. Track every request with HTTP headers, observability platforms, and SQLite storage for complete auditability.

- Tags: how-to-guide
- Published: 2026-08-23

### [How the Top Memory Layer (L3) Is Stored in TencentDB Agent Memory: Architecture and Design](/TencentCloud/TencentDB-Agent-Memory/how-top-memory-layer-is-stored)

Discover how TencentDB Agent Memory stores its top L3 memory layer as a time agnostic document blob in the Memory Hub, enabling instant system prompt injection without vector search overhead.

- Tags: architecture
- Published: 2026-08-23

### [Bottom-Layer Storage Databases in TencentDB-Agent-Memory: SQLite and ClickHouse Architecture Explained](/TencentCloud/TencentDB-Agent-Memory/databases-for-bottom-storage-layer)

Discover how TencentDB-Agent-Memory leverages SQLite for asset storage and ClickHouse for telemetry analytics, forming a robust dual-database persistence layer. Learn about their architecture.

- Tags: internals
- Published: 2026-08-23

### [How TencentDB Agent Memory Implements a Dual-Layer Storage Strategy](/TencentCloud/TencentDB-Agent-Memory/dual-layer-storage-strategy)

Discover TencentDB Agent Memory's dual-layer storage strategy. Learn how TCVDB and COS combine for fast similarity search and cost-effective storage of your data.

- Tags: architecture
- Published: 2026-08-23

### [Symbolic Memory Token Reduction Percentage: 42% Efficiency in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/token-reduction-percentage-symbolic-memory)

Discover how Symbolic Memory achieves 42% token reduction for TencentDB Agent Memory. Lower API costs and latency with efficient symbolic representations before LLM processing.

- Tags: performance
- Published: 2026-08-23

### [What Are Mermaid Symbols and How They Reduce Token Usage in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-mermaid-symbols-and-token-reduction)

Discover Mermaid symbols in TencentDB Agent Memory. Learn how these compact identifiers replace text, slash token usage, and optimize LLM prompts for efficiency.

- Tags: how-to-guide
- Published: 2026-08-23

### [How Context Offloading Works in TencentDB Agent Memory: Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/how-context-offloading-works)

Discover how TencentDB Agent Memory offloads context using a three-stage pipeline (Ingest, Compact, Query) for efficient long-horizon task processing and optimized token usage.

- Tags: architecture
- Published: 2026-08-23

### [How TencentDB Agent Memory Prevents Memory from Overwhelming the Context Window](/TencentCloud/TencentDB-Agent-Memory/preventing-memory-overload-context-window)

Discover how TencentDB Agent Memory prevents LLM context window overload with tiered storage, automatic summarization, and strict token budgeting, ensuring efficient memory management.

- Tags: deep-dive
- Published: 2026-08-23

### [TencentDB Agent Memory Retrieval Techniques: BM25, Vector Search, and Hybrid Fusion Explained](/TencentCloud/TencentDB-Agent-Memory/retrieval-techniques-used)

Explore TencentDB Agent Memory retrieval techniques: BM25, vector search, and hybrid fusion (RRF). Discover how layered memory stores enhance LLM agent context retrieval for optimal performance.

- Tags: deep-dive
- Published: 2026-08-23

### [How TencentDB Agent Memory Handles Fact Retrieval: A Two-Step RAG Architecture](/TencentCloud/TencentDB-Agent-Memory/retrieval-strategy-for-specific-facts)

Discover how TencentDB Agent Memory uses a two-step RAG architecture to dynamically inject knowledge tool blocks into LLM prompts for efficient on-demand fact extraction.

- Tags: architecture
- Published: 2026-08-23

### [How Persona (L3) Represents Long-Term Cognition in the TencentDB Agent](/TencentCloud/TencentDB-Agent-Memory/how-persona-l3-represents-long-term-cognition)

Discover how Persona L3 in TencentDB Agent captures long-term cognition. It uses a markdown file for a stable, human-readable agent "brain" that evolves over time.

- Tags: deep-dive
- Published: 2026-08-23

### [What Is the Purpose of Scenarios (L2) in TencentDB Agent Memory Layering?](/TencentCloud/TencentDB-Agent-Memory/purpose-of-scenarios-l2-memory)

Discover how Scenarios L2 in TencentDB Agent Memory act as project-level containers for shared knowledge, enabling rapid context bootstrapping and team collaboration without replaying raw conversations.

- Tags: deep-dive
- Published: 2026-08-23

### [How Atoms (L1) Are Extracted and Used in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-atoms-l1-are-extracted-and-used)

Learn how TencentDB Agent Memory extracts Atoms L1 using an LLM pipeline and utilizes them via REST APIs to enhance agent context, generate skills, and power retrieval decisions.

- Tags: internals
- Published: 2026-08-23

### [What Is the L0 Conversation Layer in TencentDB Agent Memory Architecture?](/TencentCloud/TencentDB-Agent-Memory/role-of-conversation-l0-memory)

Discover the L0 Conversation layer, the immutable foundation of TencentDB Agent Memory. It captures raw dialogue in JSON-L for agent retrieval and memory extraction.

- Tags: architecture
- Published: 2026-08-23

### [How TencentDB Agent Memory Layers Work: From L0 Conversations to L3 Personas](/TencentCloud/TencentDB-Agent-Memory/memory-layering-l0-to-l3)

Discover how TencentDB Agent Memory layers memory from L0 conversations to L3 personas. Learn about the asynchronous transformation of data into facts, context blocks, and persona profiles for efficient knowledge retrieval.

- Tags: deep-dive
- Published: 2026-08-23

### [What Are the Four Reusable Memory Assets in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-are-the-four-memory-assets)

Discover the four reusable memory assets in TencentDB Agent Memory: Chat Memory, Skill, Wiki, and CodeGraph. Learn how they capture knowledge and enable inheritance via the Memory Hub.

- Tags: deep-dive
- Published: 2026-08-23

### [How TencentDB Agent Memory Reduces Repetitive Work for AI Agents](/TencentCloud/TencentDB-Agent-Memory/how-tencentdb-agent-memory-reduces-repetitive-work)

TencentDB Agent Memory cuts AI agent repetitive work. Persist chat memory, skills, and knowledge in a central hub, enabling new agents to inherit institutional learning, not rediscover it.

- Tags: deep-dive
- Published: 2026-08-23

### [How Skill Bridging Is Implemented and Exposed via MemoryProxy in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/skill-bridging-implementation-memoryproxy)

Discover how TencentDB Agent Memory implements skill bridging via MemoryProxy. Learn about secure LLM invocation with multi-layer session validation and write-access controls.

- Tags: internals
- Published: 2026-08-22

### [How Cost Guard and Rate Limiting Protect LLM Traffic in MemoryProxy: Full Breakdown](/TencentCloud/TencentDB-Agent-Memory/purpose-cost-guard-rate-limiting-memoryproxy)

Discover how MemoryProxy’s rate limiting and cost guard shield LLM traffic, prevent runaway costs, and protect upstream providers from burst traffic.

- Tags: deep-dive
- Published: 2026-08-22

### [How MemoryProxy Handles Redis Session Storage: A Deep Dive into RedisSessionStore](/TencentCloud/TencentDB-Agent-Memory/memoryproxy-redis-session-storage)

Learn how MemoryProxy manages Redis session storage using RedisSessionStore. Discover JSON serialization, TTLs, atomic counters, and graceful degradation.

- Tags: deep-dive
- Published: 2026-08-22

### [What Are Agent Adapters in MemoryProxy and Where Are They Located?](/TencentCloud/TencentDB-Agent-Memory/agent-adapters-memoryproxy-location)

Discover Agent Adapters in MemoryProxy, located in MemoryProxy/src/agent-adapters/. Learn how these TypeScript modules standardize IDE tool request payloads for better integration.

- Tags: deep-dive
- Published: 2026-08-22

### [How MemoryProxy Injects Team Memory and Skills into LLM Requests](/TencentCloud/TencentDB-Agent-Memory/how-memoryproxy-injects-memory-skills-llm-requests)

Learn how MemoryProxy injects team memory and skills into LLM requests. Discover how it uses injectors and HTTP headers to enable LLM access to team resources securely.

- Tags: deep-dive
- Published: 2026-08-22

### [LLM Provider Modes for Standalone Overrides in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/llm-provider-modes-standalone-openai-proxy)

Explore LLM provider modes like openai and proxy for standalone overrides in TencentDB-Agent-Memory. Discover how the llm-provider-resolver gateway enables flexible deployment.

- Tags: how-to-guide
- Published: 2026-08-22

### [How to Configure Standalone LLM Overrides in TDAI Core](/TencentCloud/TencentDB-Agent-Memory/configure-standalone-llm-override-tdai-core)

Configure standalone LLM overrides in TDAI Core by editing YAML files, using environment variables, or command-line flags. Learn how to customize your LLM settings effectively.

- Tags: how-to-guide
- Published: 2026-08-22

### [How to Configure Context Offload Thresholds and Compression Ratios in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/context-offload-thresholds-compression-ratios-configuration)

Configure Context Offload thresholds and compression ratios in TencentDB Agent Memory using the OffloadConfig interface. Control L1 flush triggers, L2 timeouts, and L3 compression via YAML, env vars, or SDK.

- Tags: how-to-guide
- Published: 2026-08-22

### [Context Offload Modes in TencentDB Agent Memory: A Technical Guide to ingest, compact, and query-mmd](/TencentCloud/TencentDB-Agent-Memory/context-offload-modes-tencentdb-agent-memory)

Explore TencentDB Agent Memory's three context offload modes ingest, compact, and query-mmd. Learn how to persist data, compress history, and visualize task flows.

- Tags: how-to-guide
- Published: 2026-08-22

### [How the Skill Module Handles CRUD Operations and Fast Retrieval in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/skill-module-crud-fast-retrieval)

Learn how the Skill Module handles CRUD operations using the SkillClient SDK and achieves sub-millisecond retrieval with its in-memory fast-path matcher in TencentDB-Agent-Memory.

- Tags: how-to-guide
- Published: 2026-08-22

### [How Skills in TencentDB Agent Memory Work and Are Versioned](/TencentCloud/TencentDB-Agent-Memory/skills-tencentdb-agent-memory-versioning)

Discover how Skills in TencentDB Agent Memory function as versioned knowledge assets. Learn about their structure, management, and team-wide accessibility. Explore reusable agent expertise.

- Tags: deep-dive
- Published: 2026-08-22

### [How TCVDB Storage Backend Configuration Works in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/tcvdb-storage-backend-configuration)

Learn how TCVDB storage backend configuration activates your TencentDB Agent Memory. Discover how to set storeBackend to tcvdb and initialize a remote Vector Database client.

- Tags: how-to-guide
- Published: 2026-08-22

### [How BM25 Sparse Indexing Works in MemoryCore: Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/bm25-sparse-indexing-memorycore)

Discover how BM25 sparse indexing is implemented in MemoryCore. Learn about client-side encoding, weighted term vectors, and efficient document retrieval with Tencent Cloud VectorDB.

- Tags: architecture
- Published: 2026-08-22

### [MemoryCore Storage Backends: SQLite vs TCVDB Configuration Guide](/TencentCloud/TencentDB-Agent-Memory/memorycore-storage-backends-sqlite-tcvdb)

Explore MemoryCore storage backends: SQLite vs TCVDB. Learn configuration details and choose the best option for your vector storage needs. Automatic fallback included.

- Tags: how-to-guide
- Published: 2026-08-22

### [How the TDAI Core Pipeline Is Initialized and Configured: A Deep Dive into TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/tdai-core-pipeline-initialization-configuration)

Discover how the TDAI Core pipeline initializes and configures its multi-stage memory pipeline. Learn about directory setup, store creation, and LLM runner wiring.

- Tags: deep-dive
- Published: 2026-08-22

### [What Is TDAI Core? Architecture of TencentDB AI's Memory Engine](/TencentCloud/TencentDB-Agent-Memory/tdai-core-function)

Discover TDAI Core, the memory and metadata engine for TencentDB Agent Memory. Learn how it captures, indexes, and serves conversational memory through a unified HTTP gateway for agent integration.

- Tags: architecture
- Published: 2026-08-22

### [How Memory Assets Are Managed for Ownership, Visibility, Versioning, and Status in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/memory-asset-management-ownership-visibility-versioning-status)

Discover how TencentDB-Agent-Memory manages Memory Assets. Learn about ownership, visibility, versioning, and status using AssetEntity records and server-side enforcement via metadata-service.ts.

- Tags: how-to-guide
- Published: 2026-08-22

### [Understanding the Memory Asset Model in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/memory-asset-model-tencentdb-agent-memory)

Explore the Memory Asset Model in TencentDB Agent Memory. Learn how it treats reusable knowledge like Chat Memory and Skills as versioned, permission-aware Memory Assets.

- Tags: deep-dive
- Published: 2026-08-22

### [How the L0-L3 Memory Pipeline Is Triggered and Self-Warming Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/l0-l3-memory-pipeline-trigger-self-warming)

Discover how TencentDB Agent Memory triggers the L0-L3 memory pipeline and utilizes self-warming to pre-cache data, reducing I/O latency and boosting performance.

- Tags: internals
- Published: 2026-08-22

### [How TencentDB Agent Memory's Layered Architecture (L0-L3) Works](/TencentCloud/TencentDB-Agent-Memory/layered-memory-architecture-l0-l3-explanation)

Understand TencentDB Agent Memory's L0-L3 layered architecture. Learn how it refines conversations into reusable knowledge for instant high-level context and granular historical recall.

- Tags: architecture
- Published: 2026-08-22

### [MemoryCore, MemoryPanel, and MemoryKnowledge Service Responsibilities Explained](/TencentCloud/TencentDB-Agent-Memory/responsibilities-memorycore-memorypanel-memoryknowledge)

Understand MemoryCore, MemoryPanel, and MemoryKnowledge service responsibilities. Learn how MemoryCore handles data, MemoryPanel manages UI, and MemoryKnowledge processes knowledge assets for TencentDB Agent Memory.

- Tags: internals
- Published: 2026-08-22

### [How MemoryProxy Interacts with Coding Agents: Architecture and Integration Flow](/TencentCloud/TencentDB-Agent-Memory/how-memoryproxy-interacts-coding-agents)

Discover how MemoryProxy interacts with coding agents by transparently proxying LLM requests, managing authentication, and injecting context before forwarding to upstream models. Learn the integration flow.

- Tags: architecture
- Published: 2026-08-22

### [Understanding the Four-Service Architecture of TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-four-service-architecture)

Explore the four-service architecture of TencentDB Agent Memory. Discover how its independent containers handle storage, retrieval, routing, and UI for efficient memory management.

- Tags: architecture
- Published: 2026-08-22

### [How TencentDB Agent Memory Lets AI Agents Share Experience](/TencentCloud/TencentDB-Agent-Memory/how-tencentdb-agent-memory-share-experience)

Learn how TencentDB Agent Memory lets AI agents share experience. TDAI's MemoryCore gateway and shared flag enable instant teammate recall of memories.

- Tags: how-to-guide
- Published: 2026-08-22

### [How TencentDB Agent Memory Enables Agents to Reason, Not Just Remember](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-help-agents-reason-better-not-just-remember-more)

Discover how TencentDB Agent Memory transforms logs into actionable knowledge for agent reasoning, going beyond simple memory retrieval. Enhance your agent's capabilities today.

- Tags: deep-dive
- Published: 2026-08-21

### [What Is the MemoryKnowledge Module in TencentDB-Agent-Memory?](/TencentCloud/TencentDB-Agent-Memory/what-is-purpose-of-memoryknowledge-module)

Discover the TencentDB Agent Memory Knowledge module. It transforms data into searchable assets accessible through a REST API, empowering agents with on-demand knowledge.

- Tags: deep-dive
- Published: 2026-08-21

### [Where Are the Core Components of TencentDB Agent Memory Located?](/TencentCloud/TencentDB-Agent-Memory/where-are-core-components-of-tencentdb-agent-memory-located-in-repository)

Discover the location of TencentDB Agent Memory core components. Find MemoryCore, MemoryProxy, and MemoryKnowledge packages on the feat/server_team branch to understand its architecture.

- Tags: internals
- Published: 2026-08-21

### [Understanding the Memory Proxy and Memory Hub in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-role-of-memory-proxy-and-memory-hub)

Learn about the Memory Proxy and Memory Hub in TencentDB Agent Memory. The Hub centralizes memory assets and ACLs, while the Proxy acts as a gateway for agents. Understand their roles.

- Tags: internals
- Published: 2026-08-21

### [TencentDB Agent Memory Supported Agent Frameworks: Complete Integration Guide](/TencentCloud/TencentDB-Agent-Memory/which-agent-frameworks-are-supported-by-tencentdb-agent-memory)

Discover TencentDB Agent Memory's supported agent frameworks including Claude Code, DeepSeek Harness, Codex and more. Seamlessly integrate with zero-code proxy architecture.

- Tags: getting-started
- Published: 2026-08-21

### [Memory Proxy Architecture and Zero-Code Integration in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-proxy-architecture-and-how-does-it-enable-zero-code-integration)

Discover the Memory Proxy architecture in TencentDB Agent Memory. Learn how this transparent HTTP layer enables zero-code integration for LLM requests, seamlessly injecting skills and knowledge.

- Tags: architecture
- Published: 2026-08-21

### [How TencentDB Agent Memory Measures and Improves Long-Term Memory Capabilities](/TencentCloud/TencentDB-Agent-Memory/how-are-long-term-memory-capabilities-measured-and-improved)

Measure and improve TencentDB Agent Memory long-term capabilities with automated scoring, end-to-end testing, and pipeline tuning for enhanced extraction accuracy.

- Tags: how-to-guide
- Published: 2026-08-21

### [TencentDB Agent Memory Performance Improvements on WideSearch and SWE-bench Benchmarks](/TencentCloud/TencentDB-Agent-Memory/what-performance-improvements-does-tencentdb-agent-memory-show-on-benchmarks)

Discover TencentDB Agent Memory's performance improvements, achieving up to 59% higher scores on WideSearch and SWE-bench by optimizing token consumption and memory retention with its advanced architecture.

- Tags: performance
- Published: 2026-08-21

### [How the Loadout Model Enables Secure Experience Sharing in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-loadout-model-enable-sharing-experience-without-exposing-private-information)

Discover how the loadout model in TencentDB Agent Memory allows secure experience sharing. Control visibility and isolate private data with ACLs for safe knowledge exchange.

- Tags: deep-dive
- Published: 2026-08-21

### [Understanding Visibility Semantics for Memory Assets in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-different-visibility-semantics-for-memory-assets)

Explore five visibility semantics private team restricted agent and task for memory assets in TencentDB Agent Memory Learn how these levels control access across layers and maximize security

- Tags: deep-dive
- Published: 2026-08-21

### [How Memory Assets Are Registered and Managed Using Fixed Binding + ACL in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-are-memory-assets-registered-and-managed-using-fixed-binding-acl)

Learn how TencentDB Agent Memory registers and manages memory assets using Fixed Binding and ACL for secure access control and granular permissions.

- Tags: how-to-guide
- Published: 2026-08-21

### [Token Reduction Benchmarks for TencentDB Agent Memory: Measuring 59% Cost Savings](/TencentCloud/TencentDB-Agent-Memory/what-are-token-reduction-benchmarks-for-tencentdb-agent-memory)

Discover token reduction benchmarks for TencentDB Agent Memory. Achieve 59% cost savings with improved token efficiency from 48% to 76% without sacrificing accuracy.

- Tags: performance
- Published: 2026-08-21

### [How the Node_ID Tracing Mechanism Works for Verification in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-node_id-tracing-mechanism-work-for-verification)

Understand the node_id tracing mechanism for verification in TencentDB Agent Memory. Discover how it groups user requests into a single Langfuse trace for efficient tool call sequence verification without a server-side counter.

- Tags: internals
- Published: 2026-08-21

### [What Is Symbolic Memory Encoding Using Mermaid Syntax in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-symbolic-memory-encoding-using-mermaid-syntax-in-this-system)

Discover symbolic memory encoding in TencentDB Agent Memory. Learn how Mermaid syntax transforms meaningful memories into compact, machine-readable flowcharts for agent cognitive snapshots.

- Tags: deep-dive
- Published: 2026-08-21

### [How TencentDB Agent Memory Handles Context Offloading for Long-Horizon Tasks](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-handle-context-offloading-for-long-horizon-tasks)

Discover how TencentDB Agent Memory manages context offloading for long-horizon tasks. Learn about its three-stage pipeline, task executors, and efficient data compression for seamless real-time interactions.

- Tags: deep-dive
- Published: 2026-08-21

### [Understanding the Heterogeneous Storage Strategy in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-heterogeneous-storage-strategy-used-in-tencentdb-agent-memory)

Learn about TencentDB Agent Memory's heterogeneous storage strategy. Discover how it cascades through COS, SQLite, filesystem, and memory for resilient operation and data availability.

- Tags: deep-dive
- Published: 2026-08-21

### [How TencentDB Agent Memory Implements Long-Term Personalization Through Layered Memory Architecture](/TencentCloud/TencentDB-Agent-Memory/describe-long-term-personalization-layering-in-tencentdb-agent-memory)

Explore TencentDB Agent Memory's layered architecture L0-L3 for efficient long-term personalization. Isolate data, retrieve persona knowledge, and maintain scope boundaries.

- Tags: architecture
- Published: 2026-08-21

### [How Short-Term Context Layering Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/explain-short-term-context-layering-in-tencentdb-agent-memory)

Understand TencentDB Agent Memory's short-term context layering. Discover how real-time data is distilled into layered knowledge for efficient retrieval and optimized token use.

- Tags: internals
- Published: 2026-08-21

### [What Is Code-Graph and How Does It Help With Code Modifications?](/TencentCloud/TencentDB-Agent-Memory/what-is-code-graph-and-how-does-it-help-with-code-modifications)

Discover Code Graph, a searchable index of code symbols and relationships. Learn how it empowers AI agents to understand impact, trace dependencies, and perform safer code modifications.

- Tags: deep-dive
- Published: 2026-08-21

### [How LLM-Wiki Transforms Documentation for Agents: A Technical Deep Dive](/TencentCloud/TencentDB-Agent-Memory/how-does-llm-wiki-transform-documentation-for-agents)

Discover how LLM-Wiki transforms documentation for agents. Learn technical details on chunking, LLM summaries, embeddings, and SQLite indexing for efficient knowledge retrieval.

- Tags: deep-dive
- Published: 2026-08-21

### [What Are Skills in TencentDB Agent Memory and How Are They Shared?](/TencentCloud/TencentDB-Agent-Memory/what-are-skills-in-tencentdb-agent-memory-and-how-are-they-shared)

Discover TencentDB Agent Memory skills, versioned knowledge assets for agent workflows. Learn how to share them effectively using team ACL controls and visibility settings.

- Tags: deep-dive
- Published: 2026-08-21

### [How Chat Memory is Structured in TencentDB Agent Memory: Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/how-is-chat-memory-structured-in-tencentdb-agent-memory)

Explore Chat Memory structure in TencentDB Agent Memory. Discover its architecture with deterministic IDs, multi-tiered storage, and Memory Bridge service for efficient retrieval.

- Tags: architecture
- Published: 2026-08-21

### [What Are the Four Core Memory Types in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-are-four-core-memory-types-in-tencentdb-agent-memory)

Discover the four core memory types in TencentDB Agent Memory: Conversation, Atomic, Scenario, and Core. Understand this memory pyramid for efficient contextual retrieval and reasoning.

- Tags: deep-dive
- Published: 2026-08-21

### [How TencentDB Agent Memory Implements a Four-Layer Memory Architecture](/TencentCloud/TencentDB-Agent-Memory/how-tencentdb-agent-memory-implements-layered-memory-architecture)

Discover how TencentDB Agent Memory uses a four-layer architecture L0L3 to manage conversation data, atomic memories, scene blocks, and persona profiles. Access memories via a secure Node.js Gateway.

- Tags: architecture
- Published: 2026-08-21

### [How to Configure Redis vs ProxyStorage for Injection and Skill Data Storage in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/configure-redis-vs-proxystorage-data-storage)

Configure Redis or ProxyStorage for data storage in TencentDB-Agent-Memory. Learn how to set STATE_BACKEND, REDIS HOST, PORT, and KEY_PREFIX for distributed or single-node deployments.

- Tags: how-to-guide
- Published: 2026-08-20

### [How Knowledge Injection Works with `/v3/tools/list` and `/v3/tools/call` in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/knowledge-injection-v3-tools-list-call)

Learn how knowledge injection works with /v3/tools/list and /v3/tools/call in TencentDB-Agent-Memory. Agents discover and invoke reusable assets via REST endpoints for efficient, on-demand knowledge access.

- Tags: how-to-guide
- Published: 2026-08-20

### [Understanding the ProxyStorage Fallback Chain in TencentDB-Agent-Memory: cos → sqlite → fs → memory](/TencentCloud/TencentDB-Agent-Memory/proxystorage-fallback-chain-cos-sqlite-fs-memory)

Explore the ProxyStorage fallback chain in TencentDB-Agent-Memory from cos to sqlite, fs, and memory. Understand graceful degradation for robust data persistence.

- Tags: internals
- Published: 2026-08-20

### [How mem: Commands (sync, create-skill, help) Get Intercepted Without Incurring LLM Costs in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/mem-commands-intercepted-without-llm-cost)

Learn how TencentDB-Agent-Memory intercepts mem commands like sync, create-skill, and help server-side, bypassing LLM costs entirely. Discover efficient command execution.

- Tags: internals
- Published: 2026-08-20

### [Admin API Key vs User Key Authentication in TencentDB-Agent-Memory: Key Differences Explained](/TencentCloud/TencentDB-Agent-Memory/admin-api-key-authentication-vs-user-key-verification)

Understand the key differences between admin API key and user_key authentication in TencentDB-Agent-Memory. Learn how each method secures your data and access.

- Tags: deep-dive
- Published: 2026-08-20

### [SQLite Sweeper Behavior and `ttlDays` in TencentDB-Agent-Memory: Complete Implementation Guide](/TencentCloud/TencentDB-Agent-Memory/sqlite-sweeper-behavior-ttldays-function)

Understand SQLite sweeper behavior in TencentDB-Agent-Memory. Learn how ttlDays automatically purges stale data from the ttl bucket, preserving important entries.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Set Up Langfuse or Opik Observability for Injection Spans in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/setup-langfuse-opik-observability-injection-spans)

Easily set up Langfuse or Opik observability for injection spans in TencentDB-Agent-Memory. Configure via YAML or env vars and automatically track LLM generations.

- Tags: how-to-guide
- Published: 2026-08-20

### [How CC Request Routing Differentiates Main, Fork, and Sidequery Requests in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/cc-request-routing-main-fork-sidequery-differentiation)

Learn how TencentDB-Agent-Memory uses classifyCcRequest to differentiate main, fork, and sidequery requests based on cache control, tools, and thinking configuration.

- Tags: how-to-guide
- Published: 2026-08-20

### [Visibility Levels and ACL Rules in TencentDB-Agent-Memory: The Complete Guide](/TencentCloud/TencentDB-Agent-Memory/visibility-levels-acl-rules-tencentdb-agent-memory)

Master TencentDB-Agent-Memory visibility levels private team restricted agent and task. Understand ACL rules to control asset access effectively.

- Tags: how-to-guide
- Published: 2026-08-20

### [How the Extraction Pipeline Writes Back to the Kernel (L0 Writing, Skill Extraction) in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/extraction-pipeline-write-back-to-kernel)

Understand how the TencentDB-Agent-Memory extraction pipeline writes back to the kernel via L0 writing and skill extraction. Learn the four-stage async flow for efficient data processing.

- Tags: internals
- Published: 2026-08-20

### [Credit Pricing Model and ClickHouse Usage Reporting in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/credit-pricing-model-usage-reporting-clickhouse)

Understand the TencentDB-Agent-Memory credit pricing model based on token usage and learn how credits are reported to ClickHouse for auditing and reporting.

- Tags: architecture
- Published: 2026-08-20

### [How to Configure Per-Agent Upstream Routing with Different API Keys in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/configure-per-agent-upstream-routing-different-api-keys)

Learn how to configure per-agent upstream routing with different API keys in TencentDB-Agent-Memory. Define agent-specific entries in upstream.agents to override URLs and authorization headers for distinct upstream services.

- Tags: how-to-guide
- Published: 2026-08-20

### [How Asset Reflection Mode Functions for Internal Effect Evaluation in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/asset-reflection-mode-internal-effect-evaluation)

Discover how TencentDB-Agent-Memory's asset reflection mode works for internal effect evaluation. Learn how LLM agents analyze cloud asset tool effectiveness.

- Tags: deep-dive
- Published: 2026-08-20

### [SkillInjector vs TdaiToolsInjector vs KnowledgeToolsInjector in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/skillinjector-tdaitoolsinjector-knowledgetoolsinjector-differences)

Understand SkillInjector TdaiToolsInjector and KnowledgeToolsInjector in TencentDB-Agent-Memory. Learn their differences in asset scope injection position and tool functionality.

- Tags: deep-dive
- Published: 2026-08-20

### [How to Add a New Agent Adapter to TencentDB-Agent-Memory: A Complete Developer Guide](/TencentCloud/TencentDB-Agent-Memory/add-new-agent-adapter-cursor-codex)

Learn how to add a new agent adapter to TencentDB-Agent-Memory. Follow this developer guide to implement and register your custom adapter for enhanced functionality.

- Tags: how-to-guide
- Published: 2026-08-20

### [Hook Cache Strategy in TencentDB-Agent-Memory: How `prewarmAll` Boosts Performance](/TencentCloud/TencentDB-Agent-Memory/hook-cache-strategy-and-prewarmall-performance)

Understand TencentDB-Agent-Memory hook cache strategy. Discover how prewarmAll enhances performance by initializing hooks in parallel, reducing latency.

- Tags: performance
- Published: 2026-08-20

### [How Session Initialization Works in TencentDB-Agent-Memory: Team, Agent, and Task Selection Flow](/TencentCloud/TencentDB-Agent-Memory/session-initialization-flow-team-agent-task-selection)

Understand TencentDB-Agent-Memory session initialization. Discover how V3IsolationContext isolates requests for precise routing storage and auditability in LLM operations.

- Tags: internals
- Published: 2026-08-20

### [COS Lifecycle Rule Configuration for ttl/nottl Prefixes in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/cos-lifecycle-rule-configuration-for-ttl-nottl-prefixes)

Configure COS lifecycle rules in TencentDB-Agent-Memory to automatically delete objects with ttl prefixes and retain objects with nottl prefixes permanently. Learn how to manage your data effectively.

- Tags: how-to-guide
- Published: 2026-08-20

### [How ProxyStorage in TencentDB-Agent-Memory Replaces Redis for Session and Hook Caching](/TencentCloud/TencentDB-Agent-Memory/how-proxystorage-replaces-redis-for-caching)

Discover how TencentDB-Agent-Memory's ProxyStorage replaces Redis for caching. Explore options like SQLite, filesystem, memory, or COS for session and hook management.

- Tags: how-to-guide
- Published: 2026-08-20

### [How to Configure Multi-Node Deployment in TencentDB-Agent-Memory to Prevent Hook Cache Thrashing](/TencentCloud/TencentDB-Agent-Memory/configure-multi-node-deployment-prevent-hook-cache-thrashing)

Configure multi-node TencentDB-Agent-Memory deployment to prevent hook cache thrashing. Set external gateway URL and use Redis for a shared cache.

- Tags: how-to-guide
- Published: 2026-08-20

### [TencentDB Agent Memory Storage Backends: COS, SQLite, FS, and Memory Options Explained](/TencentCloud/TencentDB-Agent-Memory/storage-backend-options-and-when-to-use)

Explore TencentDB Agent Memory storage backends: COS, SQLite, FS, and Memory. Understand which option suits your needs and discover automatic fallback mechanisms for robust data handling.

- Tags: deep-dive
- Published: 2026-08-20

### [How ClaudeCodeProfile, CodeBuddyProfile, and WorkbuddyProfile Detect and Parse Agent Prompts in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-agent-profiles-detect-and-parse-prompts)

Learn how ClaudeCodeProfile, CodeBuddyProfile, and WorkbuddyProfile detect and parse agent prompts. Discover the three-method interface for prompt processing in TencentDB-Agent-Memory.

- Tags: internals
- Published: 2026-08-20

### [L0, L1, L2, and L3 Memory Layers in TencentDB-Agent-Memory: When to Use Each](/TencentCloud/TencentDB-Agent-Memory/difference-between-l0-l1-l2-l3-memory-layers-and-when-to-use)

Understand TencentDB-Agent-Memory's L0 L1 L2 L3 memory layers. Learn when to use each for transient and persistent knowledge storage to optimize your agent's performance.

- Tags: deep-dive
- Published: 2026-08-20

### [How InjectionPipeline Works in TencentDB-Agent-Memory: A Complete Technical Guide](/TencentCloud/TencentDB-Agent-Memory/how-does-injectionpipeline-work-and-how-are-injectors-registered)

Learn how the InjectionPipeline in TencentDB-Agent-Memory processes LLM requests by parsing payloads executing hooks and serializing context Discover injector registration via HookRegistry in this technical guide.

- Tags: deep-dive
- Published: 2026-08-20

### [How to Use the OpenAPI/Swagger Documentation for the Knowledge Service in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-use-openapi-swagger-documentation-for-knowledge-service)

Learn how to leverage the OpenAPI Swagger UI for the TencentDB Agent Memory Knowledge service. Browse, test, and copy API requests directly from your browser for efficient integration.

- Tags: api-reference
- Published: 2026-08-19

### [How to Deploy Memory-Core, Memory-Hub, and Proxy Services for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-deploy-memory-core-memory-hub-and-proxy-services)

Deploy TencentDB Agent Memory services including memory-core, memory-hub, and proxy. Learn Standalone and Service modes for local development and production deployments.

- Tags: how-to-guide
- Published: 2026-08-19

### [How to Import Existing Codebases and Documents for Cold Start in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-import-existing-codebases-and-documents-for-cold-start)

Learn how to import existing codebases and documents for cold start in TencentDB Agent Memory. Populate your knowledge graph efficiently with our step by step guide.

- Tags: how-to-guide
- Published: 2026-08-19

### [TencentDB Agent Memory v3 API Error Codes: Complete Reference and Handling Guide](/TencentCloud/TencentDB-Agent-Memory/what-error-codes-does-the-v3-api-return-and-how-to-handle-them)

Master TencentDB Agent Memory v3 API error codes. This guide details numeric error codes and provides strategies for handling client, resource, or backend failures. Learn to resolve issues efficiently.

- Tags: api-reference
- Published: 2026-08-19

### [How to Handle Batch Deletes with message_ids and session_ids Limits in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-handle-batch-deletes-with-message-ids-and-session-ids-limits)

Learn to handle batch deletes with message_ids and session_ids limits in TencentDB Agent Memory. Use deleteConversation with up to 5,000 message_ids or 100 session_ids and catch ParamError.

- Tags: how-to-guide
- Published: 2026-08-19

### [clearChatMemory vs deleteConversation in TencentDB Agent Memory: What's the Difference?](/TencentCloud/TencentDB-Agent-Memory/whats-the-difference-between-clear-chat-memory-and-delete-conversation)

Understand the key differences between clearChatMemory and deleteConversation in TencentDB Agent Memory. Learn when to use each to manage your chat data effectively.

- Tags: deep-dive
- Published: 2026-08-19

### [How Visibility Levels (Private/Team/Restricted/Agent) and ACL Work in TencentDB‑Agent‑Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-visibility-levels-private-team-restricted-agent-and-acl-work)

Understand TencentDB Agent Memory visibility levels (Private, Team, Restricted, Agent) and ACL for precise access control. Learn how to manage permissions effectively.

- Tags: internals
- Published: 2026-08-19

### [How to Integrate Claude Code, Codex, and Other Agents via TencentDB Agent Memory Proxy](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-with-claude-code-codex-or-other-agents-via-proxy)

Integrate Claude Code, Codex, and other agents with TencentDB Agent Memory Proxy. Add shared Chat Memory, Wiki, CodeGraph, and Skills to conversations with zero code changes.

- Tags: how-to-guide
- Published: 2026-08-19

### [How to Use `/v3/tools/list` and `/v3/tools/call` for Agent Self-Discovery](/TencentCloud/TencentDB-Agent-Memory/how-to-use-v3-tools-list-and-v3-tools-call-for-agent-self-discovery)

Learn to use /v3/tools/list and /v3/tools/call for agent self-discovery in TencentDB-Agent-Memory. Dynamically discover and invoke tools, eliminating hard-coded definitions.

- Tags: how-to-guide
- Published: 2026-08-19

### [How CodeGraph Indexing for Codebases Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-codegraph-indexing-for-codebases-work)

Discover how CodeGraph indexing transforms your Git repo into a searchable code graph within TencentDB Agent Memory. Learn about its asynchronous, multi-tenant pipeline and build serialization.

- Tags: deep-dive
- Published: 2026-08-19

### [How Wiki Knowledge Base Ingestion and Link Graph Work in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-wiki-knowledge-base-ingestion-and-link-graph-work)

Explore how TencentDB-Agent-Memory ingests Wiki knowledge and builds a link graph for enhanced design document navigation and LLM-driven content discovery.

- Tags: deep-dive
- Published: 2026-08-19

### [How to Manage Skill Resources and Files in TencentDB Agent Memory: Complete SDK Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-manage-skill-resources-and-files)

Learn to manage skill resources and files with the TencentDB Agent Memory TypeScript SDK. Use SkillClient to create, read, write, and version control files via dedicated HTTP endpoints.

- Tags: how-to-guide
- Published: 2026-08-19

### [Skill Extraction from Conversations: How It Works and What Triggers It in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-skill-extraction-from-conversations-work-and-what-are-the-triggers)

Discover how skill extraction from conversations works in TencentDB-Agent-Memory. Learn about the two-stage asynchronous process and automatic/manual triggers that mine discoverable skills using LLM parsing.

- Tags: deep-dive
- Published: 2026-08-19

### [How to Read and Write L3 Core/Persona Memory in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-read-and-write-l3-core-persona-memory)

Learn to read and write L3 Core Persona memory in TencentDB Agent Memory using simple read_core() and write_core() methods. Access core memory without session IDs.

- Tags: how-to-guide
- Published: 2026-08-19

### [How to Manage L2 Scenario Memory: List, Read, Write, and Remove Operations](/TencentCloud/TencentDB-Agent-Memory/how-to-manage-l2-scenario-memory-list-read-write-rm)

Master TencentDB Agent Memory L2 Scenario memory management. Learn to list, read, write, and remove scenario markdown files with our clear API guide.

- Tags: how-to-guide
- Published: 2026-08-19

### [How to Use L1 Atomic Memories in TencentDB Agent Memory: Update, Query, Search & Delete Operations](/TencentCloud/TencentDB-Agent-Memory/what-are-l1-atomic-memories-and-how-to-use-update-query-search-delete-operations)

Master L1 Atomic memories in TencentDB Agent Memory. Learn to update query search and delete operations using TypeScript SDK methods. Securely manage your immutable text blocks today.

- Tags: how-to-guide
- Published: 2026-08-19

### [How to Add, Query, Search, and Delete L0 Conversation Memory with TencentDB Agent Memory SDK](/TencentCloud/TencentDB-Agent-Memory/how-to-add-query-search-and-delete-l0-conversation-memory)

Learn to add query search and delete L0 conversation memory using the TencentDB Agent Memory SDK for strict data isolation by team agent user and session

- Tags: how-to-guide
- Published: 2026-08-19

### [How Team/Agent/User/Session Isolation Works in the TencentDB Agent Memory v3 API](/TencentCloud/TencentDB-Agent-Memory/how-does-team-agent-user-session-isolation-work-in-v3-api)

Discover how TencentDB Agent Memory v3 API isolation works with its three-dimensional tenancy model. Learn about team, agent, user, and session-level data isolation for secure memory management.

- Tags: how-to-guide
- Published: 2026-08-19

### [Chat Memory vs Skills vs Wiki vs CodeGraph Assets in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/difference-between-chat-memory-skills-wiki-and-codegraph-assets)

Understand the differences between Chat Memory, Skills, Wiki, and CodeGraph assets in TencentDB Agent Memory. Learn how each functions and when to use them.

- Tags: deep-dive
- Published: 2026-08-19

### [How TencentDB Agent Memory's Layered Architecture (L0-L3) Works: A Deep Dive into the 4-Tier Memory System](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-layered-architecture-l0-l3-work)

Explore TencentDB Agent Memory's 4-tier system (L0-L3) that refines raw interactions into reusable knowledge for efficient AI context retrieval.

- Tags: deep-dive
- Published: 2026-08-19

### [TencentDB Agent Memory Supported Versions: Understanding DB-Agnostic Architecture](/TencentCloud/TencentDB-Agent-Memory/what-are-the-supported-tencentdb-versions-for-this-agent)

Discover TencentDB Agent Memory supported versions. This agent connects via memory API, making it DB-agnostic for all Tencent Cloud database versions. Learn more today.

- Tags: api-reference
- Published: 2026-08-18

### [How to Update TencentDB Agent Memory: Upgrade, Migrate, and Reconfigure](/TencentCloud/TencentDB-Agent-Memory/how-to-update-tencentdb-agent-memory)

Update TencentDB Agent Memory effortlessly using the v2-to-v3 migration script or SDK clients. Learn to upgrade, migrate, and reconfigure your agent efficiently.

- Tags: migration-guide
- Published: 2026-08-18

### [Best Practices for Using TencentDB Agent Memory: A Complete Implementation Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-best-practices-for-using-tencentdb-agent-memory)

Master TencentDB Agent Memory best practices. Deploy the core stack, use SDKs, structure assets L0-L3, and secure endpoints for optimal performance and security.

- Tags: best-practices
- Published: 2026-08-18

### [How to Integrate TencentDB Agent Memory with Other Tools: A Complete Integration Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-other-tools)

Integrate TencentDB Agent Memory with other tools using its HTTP API. Access reusable assets effortlessly for any LLM-powered application without code changes.

- Tags: how-to-guide
- Published: 2026-08-18

### [How to Use the TencentDB Agent Memory API: Complete REST API and SDK Guide](/TencentCloud/TencentDB-Agent-Memory/is-there-an-api-for-tencentdb-agent-memory)

Explore the TencentDB Agent Memory API, a RESTful HTTP API with TypeScript and Python SDKs for seamless conversational memory storage and retrieval across four semantic layers. Get started today.

- Tags: api-reference
- Published: 2026-08-18

### [Performance Implications of Using TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-performance-implications-of-using-tencentdb-agent-memory)

Discover the performance benefits of TencentDB Agent Memory for LLM agents. Reduce token usage by 40-60%, boost success rates to 76%, and eliminate cold starts with minimal overhead.

- Tags: performance
- Published: 2026-08-18

### [How Memory Optimization Works in TencentDB: Architecture, Pipeline, and Performance Strategies](/TencentCloud/TencentDB-Agent-Memory/how-does-memory-optimization-work-in-tencentdb)

Discover how TencentDB memory optimization leverages a four-layer architecture, pipeline caching, and incremental ingestion for minimal latency and maximum performance. Learn its strategies now.

- Tags: architecture
- Published: 2026-08-18

### [What Is the Role of the Agent in TencentDB? A Technical Deep-Dive](/TencentCloud/TencentDB-Agent-Memory/what-is-the-role-of-the-agent-in-tencentdb)

Discover the role of the TencentDB Agent. Learn how this in-process service optimizes database queries with intelligent memory caching, reducing latency and load.

- Tags: deep-dive
- Published: 2026-08-18

### [How to Troubleshoot Common Issues with TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-troubleshoot-common-issues-with-tencentdb-agent-memory)

Troubleshoot TencentDB Agent Memory issues by enabling debug logs, checking health endpoints, and tracing requests. Use CLI utilities to isolate pipeline failures efficiently.

- Tags: how-to-guide
- Published: 2026-08-18

### [TencentDB Agent Memory Logging Mechanisms: A Deep Dive into the Dual-Layer System](/TencentCloud/TencentDB-Agent-Memory/what-are-the-logging-mechanisms-in-tencentdb-agent-memory)

Explore TencentDB Agent Memory logging mechanisms. Discover its dual-layer system combining JSONL events and real-time pipeline tracing for enhanced observability and analytics.

- Tags: deep-dive
- Published: 2026-08-18

### [How to Monitor TencentDB Agent Memory Performance: A Complete Telemetry Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-monitor-tencentdb-agent-memory-performance)

Master TencentDB Agent Memory performance monitoring. Use the built-in OpenTelemetry pipeline to track latency, token usage, and errors. Export data to ClickHouse or Langfuse.

- Tags: how-to-guide
- Published: 2026-08-18

### [TencentDB Agent Memory Configuration Options: Complete Deployment Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-configuration-options-for-tencentdb-agent-memory)

Explore TencentDB Agent Memory configuration options. Learn about environment variables, service ports, and authentication tokens for complete deployment and LLM integration.

- Tags: how-to-guide
- Published: 2026-08-18

### [How TencentDB Agent Memory Manages Memory: A Four-Layer Local-First Architecture](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-manage-memory)

Discover how TencentDB Agent Memory manages memory with its innovative four-layer local-first architecture. Learn about raw logs, atomic memories, scene context, and user personas.

- Tags: architecture
- Published: 2026-08-18

### [How to Compile TencentDB Agent Memory from Source: A Complete Developer Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-compile-tencentdb-agent-memory-from-source)

Compile TencentDB Agent Memory from source. Clone the feat/server_team branch, install Node.js, run npm ci and npm run build to generate distributable dist/ bundles. Complete developer guide.

- Tags: how-to-guide
- Published: 2026-08-18

### [TencentDB Agent Memory Build Process: Docker Image Assembly Guide](/TencentCloud/TencentDB-Agent-Memory/what-is-the-build-process-for-tencentdb-agent-memory)

Learn the TencentDB Agent Memory build process. Discover how to assemble the Docker image for MemoryPanel, MemoryKnowledge, and MemoryCore using the build.sh script.

- Tags: how-to-guide
- Published: 2026-08-18

### [Where Is the Source Code for TencentDB Agent Memory? Complete Directory Guide](/TencentCloud/TencentDB-Agent-Memory/where-is-the-source-code-for-tencentdb-agent-memory-located)

Locate TencentDB Agent Memory source code in MemoryCore, MemoryProxy, and MemoryKnowledge directories. Discover key entry points for efficient development and understanding. Explore the full guide now.

- Tags: how-to-guide
- Published: 2026-08-18

### [How to Install TencentDB Agent Memory: Complete Setup Guide for Multi-Agent Teams](/TencentCloud/TencentDB-Agent-Memory/how-to-install-tencentdb-agent-memory)

Easily install TencentDB Agent Memory with our complete setup guide. Deploy the multi-agent Docker stack quickly to get Memory Core, Hub UI, and Proxy running.

- Tags: how-to-guide
- Published: 2026-08-18

### [What Programming Languages Does TencentDB Agent Memory Use? Tech Stack Deep Dive](/TencentCloud/TencentDB-Agent-Memory/what-programming-languages-does-tencentdb-agent-memory-use)

Explore the programming languages behind TencentDB Agent Memory. Discover its polyglot stack including TypeScript, Python, Bash, and JavaScript (ESM) for efficient backend services and SDKs.

- Tags: deep-dive
- Published: 2026-08-18

### [How to Set Up TencentDB Agent Memory: Complete Docker Compose Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-set-up-tencentdb-agent-memory)

Set up TencentDB Agent Memory effortlessly with Docker Compose. Clone the repo, configure .env, and run start-all.sh to launch containers and get your admin key.

- Tags: how-to-guide
- Published: 2026-08-18

### [What Is TencentDB Agent Memory? Open-Source Team Memory for LLM Agents](/TencentCloud/TencentDB-Agent-Memory/what-is-tencentdb-agent-memory)

Explore TencentDB Agent Memory, an open-source platform enabling LLM agents to store, organize, and reuse structured experience across sessions and teams via a layered pipeline and ACL-governed hub.

- Tags: getting-started
- Published: 2026-08-18

### [Observability Integrations in TencentDB-Agent-Memory: Opik, Langfuse, and ClickHouse](/TencentCloud/TencentDB-Agent-Memory/observability-integrations-opik-langfuse-clickhouse-available)

Explore Opik, Langfuse, and ClickHouse observability integrations within TencentDB-Agent-Memory. Easily enable these production-ready TypeScript clients via YAML config.

- Tags: deep-dive
- Published: 2026-08-17

### [How ccRequestRouting Differentiates Claude Code Request Types in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-ccrequestrouting-feature-differentiate-claude-code-request-types)

Discover how ccRequestRouting in TencentDB-Agent-Memory distinguishes Claude Code request types, routing main vs aux Claude traffic via dedicated pipelines for efficient processing.

- Tags: deep-dive
- Published: 2026-08-17

### [Supported Agent Adapters in TencentDB-Agent-Memory and Their URL Path Conventions](/TencentCloud/TencentDB-Agent-Memory/which-agent-adapters-supported-tencentdb-agent-memory-url-path-conventions)

Explore supported agent adapters in TencentDB-Agent-Memory: OpenAI, Anthropic, Codex, CodeBuddy, Claude Code, WorkBuddy, and DSH. Understand their URL path conventions for unified LLM requests.

- Tags: api-reference
- Published: 2026-08-17

### [How the /cost-guard URL Marker Mechanism Is Configured and Enabled in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-cost-guard-url-marker-mechanism-configured-enabled)

Learn how to configure and enable the /cost-guard URL marker in TencentDB-Agent-Memory using the CostGuardConfig object. Master the Cost-Guard routing switch and marker requirements.

- Tags: how-to-guide
- Published: 2026-08-17

### [TencentDB-Agent-Memory Storage Backends: How to Choose COS, SQLite, FS, or Memory](/TencentCloud/TencentDB-Agent-Memory/tencentdb-agent-memory-storage-backends-deployment-choice)

Explore TencentDB-Agent-Memory storage backends: COS, SQLite, FS, and Memory. Learn how to choose the right option for your deployment and understand fallback mechanisms.

- Tags: how-to-guide
- Published: 2026-08-17

### [How the TencentDB-Agent-Memory Injection Pipeline Manages Context Across System and User Injection Points](/TencentCloud/TencentDB-Agent-Memory/how-tencentdb-agent-memory-injection-pipeline-manage-context-across-injection-points)

Discover how the TencentDB Agent Memory injection pipeline unifies system and user context with a two-phase orchestrator. Learn how it prepends system context and injects dynamic user context for LLM requests.

- Tags: architecture
- Published: 2026-08-17

### [Where to Find Documentation for TencentDB-Agent-Memory: Complete Guide to Official Docs](/TencentCloud/TencentDB-Agent-Memory/where-can-i-find-documentation-for-tencentdb-agent-memory)

Find comprehensive TencentDB-Agent-Memory documentation directly in the GitHub repository. Access official docs on the feat/server_team branch for all your needs.

- Tags: getting-started
- Published: 2026-08-16

### [TencentDB-Agent-Memory System Requirements: Complete Technical Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-system-requirements-for-running-tencentdb-agent-memory)

Understand TencentDB-Agent-Memory system requirements. Explore essential Node.js, Docker, and optional OpenClaw configurations for optimal LLM routing performance. Read the technical guide.

- Tags: getting-started
- Published: 2026-08-16

### [TencentDB-Agent-Memory Security Considerations: Secrets, Authentication & Storage Isolation](/TencentCloud/TencentDB-Agent-Memory/what-are-the-security-considerations-for-tencentdb-agent-memory)

Secure your TencentDB-Agent-Memory with insights on secret injection, bearer-token authentication, API key isolation, and storage separation. Learn essential security considerations now.

- Tags: security-considerations
- Published: 2026-08-16

### [How to Automate the Deployment of TencentDB-Agent-Memory: A Complete Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-automate-the-deployment-of-tencentdb-agent-memory)

Automate TencentDB-Agent-Memory deployment using Docker or Kubernetes. Learn to configure deployment modes standalone or service for efficient agent management.

- Tags: how-to-guide
- Published: 2026-08-16

### [Does TencentDB-Agent-Memory Support Different TencentDB Versions? Version-Agnostic Architecture Explained](/TencentCloud/TencentDB-Agent-Memory/does-tencentdb-agent-memory-support-different-tencentdb-versions)

Discover how TencentDB-Agent-Memory's version-agnostic architecture supports all TencentDB versions and engines like MySQL, PostgreSQL, and MariaDB via its stable data-plane API.

- Tags: faq
- Published: 2026-08-16

### [How to Debug Issues with TencentDB-Agent-Memory: A Complete Troubleshooting Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-debug-issues-with-tencentdb-agent-memory)

Troubleshoot TencentDB-Agent-Memory issues by setting LOG_LEVEL debug and tracing requests. Isolate problems in proxy, gateway, and pipeline queues with this complete guide.

- Tags: how-to-guide
- Published: 2026-08-16

### [How TencentDB-Agent-Memory Implements Its Logging Mechanism: A Deep Dive into the Dual-Layer System](/TencentCloud/TencentDB-Agent-Memory/what-is-the-logging-mechanism-in-tencentdb-agent-memory)

Explore the dual-layer logging mechanism of TencentDB-Agent-Memory. Understand how JSONL files and real-time pipelines provide usage analytics and request tracing.

- Tags: deep-dive
- Published: 2026-08-16

### [How to Contribute to TencentDB Agent Memory: A Complete Guide for Developers](/TencentCloud/TencentDB-Agent-Memory/how-to-contribute-to-the-tencentdb-agent-memory-project)

Learn how to contribute to TencentDB Agent Memory. Fork the repo, set up Node and Docker, and follow Conventional Commits. Your guide to becoming a contributor.

- Tags: how-to-guide
- Published: 2026-08-16

### [Is TencentDB-Agent-Memory Open-Source? MIT License Explained](/TencentCloud/TencentDB-Agent-Memory/is-tencentdb-agent-memory-open-source-and-what-is-its-license)

Discover if TencentDB-Agent-Memory is open source. Learn about its MIT License, granting free commercial use with simple attribution requirements. Get the details now.

- Tags: faq
- Published: 2026-08-16

### [How to Configure Memory Limits for TencentDB-Agent-Memory: A Complete Environment Variable Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-memory-limits-for-tencentdb-agent-memory)

Learn how to configure memory limits for TencentDB-Agent-Memory using environment variables. This guide details settings for Memory Core, Memory Hub, and Proxy services.

- Tags: how-to-guide
- Published: 2026-08-16

### [What Kind of Metrics Does TencentDB-Agent-Memory Collect?](/TencentCloud/TencentDB-Agent-Memory/what-kind-of-metrics-does-tencentdb-agent-memory-collect)

Discover the metrics TencentDB-Agent-Memory collects: AI operation spans, ClickHouse telemetry for knowledge-tool calls, and web dashboard usage counters. Optimize your database monitoring.

- Tags: api-reference
- Published: 2026-08-16

### [What Dependencies Does TencentDB-Agent-Memory Use? A Complete Package Breakdown](/TencentCloud/TencentDB-Agent-Memory/are-there-any-dependencies-for-tencentdb-agent-memory)

Discover the npm package dependencies for TencentDB-Agent-Memory. Get a complete breakdown of modules across Memory SDK, Core, Knowledge Service, and Control Panel.

- Tags: api-reference
- Published: 2026-08-16

### [How TencentDB-Agent-Memory Handles Memory Management: A Four-Layer Architecture](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-handle-memory-management)

Discover how TencentDB-Agent-Memory manages memory with its innovative four-layer architecture. Learn about log capture, atomic memory extraction, scene aggregation, and persona synthesis.

- Tags: architecture
- Published: 2026-08-16

### [Main Components of TencentDB-Agent-Memory: Architecture and Implementation Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-main-components-of-tencentdb-agent-memory)

Explore the seven main components of TencentDB-Agent-Memory: Hub, Proxy, Core, SDKs, Plugins, Asset Types, and CLI. Understand its architecture for LLM agents.

- Tags: architecture
- Published: 2026-08-16

### [How to Implement Custom Metadata and Memory Prompt Types for Specialized Use Cases](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-custom-metadata-and-memory-prompt-types-for-specialized-use-cases)

Implement custom metadata and memory prompt types using the TencentDB Agent Memory TypeScript SDK clients. Enhance your specialized use cases with reusable prompt templates and knowledge entity descriptors.

- Tags: how-to-guide
- Published: 2026-08-15

### [TencentDB Agent Memory Framework Integrations: OpenClaw, Hermes, and Claude Code Support](/TencentCloud/TencentDB-Agent-Memory/what-framework-integrations-are-supported-openclaw-hermes-claude-code)

Explore TencentDB Agent Memory framework integrations including OpenClaw, Hermes, and Claude Code. Unified conversation capture and recall across AI agent platforms.

- Tags: deep-dive
- Published: 2026-08-15

### [How the Auto‑Sync Scheduler Works for Knowledge Base Updates in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-auto-sync-scheduler-work-for-knowledge-base-updates)

Discover how the auto sync scheduler updates knowledge bases in TencentDB Agent Memory. Learn about polling, queueing, and rate-limited processing for efficient updates.

- Tags: how-to-guide
- Published: 2026-08-15

### [Best Practices for Asset Cleanup Using `clear_chat_memory` in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-best-practices-for-asset-cleanup-using-clear-chat-memory)

Master asset cleanup with TencentDB Agent Memory's clear_chat_memory API. Safely reset chat memory for reuse, preserving asset records. Learn best practices for efficient cleanup.

- Tags: best-practices
- Published: 2026-08-15

### [How to Implement Cross-Session Aggregation Queries in the v3 API](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-cross-session-aggregation-queries-in-the-v3-api)

Learn to implement cross-session aggregation queries in the v3 API by omitting sessionId or using sessionKey for legacy grouping. Access data across all sessions effectively.

- Tags: how-to-guide
- Published: 2026-08-15

### [Synchronous vs Asynchronous Python Clients in TencentDB Agent Memory SDK: Complete Comparison Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-differences-between-synchronous-and-asynchronous-python-clients)

Explore synchronous vs asynchronous Python clients in the TencentDB Agent Memory SDK. Understand blocking behavior, HTTP transport, and context management differences for optimal performance.

- Tags: comparison-guide
- Published: 2026-08-15

### [How the Async Skill-Extraction Pipeline Works Under the Hood in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-async-skill-extraction-pipeline-work-under-the-hood)

Discover how the async skill extraction pipeline works in TencentDB Agent Memory. Learn about its fire-and-forget API and background worker processes for efficient data handling.

- Tags: internals
- Published: 2026-08-15

### [Character Budget and Limit Controls for Memory Retrieval in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-character-budget-and-limit-controls-for-memory-retrieval)

Understand TencentDB Agent Memory character budget and limit controls. Learn how char_budget and token_budget manage retrieval output for efficient client and server-side operations.

- Tags: deep-dive
- Published: 2026-08-15

### [How to Handle session_id Requirements for Write vs Read Operations in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-handle-session-id-requirements-correctly-for-write-vs-read-operations)

Learn how to handle session_id requirements for TencentDB Agent Memory writes and reads. Understand mandatory session IDs for writes and optional IDs for flexible reads.

- Tags: how-to-guide
- Published: 2026-08-15

### [Telemetry and Monitoring Configurations in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-telemetry-and-monitoring-configurations-are-available-in-the-system)

Explore telemetry and monitoring configurations in TencentDB Agent Memory. Leverage OpenTelemetry tracing and Kafka metrics for deep system insights. Get dual-layer observability.

- Tags: how-to-guide
- Published: 2026-08-15

### [How to Implement Custom LLM Binding for Per-Instance Routing in MemoryKnowledge](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-custom-llm-binding-for-per-instance-routing-in-memoryknowledge)

Implement custom LLM binding for per-instance routing in MemoryKnowledge. Store bindings in SQLite and resolve them at ingest time for effective LlmConfig per service_id.

- Tags: how-to-guide
- Published: 2026-08-15

### [How `/tools/list` and `/tools/call` Enable Agent Self-Discovery in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-tools-list-and-tools-call-api-enable-agent-self-discovery)

Learn how TencentDB-Agent-Memory leverages /tools/list and /tools/call APIs for agent self-discovery. Dynamically discover and invoke capabilities without hard-coded assumptions.

- Tags: internals
- Published: 2026-08-15

### [BM25 vs Vector vs Hybrid Search Modes in TencentDB Agent Memory Skills](/TencentCloud/TencentDB-Agent-Memory/what-are-the-differences-between-bm25-vector-and-hybrid-search-modes-in-skills)

Understand BM25, vector, and hybrid search modes in TencentDB Agent Memory Skills. Discover how lexical matching semantic embeddings and Reciprocal Rank Fusion optimize retrieval accuracy for your needs.

- Tags: deep-dive
- Published: 2026-08-15

### [How to Migrate Data from v2 to v3 Using the Migration Tool in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-migrate-data-from-v2-to-v3-using-the-migration-tool)

Easily migrate data from v2 to v3 using the TencentDB Agent Memory migration tool. Run a dry run first, then execute the full migration for a seamless upgrade.

- Tags: migration-guide
- Published: 2026-08-15

### [Retryable Error Handling Patterns in the TypeScript and Python TencentDB Agent Memory SDKs](/TencentCloud/TencentDB-Agent-Memory/what-are-the-retryable-error-handling-patterns-in-the-typescript-and-python-sdks)

Master retryable error handling in TencentDB Agent Memory SDKs for TypeScript and Python. Learn to use the unified retryable flag for transient failures and improve application resilience.

- Tags: best-practices
- Published: 2026-08-15

### [How the Wiki Link Graph Structure and Search Functionality Work in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-wiki-link-graph-structure-and-search-functionality-work)

Explore the Wiki link graph structure and search functionality in TencentDB Agent Memory. Discover how SQLite FTS5 BM25 and multi-hop BFS expansion find direct and related pages.

- Tags: internals
- Published: 2026-08-15

### [Memory Context Bootstrap Best Practices Using L2 Scenario and L3 Core in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-best-practices-for-memory-context-bootstrap-using-l2-scenario-and-l3-core)

Master memory context bootstrap with L2 Scenario and L3 Core best practices. Learn stateless methods, proxy configuration, and SDK API usage for efficient TencentDB Agent Memory.

- Tags: best-practices
- Published: 2026-08-15

### [How to Configure Access Control with Private, Team, and Restricted Visibility Levels in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-access-control-with-private-team-restricted-visibility-levels)

Learn to configure access control in TencentDB Agent Memory using private, team, and restricted visibility levels. Secure your memory assets effectively.

- Tags: how-to-guide
- Published: 2026-08-15

### [Chat Memory vs Skill vs Wiki vs CodeGraph: Asset Types in TencentDB Agent-Memory Explained](/TencentCloud/TencentDB-Agent-Memory/what-are-the-differences-between-chat-memory-skills-wiki-and-codegraph-asset-types)

Understand TencentDB Agent-Memory asset types: Chat Memory, Skill, Wiki, and CodeGraph. Learn their unique roles in LLM interaction, scope, and lifecycle for efficient data management.

- Tags: deep-dive
- Published: 2026-08-15

### [How the Skill Extraction and Versioning System Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-skill-extraction-and-versioning-system-work)

Discover how the Skill extraction and versioning system in TencentDB Agent Memory automatically extracts and stores reusable knowledge from conversations via background processing.

- Tags: internals
- Published: 2026-08-15

### [How to Implement Strict Isolation with teamId, agentId, and userId in the v3 Memory Client](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-strict-isolation-with-teamid-agentid-userid-in-the-v3-client)

Implement strict isolation in the v3 Memory Client using teamId, agentId, and userId. Learn how to configure and override isolation settings for secure data management.

- Tags: how-to-guide
- Published: 2026-08-15

### [TencentDB Agent Memory SDK: Key Differences Between v2 and v3 Implementations](/TencentCloud/TencentDB-Agent-Memory/what-are-the-key-differences-between-v2-and-v3-sdk-implementations)

Explore the key differences between TencentDB Agent Memory SDK v2 and v3. Learn about v3's mandatory isolation, context management, count endpoints, and session_id requirements versus v2's optional identifiers.

- Tags: deep-dive
- Published: 2026-08-15

### [How the L0-L3 Memory Layer Architecture Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-l0-l3-memory-layer-architecture-work-in-tencentdb-agent-memory)

Discover the L0-L3 memory layer architecture in TencentDB Agent Memory. Learn how it enables fast context bootstrapping, session isolation, and long-term profile persistence for efficient agent management.

- Tags: architecture
- Published: 2026-08-15

### [How to Deploy Memory Core, Hub, and Proxy Using Docker](/TencentCloud/TencentDB-Agent-Memory/how-to-deploy-memory-core-hub-and-proxy-using-docker)

Easily deploy Memory Core Hub and Proxy with Docker. Build images from TencentDB Agent Memory repo and run containers with API keys, config volumes, and port mappings.

- Tags: how-to-guide
- Published: 2026-08-14

### [Wiki Ingest Prompt Implementation Pattern in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/implementation-pattern-for-wiki-ingest-prompts)

Learn the wiki ingest prompt implementation pattern used in TencentDB-Agent-Memory. Discover how KnowledgeToolsInjector generates XML blocks for system prompts.

- Tags: how-to-guide
- Published: 2026-08-14

### [How the Wiki Manager Handles Frontmatter Parsing and Page Merging in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-wiki-manager-handle-frontmatter-parsing-and-page-merging)

Discover how Wiki Manager in TencentDB-Agent-Memory parses frontmatter with regex and YAML, and merges pages using mergePage logic for efficient data handling.

- Tags: internals
- Published: 2026-08-14

### [Cold‑Start Import Flow in TencentDB‑Agent‑Memory: How Existing Codebases Are First Indexed](/TencentCloud/TencentDB-Agent-Memory/flow-for-cold-start-importing-codebases-and-documents)

Understand the cold-start import flow in TencentDB-Agent-Memory. Learn how existing codebases and documents are indexed and prepared for semantic search.

- Tags: how-to-guide
- Published: 2026-08-14

### [How Wiki Pages Are Organized with Link Graphs for Knowledge Navigation in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-are-wiki-pages-organized-with-link-graphs)

Discover how TencentDB Agent Memory organizes wiki pages using link graphs and SQLite for efficient knowledge navigation and BM25 search. Learn about multi-hop traversal.

- Tags: internals
- Published: 2026-08-14

### [How the Wiki Engine Handles Document Chunking and Embedding in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-wiki-engine-handle-document-chunking-and-embedding)

Discover how the TencentDB-Agent-Memory wiki engine handles document chunking and embedding using recursive splitting, pluggable AI, and FAISS-style search. Optimize your knowledge base.

- Tags: internals
- Published: 2026-08-14

### [How to Migrate Data from v1.x/v0.x to the Latest TencentDB Agent Memory Version](/TencentCloud/TencentDB-Agent-Memory/how-to-migrate-data-from-older-versions)

Effortlessly migrate your data from v1.x/v0.x to the latest TencentDB Agent Memory version using built-in tools. Follow our simple two-step process for a seamless upgrade.

- Tags: migration-guide
- Published: 2026-08-14

### [How Access Control (ACL) Works for Private, Team, and Restricted Visibility in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-is-access-control-implemented-for-visibility)

Understand TencentDB-Agent-Memory access control (ACL) for private, team, and restricted visibility. Learn how visibility flags and ACL records secure your data.

- Tags: how-to-guide
- Published: 2026-08-14

### [CodeGraph Instance Pool Architecture for Lazy-Loading Indexes in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/architecture-of-instance-pool-for-lazy-loading-codegraph-indexes)

Explore the TencentDB Agent Memory CodeGraph instance pool architecture. Learn how it efficiently lazy-loads vector indexes for optimized performance and thread-safe memory access.

- Tags: architecture
- Published: 2026-08-14

### [How the MCP Tools Server Enables Agent Self-Discovery of Capabilities](/TencentCloud/TencentDB-Agent-Memory/how-does-mcp-tools-server-enable-agent-self-discovery)

Learn how the MCP tools server enables agent self-discovery of capabilities by exposing a catalog of available tools via a /mcp/capabilities endpoint. Discover tools programmatically without hard-coding.

- Tags: deep-dive
- Published: 2026-08-14

### [How to Build a Serial Task Queue for Wiki and Code Ingestion in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-is-buildqueue-implemented-for-serial-wiki-and-code-tasks)

Learn how the BuildQueue in TencentDB Agent Memory implements serial task processing for wiki and code ingestion, ensuring efficient asset management with parallel execution across assets.

- Tags: how-to-guide
- Published: 2026-08-14

### [How the TencentDB Agent Memory Source Fetcher Registry Validates and Routes Different Protocols](/TencentCloud/TencentDB-Agent-Memory/how-does-source-fetcher-registry-validate-and-route-protocols)

Discover how the TencentDB Agent Memory SourceFetcherRegistry validates protocols using URL prefixes and routes requests to the right ISourceFetcher implementation via a type-based lookup map.

- Tags: deep-dive
- Published: 2026-08-14

### [How Skills Are Extracted and Managed from Agent Conversations in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-are-skills-extracted-and-managed-from-agent-conversations)

Discover how TencentDB Agent Memory extracts and manages skills from agent conversations using LLM-powered extraction and persistent storage. Learn more.

- Tags: how-to-guide
- Published: 2026-08-14

### [How the Wiki Engine Performs LLM-Based Document Ingestion in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-wiki-engine-perform-llm-based-document-ingestion)

Learn how the Wiki engine performs LLM-based document ingestion in TencentDB Agent Memory using its three stage pipeline: source detection, LLM content extraction, and index rebuild.

- Tags: how-to-guide
- Published: 2026-08-14

### [How AutoSyncScheduler Periodically Syncs Git Repositories in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-autosyncscheduler-periodically-sync-git-repositories)

Discover how AutoSyncScheduler periodically syncs Git repositories for TencentDB Agent Memory. Learn about its scan loop, worker pool, and synchronization process for CodeGraph candidates.

- Tags: how-to-guide
- Published: 2026-08-14

### [How to Configure Per-Instance LLM Routing with the llm-binding Store in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-per-instance-llm-routing-with-llm-binding-store)

Learn to configure per-instance LLM routing with the llm-binding store in TencentDB Agent Memory. Achieve tenant-level billing isolation and flexible provider selection by mapping service IDs to LLM routing modes.

- Tags: how-to-guide
- Published: 2026-08-14

### [How CodeGraph Indexing Works and Tracks Code Relationships in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-is-codegraph-indexing-implemented-and-how-does-it-track-code-relationships)

Learn how CodeGraph indexing works in TencentDB Agent Memory. Discover its FIFO build queue, metadata store, and worker process for tracking code relationships.

- Tags: internals
- Published: 2026-08-14

### [How TencentDB Agent Memory's L0-L3 Layered Memory System Works: A Complete Technical Guide](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-layered-memory-system-work)

Discover how TencentDB Agent Memory's L0-L3 layered memory system works. Learn how raw messages are enriched into structured persona snapshots through capture extraction scene grouping and persona generation.

- Tags: deep-dive
- Published: 2026-08-14

### [Observability Integrations in TencentDB Agent Memory: Opik, Langfuse, and ClickHouse](/TencentCloud/TencentDB-Agent-Memory/what-observability-integrations-are-supported-such-as-opik-langfuse-and-clickhouse)

Explore observability integrations in TencentDB Agent Memory: Opik, Langfuse, and ClickHouse. Effortlessly monitor your stack with independent toggles per proxy instance.

- Tags: deep-dive
- Published: 2026-08-13

### [How Multi-Node Deployment Works When Using COS Storage in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-multi-node-deployment-work-when-using-cos-storage)

Learn how multi-node deployment with COS storage ensures state consistency for TencentDB Agent Memory. Discover shared backend benefits for scaled replicas.

- Tags: how-to-guide
- Published: 2026-08-13

### [How to Use the mem: Command Intercept Mechanism in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-mem-command-intercept-mechanism-and-how-to-use-it)

Learn how to use the mem command intercept mechanism in TencentDB Agent Memory. This feature lets clients issue memory control commands directly to the proxy, bypassing the LLM upstream path.

- Tags: how-to-guide
- Published: 2026-08-13

### [How to Set Up System Users for Internal Service Accounts in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-i-set-up-system-users-for-internal-service-accounts)

Learn how to set up system users for internal service accounts in TencentDB Agent Memory. Configure system users in config example yaml and restart the Memory Proxy.

- Tags: how-to-guide
- Published: 2026-08-13

### [Asset Reflection Mode in TencentDB Agent Memory: Internal LLM Evaluation Explained](/TencentCloud/TencentDB-Agent-Memory/what-is-the-asset-reflection-mode-used-for-evaluation)

Understand TencentDB Agent Memory's Asset Reflection Mode. This internal LLM evaluation feature helps agents self-assess cloud asset usage for better performance. Learn more.

- Tags: internals
- Published: 2026-08-13

### [How to Configure Knowledge Tools Injection in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-i-configure-the-injection-of-knowledge-tools)

Learn to configure knowledge tools injection in TencentDB Agent Memory. Enable the knowledge injector in config yaml with specific settings for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-13

### [TencentDB Agent Memory Health Check Mechanisms and Degraded Mode Behaviors](/TencentCloud/TencentDB-Agent-Memory/what-are-the-health-check-mechanisms-and-behaviors-in-degraded-mode)

Understand TencentDB Agent Memory health checks and degraded mode behaviors. Discover how this enables Kubernetes failover and operational visibility.

- Tags: deep-dive
- Published: 2026-08-13

### [Graceful Shutdown and Data Flush Process in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/describe-the-graceful-shutdown-and-data-flush-process)

Discover the TencentDB Agent Memory's six-step graceful shutdown. Learn how it flushes L0 writes first, preventing data loss during restarts and terminations.

- Tags: how-to-guide
- Published: 2026-08-13

### [CC Request Routing Process for Claude Code: How TencentDB Agent Memory Handles Main, Fork, and Sidequery Requests](/TencentCloud/TencentDB-Agent-Memory/what-is-the-cc-request-routing-process-specifically-for-claude-code)

Learn the Claude Code CC request routing process for TencentDB Agent Memory. Discover how main, fork, and sidequery requests are classified and optimized for speed.

- Tags: architecture
- Published: 2026-08-13

### [How Knowledge Indexing Works for Wiki and CodeGraph Data in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-knowledge-indexing-work-for-wiki-and-codegraph-data)

Discover how knowledge indexing works for Wiki and CodeGraph data in TencentDB Agent Memory. Learn about its two-layer architecture for efficient data management and search.

- Tags: internals
- Published: 2026-08-13

### [Memory Asset Visibility Levels in TencentDB-Agent-Memory: Private, Team, and Restricted Explained](/TencentCloud/TencentDB-Agent-Memory/what-are-the-different-memory-asset-visibility-levels-private-team-restricted)

Understand TencentDB-Agent-Memory visibility levels private, team, and restricted. Control access to memory assets for users, agents, and tasks effectively.

- Tags: deep-dive
- Published: 2026-08-13

### [How to Configure and Use the TDAI Memory Gateway: A Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/how-do-i-configure-and-utilize-the-tdai-memory-gateway)

Configure and use the TDAI memory gateway with this complete setup guide. Learn to define deployment, server, LLM, and storage settings in a YAML file and launch the Node.js HTTP server for memory APIs.

- Tags: how-to-guide
- Published: 2026-08-13

### [How Skill-Bridge and Memory-Bridge Endpoints Function in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-the-skill-bridge-and-memory-bridge-endpoints-function)

Understand how skill-bridge and memory-bridge endpoints in TencentDB Agent Memory sanitize LLM requests, enforce security, and forward data to core services for secure operations.

- Tags: internals
- Published: 2026-08-13

### [How to Configure Upstream LLM Endpoints for Specific Agents in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-can-i-configure-upstream-llm-endpoints-for-specific-agents)

Configure upstream LLM endpoints for specific agents in TencentDB Agent Memory. Use the upstream.agents map for granular control, falling back to global settings when needed.

- Tags: how-to-guide
- Published: 2026-08-13

### [How the TencentDB-Agent-Memory Proxy Handles TPM and QPM Rate Limiting](/TencentCloud/TencentDB-Agent-Memory/how-does-the-proxy-handle-rate-limiting-for-tpm-and-qpm)

Discover how the TencentDB Agent Memory proxy implements TPM and QPM rate limiting using a Redis sliding window and per-instance overrides for robust control.

- Tags: how-to-guide
- Published: 2026-08-13

### [How to Integrate with Claude Code or CodeBuddy Agents Using TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-steps-to-integrate-with-claude-code-or-codebuddy-agents)

Integrate Claude Code or CodeBuddy agents with TencentDB Agent Memory effortlessly. Connect to the Memory Hub in minutes using a simple proxy and single configuration.

- Tags: how-to-guide
- Published: 2026-08-13

### [How to Configure COS, SQLite, Filesystem, and Memory Storage Backends in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-i-configure-different-storage-backends-like-cos-sqlite-fs-and-memory)

Learn to configure COS, SQLite, Filesystem, and Memory storage backends in TencentDB Agent Memory. Set the storage backend field in your YAML config for easy setup.

- Tags: how-to-guide
- Published: 2026-08-13

### [Injection Pipeline Architecture and Custom Injectors in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-injection-pipeline-architecture-and-how-can-i-customize-injectors)

Explore the injection pipeline architecture in TencentDB Agent Memory. Learn how to customize injectors using a modular hook-based system for tailored context injection.

- Tags: architecture
- Published: 2026-08-13

### [How the TencentDB Agent Memory L0-L3 Layering System Works: A Deep Dive into the 4-Stage Pipeline](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agents-memory-layering-system-l0-l3-function)

Explore the TencentDB Agent Memory L0-L3 layering system. Understand its 4-stage pipeline, from capture to persona generation, for efficient conversational data processing.

- Tags: deep-dive
- Published: 2026-08-13

### [How TencentDB Agent Memory Integrates with Claude Code and CodeBuddy: A Complete Proxy-Based Setup Guide](/TencentCloud/TencentDB-Agent-Memory/integration-tencentdb-agent-memory-claude-code-codebuddy)

Learn how TencentDB Agent Memory integrates with Claude Code and CodeBuddy using MemoryProxy. This guide details a complete proxy-based setup for seamless L2/L3 context injection without code changes.

- Tags: how-to-guide
- Published: 2026-08-11

### [MemoryHub Team and Asset Management System Architecture Explained](/TencentCloud/TencentDB-Agent-Memory/architecture-memoryhub-team-asset-management-system)

Explore the MemoryHub architecture for team memory control, asset management, and knowledge services in multi-agent systems. Understand its modular design and layered approach.

- Tags: architecture
- Published: 2026-08-11

### [COS and FS Storage Backend Configuration Options in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/configuration-options-cos-fs-storage-backends)

Explore COS and FS storage backend configuration options in TencentDB Agent Memory. Learn about environment variables for COS and YAML settings for FS.

- Tags: how-to-guide
- Published: 2026-08-11

### [How the Automatic Sweeper Works in the TencentDB Agent Memory SQLite Backend](/TencentCloud/TencentDB-Agent-Memory/automatic-sweeper-sqlite-backend)

Discover how the automatic sweeper in the TencentDB Agent Memory SQLite backend efficiently deletes expired entries every 5 minutes with a configurable TTL, ensuring smooth process shutdowns.

- Tags: internals
- Published: 2026-08-11

### [How to Configure SQLite for Local Storage in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/configure-sqlite-local-storage-tencentdb-agent-memory)

Configure SQLite local storage in TencentDB Agent Memory by setting KNOWLEDGE_DB_PATH and running npm run db:migrate. Easily manage your local data.

- Tags: how-to-guide
- Published: 2026-08-11

### [How to Configure Redis as the Storage Backend for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/configure-redis-storage-backend-tencentdb-agent-memory)

Configure Redis as your TencentDB Agent Memory storage backend. Learn how to set stateBackend redis and redis enabled true for efficient data management.

- Tags: how-to-guide
- Published: 2026-08-11

### [TencentDB Agent Memory Storage Backends: COS, SQLite, File System, and In-Memory Support](/TencentCloud/TencentDB-Agent-Memory/supported-storage-backends-tencentdb-agent-memory)

Explore TencentDB Agent Memory storage backends: COS, SQLite, file system, and in-memory. Configure your storage with automatic fallback for resilience.

- Tags: api-reference
- Published: 2026-08-11

### [MemoryProxy Injection Pipeline: Key Files and Architecture in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/key-files-memoryproxy-injection-pipeline)

Explore the MemoryProxy injection pipeline in TencentDB-Agent-Memory. Discover key files and architecture for LLM request parsing, prioritized hooks, and context serialization.

- Tags: architecture
- Published: 2026-08-11

### [How Multi-Tenant Isolation Is Achieved with Caching Keys in the Injection Pipeline](/TencentCloud/TencentDB-Agent-Memory/multi-tenant-isolation-caching-keys-injection-pipeline)

Discover how TencentDB Agent Memory achieves multi-tenant isolation by embedding tenant identifiers into cache keys for secure, scoped cache operations.

- Tags: internals
- Published: 2026-08-11

### [How Protocol Adapters Enable MemoryProxy to Handle Multiple LLM Protocols](/TencentCloud/TencentDB-Agent-Memory/protocol-adapters-memoryproxy-llm-protocols)

Learn how protocol adapters in TencentDB-Agent-Memory's MemoryProxy support multiple LLM protocols like OpenAI and Anthropic. Handle diverse LLM formats seamlessly with a unified interface.

- Tags: internals
- Published: 2026-08-11

### [Hook Caching Strategies in the TencentDB Agent Memory Injection Pipeline: `none`, `session_init`, and `hybrid` Explained](/TencentCloud/TencentDB-Agent-Memory/hook-caching-strategy-injection-pipeline)

Understand TencentDB Agent Memory injection pipeline hook caching strategies: none, session_init, and hybrid. Learn how hook results are computed, persisted, and reused across sessions.

- Tags: deep-dive
- Published: 2026-08-11

### [MemoryProxy Pipeline Injection Points: A Complete Guide to the Four-Stage Security Architecture](/TencentCloud/TencentDB-Agent-Memory/injection-points-memoryproxy-pipeline)

Explore the four injection points in the MemoryProxy pipeline and their security architecture. Learn how TencentDB Agent Memory safeguards data with sanitization layers.

- Tags: deep-dive
- Published: 2026-08-11

### [TencentDB Agent Memory Retrieval Strategy: Hybrid Search with Reciprocal Rank Fusion](/TencentCloud/TencentDB-Agent-Memory/retrieval-strategy-tencentdb-agent-memory-result-combination)

Discover the hybrid retrieval strategy in TencentDB Agent Memory. It combines SQLite FTS5 and dense embeddings, merging results with Reciprocal Rank Fusion for optimal performance.

- Tags: deep-dive
- Published: 2026-08-11

### [How L3 Core (Persona) Captures Long-Term Profiles and Team Conventions](/TencentCloud/TencentDB-Agent-Memory/l3-core-persona-long-term-profiles-team-conventions)

Discover how TencentDB Agent Memory's L3 Core (Persona) builds long-term profiles and team conventions. Learn about its three-stage pipeline for efficient, updated operating doctrines.

- Tags: how-to-guide
- Published: 2026-08-11

### [L2 Scenarios in TencentDB Agent Memory: How They Restore Agent Working Context](/TencentCloud/TencentDB-Agent-Memory/role-l2-scenarios-restoring-agent-context)

Discover how L2 Scenarios in TencentDB Agent Memory restore agent working context instantly using pre-packaged knowledge blocks, eliminating the need to reprocess conversation history.

- Tags: deep-dive
- Published: 2026-08-11

### [What Is the Purpose of the L0 Conversation Memory Layer in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/purpose-l0-conversation-memory-layer)

Discover the purpose of the L0 Conversation memory layer in TencentDB Agent Memory. Learn how it stores raw conversation turns for verification, auditing, and multi-layer memory.

- Tags: deep-dive
- Published: 2026-08-11

### [How Information Is Distilled into Knowledge Assets Across L0, L1, L2, and L3 Memory Layers in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/information-distillation-memory-layers-l0-l3)

Understand how TencentDB Agent Memory distills raw conversations into knowledge assets across L0 L1 L2 and L3 memory layers. Learn about the four-stage pipeline from facts to personas.

- Tags: internals
- Published: 2026-08-11

### [TencentDB Agent Memory Four-Tier Architecture Explained: L0-L3 Memory Hierarchy](/TencentCloud/TencentDB-Agent-Memory/four-tier-memory-architecture-tencentdb-agent-memory)

Discover TencentDB Agent Memory's four-tier L0-L3 architecture. Learn how this memory hierarchy abstracts dialogue into reusable knowledge for efficient data management and retrieval.

- Tags: architecture
- Published: 2026-08-11

### [How to Perform a Health Check on MemoryProxy: Complete Guide with Examples](/TencentCloud/TencentDB-Agent-Memory/how-can-i-perform-a-health-check-on-memoryproxy)

Perform a MemoryProxy health check easily using its /health HTTP endpoint. Get runtime status, version, and backend details. Learn how to detect degraded storage with this guide.

- Tags: how-to-guide
- Published: 2026-08-10

### [How to Configure Memory Proxy to Connect an Agent in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-i-configure-memoryproxy-to-connect-an-agent)

Learn how to configure MemoryProxy to connect an agent in TencentDB-Agent-Memory. Set up per-agent routing in config.yaml with custom URLs and API keys for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-10

### [How MemoryProxy Handles Conversation Write‑Back: L0 Turn Cache and L1/L2 Session Persistence](/TencentCloud/TencentDB-Agent-Memory/how-does-memoryproxy-handle-conversation-write-back)

Learn how MemoryProxy handles conversation write-back using L0 turn caching and L1/L2 session persistence. Explore the TencentDB Agent MemoryProxy architecture.

- Tags: internals
- Published: 2026-08-10

### [How MemoryProxy Handles Session Initialization for AI Agents: A Complete Technical Guide](/TencentCloud/TencentDB-Agent-Memory/how-does-memoryproxy-handle-session-initialization-for-ai-agents)

Learn how MemoryProxy initializes AI agent sessions with its state-machine flow. Discover asset confirmation, agent selection, and context injection for persistent sessions. Technical guide from TencentDB-Agent-Memory.

- Tags: how-to-guide
- Published: 2026-08-10

### [MemoryProxy Explained: How TencentDB Agent Memory Enables Transparent Memory Injection](/TencentCloud/TencentDB-Agent-Memory/what-is-memoryproxy-and-how-does-it-enable-transparent-memory-injection)

Discover MemoryProxy and its role in TencentDB Agent Memory. Learn how this HTTP gateway transparently injects data into LLM prompts without altering client code.

- Tags: deep-dive
- Published: 2026-08-10

### [How to Read Scenario Data from the L2 Layer in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-can-i-read-scenario-data-from-the-l2-layer)

Easily read L2 layer scenario data from TencentDB Agent Memory using the readScenario API with team and agent credentials. Access project-level scenario files without a session ID.

- Tags: how-to-guide
- Published: 2026-08-10

### [How to Search for Atomic Facts in L1 Memory: TencentDB Agent Memory Guide](/TencentCloud/TencentDB-Agent-Memory/how-do-i-search-for-atomic-facts-in-l1-memory)

Master searching atomic facts in L1 memory with the TencentDB Agent Memory guide. Discover how to use the atomic_search() method for efficient data retrieval via the REST API.

- Tags: how-to-guide
- Published: 2026-08-10

### [How to Query Conversation History from L0 Memory in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-can-i-query-conversation-history-from-l0-memory)

Query conversation history from L0 memory using MemoryClient.query_conversation(). Retrieve raw conversation turns via POST request with optional filters for session, time, and pagination.

- Tags: how-to-guide
- Published: 2026-08-10

### [How to Add Conversation History to L0 Memory Using the TencentDB Agent Memory SDK](/TencentCloud/TencentDB-Agent-Memory/how-do-i-add-conversation-history-to-l0-memory-using-the-sdk)

Learn to add conversation history to L0 memory using the TencentDB Agent Memory SDK. Push raw conversation turns with addConversation method for efficient recall.

- Tags: how-to-guide
- Published: 2026-08-10

### [How to Use the TypeScript SDK to Interact with TencentDB Agent Memory Layers: Complete Guide](/TencentCloud/TencentDB-Agent-Memory/how-can-i-use-the-typescript-sdk-to-interact-with-tencentdb-agent-memory-layers)

Master the TencentDB Agent Memory TypeScript SDK. This guide shows how to perform CRUD operations on memory layers and execute custom skills using typed clients for the v3 HTTP API.

- Tags: how-to-guide
- Published: 2026-08-10

### [TencentDB Agent Memory Retrieval Strategies: Hybrid BM25 + Vector Search Explained](/TencentCloud/TencentDB-Agent-Memory/what-retrieval-strategies-are-used-by-tencentdb-agent-memory)

Discover TencentDB Agent Memory's hybrid retrieval strategy combining BM25 and vector search with RRF for optimal results. Enhance your data retrieval.

- Tags: deep-dive
- Published: 2026-08-10

### [How the L3 Core/Persona Layer Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-is-the-l3-core-persona-layer-used-in-tencentdb-agent-memory)

Discover how the L3 Core Persona layer in TencentDB Agent Memory synthesizes team operating doctrine by consuming L2 memories and using an LLM with tool-enabled sandboxing to create human-readable persona files.

- Tags: deep-dive
- Published: 2026-08-10

### [L2 Scenario Layer in TencentDB Agent Memory: Project-Based Context Management Explained](/TencentCloud/TencentDB-Agent-Memory/what-is-the-purpose-of-the-l2-scenario-layer-in-tencentdb-agent-memory)

Understand the L2 Scenario layer in TencentDB Agent Memory. Learn how it organizes knowledge into projects and tasks for efficient context management without reprocessing raw data.

- Tags: deep-dive
- Published: 2026-08-10

### [How Data Is Injected Into the L1 Atom Layer of TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-is-data-injected-into-the-l1-atom-layer-of-tencentdb-agent-memory)

Learn how data is injected into the L1 Atom layer of TencentDB Agent Memory using the atomic_insert method and POST requests for efficient server-side storage.

- Tags: how-to-guide
- Published: 2026-08-10

### [How TencentDB Agent Memory's Multi-Layer Memory Architecture Works: A Deep Dive into the Four-Layer Pipeline](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memorys-multi-layer-memory-architecture-work)

Discover how TencentDB Agent Memory's four-layer pipeline refines raw data into reusable knowledge. Learn about precise recall and efficient context injection in this deep dive.

- Tags: deep-dive
- Published: 2026-08-10

### [How to Implement Agent Loadout Binding to Assign Specific Memory Assets](/TencentCloud/TencentDB-Agent-Memory/implement-agent-loadout-binding-assign-memory-assets)

Learn how to implement agent loadout binding to assign specific memory assets like documents and code to your agent for automatic retrieval and use in every session.

- Tags: how-to-guide
- Published: 2026-08-09

### [Limitations of CodeGraph for Private Repositories vs HTTPS in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/codegraph-limitations-private-repos-vs-https)

Discover CodeGraph limitations for private TencentDB Agent Memory repos. Learn why HTTPS is preferred over SSH for public repositories and understand credential authentication challenges.

- Tags: deep-dive
- Published: 2026-08-09

### [How the Skill Asset System Handles Versioning and Execution Validation in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/skill-asset-system-versioning-execution-validation)

Discover how the Skill asset system ensures secure and consistent execution with immutable version history, optimistic locking, Zod schema validation, and ACL permission checks in TencentDB Agent Memory.

- Tags: how-to-guide
- Published: 2026-08-09

### [How to Configure the TMC Callback URL for Status Notifications in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/configure-tmc-callback-url-status-notifications)

Configure the TMC callback URL in TencentDB Agent Memory to receive automatic HTTP POST status notifications for Wiki and Code-Graph ingestion. Set the TMC_CALLBACK_URL environment variable in your .env file for seamless updates.

- Tags: how-to-guide
- Published: 2026-08-09

### [Vector Retrieval vs BM25+RRF Fallback in TencentDB-Agent-Memory: Key Differences](/TencentCloud/TencentDB-Agent-Memory/vector-retrieval-vs-bm25-rrf-fallback-memory-search)

Explore vector retrieval vs BM25+RRF fallback in TencentDB-Agent-Memory. Understand their key differences for robust hybrid memory search and semantic understanding.

- Tags: deep-dive
- Published: 2026-08-09

### [How InstancePool Manages Lazy-Loading of CodeGraph Indices in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/instancepool-manage-lazy-loading-codegraph-indices)

Learn how InstancePool manages lazy-loading of CodeGraph indices for TencentDB Agent Memory. Minimize memory and startup time by opening indices only when needed.

- Tags: internals
- Published: 2026-08-09

### [How to Integrate TencentDB Agent Memory with OpenClaw and Hermes Agents](/TencentCloud/TencentDB-Agent-Memory/integrate-tencentdb-agent-memory-openclaw-hermes)

Learn how to integrate TencentDB Agent Memory with OpenClaw using plugins or Hermes via REST endpoints. This guide simplifies memory recall and search for your agents.

- Tags: how-to-guide
- Published: 2026-08-09

### [Core API (L3) for Persona and Long-Term Profiles: Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/purpose-core-api-l3-persona-long-term-profiles)

Explore the Core API L3 architecture and implementation for durable persona and long-term profiles. Discover how it stores and retrieves user, team, and agent characteristics across all sessions.

- Tags: architecture
- Published: 2026-08-09

### [How to Use the Scenario API (L2) for Project-Organized Knowledge Blocks in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/use-scenario-api-l2-project-knowledge-blocks)

Master the TencentDB Agent Memory Scenario API L2 for project-organized knowledge blocks. Learn to list, read, write, delete, and count assets efficiently.

- Tags: how-to-guide
- Published: 2026-08-09

### [How the Knowledge Module Handles Source Fetching with Security Validation in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/knowledge-module-source-fetching-security-validation)

Discover how TencentDB Agent Memory's Knowledge Module secures source fetching with HTTPS validation and SSRF blocking for robust internal network protection.

- Tags: internals
- Published: 2026-08-09

### [Restart Recovery for Interrupted Wiki and Code Tasks in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/restart-recovery-interrupted-wiki-code-tasks)

Learn how TencentDB Agent Memory handles restart recovery for interrupted wiki and code tasks. Discover how it marks failed assets and re-enqueues sessions to prevent data loss.

- Tags: how-to-guide
- Published: 2026-08-09

### [How to Implement the Auto-Sync Scheduler for CodeGraph Repositories](/TencentCloud/TencentDB-Agent-Memory/implement-auto-sync-scheduler-codegraph-repositories)

Implement the auto-sync scheduler for CodeGraph repositories. Learn how this TencentDB-Agent-Memory feature uses a FIFO queue and worker pool to update Git commit indexes efficiently.

- Tags: how-to-guide
- Published: 2026-08-09

### [How the Wiki Engine Performs LLM-Based Document Ingestion in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-wiki-engine-performs-llm-document-ingestion)

Discover how the wiki engine performs LLM-based document ingestion using a three-stage pipeline for efficient content processing and searchable index rebuilding in TencentDB Agent Memory.

- Tags: how-to-guide
- Published: 2026-08-09

### [How to Use the Atomic Memory Layer (L1) for Storing Facts and Preferences in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/use-atomic-memory-layer-l1-storing-facts-preferences)

Learn to use the atomic memory layer L1 in TencentDB-Agent-Memory to store facts and preferences. Discover how to perform CRUD operations using /v3/atomic/* endpoints and manage session contexts for efficient data management.

- Tags: how-to-guide
- Published: 2026-08-09

### [queryConversation vs searchConversation: Understanding the Difference in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/difference-queryconversation-searchconversation-apis)

Understand queryConversation vs searchConversation in TencentDB Agent Memory. Learn when to use each API for message retrieval or full-text search with relevance scoring.

- Tags: deep-dive
- Published: 2026-08-09

### [How to Configure Per-Instance LLM Routing with the Binding Store in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/configure-per-instance-llm-routing-binding-store)

Configure per-instance LLM routing in TencentDB Agent Memory. Override global LLM settings by storing instance-specific configurations in the SQLite binding store for tailored service deployments.

- Tags: how-to-guide
- Published: 2026-08-09

### [How the CodeGraph Indexing Process Handles Git Clone, Sync, and Incremental Updates](/TencentCloud/TencentDB-Agent-Memory/codegraph-indexing-git-clone-sync-incremental-updates)

Learn how the CodeGraph indexing process efficiently handles Git clone sync and incremental updates using shallow clones and exclusive index directories for faster rebuilds.

- Tags: how-to-guide
- Published: 2026-08-09

### [Memory Hub Team Roles Explained: System Admin vs Team Admin vs Member](/TencentCloud/TencentDB-Agent-Memory/memory-hub-team-roles-explained)

Understand Memory Hub team roles: System Admin, Team Admin, and Member. Learn their permissions and hierarchy for efficient access control on TencentDB Agent Memory.

- Tags: best-practices
- Published: 2026-08-09

### [How Memory Hub Access Control Works: Private, Team, Restricted, and Agent Visibility Explained](/TencentCloud/TencentDB-Agent-Memory/how-memory-hub-access-control-works)

Understand TencentDB Agent Memory Hub access control. Learn how private, team, restricted, and agent visibility settings protect your data and control permissions effectively.

- Tags: deep-dive
- Published: 2026-08-09

### [When Is sessionId Required vs Optional in the TencentDB v3 API?](/TencentCloud/TencentDB-Agent-Memory/when-is-sessionid-required-optional-v3-api)

Understand when sessionId is required or optional in the TencentDB v3 API. Learn its use for write vs read operations and L2/L3 API behavior.

- Tags: api-reference
- Published: 2026-08-09

### [Chat Memory vs Skills vs Wiki vs CodeGraph: Understanding Asset Types in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/difference-between-chat-memory-skills-wiki-codegraph-assets)

Understand TencentDB Agent Memory asset types: Chat Memory, Skills, Wiki, and CodeGraph. Learn their distinct roles in agent architecture for enhanced functionality.

- Tags: deep-dive
- Published: 2026-08-09

### [How TencentDB Agent Memory's Layered Memory Architecture (L0-L3) Works](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-layered-memory-architecture-work)

Understand TencentDB Agent Memory's L0-L3 layered architecture. Discover how this four-stage pipeline refines conversations into structured scenes and user personas for efficient data management.

- Tags: architecture
- Published: 2026-08-09

### [How TencentDB Agent Memory Proxy Handles Graceful Shutdown with Pending Writes Flush](/TencentCloud/TencentDB-Agent-Memory/memory-proxy-graceful-shutdown-pending-writes-flush)

Learn how the TencentDB Agent Memory proxy ensures no writes are lost during shutdown by flushing pending writes within a 10-second deadline before service termination.

- Tags: internals
- Published: 2026-08-08

### [What Is the Injection Observer? Pipeline Monitoring in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/injection-observer-pipeline-monitoring)

Understand the injection observer, a key component in TencentDB Agent Memory for non-blocking pipeline monitoring. Ensure seamless execution from hook init to completion.

- Tags: deep-dive
- Published: 2026-08-08

### [How the Redis Session Store Provides Session-Based Cache Isolation in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/redis-session-store-cache-isolation)

Learn how the Redis session store in TencentDB Agent Memory provides session-based cache isolation using key prefixes, TTL expiration, and atomic counters for robust data management.

- Tags: internals
- Published: 2026-08-08

### [How to Configure and Use Langfuse Tracing Integration with TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/langfuse-tracing-integration-configuration)

Learn to configure Langfuse tracing integration with TencentDB Agent Memory. This guide details OpenTelemetry setup and usage via helper functions for effective monitoring and debugging.

- Tags: how-to-guide
- Published: 2026-08-08

### [How the Asset Reflection Injector Handles Dynamic Tool Discovery in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/asset-reflection-injector-dynamic-tool-discovery)

Discover how the asset reflection injector dynamically finds cloud asset tools in TencentDB Agent Memory. Learn about tag aggregation and prompt injection for analysis.

- Tags: internals
- Published: 2026-08-08

### [How the TencentDB Agent Memory Auth Client Verifies user_key and Resolves user_id](/TencentCloud/TencentDB-Agent-Memory/auth-client-verify-user_key-resolve-user_id)

Discover how the TencentDB Agent Memory auth client verifies user_key and resolves user_id by sending POST requests to an external auth service for secure API key validation.

- Tags: how-to-guide
- Published: 2026-08-08

### [Architecture of the Fixed Binding + ACL System for Agent Loadouts in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/fixed-binding-acl-system-agent-loadouts)

Explore the architecture of the fixed binding + ACL system for TencentDB Agent Memory. Understand how persistent associations and hierarchical permissions control agent loadouts and secure asset injection.

- Tags: architecture
- Published: 2026-08-08

### [How to Inject Wiki Content and Facilitate Link-Graph Traversal in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/knowledge-tools-wiki-content-link-graph-traversal)

Learn how TencentDB Agent Memory injects Wiki content and traverses link-graphs using knowledge tools and API calls to `/tools/list` and `/tools/call`.

- Tags: how-to-guide
- Published: 2026-08-08

### [Cold-Start Import Flow in TencentDB Agent Memory: L0-L3 Pipeline and Guard Mechanism Explained](/TencentCloud/TencentDB-Agent-Memory/cold-start-import-flow-codebases-documents-sessions)

Understand the TencentDB Agent Memory cold-start import flow. Discover how the L0-L3 pipeline and guard mechanism optimize resource use for new codebases and conversations.

- Tags: deep-dive
- Published: 2026-08-08

### [How CodeGraph in TencentDB Agent Memory Handles Asset Indexing for Code Symbols and Call Relationships](/TencentCloud/TencentDB-Agent-Memory/codegraph-asset-indexing-code-symbols-call-relationships)

Discover how CodeGraph in TencentDB Agent Memory indexes code symbols and call relationships using a multi-stage worker pipeline, SQLite graph structure, and a REST API for queryable assets and incremental sync.

- Tags: deep-dive
- Published: 2026-08-08

### [Understanding the Pending-Writes Queue in L0 Flush During TencentDB Agent Memory Graceful Shutdown](/TencentCloud/TencentDB-Agent-Memory/pending-writes-queue-l0-flush-graceful-shutdown)

Discover the pending-writes queue's role in L0 flush during TencentDB Agent Memory graceful shutdown. Ensure all in-flight writes complete before termination.

- Tags: internals
- Published: 2026-08-08

### [How the Prewarm Mechanism in TencentDB Agent Memory Prepares Session-Based Cache Entries](/TencentCloud/TencentDB-Agent-Memory/prewarm-mechanism-session-cache-entries)

Discover how TencentDB Agent Memory's prewarm mechanism prepares session-based cache entries by executing hooks once, storing outputs in Redis, and serving from cache to eliminate redundant API calls.

- Tags: internals
- Published: 2026-08-08

### [TencentDB Agent Memory Protocol Adapters: OpenAI and Anthropic Integration](/TencentCloud/TencentDB-Agent-Memory/supported-protocol-adapters-request-transformation)

Explore TencentDB Agent Memory protocol adapters for OpenAI and Anthropic. Learn how they transform JSON payloads into a unified AgentContext structure for seamless integration.

- Tags: api-reference
- Published: 2026-08-08

### [How the Skill Injection System Integrates with Tool Definitions and Execution Boundaries in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/skill-injection-system-tool-definitions-execution-boundaries)

Learn how the skill injection system integrates with tool definitions and execution boundaries in TencentDB Agent Memory to securely enable LLMs to discover and invoke skill assets.

- Tags: deep-dive
- Published: 2026-08-08

### [What Is the TDai Recorder in the TencentDB Agent Memory Pipeline?](/TencentCloud/TencentDB-Agent-Memory/tdai-recorder-memory-pipeline-function)

Discover the TDai recorder's role in the TencentDB Agent Memory pipeline. It extracts and stores user queries for reliable retrieval and processing.

- Tags: internals
- Published: 2026-08-08

### [How the Cost-Guard Mechanism Handles COS Storage Fallback in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/cost-guard-cos-storage-fallback)

Discover how the Cost-Guard mechanism in TencentDB Agent Memory prevents COS storage fallback by terminating processes, ensuring no multi-node state divergence.

- Tags: how-to-guide
- Published: 2026-08-08

### [How the Access Control System in TencentDB Agent Memory Differentiates Between Private, Team, and Restricted Visibility](/TencentCloud/TencentDB-Agent-Memory/access-control-visibility-private-team-restricted)

Discover how TencentDB Agent Memory's access control differentiates private, team, and restricted visibility using a five-level enum and ACLs for secure data management.

- Tags: deep-dive
- Published: 2026-08-08

### [Understanding the Layered Memory Architecture (L0-L3) and Retrieval Process in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/layered-memory-architecture-l0-l3-retrieval)

Explore TencentDB Agent Memory's layered architecture (L0-L3) and retrieval process. Learn how agents access context from abstract to granular details efficiently.

- Tags: deep-dive
- Published: 2026-08-08

### [How Agent Profiles in TencentDB Agent Memory Enable Precise Context Anchor Landing for Claude Code](/TencentCloud/TencentDB-Agent-Memory/agent-profiles-context-anchor-landing-claude-codebuddy)

Discover how TencentDB Agent Memory leverages L3 agent profiles for precise context anchor landing, delivering deterministic, team-aligned code suggestions for Claude Code and CodeBuddy.

- Tags: deep-dive
- Published: 2026-08-08

### [ProxyStorage Abstraction and Backend Implementations in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/proxystorage-architecture-backend-implementations)

Explore TencentDB Agent Memory's ProxyStorage abstraction. Learn about its unified key-value interface and diverse backend implementations like COS, SQLite, and filesystem for efficient data management.

- Tags: architecture
- Published: 2026-08-08

### [How the session_init vs hybrid Hook Cache Strategy Improves Performance in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/hook-cache-strategy-performance-comparison)

Discover how TencentDB Agent Memory’s session_init vs hybrid cache strategies boost performance by eliminating redundant hook executions and optimizing data retrieval. Learn more today.

- Tags: performance
- Published: 2026-08-08

### [Injection Points in the Memory Proxy: Execution Order and Implementation Guide](/TencentCloud/TencentDB-Agent-Memory/memory-proxy-injection-points-execution-order)

Explore nine injection points in the Memory Proxy framework. Understand execution order and implement system prompts, tools, and user context within LLM requests.

- Tags: how-to-guide
- Published: 2026-08-08

### [How TencentDB Agent Memory InjectionPipeline Handles Memory Injection Across Protocol Adapters](/TencentCloud/TencentDB-Agent-Memory/injectionpipeline-memory-injection-protocol-adapters)

Learn how TencentDB Agent Memory's InjectionPipeline injects memory across protocol adapters. It parses requests into AgentContext for unified handling via protocol adapters.

- Tags: internals
- Published: 2026-08-08

### [What Is `api-sanitize.ts` for Secure Memory Data Handling in TencentDB Agent?](/TencentCloud/TencentDB-Agent-Memory/purpose-of-api-sanitize.ts-secure-memory-data-handling)

Learn how api-sanitize.ts secures TencentDB Agent memory by redacting credentials, limiting traversal, and truncating strings. Protect your API trace logs effectively.

- Tags: security
- Published: 2026-08-07

### [How Checkpoint and Backup Enable Pipeline State Recovery and Memory-Cleaner Shutdown in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/checkpoint-backup-pipeline-state-recovery-memory-cleaner-shutdown)

Discover how checkpoint and backup in TencentDB-Agent-Memory ensure pipeline state recovery and memory cleaner shutdown. Learn about atomic writes and timestamped snapshots for reliable restarts.

- Tags: internals
- Published: 2026-08-07

### [How the Serial Queue Processes Tasks in Order with the ensure-hook-policy in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/serial-queue-ordered-task-processing-ensure-hook-policy)

Discover how the Serial Queue ensures ordered task processing and accurate ensure-hook-policy execution with its drain mechanism in TencentDB Agent Memory.

- Tags: internals
- Published: 2026-08-07

### [How the Worker Permit Pool Manages Concurrent Pipeline Execution and Resources in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/worker-permit-pool-concurrent-pipeline-execution-resource-management)

Discover how the Worker Permit Pool in TencentDB-Agent-Memory manages concurrent pipeline execution and resources efficiently. Learn about FIFO queuing and graceful shutdown.

- Tags: internals
- Published: 2026-08-07

### [TencentDB Agent Memory Framework Integrations: OpenClaw, Hermes, Claude Code, CodeBuddy, and SDK Support](/TencentCloud/TencentDB-Agent-Memory/supported-framework-integrations-openclaw-hermes-claude-code-codebuddy-sdk)

Explore TencentDB Agent Memory framework integrations including OpenClaw, Hermes, Claude Code, CodeBuddy, and SDK support for unified memory sharing across applications.

- Tags: api-reference
- Published: 2026-08-07

### [How to Use the TencentDB Agent Memory v2 to v3 Data Migration Tool](/TencentCloud/TencentDB-Agent-Memory/use-data-migration-tool-v2-to-v3)

Effortlessly migrate your TencentDB Agent Memory data from v2 to v3 using our Python tool. Preview changes with dry run then execute to convert your SQLite schema and L2/L3 files to the new tenant-isolated format.

- Tags: migration-guide
- Published: 2026-08-07

### [How ACL Is Implemented for User, Role, and Agent Permission Management in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/acl-implementation-for-user-role-agent-permission-management)

Discover how TencentDB-Agent-Memory implements ACL for robust user role and agent permission management through a seven-step evaluation flow ensuring secure access control.

- Tags: how-to-guide
- Published: 2026-08-07

### [How Memory Asset Visibility Is Controlled in TencentDB-Agent-Memory: Private, Team, Restricted, Agent, and Task Levels](/TencentCloud/TencentDB-Agent-Memory/memory-asset-visibility-control-private-team-restricted-agent-level)

Control memory asset visibility in TencentDB-Agent-Memory across private, team, restricted, agent, and task levels using enums and ACL rules. Learn how to manage access effectively.

- Tags: how-to-guide
- Published: 2026-08-07

### [LocalStorageBackend vs CosStorageBackend in TencentDB-Agent-Memory: Architecture, Differences, and Fallback Behavior](/TencentCloud/TencentDB-Agent-Memory/localstoragebackend-vs-cosstoragebackend-fallback-mechanism)

Explore LocalStorageBackend vs CosStorageBackend in TencentDB Agent Memory. Understand their architecture, differences, and automatic fallback for reliable data storage.

- Tags: deep-dive
- Published: 2026-08-07

### [Gateway Shutdown and Resource Release Hooks in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/gateway-shutdown-resource-release-hooks)

Learn about gateway shutdown and resource release hooks in TencentDB-Agent-Memory. Discover how it flushes spans, terminates workers, and releases connections for clean process exit.

- Tags: internals
- Published: 2026-08-07

### [How to Enable API Trace Logging and Telemetry Metrics Reporting in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/enable-api-trace-logging-telemetry-metrics-reporting)

Enable API trace logging and telemetry metrics reporting in TencentDB Agent Memory. Set LOG_LEVEL to debug and configure LANGFUSE_SECRET_KEY then call initTelemetry() to activate.

- Tags: how-to-guide
- Published: 2026-08-07

### [How to Integrate with the Vector Store Using TdaiCore.getVectorStore() and Profile Sync](/TencentCloud/TencentDB-Agent-Memory/integrate-vector-store-tdaicore.getvectorstore-profile-sync)

Integrate with your vector store using TdaiCore.getVectorStore() and profile sync. Automatically synchronize agent profiles from L1 memory to the vector store.

- Tags: how-to-guide
- Published: 2026-08-07

### [How to Use registerMemoryTdaiCli to Register the memory-tdai CLI in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/use-cli-registration-command-registermemorytdaicli)

Learn to use registerMemoryTdaiCli to wire the memory-tdai namespace and sub-commands into the OpenClaw CLI. Effortlessly integrate memory-tdai into your TencentDB Agent Memory.

- Tags: how-to-guide
- Published: 2026-08-07

### [How to Register TDai Tools (`tdai_memory_search`, `tdai_conversation_search`, `tdai_read_cos`) with Per-Turn Limits](/TencentCloud/TencentDB-Agent-Memory/register-tools-tdai_memory_search-tdai_conversation_search-tdai_read_cos-per-turn-limits)

Register TDai tools with per-turn limits using TdaiToolsInjector and limitFromBody. Learn to enforce hard caps for tdai_memory_search, tdai_conversation_search, and tdai_read_cos effectively.

- Tags: how-to-guide
- Published: 2026-08-07

### [Prompt Caching Mechanism in TencentDB Agent Memory: TTL and Size Limits Explained](/TencentCloud/TencentDB-Agent-Memory/prompt-caching-mechanism-limits-ttl-prompt_cache_max_size)

Understand TencentDB Agent Memory's prompt caching mechanism. Learn how TTL and PROMPT_CACHE_MAX_SIZE control prompt storage and purging for efficient LLM interactions.

- Tags: deep-dive
- Published: 2026-08-07

### [How Auto-Capture Hooks (`before_prompt_build`, `agent_end`) Work in the TencentDB-Agent-Memory Lifecycle](/TencentCloud/TencentDB-Agent-Memory/how-auto-capture-hooks-before_prompt_build-agent_end-work)

Understand how TencentDB Agent Memory lifecycle uses auto-capture hooks like before_prompt_build and agent_end to cache prompts, recall memory, and persist conversations for advanced processing.

- Tags: internals
- Published: 2026-08-07

### [How to Manage Memory Cleanup with retentionDays and cleanTime for Daily JSONL Data in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/manage-memory-cleanup-with-retentiondays-and-cleantime-for-daily-jsonl-data)

Master daily JSONL data cleanup in TencentDB-Agent-Memory. Learn to manage retentionDays and cleanTime for efficient memory management and bounded storage. Keep your logs current.

- Tags: how-to-guide
- Published: 2026-08-07

### [Recall Strategies and Score Thresholds in TencentDB-Agent-Memory: Embedding, Keyword, and Hybrid Search](/TencentCloud/TencentDB-Agent-Memory/recall-strategies-embedding-keyword-hybrid-score-thresholds)

Explore recall strategies in TencentDB-Agent-Memory: embedding, keyword, and hybrid search. Learn about score thresholds and optimize your data retrieval.

- Tags: deep-dive
- Published: 2026-08-07

### [How to Configure the Embedding Service for Vector Search in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/configure-embedding-service-provider-baseurl-model-dimensions-for-vector-search)

Configure the embedding service for vector search in TencentDB Agent Memory. Learn how to set provider, baseUrl, model, and dimensions in your gateway YAML or environment variables.

- Tags: how-to-guide
- Published: 2026-08-07

### [TencentDB Agent Memory Context Offload Modes: Local vs Client Explained](/TencentCloud/TencentDB-Agent-Memory/context-offload-modes-local-vs-client-for-compression-api-delegation)

Understand TencentDB Agent Memory context offload modes: local for in-process compression and client for remote HTTP delegation. Optimize your agent performance.

- Tags: deep-dive
- Published: 2026-08-07

### [How to Configure Pipeline Scheduling in TencentDB Agent Memory: Conversation Triggers, Warm-up, and L2/L3 Intervals](/TencentCloud/TencentDB-Agent-Memory/configure-pipeline-scheduling-everynconversations-warmup-idle-timeout-l2-l3-intervals)

Configure pipeline scheduling in TencentDB Agent Memory. Set conversation triggers, warmup, idle timeout, and L2/L3 intervals using PipelineConfig or environment variables for optimal performance.

- Tags: how-to-guide
- Published: 2026-08-07

### [SessionFilter and Agent Exclusion Patterns for Memory Capture in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/sessionfilter-and-agent-exclusion-patterns-for-memory-capture)

Learn about SessionFilter and agent exclusion patterns for memory capture in TencentDB-Agent-Memory. Filter unwanted conversations and optimize your memory capture pipeline.

- Tags: deep-dive
- Published: 2026-08-07

### [How the TencentDB Agent Memory Four-Layer Memory System (L0-L3) Works](/TencentCloud/TencentDB-Agent-Memory/how-does-the-four-layer-memory-system-l0-l3-work)

Explore the TencentDB Agent Memory four-layer system L0-L3. Discover how this deterministic pipeline processes conversational data from capture to persona generation for efficient memory management.

- Tags: deep-dive
- Published: 2026-08-07

### [How the Hook Policy System Integrates with OpenClaw Lifecycle Events in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-hook-policy-system-integrate-with-openclaw-lifecycle-events)

Discover how the hook policy system integrates with OpenClaw lifecycle events in TencentDB Agent Memory. Ensure session cleanup and metrics persistence execute correctly with auto-patching.

- Tags: internals
- Published: 2026-08-06

### [How to Configure COS Storage Backend for Reading Files from Tencent Cloud](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-cos-storage-backend-for-reading-files-from-tencent-cloud)

Configure COS storage backend for reading files from Tencent Cloud. Enable unified storage, set storage backend to cos, and provide Shark STS credentials in config.yaml for authentication.

- Tags: how-to-guide
- Published: 2026-08-06

### [How Memory Panel Manages Team Assets, Ownership, and Sharing](/TencentCloud/TencentDB-Agent-Memory/how-does-memory-panel-manage-team-assets-ownership-and-sharing)

Discover how Memory Panel manages team assets with immutable ownership, flexible visibility toggles, and granular ACL permissions for secure knowledge sharing across agents and users.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Use CLI Commands (Seed, Query, Stats) for Memory Management in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-use-cli-commands-seed-query-stats-for-memory-management)

Master memory management in TencentDB Agent Memory using CLI commands. Learn to seed conversations, query memory layers, and monitor pipeline health with openclaw memory-tdai.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Monitor Memory Metrics and Reporting with Instance Tracking in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-monitor-memory-metrics-and-reporting-with-instance-tracking)

Learn how to monitor memory metrics and reporting with instance tracking in TencentDB-Agent-Memory. Discover per-instance metrics aggregation in ClickHouse via instanceId.

- Tags: how-to-guide
- Published: 2026-08-06

### [How Does the Session Filter Exclude Specific Agents from Memory Capture?](/TencentCloud/TencentDB-Agent-Memory/how-does-session-filter-exclude-specific-agents-from-memory-capture)

Learn how the SessionFilter class excludes specific agents from memory capture by combining matchers and glob patterns to intercept session keys, ensuring efficient data collection.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Configure Memory Offload Client Mode for Server-Side Compression in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-memory-offload-client-mode-for-server-side-compression)

Configure memory offload client mode for server-side compression in TencentDB Agent Memory. Delegate context compression remotely to keep your local TDAI process stateless and efficient.

- Tags: how-to-guide
- Published: 2026-08-06

### [How Persona Generation (L3) Creates Long-Term User and Team Profiles in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-persona-generation-l3-create-long-term-user-and-team-profiles)

Discover how persona generation L3 builds lasting user and team profiles in TencentDB-Agent-Memory by processing scene memories and updating persona.md via LLM.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Use the Wiki Asset for Documentation Management with Link Graphs in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-use-wiki-asset-for-documentation-management-with-link-graphs)

Manage documentation effectively with the Wiki asset in TencentDB Agent Memory. Learn how to build searchable knowledge graphs using LLM processing and link graph construction.

- Tags: how-to-guide
- Published: 2026-08-06

### [How BM25 + Vector + RRF Retrieval Works for Memory Search in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-bm25-vector-rrf-retrieval-work-for-memory-search)

Learn how TencentDB-Agent-Memory uses BM25, vector search, and RRF for efficient memory search. Explore the hybrid retrieval pipeline combining full-text and semantic search for ranked results.

- Tags: deep-dive
- Published: 2026-08-06

### [How to Migrate Data from v2 to v3 in TencentDB Agent Memory: Complete Migration Tool Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-migrate-data-from-v2-to-v3-using-migration-tool)

Migrate data from v2 to v3 in TencentDB Agent Memory using the v2-to-v3-migrate.py script. Convert schemas, backup SQLite, and ensure idempotent execution for a smooth upgrade.

- Tags: migration-guide
- Published: 2026-08-06

### [How to Configure Embedding Models for Vector-Based Memory Search in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-embedding-models-for-vector-based-memory-search)

Learn to configure embedding models for vector search in TencentDB Agent Memory. Set memory recall strategy and define embedding provider details in tdai-gateway.yaml or env variables.

- Tags: how-to-guide
- Published: 2026-08-06

### [How Scene Extraction (L2) Organizes Memory Around Projects and Scenarios](/TencentCloud/TencentDB-Agent-Memory/how-does-scene-extraction-l2-organize-memory-around-projects-or-scenarios)

Scene extraction L2 organizes memory by project and scenario, creating knowledge blocks that restore context without reprocessing conversations. Learn how it works.

- Tags: deep-dive
- Published: 2026-08-06

### [How to Set Up ACL-Based Access Control for Private, Team, and Restricted Assets in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-set-up-acl-based-access-control-for-private-team-and-restricted-assets)

Learn to set up ACL based access control for private, team, and restricted assets in TencentDB Agent Memory. Secure your data with granular permissions.

- Tags: how-to-guide
- Published: 2026-08-06

### [How the Agent Loadout System Equips Memory in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-agent-loadout-system-work-for-equipping-memory-to-different-agents)

Discover how the agent loadout system equips memory per agent in TencentDB Agent Memory using YAML for runtime binding via MemoryProxy. Learn about this unique approach to agent memory management.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Integrate TencentDB Agent Memory with Claude Code or CodeBuddy](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-claude-code-or-codebuddy)

Seamlessly integrate TencentDB Agent Memory with Claude Code or CodeBuddy. Leverage MemoryProxy for effortless memory asset injection via OpenAI-compatible endpoints, no code changes needed.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Configure Memory Retention and Cleanup Policies for L0/L1 Data in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-memory-retention-and-cleanup-policies-for-l0-l1-data)

Learn to configure memory retention and cleanup policies for L0L1 data in TencentDB-Agent-Memory. Set capture.l0l1RetentionDays for automatic TTL deletion and optionally bypass the safety threshold.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Create and Manage Skills as Reusable Expertise in Memory Hub](/TencentCloud/TencentDB-Agent-Memory/how-to-create-and-manage-skills-as-reusable-expertise-in-memory-hub)

Learn to create and manage reusable Skills in Memory Hub. Define expertise with YAML and markdown for automated routing by OpenClaw.

- Tags: how-to-guide
- Published: 2026-08-06

### [How the Async Memory Extraction Pipeline Transforms Conversations into Layered Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-async-memory-extraction-pipeline-process-conversations-into-layered-memory)

Discover how the async memory extraction pipeline transforms conversations into layered memory. TencentDB Agent Memory uses asynchronous LLM extraction to generate structured entities, scene blocks, and persona records without ...

- Tags: internals
- Published: 2026-08-06

### [How to Set Up Context Offload for Handling Large Conversations in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-set-up-context-offload-for-handling-large-conversations)

Learn how to set up context offload in TencentDB Agent Memory. Utilize a multi-layer compression pipeline to manage large conversations efficiently, moving context out of the active LLM prompt.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Use tdai_memory_search Tool for Agent Memory Retrieval in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-use-tdai_memory_search-tool-for-agent-memory-retrieval)

Learn how to use the tdai_memory_search tool to efficiently retrieve agent memory and conversation history from TencentDB Agent Memory. Get semantic search capabilities now.

- Tags: how-to-guide
- Published: 2026-08-06

### [How to Configure Memory Capture and Recall in the OpenClaw Plugin](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-memory-capture-and-recall-in-openclaw-plugin)

Learn to configure memory capture and recall in OpenClaw. Edit the openclaw.plugin.json manifest, set Memory Gateway details, and enable hook permissions for seamless memory management.

- Tags: how-to-guide
- Published: 2026-08-06

### [How the Four-Layer Memory System (L0-L3) Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-four-layer-memory-system-l0-l3-work-in-tencentdb-agent-memory)

Understand the four-layer memory system L0-L3 in TencentDB Agent Memory. Learn how it processes conversational data through capture, extraction, clustering, and synthesis.

- Tags: internals
- Published: 2026-08-06

### [TencentDB Agent Memory Supported Agent Frameworks: OpenClaw, Hermes, Claude Code, and SDK](/TencentCloud/TencentDB-Agent-Memory/what-are-the-supported-agent-frameworks-openclaw-hermes-etc)

Explore TencentDB Agent Memory's supported agent frameworks including OpenClaw, Hermes, Claude Code, CodeBuddy, and a custom SDK. Integrate seamlessly with your preferred tools.

- Tags: api-reference
- Published: 2026-08-05

### [How RRF Retrieval Combines BM25 and Vector Search in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-rrf-retrieval-work-with-bm25-and-vector-search)

Learn how TencentDB-Agent-Memory uses Reciprocal Rank Fusion RRF to combine BM25 keyword search and vector similarity for superior retrieval results. Discover the formula and its benefits.

- Tags: how-to-guide
- Published: 2026-08-05

### [Chat Memory vs Skills as Assets in TencentDB Agent Memory: A Technical Comparison](/TencentCloud/TencentDB-Agent-Memory/what-is-the-difference-between-chat-memory-and-skills-as-assets)

Understand the technical difference between Chat Memory and Skills as assets in TencentDB Agent Memory. Learn how to leverage conversational context and executable workflows effectively.

- Tags: deep-dive
- Published: 2026-08-05

### [How to Migrate Data from v2 to v3 Using the Migration Tool in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-i-migrate-data-from-v2-to-v3-using-the-migration-tool)

Migrate data from v2 to v3 easily with the TencentDB Agent Memory migration tool. This script automates schema conversion, file relocation, and backups for a seamless transition.

- Tags: migration-guide
- Published: 2026-08-05

### [TencentDB Memory Deployment Options: Standalone vs. Service Mode for Memory Core and Memory Hub](/TencentCloud/TencentDB-Agent-Memory/what-are-the-deployment-options-for-memory-core-and-memory-hub)

Explore TencentDB Memory deployment options: Standalone vs Service Mode for Memory Core and Memory Hub. Learn how to configure your memory deployment for optimal performance.

- Tags: architecture
- Published: 2026-08-05

### [How the TencentDB Memory v3 API Handles Timeout and Error Responses](/TencentCloud/TencentDB-Agent-Memory/how-does-the-v3-api-handle-timeout-and-error-responses)

Learn how the TencentDB Memory v3 API handles timeout and error responses using AbortController for default 30-second timeouts and structured TDAMError objects for clear failure reporting.

- Tags: how-to-guide
- Published: 2026-08-05

### [What Is `MemoryClient.withIsolation()` and How to Use It in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-memoryclient-withisolation-method-used-for)

Learn how to use MemoryClient.withIsolation() in TencentDB Agent Memory. Create isolated client instances for temporary scope adjustments like session_id or task_id without altering the original client.

- Tags: how-to-guide
- Published: 2026-08-05

### [How to Integrate TencentDB Agent Memory with Claude Code: A Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/how-do-i-integrate-tencentdb-agent-memory-with-claude-code)

Seamlessly integrate TencentDB Agent Memory with Claude Code. This guide shows how MemoryProxy injects context into Anthropic API requests without code changes. Get started today.

- Tags: how-to-guide
- Published: 2026-08-05

### [Scenario vs Core Memory Layers in TencentDB Agent Memory: Key Differences Explained](/TencentCloud/TencentDB-Agent-Memory/what-are-the-differences-between-scenario-and-core-memory-layers)

Understand the key differences between TencentDB Agent's Scenario and Core memory layers. Learn how L2 manages project Markdown and L3 handles global persona files for optimal agent performance.

- Tags: deep-dive
- Published: 2026-08-05

### [How the Memory Hub Implements ACL-Based Access Control](/TencentCloud/TencentDB-Agent-Memory/how-does-the-memory-hub-implement-acl-based-access-control)

Discover how the Memory Hub implements ACL-based access control using a three-layer model for fine-grained security. Learn about visibility tiers, role permissions, and efficient ACL record loading.

- Tags: how-to-guide
- Published: 2026-08-05

### [TencentDB Agent Memory Distillation Pipeline: From L0 to L3 Explained](/TencentCloud/TencentDB-Agent-Memory/what-is-the-memory-distillation-pipeline-from-l0-to-l3)

Discover the TencentDB Agent Memory pipeline. Learn how L0 conversation logs transform into L1 atoms, L2 scenarios, and L3 persona cores for efficient knowledge inheritance.

- Tags: deep-dive
- Published: 2026-08-05

### [Skill Extraction and Management Workflow in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-skill-extraction-and-management-workflow)

Discover the skill extraction and management workflow in TencentDB Agent Memory. Learn how capabilities are extracted, versioned, and published to a searchable catalog via an async pipeline.

- Tags: how-to-guide
- Published: 2026-08-05

### [What Is CodeGraph and How Does It Index Code Symbols in TencentDB-Agent-Memory?](/TencentCloud/TencentDB-Agent-Memory/what-is-codegraph-and-how-does-it-index-code-symbols)

Discover CodeGraph a graph-based code representation that indexes repositories and efficiently queries symbol metadata and call relationships using SQLite.

- Tags: internals
- Published: 2026-08-05

### [How the Memory Hub Manages Asset Visibility: Private, Team, and Restricted Access Control](/TencentCloud/TencentDB-Agent-Memory/how-does-the-memory-hub-manage-asset-visibility-private-team-restricted)

Learn how the Memory Hub manages asset visibility with its five-level model. Discover how ownership, team membership, and ACLs control access for private, team, and restricted assets.

- Tags: internals
- Published: 2026-08-05

### [How to Use the Python SDK vs. TypeScript SDK for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-i-use-the-python-sdk-vs-typescript-sdk-for-agent-memory)

Explore the Python SDK vs TypeScript SDK for TencentDB Agent Memory. Learn how to read and write across four memory layers using identical isolation semantics with both synchronous and asynchronous clients.

- Tags: how-to-guide
- Published: 2026-08-05

### [Query and Search APIs in TencentDB Agent Memory SDK: What's the Difference?](/TencentCloud/TencentDB-Agent-Memory/what-is-the-difference-between-query-and-search-apis-in-the-sdk)

Understand the distinct capabilities of query and search APIs in the TencentDB Agent Memory SDK. Query uses metadata filters; Search offers full-text and semantic matching for ranked results.

- Tags: api-reference
- Published: 2026-08-05

### [How MemoryClient Implements Team-Based Access Control in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-memoryclient-handle-team-based-access-control)

Learn how MemoryClient implements team-based access control in TencentDB-Agent-Memory. Discover how it ensures secure data access through IsolationContext and server-side ACL checks.

- Tags: how-to-guide
- Published: 2026-08-05

### [Session ID Requirement for Writes in TencentDB Agent Memory: Why It's Mandatory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-session-id-requirement-and-why-is-it-mandatory-for-writes)

Understand why the session_id parameter is mandatory for all writes in the TencentDB Agent Memory SDK. Ensure strict session isolation and prevent data contamination.

- Tags: how-to-guide
- Published: 2026-08-05

### [How to Configure MemoryClient with TeamId, AgentId, and UserId in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-i-configure-the-memoryclient-with-teamid-agentid-and-userid)

Learn how to configure MemoryClient with TeamId AgentId and UserId in TencentDB Agent Memory. Pass identifiers in the config object for automatic injection into API calls.

- Tags: how-to-guide
- Published: 2026-08-05

### [L0, L1, L2, L3 Memory Layers Explained: TencentDB Agent Memory Architecture](/TencentCloud/TencentDB-Agent-Memory/what-are-the-differences-between-l0-l1-l2-and-l3-memory-layers)

Understand TencentDB Agent Memory's L0, L1, L2, and L3 layers. Discover how this architecture optimizes retrieval speed, access patterns, and privacy for conversation logs to persona profiles.

- Tags: architecture
- Published: 2026-08-05

### [How v3 Strict-Isolation Works in TencentDB Agent Memory: Triad-Based Data Segmentation Explained](/TencentCloud/TencentDB-Agent-Memory/how-does-v3-strict-isolation-work-in-tencentdb-agent-memory)

Discover how TencentDB Agent Memory v3 strict-isolation achieves data segmentation using an immutable triad. Learn about explicit session scoping for writes and flexible cross-session reads.

- Tags: deep-dive
- Published: 2026-08-05

### [How to Debug Memory Retrieval Issues When Character Budget Limits Are Exceeded in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-debug-memory-retrieval-issues-when-character-budget-limits-are-exceeded)

Fix TencentDB Agent Memory retrieval issues caused by character limits. Inspect logs, adjust char_budget or tokenBudget, and verify telemetry for complete content delivery.

- Tags: how-to-guide
- Published: 2026-08-05

### [Performance Considerations and Limits for CodeGraph with Large Codebases](/TencentCloud/TencentDB-Agent-Memory/what-are-the-performance-considerations-and-limits-for-codegraph-with-large-codebases)

Explore CodeGraph performance limits for large codebases. Discover how TencentDB-Agent-Memory handles massive repositories efficiently without blocking APIs or exhausting resources.

- Tags: performance
- Published: 2026-08-05

### [How to Implement Custom Memory Distillation Pipelines Beyond Default L0-L3 in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-custom-memory-distillation-pipelines-beyond-default-l0-l3)

Unlock custom memory distillation pipelines beyond L0-L3 in TencentDB Agent Memory. Extend the architecture with new API endpoints for advanced processing. Learn how now.

- Tags: how-to-guide
- Published: 2026-08-05

### [Cold-Start Asset Import from Existing Repositories: Best Practices for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-best-practices-for-cold-start-asset-import-from-existing-repositories)

Learn best practices for cold-start asset import from existing repositories to securely ingest codebases into TencentDB Agent Memory's Knowledge Service for immediate agent use. Optimize your agent teams.

- Tags: best-practices
- Published: 2026-08-05

### [How Skill Versioning, Resource Files, and Validation Rules Work in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-do-skill-versioning-resource-files-and-validation-rules-function)

Discover how TencentDB-Agent-Memory uses skill versioning, resource files, and validation rules. Learn about optimistic locking, Zod schemas, and the SkillClient SDK for robust performance.

- Tags: how-to-guide
- Published: 2026-08-05

### [How to Configure Team Roles and Permissions in Memory Hub: Admin vs Member Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-team-roles-and-permissions-in-memory-hub-admin-vs-member)

Master Memory Hub team roles and permissions. Understand Admin vs Member capabilities to manage your TencentDB Agent Memory effectively. Gain full control or limited resource access now.

- Tags: how-to-guide
- Published: 2026-08-05

### [Vector vs. BM25 Retrieval in TencentDB Agent Memory: Hybrid, Dense, and Sparse Search Explained](/TencentCloud/TencentDB-Agent-Memory/what-is-the-difference-between-vector-and-bm25-retrieval-in-memory-recall)

Understand vector vs BM25 retrieval in TencentDB Agent Memory. Discover how dense semantic search and sparse keyword matching combine for superior memory recall.

- Tags: deep-dive
- Published: 2026-08-05

### [How to Implement Restart Recovery for Interrupted Ingestion Tasks in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-restart-recovery-for-interrupted-ingestion-tasks)

Learn how to implement restart recovery for interrupted ingestion tasks in TencentDB Agent Memory. Ensure data integrity and enable user retries with this essential guide.

- Tags: how-to-guide
- Published: 2026-08-05

### [How to Use the `/v3/tools/list` and `/v3/tools/call` API Endpoints in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-api-endpoints-for-v3-tools-list-and-v3-tools-call)

Learn to use TencentDB Agent Memory's /v3/tools/list and /v3/tools/call API endpoints. Discover and execute LLM agent tools with this self-discovery HTTP interface.

- Tags: api-reference
- Published: 2026-08-05

### [How CodeGraphInstancePool Manages Memory for Large Codebases in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-codegraphinstancepool-manage-memory-for-large-codebases)

Discover how CodeGraphInstancePool manages memory for large codebases using lazy loading, reference counting, and deterministic cleanup. Prevent unbounded memory growth efficiently.

- Tags: internals
- Published: 2026-08-05

### [How to Implement Custom Source Fetchers for Various Repository Types in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-custom-source-fetchers-for-various-repository-types)

Learn to implement custom source fetchers for diverse repository types in TencentDB Agent Memory. Follow simple steps to register fetchers and enhance your agent's data retrieval capabilities.

- Tags: how-to-guide
- Published: 2026-08-05

### [Wiki Ingest LLM Configuration: Proxy vs. Custom Mode in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-llm-configuration-options-exist-for-wiki-ingest-proxy-vs-custom)

Explore TencentDB Agent Memory's wiki ingest LLM configuration. Understand proxy vs custom mode to efficiently route your LLM requests and optimize your data pipeline.

- Tags: how-to-guide
- Published: 2026-08-05

### [How to Create Custom Wiki Source Managers for Documentation Ingestion in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-create-custom-wiki-source-managers-for-documentation-ingestion)

Learn to create custom wiki source managers for documentation ingestion in TencentDB Agent Memory. Implement the WikiSourceManager interface and manage documentation lifecycle with SQLite indexing and LLM processing.

- Tags: how-to-guide
- Published: 2026-08-05

### [How the Auto-Sync Scheduler Manages CodeGraph Updates in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-auto-sync-scheduler-manage-codegraph-updates)

Discover how the auto-sync scheduler manages codegraph updates in TencentDB-Agent-Memory using a FIFO queue and worker pool for efficient Git repo synchronization and index refreshing.

- Tags: how-to-guide
- Published: 2026-08-05

### [How to Migrate Data from v2 to v3 in TencentDB Agent Memory: Complete Migration Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-perform-data-migration-from-v2-to-v3-in-tencentdb-agent-memory)

Easily migrate data from v2 to v3 in TencentDB Agent Memory using the provided Python script. This guide details the idempotent upgrade process for your SQLite schema and L2/L3 files.

- Tags: migration-guide
- Published: 2026-08-05

### [Private vs Team vs Restricted Visibility in TencentDB Agent Memory: A Complete Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-visibility-level-differences-private-team-and-restricted)

Understand private, team, and restricted visibility in TencentDB Agent Memory. Learn how to control access for owners, team members, and specific users with our complete guide.

- Tags: deep-dive
- Published: 2026-08-05

### [How Memory Asset Binding Works for Different Agents in TencentDB](/TencentCloud/TencentDB-Agent-Memory/how-does-memory-asset-binding-work-for-different-agents-in-tencentdb)

Understand memory asset binding in TencentDB. Discover how fixed and session bindings ensure consistent routing and asset loading for different agents.

- Tags: how-to-guide
- Published: 2026-08-05

### [How to Integrate TencentDB Agent Memory with the OpenClaw Framework: Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-the-openclaw-framework)

Integrate TencentDB Agent Memory with OpenClaw using this guide. Learn setup for the HTTP JSON API plugin, requiring OpenClaw ≥2026.3.13 and the tdai-memory-openclaw-plugin package.

- Tags: how-to-guide
- Published: 2026-08-05

### [How TencentDB Agent Memory Ingests Wiki Content with LLM Processing: A Complete Technical Guide](/TencentCloud/TencentDB-Agent-Memory/explain-the-wiki-ingestion-process-with-llm-processing-in-tencentdb-agent-memory)

Learn how TencentDB Agent Memory ingests wiki content with LLM processing. Discover the three-stage pipeline: discovery, retrieval, and embedding generation. Explore KnowledgeToolsInjector and context proxy.

- Tags: how-to-guide
- Published: 2026-08-05

### [How to Configure ACL-Based Access Control for Memory Assets in TencentDB](/TencentCloud/TencentDB-Agent-Memory/how-can-i-configure-acl-based-access-control-for-memory-assets-in-tencentdb)

Secure your TencentDB memory assets with ACL based access control. Learn how to set visibility grant permissions via Meta API and use role defaults for robust security.

- Tags: how-to-guide
- Published: 2026-08-05

### [CodeGraph Indexing in TencentDB-Agent-Memory: How It Builds and Tracks Code Relationships](/TencentCloud/TencentDB-Agent-Memory/what-is-the-functionality-of-codegraph-indexing-and-its-tracked-code-relationships)

Explore CodeGraph indexing in TencentDB-Agent-Memory. Discover how it builds a queryable code graph to track symbol, file, and edge relationships for precise code analysis.

- Tags: internals
- Published: 2026-08-05

### [How to Implement Custom Skill Extraction from Agent Conversations in TencentDB](/TencentCloud/TencentDB-Agent-Memory/how-to-implement-custom-skill-extraction-from-agent-conversations-in-tencentdb)

Learn to implement custom skill extraction from agent conversations in TencentDB using the SkillClient SDK. Explore the /v3/skill/extract endpoint for efficient data processing.

- Tags: how-to-guide
- Published: 2026-08-05

### [How to Extend the TencentDB Agent Memory System to Support a New Agent Framework](/TencentCloud/TencentDB-Agent-Memory/extend-memory-system-new-agent-framework)

Extend TencentDB Agent Memory system for new frameworks by implementing a ProtocolAdapter. Convert native formats to AgentContext and register the adapter easily. Learn how now.

- Tags: how-to-guide
- Published: 2026-08-04

### [What Is the Relationship Between Instance ID, Service ID, and Memory Space in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/instanceid-serviceid-memory-spaces-relationship)

Understand the relationship between Instance ID, Service ID, and memory spaces in TencentDB Agent Memory. Discover how they connect via HTTP headers across different service layers.

- Tags: architecture
- Published: 2026-08-04

### [How to Troubleshoot Memory Capture or Recall Not Working Properly in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/troubleshoot-memory-capture-recall-issues)

Troubleshoot TencentDB Agent Memory capture or recall failures. Learn common causes like malformed requests, missing fields, payload limits, and backend issues. Verify payloads and inspect logs.

- Tags: how-to-guide
- Published: 2026-08-04

### [TencentDB Agent Memory Hooks Explained: beforePromptBuild, agentEnd, and beforeMessageWrite](/TencentCloud/TencentDB-Agent-Memory/understanding-agent-hooks-purposes)

Understand TencentDB Agent Memory hooks: beforePromptBuild, agentEnd, and beforeMessageWrite. Extend the MemoryProxy pipeline to customize prompts, process responses, and clean up after requests.

- Tags: deep-dive
- Published: 2026-08-04

### [How the TencentDB Agent Memory Panel Supports Team Collaboration and Asset Sharing](/TencentCloud/TencentDB-Agent-Memory/memory-panel-team-collaboration-asset-sharing)

Boost team collaboration and asset sharing with the TencentDB Agent Memory Panel. Securely share and reuse Chat Memory, Skills, Wiki pages, and CodeGraphs across agents with granular controls.

- Tags: how-to-guide
- Published: 2026-08-04

### [Understanding the Stateless Client Mode Architecture for Context Offload in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/stateless-client-mode-offload-architecture)

Explore the stateless client mode architecture for context offload in TencentDB Agent Memory. Discover how it offloads compression to a remote server, simplifying agent operation.

- Tags: architecture
- Published: 2026-08-04

### [How to Customize L1/L2/L3 Extraction Prompts for Specific Use Cases](/TencentCloud/TencentDB-Agent-Memory/customize-l1-l2-l3-extraction-prompts)

Customize TencentDB-Agent-Memory L1/L2/L3 extraction prompts via source edits or YAML overrides. Adapt prompts for your use case without rebuilding the agent.

- Tags: how-to-guide
- Published: 2026-08-04

### [Best Practices for Configuring Memory Retention and Cleanup in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/best-practices-memory-retention-cleanup-configuration)

Master TencentDB-Agent-Memory configuration for optimal performance. Learn best practices for memory retention and cleanup, setting l0l1RetentionDays, enabling auto-cleaner, and scheduling off-peak cleanup.

- Tags: best-practices
- Published: 2026-08-04

### [Hermes Agent Integration Skill Asset Management: Complete Technical Guide](/TencentCloud/TencentDB-Agent-Memory/hermes-agent-integration-skill-asset-management)

Explore Hermes agent integration and Skill asset management in TencentDB Agent Memory. Discover unified skill loading versioning and invocation across runtimes. Learn more.

- Tags: how-to-guide
- Published: 2026-08-04

### [How to Set Up Tencent COS Storage for the `read_cos` Tool in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/setup-tencent-cos-storage-read_cos-tool)

Easily set up Tencent COS storage for the read_cos tool in TencentDB-Agent-Memory. Configure your COS bucket, enable STS, and update Memory Proxy settings for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-04

### [Memory-TDAI Plugin Configuration in OpenClaw.json: Complete Options Reference](/TencentCloud/TencentDB-Agent-Memory/memory-tdai-plugin-configuration-openclaw-json)

Explore the complete memory-tdai plugin configuration options in openclaw.json. Learn about mode selection, storage, capture, recall, and embedding providers for enhanced memory management.

- Tags: api-reference
- Published: 2026-08-04

### [How the TencentDB Agent Memory Recall System Works: BM25 + Vector Retrieval + RRF](/TencentCloud/TencentDB-Agent-Memory/recall-system-bm25-vector-retrieval-rrf-explained)

Understand the TencentDB Agent Memory recall system. Discover how BM25, vector retrieval, and RRF combine for superior search result ranking.

- Tags: deep-dive
- Published: 2026-08-04

### [How to Migrate Data from v1.x/v0.x to v2.0.0+ Using the TencentDB-Agent-Memory Migration Tool](/TencentCloud/TencentDB-Agent-Memory/migrate-data-v1-v0-to-v2-migration-tool)

Migrate data from v1.x/v0.x to v2.0.0+ easily using the TencentDB-Agent-Memory migration tool. Automate your transition without data loss or configuration issues. Get started now.

- Tags: migration-guide
- Published: 2026-08-04

### [What Is CodeGraph and How Does It Index Code Symbols and Call Relationships?](/TencentCloud/TencentDB-Agent-Memory/what-is-codegraph-indexing-code-symbols-relationships)

Discover CodeGraph, a structural knowledge representation that indexes code symbols and call relationships in your repository. Learn how it builds a queryable graph from source code.

- Tags: deep-dive
- Published: 2026-08-04

### [How to Use the v3 API Endpoints for Knowledge Retrieval in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/use-v3-api-endpoints-knowledge-retrieval)

Learn to use TencentDB Agent Memory v3 API endpoints /v3/tools/list and /v3/tools/call for efficient knowledge retrieval. Discover and execute operations seamlessly.

- Tags: how-to-guide
- Published: 2026-08-04

### [TencentDB Agent Memory: SQLite vs MongoDB Metadata Storage Options Explained](/TencentCloud/TencentDB-Agent-Memory/metadata-storage-options-sqlite-mongodb-usage)

Explore TencentDB Agent Memory's metadata storage options: SQLite for standalone and MongoDB for service deployments. Learn when to use each with automated validation.

- Tags: deep-dive
- Published: 2026-08-04

### [How to Set Up Memory Pipeline Workers for Async L1/L2/L3 Extraction](/TencentCloud/TencentDB-Agent-Memory/setup-memory-pipeline-workers-async-extraction)

Learn how to set up memory pipeline workers for async L1/L2/L3 extraction. Configure the pipelineWorker in your service config and launch the Memory service for automatic task execution.

- Tags: how-to-guide
- Published: 2026-08-04

### [Local Mode vs Client Mode in TencentDB Agent Memory Offload Configuration](/TencentCloud/TencentDB-Agent-Memory/local-mode-vs-client-mode-offload-configuration)

Understand local mode vs client mode for TencentDB Agent memory offload. Learn how each configuration handles LLM calls and compression for efficient data management.

- Tags: how-to-guide
- Published: 2026-08-04

### [How the OpenClaw Plugin Integrates with TencentDB Agent Memory v2 API](/TencentCloud/TencentDB-Agent-Memory/openclaw-plugin-integrate-tencentdb-agent-memory-v2-api)

Learn how the OpenClaw plugin integrates with the TencentDB Agent Memory v2 API using its JSON manifest, runtime loader, and Memory Proxy. Discover the key components for seamless integration.

- Tags: how-to-guide
- Published: 2026-08-04

### [How to Configure Access Control (Private, Team, Restricted) for Memory Assets in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/configure-memory-asset-access-control)

Learn to configure access control for memory assets in TencentDB Agent Memory. Set visibility to private, team, or restricted using the metadata service API or SDK for secure data management.

- Tags: how-to-guide
- Published: 2026-08-04

### [Chat Memory vs Skills vs Wiki vs Code Graph: Asset Type Differences in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/chat-memory-skills-wiki-codegraph-asset-differences)

Understand the differences between Chat Memory, Skills, Wiki, and Code Graph asset types in TencentDB Agent-Memory. Learn about their unique identifiers, storage, and LLM interaction models.

- Tags: deep-dive
- Published: 2026-08-04

### [How the TencentDB Agent Memory Offload System Compresses Context to Stay Within Token Limits](/TencentCloud/TencentDB-Agent-Memory/offload-system-agent-context-compression)

Discover how the TencentDB Agent Memory offload system compresses context using a four-stage pipeline to stay within LLM token limits. Learn about fast-path restoration, summarization, deletion, and truncation.

- Tags: deep-dive
- Published: 2026-08-04

### [Memory Hub Architecture: How TencentDB Agent Memory Manages Team Memory Assets](/TencentCloud/TencentDB-Agent-Memory/memory-hub-architecture-team-memory-management)

Explore the Memory Hub architecture and discover how TencentDB Agent Memory manages team memory assets including Chat Memory, Skills, Wiki, and CodeGraph.

- Tags: architecture
- Published: 2026-08-04

### [How the Four-Layer Memory System (L0-L3) Distills Conversations into Memory Assets in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-four-layer-memory-system-works)

Discover how TencentDB Agent Memory's four-layer system (L0-L3) transforms conversations into valuable memory assets, from raw transcripts to persistent user personas.

- Tags: deep-dive
- Published: 2026-08-04

### [How to Update TencentDB Agent Memory to the Latest Version](/TencentCloud/TencentDB-Agent-Memory/how-to-update-tencentdb-agent-memory-to-the-latest-version)

Easily update TencentDB Agent Memory to the latest version. Pull the latest branch, rebuild Docker images, and restart the stack to get the newest features while keeping your data safe.

- Tags: how-to-guide
- Published: 2026-08-03

### [What Is the Role of the Configuration File in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-is-the-role-of-the-configuration-file-in-tencentdb-agent-memory)

Discover the role of the configuration file in TencentDB Agent Memory. It centralizes control and validation for memory capture, extraction, embedding, storage, and LLM integration.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Secure the Communication Between TencentDB Agent Memory and the Database](/TencentCloud/TencentDB-Agent-Memory/how-to-secure-the-communication-between-tencentdb-agent-memory-and-the-database)

Secure TencentDB Agent Memory communication using TLS, environment variables, and private VPC deployment. Encrypt and authenticate all database traffic for enhanced security.

- Tags: how-to-guide
- Published: 2026-08-03

### [Common Troubleshooting Steps for TencentDB Agent Memory Issues](/TencentCloud/TencentDB-Agent-Memory/what-are-the-common-troubleshooting-steps-for-tencentdb-agent-memory-issues)

Troubleshoot TencentDB Agent Memory issues by validating .env config running verify.sh checks ensuring port availability and inspecting container logs Learn quick fixes for common problems.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Customize the Metrics Collected by TencentDB Agent Memory: Complete Configuration Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-customize-the-metrics-collected-by-tencentdb-agent-memory)

Customize metrics in TencentDB Agent Memory by editing tdai-gateway.yaml to select backends like OpenTelemetry and Kafka, adjust export intervals, and filter metrics for tailored monitoring.

- Tags: how-to-guide
- Published: 2026-08-03

### [What Is the Performance Impact of Running TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/what-is-the-expected-performance-impact-of-running-tencentdb-agent-memory)

Discover the performance impact of TencentDB Agent Memory. Learn how it reduces LLM inference steps for a 59% PersonaMem benchmark improvement with minimal latency overhead.

- Tags: performance
- Published: 2026-08-03

### [Can TencentDB Agent Memory Be Used for Real-Time Monitoring?](/TencentCloud/TencentDB-Agent-Memory/can-tencentdb-agent-memory-be-used-for-real-time-monitoring)

Discover if TencentDB Agent Memory supports real-time monitoring. Learn why its design as a knowledge base makes it unsuitable for low-latency telemetry.

- Tags: how-to-guide
- Published: 2026-08-03

### [How TencentDB Agent Memory Handles Database Authentication: Proxy Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-handle-authentication-with-the-database)

Discover how TencentDB Agent Memory handles database authentication using a proxy architecture. Learn about user key verification and internal service token communication.

- Tags: internals
- Published: 2026-08-03

### [TencentDB Agent Memory Dependencies: Complete Package Guide for the Monorepo](/TencentCloud/TencentDB-Agent-Memory/what-are-the-dependencies-for-tencentdb-agent-memory)

Explore TencentDB Agent Memory dependencies in its TypeScript monorepo. Understand the package guide for MemoryCore, MemoryProxy, and MemoryKnowledge, supporting a four-layer memory pipeline.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Build TencentDB Agent Memory From Source: A Complete Developer Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-build-tencentdb-agent-memory-from-source)

Learn to build TencentDB Agent Memory from source with this developer guide. Clone the repo, set up Node.js and pnpm, compile services, build Docker images, and launch the full stack.

- Tags: how-to-guide
- Published: 2026-08-03

### [What Programming Language Is TencentDB Agent Memory Written In?](/TencentCloud/TencentDB-Agent-Memory/what-programming-language-is-tencentdb-agent-memory-written-in)

Discover the programming language behind TencentDB Agent Memory. This powerful tool is written in TypeScript and runs on Node.js, enabling efficient memory management.

- Tags: getting-started
- Published: 2026-08-03

### [How TencentDB Agent Memory Collects Memory Usage Data: A Deep Dive into the Quota Manager Pattern](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memory-collect-memory-usage-data)

Learn how TencentDB Agent Memory collects memory usage data using the quota manager and reportMemoryAdded method for real-time metrics without API latency.

- Tags: deep-dive
- Published: 2026-08-03

### [What Is the Main Script in TencentDB Agent Memory? Purpose and Architecture](/TencentCloud/TencentDB-Agent-Memory/what-is-the-purpose-of-the-main-script-in-tencentdb-agent-memory)

Discover the purpose of the main script in TencentDB Agent Memory. Learn how it bootstraps the OpenClaw plugin and initializes the multi-layer memory engine for automatic capture and recall.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Uninstall TencentDB Agent Memory: Complete Removal Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-uninstall-tencentdb-agent-memory)

Learn how to uninstall TencentDB Agent Memory completely. Follow our guide to stop all containers and remove all persistent data with a simple command.

- Tags: how-to-guide
- Published: 2026-08-03

### [TencentDB Agent Memory Supported Database Versions: Complete Compatibility Guide](/TencentCloud/TencentDB-Agent-Memory/what-database-versions-are-supported-by-tencentdb-agent-memory)

Discover which database versions TencentDB Agent Memory supports including MySQL, MariaDB, PostgreSQL, MongoDB, Redis, and SQL Server. Get complete compatibility details.

- Tags: api-reference
- Published: 2026-08-03

### [How to Set Up Alerts for Database Performance Issues with TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-set-up-alerts-for-database-performance-issues-with-tencentdb-agent-memory)

Set up alerts for database performance issues with TencentDB Agent Memory. Configure metrics collection and create alert rules via the Memory Hub API for timely notifications.

- Tags: how-to-guide
- Published: 2026-08-03

### [Can TencentDB Agent Memory Monitor Multiple Database Instances?](/TencentCloud/TencentDB-Agent-Memory/can-tencentdb-agent-memory-monitor-multiple-database-instances)

Discover how TencentDB Agent Memory effectively monitors multiple database instances. Learn to isolate and configure each instance for comprehensive oversight.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Integrate TencentDB Agent Memory with Prometheus: A Complete Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-prometheus)

Learn how to integrate TencentDB Agent Memory with Prometheus using the OpenTelemetry exporter. This guide shows you how to expose metrics automatically for seamless monitoring.

- Tags: how-to-guide
- Published: 2026-08-03

### [What Metrics Does TencentDB Agent Memory Collect?](/TencentCloud/TencentDB-Agent-Memory/what-metrics-does-tencentdb-agent-memory-collect)

Discover the metrics TencentDB Agent Memory collects, including llm_call outcomes, pipeline_l1_trigger events, and timer_scanner ticks for comprehensive runtime observability.

- Tags: api-reference
- Published: 2026-08-03

### [How to Enable Verbose Logging in TencentDB Agent Memory: Configuration Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-enable-verbose-logging-in-tencentdb-agent-memory)

Enable verbose logging in TencentDB Agent Memory using the CLI flag --verbose or YAML config log.verbose: true for detailed diagnostics. Troubleshoot effectively.

- Tags: how-to-guide
- Published: 2026-08-03

### [Where Are the Logs for TencentDB Agent Memory Stored?](/TencentCloud/TencentDB-Agent-Memory/where-are-the-logs-for-tencentdb-agent-memory-stored)

Discover where TencentDB Agent Memory logs are stored. Find runtime logs in /data/knowledge/logs and Core Gateway logs via the MEMORY_TENCENTDB_LOG_DIR environment variable.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Configure TencentDB Agent Memory for a Specific Database](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-tencentdb-agent-memory-for-a-specific-database)

Learn how to configure TencentDB Agent Memory for a specific database by setting environment variables or modifying YAML files. Isolate SQLite storage and direct your gateway for efficient memory management.

- Tags: how-to-guide
- Published: 2026-08-03

### [System Requirements for TencentDB Agent Memory: Complete Deployment Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-system-requirements-for-tencentdb-agent-memory)

Discover TencentDB Agent Memory system requirements including Node.js, OpenClaw, Docker, and Linux host specs. Ensure a smooth deployment with this complete guide.

- Tags: how-to-guide
- Published: 2026-08-03

### [How to Install TencentDB Agent Memory on Linux](/TencentCloud/TencentDB-Agent-Memory/how-to-install-tencentdb-agent-memory-on-linux)

Install TencentDB Agent Memory on Linux using Docker Compose and provided scripts. Deploy the three-service stack quickly and easily with clear instructions.

- Tags: how-to-guide
- Published: 2026-08-03

### [How Backend Mode Routes LLM Calls to Remote Services in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-backend-mode-route-llm-calls-to-remote-services-in-tencentdb-agent-memory)

Discover how TencentDB Agent Memory's backend mode routes LLM calls to remote services. Learn about L1 summarization, task judgment, MMD generation, and skill extraction with `BackendClient`.

- Tags: how-to-guide
- Published: 2026-07-15

### [How to Troubleshoot Offload L1/L2 Pipeline Failures in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-troubleshoot-offload-l1-or-l2-pipeline-failures-in-tencentdb-agent-memory)

Troubleshoot TencentDB Agent Memory L1 L2 pipeline failures caused by configuration thresholds timing conditions or filtering logic Learn how to resolve these common issues quickly

- Tags: how-to-guide
- Published: 2026-07-15

### [How to Integrate TencentDB Agent Memory with OpenClaw versus Hermes Agent Frameworks](/TencentCloud/TencentDB-Agent-Memory/how-to-integrate-tencentdb-agent-memory-with-openclaw-versus-hermes-agent-frameworks)

Learn how to integrate TencentDB Agent Memory with OpenClaw using its plugin architecture or with Hermes by deploying a Gateway sidecar. Compare integration methods for optimal performance.

- Tags: how-to-guide
- Published: 2026-07-15

### [How SessionRegistry Manages Multiple Concurrent Sessions in TencentDB Agent Memory: Architecture & Code Walkthrough](/TencentCloud/TencentDB-Agent-Memory/how-does-the-sessionregistry-manage-multiple-concurrent-sessions-in-tencentdb-agent-memory)

Discover how SessionRegistry in TencentDB Agent Memory handles concurrent sessions. Explore its architecture, Node.js event loop benefits, and atomic updates.

- Tags: architecture
- Published: 2026-07-15

### [How to Configure Memory Cleanup and Retention Policies in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-memory-cleanup-and-retention-policies-in-tencentdb-agent-memory)

Master TencentDB Agent Memory configuration for memory cleanup and retention. Set TTL policies and understand validation logic for optimal performance and data management.

- Tags: how-to-guide
- Published: 2026-07-15

### [Performance Implications of Memory Layering in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-performance-implications-of-using-memory-layering-in-tencentdb-agent-memory)

Understand memory layering in TencentDB Agent Memory. Discover how separate indexes and WAL mode concurrency reduce I/O contention for fast keyword and embedding searches.

- Tags: performance
- Published: 2026-07-15

### [How MMD Injection Preserves Context While Compressing Messages in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-mmd-injection-preserve-context-while-compressing-messages-in-tencentdb-agent-memory)

Discover how MMD injection preserves context and compresses messages in TencentDB Agent Memory by serializing dialogue into Mermaid diagrams and managing token budgets effectively.

- Tags: deep-dive
- Published: 2026-07-15

### [How to Configure Custom LLM Models for Memory Extraction in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-can-custom-llm-models-be-configured-for-memory-extraction-in-tencentdb-agent-memory)

Easily configure custom LLM models for memory extraction in TencentDB Agent Memory. Set the extraction.model field in your agent config to specify your preferred provider and model ID for seamless integration.

- Tags: how-to-guide
- Published: 2026-07-15

### [How L1.5 Task Boundary Detection Differentiates Long and Short Tasks in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-l1.5-task-boundary-detection-differentiate-between-long-and-short-tasks-in-tencentdb-agent-memory)

Learn how TencentDB Agent Memory's L1.5 task boundary detection uses LLM judgments to distinguish long from short tasks, optimizing context management for improved performance.

- Tags: internals
- Published: 2026-07-15

### [How to Migrate Memory Data from SQLite to TCVDB in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-migrate-memory-data-from-sqlite-to-tcvdb-in-tencentdb-agent-memory)

Easily migrate memory data from SQLite to TCVDB in TencentDB Agent Memory. Learn how to compile the migration tool, execute the CLI, and update configurations to switch your store backend.

- Tags: migration-guide
- Published: 2026-07-15

### [How to Configure Gateway Authentication (API Key) and CORS in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-configurations-for-gateway-authentication-api-key-and-cors-in-tencentdb-agent-memory)

Learn how to configure Gateway authentication API Key and CORS in TencentDB Agent Memory. Secure your API with strict defaults and custom settings using tdai-gateway.yaml or environment variables.

- Tags: how-to-guide
- Published: 2026-07-15

### [How to Debug Recall Failures and Inspect Memory Retrieval in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-debug-recall-failures-and-inspect-memory-retrieval-in-tencentdb-agent-memory)

Debug TencentDB Agent Memory recall failures. Inspect memory retrieval using logs, budgets, and checkpoints. Learn how to troubleshoot vector search, FTS5, and persona loading.

- Tags: how-to-guide
- Published: 2026-07-15

### [How Node_ID Tracing in TencentDB Agent Memory Enables Drill-Down from Symbols to Raw Logs](/TencentCloud/TencentDB-Agent-Memory/how-does-node_id-tracing-in-tencentdb-agent-memory-allow-drill-down-from-symbols-to-raw-logs)

Discover how TencentDB Agent Memory's node_id tracing links symbols to raw logs. Achieve precise bidirectional tracing from abstraction layers to your data.

- Tags: internals
- Published: 2026-07-15

### [TencentDB Agent Memory Offload Mode Configuration: Local, Backend, and Collect Options](/TencentCloud/TencentDB-Agent-Memory/what-are-the-configuration-options-for-offload-mode-local-backend-or-collect-in-tencentdb-agent-memory)

Explore TencentDB Agent Memory offload modes: local, backend, and collect. Learn how to configure these options for efficient AI tasks and data processing.

- Tags: how-to-guide
- Published: 2026-07-15

### [How the TencentDB Agent Memory Pipeline Trigger System Schedules L1, L2, and L3 Extraction](/TencentCloud/TencentDB-Agent-Memory/how-is-the-pipeline-trigger-system-configured-to-schedule-l1-l2-and-l3-extraction-in-tencentdb-agent-memory)

Learn how the TencentDB Agent Memory pipeline trigger system schedules L1, L2, and L3 extraction using timers and serial queues for efficient and timely data processing.

- Tags: internals
- Published: 2026-07-15

### [How L3 Persona Generation Builds User Profiles from Memories in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-l3-persona-generation-build-user-profiles-from-memories-in-tencentdb-agent-memory)

Discover how L3 persona generation crafts detailed user profiles using memories within TencentDB Agent Memory. Learn how scene blocks feed an LLM for updated persona files.

- Tags: deep-dive
- Published: 2026-07-15

### [How L2 Scenario Generation Aggregates Conversations into Scenes in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-l2-scenario-generation-aggregate-conversations-into-scenes-within-tencentdb-agent-memory)

Learn how L2 scenario generation aggregates conversations into coherent scenes in TencentDB Agent Memory by clustering extractions based on temporal and semantic similarity.

- Tags: how-to-guide
- Published: 2026-07-15

### [How TencentDB Agent Memory L1 Extraction Detects and Deduplicates Atomic Facts](/TencentCloud/TencentDB-Agent-Memory/how-does-l1-memory-extraction-in-tencentdb-agent-memory-detect-and-deduplicate-atomic-facts)

Discover how TencentDB Agent Memory L1 extraction detects and deduplicates atomic facts using LLMs, hash IDs, and semantic checks for efficient data management.

- Tags: internals
- Published: 2026-07-15

### [How to Set Up and Configure the Tencent Cloud VectorDB (TCVDB) Backend for TencentDB Agent Memory: A Complete Guide](/TencentCloud/TencentDB-Agent-Memory/what-are-the-steps-to-set-up-and-configure-the-tencent-cloud-vectordb-tcvdb-backend-for-tencentdb-agent-memory)

Easily set up and configure the Tencent Cloud VectorDB backend for your TencentDB Agent Memory. Follow our comprehensive guide for a seamless integration and enhanced performance.

- Tags: how-to-guide
- Published: 2026-07-15

### [How to Configure Remote Embedding Providers (OpenAI, DeepSeek, BGE‑M3) for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-remote-embedding-providers-like-openai-deepseek-and-bge-m3-for-tencentdb-agent-memory)

Learn how to configure remote embedding providers like OpenAI DeepSeek and BGE-M3 for TencentDB Agent Memory. Set provider to custom in config yaml and specify API details.

- Tags: how-to-guide
- Published: 2026-07-15

### [Hybrid Recall Strategy in TencentDB Agent Memory: Combining BM25, Embedding, and RRF](/TencentCloud/TencentDB-Agent-Memory/explain-the-hybrid-recall-strategy-combining-bm25-embedding-and-rrf-in-tencentdb-agent-memory)

Discover TencentDB Agent Memory's hybrid recall strategy. It combines BM25 keyword search and embedding retrieval, using RRF to boost relevance and precision for better results.

- Tags: deep-dive
- Published: 2026-07-15

### [How Context Offloading in TencentDB Agent Memory Reduces Token Usage for Long Tasks](/TencentCloud/TencentDB-Agent-Memory/how-does-context-offloading-in-tencentdb-agent-memory-help-reduce-token-usage-for-long-tasks)

Reduce token usage for long tasks with TencentDB Agent Memory. Learn how context offloading stores full history externally, sending only summaries to the LLM for efficient processing.

- Tags: deep-dive
- Published: 2026-07-15

### [How TencentDB Agent Memory's L0 to L3 Memory Layering Pipeline Works](/TencentCloud/TencentDB-Agent-Memory/how-does-tencentdb-agent-memorys-l0-to-l3-memory-layering-function)

Uncover how TencentDB Agent Memory's L0 to L3 memory layering pipeline extracts, enriches, and consolidates conversational data, generating persona snapshots through four deterministic stages.

- Tags: internals
- Published: 2026-07-15

### [How to Send a Direct Recall Request to the TencentDB Agent Memory Gateway API](/TencentCloud/TencentDB-Agent-Memory/how-to-make-direct-recall-request-to-gateway-api)

Learn to send a direct recall request to the TencentDB Agent Memory Gateway API. Post a JSON payload with query and session_key to the /recall endpoint using MemoryTencentdbSdkClient.

- Tags: how-to-guide
- Published: 2026-07-11

### [How to Configure CORS for the TencentDB Agent Memory Gateway](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-cors-for-tencentdb-agent-memory-gateway)

Learn how to configure CORS for the TencentDB Agent Memory Gateway. Securely enable cross-origin requests using environment variables or YAML settings. CORS is disabled by default.

- Tags: how-to-guide
- Published: 2026-07-11

### [How to Secure the TencentDB Agent Memory Gateway with an API Key](/TencentCloud/TencentDB-Agent-Memory/how-to-secure-tencentdb-agent-memory-gateway-with-api-key)

Secure your TencentDB Agent Memory Gateway using an API key. Learn how to set the TDAI_GATEWAY_API_KEY environment variable or configure serverApiKey for robust authentication.

- Tags: how-to-guide
- Published: 2026-07-11

### [How to Configure a Custom Embedding Provider for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-custom-embedding-provider-tencentdb-agent-memory)

Configure a custom embedding provider for TencentDB Agent Memory. Implement the EmbeddingService interface and register your class in the factory for flexible data integration.

- Tags: how-to-guide
- Published: 2026-07-11

### [How Reciprocal Rank Fusion (RRF) Improves Recall in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-reciprocal-rank-fusion-rrf-improves-recall-in-tencentdb-agent-memory)

Discover how Reciprocal Rank Fusion RRF enhances recall in TencentDB Agent Memory. Learn how merging FTS5 and vector indexes ensures comprehensive retrieval by ranking top results.

- Tags: deep-dive
- Published: 2026-07-11

### [What Is the Retrieval Strategy Used by TencentDB Agent Memory? A Deep Dive into Hybrid Search](/TencentCloud/TencentDB-Agent-Memory/what-is-retrieval-strategy-used-by-tencentdb-agent-memory)

Discover TencentDB Agent Memory's hybrid retrieval strategy, combining BM25 and vector search with RRF for precise and relevant results. Learn how it optimizes information retrieval.

- Tags: deep-dive
- Published: 2026-07-11

### [How to Configure Tencent Cloud VectorDB as a Storage Backend in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-tencent-cloud-vectordb-as-storage-backend)

Configure Tencent Cloud VectorDB as your storage backend effortlessly in TencentDB-Agent-Memory. Switch from SQLite with simple configuration updates and enhance your AI applications.

- Tags: how-to-guide
- Published: 2026-07-11

### [TencentDB Agent Memory Storage Backends: SQLite vs Tencent Cloud VectorDB Configuration](/TencentCloud/TencentDB-Agent-Memory/supported-storage-backends-for-tencentdb-agent-memory)

Explore TencentDB Agent Memory storage backends: SQLite for local access and Tencent Cloud VectorDB for cloud hosting. Configure your choice easily.

- Tags: deep-dive
- Published: 2026-07-11

### [How to Deploy and Integrate the Hermes Gateway Adapter for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-deploy-integrate-hermes-gateway-adapter-tencentdb-agent-memory)

Deploy and integrate the Hermes Gateway adapter for TencentDB Agent Memory. Install the npm package, symlink the Python plugin, and configure for the memory pipeline.

- Tags: how-to-guide
- Published: 2026-07-11

### [How to Restart the OpenClaw Gateway After Plugin Installation: Complete Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-restart-openclaw-gateway-after-plugin-installation)

Learn how to restart the OpenClaw gateway after plugin installation with this complete guide. Apply new hook policies and configurations by running openclaw gateway restart.

- Tags: how-to-guide
- Published: 2026-07-11

### [How to Install the OpenClaw Plugin for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-install-openclaw-plugin-for-tencentdb-agent-memory)

Easily install the OpenClaw plugin for TencentDB Agent Memory. Follow simple steps to enable offload support and handle after tool call messages for enhanced performance.

- Tags: how-to-guide
- Published: 2026-07-11

### [Integration Platforms for TencentDB Agent Memory: OpenClaw Plugin vs. Hermes Gateway](/TencentCloud/TencentDB-Agent-Memory/what-are-integration-platforms-for-tencentdb-agent-memory)

Explore integration platforms for TencentDB Agent Memory including OpenClaw plugin and Hermes Gateway. Choose the best option for your in-process or microservice needs.

- Tags: architecture
- Published: 2026-07-11

### [How node_id in Mermaid Diagrams Enables Instant Recall of Full Raw Tool-Call Text](/TencentCloud/TencentDB-Agent-Memory/how-node_id-in-mermaid-diagrams-facilitates-recall-of-full-raw-text)

Discover how node_id in Mermaid diagrams unlocks instant recall of full tool call text. Link visuals to raw logs for quick access.

- Tags: how-to-guide
- Published: 2026-07-11

### [How to Enable Short-Term Memory Compression with Mermaid in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-enable-short-term-memory-compression-with-mermaid)

Learn to enable short-term memory compression with Mermaid in TencentDB Agent Memory. Compress tool logs into compact Mermaid graphs, keeping token counts low and full traceability.

- Tags: how-to-guide
- Published: 2026-07-11

### [How TencentDB Agent Memory Reduces Token Usage with Mermaid Diagrams](/TencentCloud/TencentDB-Agent-Memory/how-tencentdb-agent-memory-reduces-token-usage-with-mermaid-diagrams)

Learn how TencentDB Agent Memory drastically cuts LLM token usage up to 61% by transforming tool logs into Mermaid diagrams for efficient data retrieval.

- Tags: tutorial
- Published: 2026-07-11

### [What Is Symbolic Memory (Mermaid Canvas) in TencentDB Agent Memory?](/TencentCloud/TencentDB-Agent-Memory/purpose-of-symbolic-memory-mermaid-canvas-tencentdb-agent-memory)

Discover Symbolic Memory in TencentDB Agent Memory. Compress agent tasks into Mermaid diagrams for reduced token usage up to 61% with full log traceability.

- Tags: deep-dive
- Published: 2026-07-11

### [How Hierarchical Recall Works in TencentDB Agent Memory: The Four-Layer Pyramid](/TencentCloud/TencentDB-Agent-Memory/how-does-hierarchical-recall-operate-in-tencentdb-agent-memory)

Discover how hierarchical recall in TencentDB Agent Memory uses a four-layer pyramid to retrieve conversation and context data, optimizing token usage.

- Tags: deep-dive
- Published: 2026-07-11

### [How the L3 Persona Layer Is Created and What It Represents in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-is-l3-persona-layer-created-and-what-does-it-represent)

Discover how the L3 Persona layer is created in TencentDB-Agent-Memory. This LLM-generated summary captures user traits and goals for persistent personalization across chat sessions.

- Tags: internals
- Published: 2026-07-11

### [What Are Scenario Blocks (L2) and How Do They Group Memories in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-scenario-blocks-l2-and-how-they-group-memories)

Discover Scenario Blocks L2 in TencentDB-Agent-Memory. Learn how these narrative markdown documents group related L1 Atoms into coherent, scene-based stories for advanced memory organization.

- Tags: deep-dive
- Published: 2026-07-11

### [How Atomic Facts (L1) Are Extracted in TencentDB Agent Memory: Prompt-Driven Decomposition](/TencentCloud/TencentDB-Agent-Memory/how-are-atomic-facts-l1-extracted-in-tencentdb-agent-memory)

Discover how TencentDB Agent Memory extracts Atomic Facts L1 using a prompt driven LLM pipeline. Learn about conversation decomposition, validation, and deduplication processes.

- Tags: deep-dive
- Published: 2026-07-11

### [What Kind of Data Is Stored in the L0 Conversation Layer?](/TencentCloud/TencentDB-Agent-Memory/what-data-is-stored-in-l0-conversation-layer)

Discover what data resides in the L0 Conversation layer. This immutable foundation stores raw dialogue records essential for TencentDB Agent Memory processing.

- Tags: deep-dive
- Published: 2026-07-11

### [How the L0-L3 Semantic Pyramid Memory Layering System Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/explain-memory-layering-system-l0-l3-semantic-pyramid-tencentdb-agent-memory)

Understand the L0-L3 Semantic Pyramid memory layering system in TencentDB Agent Memory. Efficiently store and retrieve data from raw tokens to semantic embeddings, cutting costs and boosting query speed.

- Tags: internals
- Published: 2026-07-11

### [Understanding the Two-Pillar Architecture of TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-two-pillar-architecture-of-tencentdb-agent-memory)

Discover the two-pillar architecture of TencentDB Agent Memory. Learn how Memory Layering and Symbolic Memory achieve efficient reasoning and recall, enhancing agent performance.

- Tags: architecture
- Published: 2026-07-11

### [How TencentDB Agent Memory Manages AI Agent Context Without Token Bloat](/TencentCloud/TencentDB-Agent-Memory/how-tencentdb-agent-memory-manages-context-without-token-bloat)

Learn how TencentDB Agent Memory prevents token bloat. Discover its four-layer architecture for storing conversation history and injecting only relevant, compressed context into LLM prompts.

- Tags: how-to-guide
- Published: 2026-07-11

### [How to Interpret the Metrics Reported by the TencentDB-Agent-Memory Plugin](/TencentCloud/TencentDB-Agent-Memory/interpret-metrics-reported-by-plugin)

Learn how to interpret TencentDB-Agent-Memory plugin metrics for token savings, compression, and patch health. Understand cumulative statistics for offload operations.

- Tags: how-to-guide
- Published: 2026-07-09

### [How to Configure a Remote Embedding Service for Self-Hosted Models like BGE-M3](/TencentCloud/TencentDB-Agent-Memory/configure-remote-embedding-service-self-hosted-models-bge-m3)

Learn to configure a remote embedding service for self-hosted models like BGE-M3 by disabling the dimensions field in tdai-gateway.json to avoid errors. Achieve seamless integration with OpenAI-compatible APIs.

- Tags: how-to-guide
- Published: 2026-07-09

### [Embedding Warm-Up Mechanism in TencentDB-Agent-Memory: When and How It Triggers](/TencentCloud/TencentDB-Agent-Memory/embedding-warm-up-mechanism-when-triggered)

Discover the embedding warm-up mechanism in TencentDB-Agent-Memory. Learn how it gradually ramps up L1 embedding pipeline runs for new sessions and when it triggers steady state.

- Tags: deep-dive
- Published: 2026-07-09

### [How to Use Seed, Query, and Stats CLI Commands for Memory Management in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/use-cli-commands-seed-query-stats-memory-management)

Master memory management with TencentDB-Agent-Memory CLI. Learn to use seed, query, and stats to load data, perform searches, and inspect metrics efficiently.

- Tags: how-to-guide
- Published: 2026-07-09

### [How to Configure Offload Compression Ratios (Mild vs Aggressive) in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/configure-offload-compression-ratios-mild-vs-aggressive)

Learn to configure offload compression ratios in TencentDB Agent Memory. Adjust mild vs aggressive settings in the offload block to optimize message handling and storage.

- Tags: how-to-guide
- Published: 2026-07-09

### [How to Configure the BM25 Tokenizer for Chinese vs English Content in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/configure-bm25-tokenizer-chinese-vs-english-content)

Learn to configure TencentDB-Agent-Memory BM25 tokenizer for Chinese or English content by setting the language field to zh or en in BM25LocalConfig for precise search results.

- Tags: how-to-guide
- Published: 2026-07-09

### [How the Memory Cleanup Mechanism Works in TencentDB-Agent-Memory: Configuring Retention Days](/TencentCloud/TencentDB-Agent-Memory/memory-cleanup-mechanism-configure-retention-days)

Learn how the memory cleanup mechanism in TencentDB Agent Memory works. Configure daily local-memory cleaner and retention days for automatic file removal.

- Tags: how-to-guide
- Published: 2026-07-09

### [How SessionFilter Excludes Specific Agents from Memory Capture in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/sessionfilter-exclude-agents-memory-capture)

Learn how SessionFilter in TencentDB-Agent-Memory excludes specific agents from memory capture using session keys and namespace segregation. Isolate agent memory effectively.

- Tags: how-to-guide
- Published: 2026-07-09

### [How to Migrate from SQLite to TCVDB Without Losing Existing Memories](/TencentCloud/TencentDB-Agent-Memory/migrate-sqlite-tcvdb-without-losing-memories)

Effortlessly migrate from SQLite to TCVDB with Tencent Cloud Vector Database Agent Memory. Our CLI tool ensures zero data loss, preserving all your vectors and metadata seamlessly.

- Tags: migration-guide
- Published: 2026-07-09

### [How to Configure Tencent Cloud Vector Database (TCVDB) as a Storage Backend](/TencentCloud/TencentDB-Agent-Memory/configure-tencent-cloud-vector-database-tcvdb-storage-backend)

Easily configure Tencent Cloud Vector Database TCVDB as a storage backend for your memory operations. Integrate TCVDB without code changes by updating your agent configuration.

- Tags: how-to-guide
- Published: 2026-07-09

### [Keyword, Embedding, and Hybrid Recall Strategies in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/difference-keyword-embedding-hybrid-recall-strategies)

Understand keyword, embedding, and hybrid recall strategies in TencentDB Agent Memory. Discover how to combine exact matching and semantic similarity for comprehensive context retrieval.

- Tags: deep-dive
- Published: 2026-07-09

### [How Symbolic Memory with Mermaid Canvas Reduces Token Usage for Long Tasks](/TencentCloud/TencentDB-Agent-Memory/symbolic-memory-mermaid-canvas-reduce-token-usage-long-tasks)

Discover how TencentDB-Agent-Memory slashes token usage by 61% for long tasks with its symbolic memory and Mermaid canvas, converting verbose logs into concise flowcharts.

- Tags: deep-dive
- Published: 2026-07-09

### [How the Warmup Mechanism for Embedding Models Works in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-warmup-mechanism-embedding-models-work)

Understand the TencentDB Agent Memory warmup mechanism. Discover how it lazily loads embedding models asynchronously and handles initial requests during initialization.

- Tags: internals
- Published: 2026-06-15

### [How the TencentDB Agent Memory Pipeline Scheduler Triggers L1, L2, and L3 Extraction](/TencentCloud/TencentDB-Agent-Memory/how-pipeline-scheduler-triggers-extraction)

Understand how the TencentDB Agent Memory pipeline scheduler triggers L1, L2, and L3 extraction. Learn the mechanics of this efficient data processing workflow.

- Tags: internals
- Published: 2026-06-15

### [Memory Cleanup and Retention Policies in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-memory-cleanup-retention-policies)

Understand TencentDB Agent Memory's cleanup and retention policies. Learn how it removes old conversation shards daily while retaining essential data.

- Tags: how-to-guide
- Published: 2026-06-15

### [TencentDB Agent Memory Metrics Reporting and Monitoring: Architecture and Implementation](/TencentCloud/TencentDB-Agent-Memory/what-capabilities-does-tencentdb-agent-memory-offer-for-metrics-reporting-and-monitoring)

Monitor your TencentDB Agent Memory workflows with built-in telemetry. Emit structured JSON metrics for real-time insights via logs or HTTP endpoints. Discover its architecture and implementation.

- Tags: architecture
- Published: 2026-06-14

### [How the TencentDB-Agent-Memory Gateway Server Handles Graceful Shutdown](/TencentCloud/TencentDB-Agent-Memory/how-does-the-gateway-server-handle-graceful-shutdown-procedures)

Discover how the TencentDB-Agent-Memory gateway server ensures graceful shutdown by catching SIGINT/SIGTERM signals, draining connections, and releasing resources.

- Tags: internals
- Published: 2026-06-14

### [Performance Considerations and Tuning Options for TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-performance-considerations-and-tuning-options-for-this-agent-memory)

Optimize TencentDB Agent Memory performance with granular controls for token budgets, latency, and resource usage. Explore offloading, storage, and caching options for peak efficiency.

- Tags: performance
- Published: 2026-06-14

### [How the Batch Historical Data Import Seeding Process Works in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-seeding-process-work-for-batch-historical-data-import)

Understand the eight-stage seeding process for batch historical data import in TencentDB Agent Memory. Learn how it ingests, validates, and records data for efficient analysis.

- Tags: how-to-guide
- Published: 2026-06-14

### [Available Offload Configuration Options in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-are-the-available-offload-configuration-options-in-tencentdb-agent-memory)

Discover the 20+ offload configuration options in TencentDB Agent Memory's context-offload plugin. Control LLM model selection, temperature, storage, and more.

- Tags: how-to-guide
- Published: 2026-06-14

### [How to Debug and Inspect the Different Memory Layers in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-can-i-debug-and-inspect-the-different-memory-layers)

Debug and inspect TencentDB-Agent-Memory's four memory layers L0-L3. Learn how data is filtered, batched, and aggregated for efficient memory management.

- Tags: how-to-guide
- Published: 2026-06-14

### [How to Migrate Data from SQLite to Tencent Cloud VectorDB: A Complete Guide](/TencentCloud/TencentDB-Agent-Memory/what-is-the-process-for-migrating-data-from-sqlite-to-tencent-cloud-vectordb)

Easily migrate data from SQLite to Tencent Cloud VectorDB using the TCVDB Agent Memory TypeScript tool. Preserve hybrid search and enable zero-downtime backend switching.

- Tags: migration-guide
- Published: 2026-06-14

### [How the Session Filter Excludes Specific Agents from Memory Processing in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-the-session-filter-exclude-specific-agents-from-memory-processing)

Discover how the session filter in TencentDB Agent Memory uses session_key to isolate agent memory, ensuring data is processed only for specific agents for enhanced security and performance.

- Tags: how-to-guide
- Published: 2026-06-14

### [How to Use TencentDB-Agent-Memory Agent Developer Tools: tdai_memory_search and tdai_conversation_search](/TencentCloud/TencentDB-Agent-Memory/what-developer-tools-are-provided-for-agents-such-as-tdai-memory-search-and-tdai-conversation-search)

Explore TencentDB-Agent-Memory tools like tdai_memory_search and tdai_conversation_search. Enable AI agents to query structured memory and conversation history efficiently.

- Tags: how-to-guide
- Published: 2026-06-14

### [How to Configure CORS Settings for the TencentDB-Agent-Memory Gateway Server](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-cors-settings-for-the-gateway-server)

Learn how to configure CORS settings for the TencentDB-Agent-Memory gateway server. Easily set corsOrigins via YAML or environment variables for secure cross-origin requests.

- Tags: how-to-guide
- Published: 2026-06-14

### [How to Secure the TencentDB-Agent-Memory Gateway Using API Key Authentication](/TencentCloud/TencentDB-Agent-Memory/how-can-i-secure-the-gateway-using-api-key-authentication)

Secure your TencentDB Agent Memory gateway with API key authentication. Learn how to configure shared secrets for both the gateway and Python client enforcing secure access to all endpoints. Read our guide now.

- Tags: how-to-guide
- Published: 2026-06-14

### [TencentDB-Agent-Memory Recall Strategies: Keyword, Embedding, and Hybrid Search Explained](/TencentCloud/TencentDB-Agent-Memory/what-are-the-available-recall-strategies-and-how-can-they-be-optimized)

Explore TencentDB Agent Memory recall strategies including keyword, embedding, and hybrid search. Optimize L1 memory retrieval for LLM generation with automatic fallback and native hybrid support.

- Tags: deep-dive
- Published: 2026-06-14

### [How to Configure Persona and Scene Generation for Agent Memory in TencentDB-Agent-Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-persona-and-scene-generation-for-agent-memory)

Learn to configure persona and scene generation for agent memory in TencentDB-Agent-Memory. Edit openclaw.plugin.json, set trigger thresholds, and initialize components to build user profiles.

- Tags: how-to-guide
- Published: 2026-06-14

### [How Memory Extraction and Deduplication Work in the TencentDB Agent](/TencentCloud/TencentDB-Agent-Memory/how-does-memory-extraction-and-deduplication-work-within-the-agent)

Learn how the TencentDB Agent extracts and deduplicates memories using LLMs and vector similarity. Discover its efficient pipeline for managing conversational data.

- Tags: internals
- Published: 2026-06-14

### [Pipeline Trigger Settings in TencentDB Agent Memory: How L1, L2, and L3 Stages Execute](/TencentCloud/TencentDB-Agent-Memory/what-are-the-pipeline-trigger-settings-and-how-do-they-operate)

Understand TencentDB Agent Memory pipeline trigger settings. Learn how L1, L2, and L3 stages execute using configurable thresholds driven by the PipelineConfig interface.

- Tags: internals
- Published: 2026-06-14

### [How to Configure the Embedding Service for Vector Search in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-the-embedding-service-for-vector-search-in-this-agent-memory)

Learn to configure the embedding service for vector search in TencentDB Agent Memory. Follow our guide to set up your config.yaml with OpenAI compatible provider and model.

- Tags: how-to-guide
- Published: 2026-06-14

### [Hybrid Retrieval Mechanism in TencentDB-Agent-Memory: BM25 + Vector + RRF](/TencentCloud/TencentDB-Agent-Memory/explain-the-hybrid-retrieval-mechanism-bm25-vector-rrf)

Discover TencentDB-Agent-Memory's hybrid retrieval mechanism. It merges BM25 sparse vectors, dense vectors, and RRF for superior keyword and semantic search results. Enhance your data retrieval now.

- Tags: deep-dive
- Published: 2026-06-14

### [TencentDB Agent Memory Storage Backends: SQLite vs TCVDB Configuration Guide](/TencentCloud/TencentDB-Agent-Memory/which-storage-backends-are-supported-by-tencentdb-agent-memory-and-how-can-they-be-configured)

Explore TencentDB Agent Memory storage backends SQLite and TCVDB. Learn how to configure your choice for efficient memory management in this essential guide.

- Tags: configuration-guide
- Published: 2026-06-14

### [How Context Offloading Reduces Token Usage in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-does-context-offloading-contribute-to-reducing-token-usage)

Discover how context offloading in TencentDB Agent Memory cuts token usage up to 61% by replacing tool call payloads with symbolic references, optimizing LLM prompts and reducing costs.

- Tags: architecture
- Published: 2026-06-14

### [Understanding the Symbolic Memory System and Mermaid Canvas in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-symbolic-memory-system-and-how-does-the-mermaid-canvas-function)

Discover the symbolic memory system and Mermaid canvas in TencentDB Agent Memory. Compress tool outputs into diagrams for long-context workflows and traceability. Learn more!

- Tags: deep-dive
- Published: 2026-06-14

### [How to Set Up the Gateway Server for Hermes Integration in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/how-to-set-up-the-gateway-server-for-hermes-integration-in-tencentdb-agent-memory)

Learn to set up the gateway server for Hermes integration in TencentDB Agent Memory. Expose HTTP endpoints for easy memory persistence via a sidecar TypeScript process.

- Tags: how-to-guide
- Published: 2026-06-14

### [How to Configure TencentDB Agent Memory with OpenClaw Integration: A Complete Setup Guide](/TencentCloud/TencentDB-Agent-Memory/how-to-configure-tencentdb-agent-memory-with-openclaw-integration)

Configure TencentDB Agent Memory with OpenClaw integration. Install the plugin, enable it, register the context engine, and apply the runtime patch for seamless tool-call compatibility. Get the complete setup guide now.

- Tags: how-to-guide
- Published: 2026-06-14

### [Understanding the Four-Layer Memory Architecture (L0-L3) in TencentDB Agent Memory](/TencentCloud/TencentDB-Agent-Memory/what-is-the-four-layer-memory-architecture-l0-l3-and-how-does-it-operate)

Explore the four-layer memory architecture (L0-L3) in TencentDB Agent Memory. Discover how it optimizes token usage by abstracting conversations into structured data for efficient traceability.

- Tags: architecture
- Published: 2026-06-14

### [How Does TdaiCore Work in TencentDB Agent Memory: Architecture and Core Responsibilities](/TencentCloud/TencentDB-Agent-Memory/how-does-tdai-core-work-and-what-are-its-main-responsibilities)

Discover how TdaiCore orchestrates the TencentDB Agent Memory system. Learn its core responsibilities including lifecycle, memory recall, and session flushing in this technical deep dive.

- Tags: architecture
- Published: 2026-06-14

