记忆梦境引擎 · AI 的睡眠系统

● Active

cn.savantcat/memory-dream-engine

零 LLM 事实提取 + 三维信号评分 + 艾宾浩斯衰减 + 五阶段梦境流水线与内容发芽检测,纯计算零依赖

Category
AI & Agents
Version
1.0.1
Registry
active
Published
10/6/2026

On GitHub

read Nov 17, 2026
Stars
1
Forks
0
Last push
Oct 21, 2026
License
MIT

Pythonagentaiknowledge-managementllmmemoryspaced-repetition

From the README

🌙 记忆梦境引擎 · Memory Dream Engine 合尘猫(savantcat.cn) 是面向中小企业的企业知识库与 AI 客服服务商:把企业内部的知识做成能答准、能过 GB/T 47746—2026 国标自查的 AI 客服。 官网 · 合规问答库 · 国标自查 你的 AI 聊完就忘,不是它笨 —— 是它从来不做梦。 一个可插拔的「AI 睡眠系统」:采集 → 评分 → 写入 → 优化 → 发芽,每 3 小时自动跑一轮。 零 LLM 成本、纯标准库、~1300 行 Python、20/20 单元测试通过。 🤔 你大概率遇到过这三种情况 梦境引擎就是补这三环的。 🧠 它怎么工作 —— 像人一样睡觉 ⚡ 四个「别人没有」的点 🆚 和溯忆(Suyi)比 溯忆是被动存储,梦境引擎是主动生长: 🚀 60 秒跑起来 想看核心能力,直接跑引擎自带的 v3 演示: 🔌 接入你自己的 Agent 引擎不绑定任何框架,只需实现三个适配器函数: ⚠️ 文档澄清:早期版本的 README 里出现过「编辑 .env 配置 SESSIONSEARCHFN / MEMORY_FN」的说明, 那是错的 —— 引擎从不读取任何环境变量。接入方式只有上面这一种:传 Python 函数。 🔌 作为 MCP 服务调用 server.py 把引擎包成标准 MCP server —— 别人的 Agent 可以直接调这几个工具,不必接适配器、不必读源码。 客户端配置(stdio): 服务端为纯计算、纯读:6 个工具的四个 annotation hint 全部声明(readOnlyHint=true / destructiveHint=false / idempotentHint=true / openWorldHint=false),不需要 API Key,也不保存调用方的任何数据 —— simulate_dream 在临时库跑完即销毁。 ⏰ 定时运行(Hermes Agent) ⚠️ 必读:Cron 环境写不了 Memory(最大的运维坑) 多数 Agent 框架的 cron 子进程没有 memory 工具权限,会导致阶段 3(写入)和阶段 4(优化)静默失败 —— 引擎照常采集和评分,但 ≥70 分的条目会持续积压。 症状:报告反复出现「阶段3:写入 — 受阻」,同一批高分记忆连着几轮都没写进去。 做法:每跑 3 轮 cron,安排一次交互式会话手动补写阶段 3+4;memory 占用到 95% 时立即执行清理。 📁 项目结构 🧪 测试 不想装 pytest 也能自测(仓库自带 stdlib runner): 覆盖范围:test_engine.py 测引擎内核(评分 / 五阶段流水线 / 采集上限), test_tools.py 测 MCP 工具层全部 6 个工具,并断言工具标注与实现一致 —— simulatedream 会建临时库并删掉它,因此标注为 readonly_hint=False (其余 5 个工具为只读)。这条断言是回归门:谁也不许再把写盘的工具标成只读。 测试为 pytest 风格(裸 assert + setup_method 夹具),不兼容 unittest discover。 夹具名必须是 setup_method —— pytest 8 已移除旧的 setup 约定。 自带 runner 也据此调用 setup_method(早先它查的是 setup,导致全部用例…

Read the full README on GitHub →

Alternatives to 记忆梦境引擎 · AI 的睡眠系统

Best AI & Agents servers →

The most-starred AI & Agents servers in the index, with their live-check result.

ServerStarsLast pushLive check
Ruflo81,994Nov 2026Local / not checked
Claude Flow81,985Nov 2026Local / not checked
CodeBurn11,805Nov 2026Local / not checked
Kaneo9,825Nov 2026Local / not checked
Ha MCP7,958Nov 2026Local / not checked

记忆梦境引擎 · AI 的睡眠系统: questions people ask

Is 记忆梦境引擎 · AI 的睡眠系统 still maintained?
Active: the repository's last commit 1 month ago. Last push Oct 21, 2026, 1 GitHub stars, MIT licence. Read from GitHub on Nov 17, 2026.
Browse all AI & Agents →

Add the badge to your site

Show visitors that 记忆梦境引擎 · AI 的睡眠系统 is listed here — it’s also the link we check for a free listing.

记忆梦境引擎 · AI 的睡眠系统 — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/cn-savantcat-memory-dream-engine?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="记忆梦境引擎 · AI 的睡眠系统 — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![记忆梦境引擎 · AI 的睡眠系统 — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/cn-savantcat-memory-dream-engine?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).