TencentDB Agent Memory

Active
GitHub TypeScript NOASSERTION

Description

TencentDB Agent Memory delivers fully local long-term memory for AI agents via a 4-tier progressive pipeline, with zero external API dependencies, vector search, and embedding storage.

Key Features

  • Symbolic short-term memory using Mermaid canvas to compress verbose logs into compact tokens
  • Layered long-term memory with 4-tier semantic pyramid (L0 Conversation → L3 Persona)
  • Up to 61.38% token reduction and 51.52% pass rate improvement with OpenClaw
  • Full traceability with deterministic drill-down from high-level abstractions to raw evidence
  • Heterogeneous storage: database for facts, Markdown for personas and scenes
  • Zero external API dependencies, fully local deployment with vector search and embeddings

Use Cases

💡 Long-horizon AI agent sessions with context accumulation
💡 Enterprise workflow automation requiring persistent task context
💡 Reducing token costs in production agent deployments
💡 Building personalized AI assistants that remember user preferences
💡 Multi-turn conversation systems with structured memory recall

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (25.7k stars)

⚠️ Limitations

  • No clear open-source license

Quick Start

Install: npm install @tencentdb-agent-memory/memory-tencentdb. Requires Node >= 22.16. Integrate with OpenClaw (>= 2026.3.13) or Hermes Gateway for automatic memory management. The plugin handles symbolic offloading and layered memory retrieval automatically.

Related Projects

MemOS

11.2k · TypeScript
Active A+

MemOS is a Memory Operating System for LLMs and AI agents that unifies store, retrieve, and manage for long-term memory, with built-in KB, multi-modal, and tool memory support.

agent-memorymemory-managementlong-term-memory +3
  • · Unified memory API for add, retrieve, edit, and delete — graph-structured, inspectable, not a black box
  • · Multi-modal memory supporting text, images, tool traces, and personas in one system
  • · Multi-Cube Knowledge Base management for isolated, shareable, composable memory across agents

ByteRover CLI

5.0k · TypeScript
Normal B

ByteRover CLI provides persistent structured memory for autonomous coding agents. It features context tree management, git-like version control, and cloud sync, compatible with Cursor, Claude Code, Windsurf, and 22+ coding agents via MCP integration.

agent-memorycontext-managementcoding-agent +3
  • · Persistent structured memory with context tree and knowledge storage for coding agents
  • · Git-like version control for context trees (branch, commit, merge, push/pull)
  • · Supports 20 LLM providers including Anthropic, OpenAI, Google, Groq, DeepSeek

agent-file

1.2k · TypeScript
Stale B

Agent File (.af): An open file format for serializing stateful AI agents with persistent memory and behavior. Share, checkpoint, and version control agents across compatible frameworks.

agent-memorytypescriptagent
  • · Open standard .af file format for serializing stateful AI agents with complete state
  • · Packages all agent components: system prompts, editable memory blocks, tool configurations, and LLM settings
  • · Cross-framework portability — agents can be seamlessly migrated and deployed between compatible systems

OpenMemory

4.5k · TypeScript
Active A+

Local persistent memory store for LLM applications including Claude Desktop, GitHub Copilot, Codex, and more. Provides durable context memory capabilities for AI agents.

memorytypescriptagent +1
  • · Multi-sector cognitive memory: episodic, semantic, procedural, emotional, reflective
  • · Temporal knowledge graph with valid_from/valid_to for time-aware recall
  • · Self-hosted local-first storage via SQLite or Postgres, no vendor lock-in