version: "1.0.1" name: memory-starter-kit description: 基础记忆层 — Hot/Warm 双层自动记忆, 让 AI 真正记住你
L0 Hot (memory tool, 5KB cap) → 用户画像 + 系统笔记, 每轮自动注入
L1 Warm (Hindsight, PostgreSQL) → auto-retain + auto-recall + 每周反思
L2 Hot-Warm bridge (agentmemory) → 51 MCP 工具, 语义+关键词+图检索
L3 Cold (gbrain) → 知识图谱, 长期档案, pgvector 向量
bash
systemctl is-active hindsight # 应返回 active
docker ps | grep agentmemory # 应显示 running
python3 ~/.hermes/scripts/memory_guard.py # 检查内存健康
~/.hermes/
├── scripts/ # runtime 脚本
│ ├── hindsight-service.py
│ ├── memory_guard.py
│ ├── memory_prewrite_guard.py
│ └── ...
├── archives/ # 档案目录
│ ├── people/
│ ├── projects/
│ └── knowledge/
└── config.yaml # memory.provider: hindsight