Back to directory

tencentdb-agent-memory (Claude Code plugin)

A local, API-free Claude Code plugin that gives the agent four layers of long-term memory — conversation, atom, scene and persona — built on local full-text and vector search.

tencentdb-agent-memory (Claude Code plugin)

This Claude Code plugin adds four-layer long-term memory to Claude Code: conversation, atom, scene and persona. It runs fully locally with no external gateway, no paid API and no Python; all extraction and consolidation is done by the Claude agent itself.

Retrieval combines local full-text search with a local vector index using reciprocal rank fusion. Session hooks inject a persona summary at session start, run hybrid recall on each user prompt, and spawn a detached background process to consolidate new turns into memory after a session ends, so consolidation never costs the active session context.

It is also published as a standalone command-line tool on npm for use outside Claude Code, and requires Node 24 or newer.

More in Agent memory

See all 450
  • A long technical guide to AI agent memory: why stateless LLMs need it, the different memory architectures from vector stores to knowledge graphs, and how Cognee implements one as an open-source memory layer.

  • A local, file-based long-term memory layer for a personal AI that never summarizes conversations, keeping every line with a timestamp and searching by time first and words second, rather than retrieving only similar-seeming chunks.

  • NEOTH

    deepwiki.com

    A local-first personal AI daemon in Rust with five memory tiers, consent-gated tools, a WASM plugin sandbox, multi-provider model routing and signed audit logs, aimed at people who want both a daily assistant and a serious coding helper.