bryanchen3777/yua-memory
Emotional Memory Management System for AI Agents
Platform-specific configuration:
{
"mcpServers": {
"yua-memory": {
"command": "npx",
"args": [
"-y",
"yua-memory"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
[](https://github.com/bryanchen3777/yua-memory/actions/workflows/python-app.yml) [](https://opensource.org/licenses/MIT) [](https://www.python.org/downloads/)
Yua 記憶系統:為 AI 注入心跳
Yua Memory System is a sophisticated emotional-aware memory management system designed for AI companions. Unlike traditional RAG, Yua doesn't just store data—she builds a "Kizuna" (bond) by prioritizing what truly matters.
---
┌─────────────────────────────────────────────────────────────┐
│ NotebookLM (第三層) │
│ 外部備份 · AI 摘要 · 長期歸檔 │
└─────────────────────────────────────────────────────────────┘
▲
│ 備份觸發(每日/每週)
│
┌─────────────────────────────────────────────────────────────┐
│ QMD (第二層) │
│ 語義記憶檢索 · 跨 session 理解 │
└─────────────────────────────────────────────────────────────┘
▲
│ 主動寫入(重要決策、學習、靈感)
│
┌─────────────────────────────────────────────────────────────┐
│ LCM (第一層) │
│ 完整對話記錄 · SQLite · 自動儲存 │
└─────────────────────────────────────────────────────────────┘| 優先級 | 來源 | 說明 | |--------|------|------| | 🔴 P0 | High-Priority QMD | Bryan 明確下達的最新修正 | | 🟠 P1 | Recent LCM | 本 Session 或最近 3 天內的對話 | | 🟡 P2 | General QMD | 舊的技術決策、一般性協議 | | 🟢 P3 | Older LCM | 過往對話(超過 3 天) |
---
Loading reviews...