agentscope-ai/ReMe

ReMe: Memory Management Kit for Agents - Remember Me, Refine Me.

What it solves

ReMe provides a local-first, self-evolving personal knowledge base for AI agents. It solves the problem of agents losing context across sessions or lacking a durable, user-controllable way to store and refine long-term knowledge, preferences, and procedural experiences.

How it works

ReMe implements a "Memory as File, File as Memory" philosophy, storing all durable memory as ordinary Markdown files with frontmatter and wikilinks. It uses a capture-index-consolidate-recall loop:

  1. Capture: auto_memory distills facts from conversations, and auto_resource converts external files into daily cards.
  2. Index: A background watcher ingests Markdown files to create rebuildable BM25 and optional embedding indexes, as well as a wikilink graph.
  3. Consolidate: auto_dream periodically extracts reusable units from recent files to create, refine, or correct long-term knowledge nodes in a "digest" directory.
  4. Recall: Agents retrieve precise, line-level passages and their relationships using hybrid search (BM25 and optional vectors) and wikilink expansion.

Who it’s for

It is designed for developers building AI agents (such as personal assistants or coding agents) who want their agents to have a persistent, transparent, and evolving memory that is shared across different agent runtimes.

Highlights

  • Human-Readable Storage: Memory is stored as Markdown, allowing users to inspect, edit, and back up their agent's knowledge using standard tools.
  • Self-Evolving: Automatically turns conversations and resources into long-term knowledge through a background "dreaming" process.
  • Cross-Agent Compatibility: Works with multiple agent frameworks via Python APIs, HTTP, MCP, or specific plugins for DeepSeek Harness, OpenClaw, and Claude Code.
  • Local-First: Keeps the memory workspace on the user's local machine, ensuring data ownership and control.

Related

  • Project
  • Project
  • Project
  • Project
  • Project