lxfight-s-Astrbot-Plugins/astrbot_plugin_livingmemory
一个拥有动态生命周期的智能长期记忆插件。
What it solves
聊天机器人通常只记得当前会话,一旦对话结束就忘记之前聊过的偏好、人物关系和计划。LivingMemory 让 AstrBot 保存长期记忆,在后续对话中按需回忆,让机器人真正“记住”用户,而不是每次从零开始。
How it works
插件从对话中自动整理记忆:达到设定的对话轮次后生成长期记忆,重要记录可保留原文。召回时同时使用关键词和语义(向量)检索,并融合会话、人格和生命周期筛选;也提供图谱结构,支持 2D/3D 可视化浏览。Agent 可以通过内置命令主动写入或读取记忆。记忆还有生命周期管理,包括归档、衰减和访问强化。
Who it’s for
使用 AstrBot 搭建聊天机器人的开发者或用户,尤其是希望机器人具备长期记忆、能回忆用户偏好和上下文的人。需要先配置嵌入模型(推荐免费的 BAAI/bge-m3)才能启用语义召回。
Highlights
- 自动从对话中整理长期记忆,重要记录保留原文可核验
- 支持关键词和向量双重检索,结合多维度过滤提升召回准确性
- 提供 2D/3D 图谱界面,可视化浏览记忆关系并支持编辑和测试
- 多种主题风格(液态玻璃、轻盈、书页、终端),适配移动端
- 需要 AstrBot 4.24.2+,遵循 AGPL-3.0 开源许可
Related
- Project
NickCharlie/astrbot_plugin_self_learningA plugin for AstrBot that lets the bot learn from group conversations—expression style, slang, social relationships, memory—and inject that context into future replies, with human review and a dashboard.
- Project
menglimi/astrbot_plugin_private_companionAn AstrBot plugin that turns a chatbot into a companion with a continuous life — memory, daily schedule, sleep, relationships, creative output, and proactive contact — all managed from one "companion cabin" panel with seven built-in abilities like image generation, screen reading, games, and livestream interaction.
- Project
CortexReach/memory-lancedb-proA long-term memory plugin for OpenClaw agents that uses LanceDB to automatically capture, categorize, and recall user preferences and project context across sessions.
- Project
supermemoryai/opencode-supermemoryA plugin for OpenCode that provides persistent, cross-session memory by automatically capturing conversations, indexing codebase patterns, and injecting relevant project knowledge into your AI agent's context.
- Project
joshuadavidthomas/opencode-agent-memoryA plugin for OpenCode that provides persistent, self-editable memory blocks and a searchable journal, allowing AI agents to retain context and insights across different sessions and projects.