agent-sleep
SKILL.md
Agent Sleep System 🛌
像人类一样,Agent 需要"睡眠"(离线维护)来防止记忆碎片化和上下文污染。
功能
- Micro-Rest - 快速上下文修剪
- Deep Sleep - 每日日志整合到长期记忆
- CortexGraph 同步 - 同步到 CortexGraph(带遗忘曲线)
- Dreaming - 后台模拟(可选)
工具
sleep_status
检查 agent 是否"累了"(基于运行时间或 token 使用)
python3 scripts/sleep_status.py