Skip to content
Projects

lxfight-s-Astrbot-Plugins/astrbot_plugin_livingmemory

View on GitHub

About

An intelligent long-term memory plugin with a dynamic lifecycle.

Other Projects

How these counts are measured

Measured star growth

in 24h
+2
in 7 days
+8
in 15 days
+22
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_en.md

Original

中文 · English · Русский

LivingMemory: long-term memory connecting preferences, people, plans and context

Documentation · Dashboard · Downloads · Issues

Python 3.10 or later Plugin views require AstrBot 4.24.2 or later AGPL-3.0

Keep what matters from a conversation

LivingMemory gives AstrBot a durable store of preferences, relationships, project progress and past agreements. It summarizes conversations, recalls relevant context through keywords, vectors and a graph, and manages memory through archiving, decay and access reinforcement.

Latest stable: 2.10.0
Fixes recall noise and retention policy, cuts summary and injection cost, and adds data diagnostics and quality regression gates.
Download 2.10.0 · Releases and upgrades · Earlier releases

From remembering to recalling

  • Automatic capture — Summarize conversations after the configured number of turns. Important memories can retain source messages for review and re-summarization.
  • Context-aware recall — Document and graph routes combine keyword and vector retrieval, rank fusion, scope filtering and lifecycle checks.
  • Agent tools — recall_long_term_memory and memorize_long_term_memory let the agent read and write long-term memory when needed.
  • Visible and maintainable — Browse 2D/3D graphs, zoom into nodes and inspect their memories, edit memories, test recall, manage prompts and inspect system status in official Plugin Views.

One workspace, four styles

macOS 26 offers floating Liquid Glass over a wallpaper; Studio uses soft cards; Paper pairs warm surfaces with serif headings; Terminal combines monospace type with instrument panels.

Every style supports light, dark and automatic modes. Switch from “Appearance” in the dashboard; preferences stay in the current browser. Graph labels settle during zoomed reading, and mobile controls support session filtering and memory focus.

The 3D graph has an independent warm-lit scene with rotation, zoom, node focus and associated memories. GPU batches render large sets of nodes and relationships.

Explore themes and workflows →

Get started

  1. Install from the AstrBot plugin marketplace, or place the selected version under data/plugins/astrbot_plugin_livingmemory.
  2. Create and enable an Embedding Provider in AstrBot's Model Providers → Embedding page first (the free BAAI/bge-m3 setup is documented here), then reload AstrBot and fill in its ID plus the LLM provider in LivingMemory. Leaving the embedding field empty only falls back to the first available provider, which can pick the wrong model or break vector/graph index initialization.
  3. Open Plugins → LivingMemory → Views → dashboard (Pages in older AstrBot releases). Plugin views require AstrBot 4.24.2 or later.

For the beta, download the specific tag above and follow installation and rollback steps. Back up existing plugin data and configuration before upgrading.

After a few conversation turns, use /lmem status, /lmem summarize and /lmem search your keywords to check the pipeline.

Free embedding model

LivingMemory's semantic recall depends on an Embedding Provider. The free BAAI/bge-m3 model from SiliconFlow (1024 dimensions) is recommended. In AstrBot's Model Providers → Embedding → Add Model Provider → OpenAI Embedding flow, enter:

  • Provider ID: keep the value generated by AstrBot, such as openai_embedding
  • API Base URL: https://api.siliconflow.cn/v1
  • API Key: a key created in the SiliconFlow console
  • Embedding Model: BAAI/bge-m3
  • Embedding Dimensions: 1024

Save and test the provider, then set provider_settings.embedding_provider_id in LivingMemory to that Provider ID. The model ID and Provider ID are different; see Embedding Models and BGE-M3 for the full guide.

Keep exploring

Quick start · Configuration · Commands · Architecture · Changelog

Upgrading from v1.4.0–v1.4.2? Read the backup and migration guide first.


Community: QQ group 2: 1129994749 (new) · QQ group 1: 953245617 (full) · Password: lxfight
License: AGPL-3.0

Explore related projects

Loading…