smart-agent-memory
Installation
SKILL.md
Smart Agent Memory 🧠 v2.1
跨平台 Agent 长期记忆系统 — 分层上下文供给 + Skill经验记忆 + 温度模型 + 自动归档。
⚡ 核心原则:分层加载,按需供给
绝对不要全量加载记忆! 先读索引,再按需钻取。这是省 token 的关键。
记忆使用流程(每次需要记忆时)
1. index → 读取精简索引(总览,<500 tokens)
2. 判断 → 根据当前任务决定需要哪部分记忆
3. context → 按 tag/skill/时间 加载具体上下文
4. 行动 → 基于加载的上下文执行任务