智能体记忆系统
agent-memory-os
by aslan-ai-labs
Stop agents from "forgetting, mixing projects, and rotting over time" by giving them a practical memory operating system: global memory, project memory, promotion rules, validation cases, and a maintenance loop.
安装
claude skill add --url https://github.com/openclaw/skills文档
Agent Memory OS
Build an agent that gets more organized over time instead of more chaotic.
Turn an agent's memory from "a pile of chat history" into a long-term working memory operating system.
What problem this solves
A lot of agents look impressive in short conversations, then collapse under real work:
- they forget what matters
- active projects pollute long-term memory
- useful lessons never become reusable rules
- the system looks good for a week, then decays
This skill exists to fix that.
It helps the agent move from:
- "I remember fragments"
to:
- "I have a stable global brain, project-specific working brains, reusable lessons, validation logic, and a maintenance loop that keeps the whole system healthy."
What makes this different
This is not just:
- note-taking guidance
- a vector-search recipe
- a memory dump strategy
It is a workflow for building an agent memory system with:
- separation of concerns
- promotion paths for reusable knowledge
- validation cases
- operational maintenance rules
Use this skill when
The user says or implies things like:
- "My agent keeps forgetting"
- "Once projects pile up, everything gets messy"
- "I want long-term memory for my AI agent"
- "I need project memory separated from global memory"
- "I want reusable lessons, not just logs"
- "I want to share or standardize an agent memory setup"
Example trigger prompts
This skill should feel natural on prompts like:
- "Help me design long-term memory for my coding agent."
- "My AI assistant keeps mixing projects and forgetting context."
- "I need a reusable memory architecture for multi-project agents."
- "How do I separate durable agent memory from active project memory?"
- "Help me turn chat history into a reusable working-memory system."
What the user gets
By the end of this workflow, the user should have:
- a memory architecture that separates global and project concerns
- a minimum project-memory structure
- routing and promotion rules
- validation cases to prove the system works
- a maintenance runbook so it does not decay immediately
Privacy and publishing rule
When using this skill for sharable/public output:
- never expose real user names, private IDs, workspace-specific secrets, session paths, internal message IDs, or private document URLs
- rewrite examples into generalized patterns
- replace personal/project-specific references with neutral placeholders
- do not bundle private memories, raw chat excerpts, or personally identifying workflow traces into the skill
If the user explicitly wants a public/shareable version, treat privacy-preserving abstraction as mandatory, not optional.
Recommended workflow
Step 0 — Decide whether to use a full memory system
Not every agent needs this full setup.
Read references/architecture-decision-guide.md when the user is unsure whether they need a full global / project / bridge system, or whether a simpler setup is enough.
Step 1 — Diagnose the real memory problem
Classify the user's issue before proposing architecture.
Typical failure modes:
- single-brain overload: everything is dumped into one place
- project pollution: local project state contaminates long-term memory
- retrieval confusion: the agent doesn't know where to look first
- knowledge stagnation: lessons never graduate into reusable rules
- maintenance decay: the structure exists but slowly becomes stale
Read references/failure-modes.md when you need a sharper diagnosis rubric.
Step 2 — Choose the architecture
Default recommendation: a three-part system
- global memory for durable rules, preferences, SOPs, stable principles
- project memory for local complexity and active work
- bridge/promotions for candidate → promoted → canonical evolution
Read references/architecture.md when you need the design rationale.
Step 3 — Create the minimum working structure
For each project, start with 5 files:
PROJECT.mdSTATUS.mdDECISIONS.mdASSETS.mdLESSONS.md
Use the bundled templates in:
assets/project-templates/assets/bridge-templates/
Step 4 — Define routing and promotion rules
Make sure the agent knows:
- what belongs to global memory
- what stays project-local
- what becomes a candidate for reuse
- what evidence is required before promotion
Read:
references/routing.mdreferences/promotion.md
Step 5 — Validate with concrete cases
Do not stop at design. Test the system with at least 3 case types:
- continuous project execution
- interruption and recovery
- cross-project reuse
Use measurable criteria: recovery accuracy, unnecessary follow-up questions, reuse success, structure completeness, etc.
Read references/validation.md for a compact validation model.
Step 6 — Add a maintenance runbook
A memory system is not done when designed. It is done when it can be maintained.
Define:
- when to update daily logs
- when to update project status
- when to record lessons
- when candidates get promoted
- when to deprecate outdated rules
- how often to review global/project/bridge memory
Read references/maintenance.md when writing or reviewing the runbook.
Minimal success path
A good first run of this skill usually looks like:
- identify the dominant failure mode
- choose the global/project/bridge architecture
- create the 5 core project files
- define one promotion rule and one routing rule
- validate with one interruption-recovery case and one reuse case
- write a simple maintenance rhythm
If the agent can recover better, reuse more, and stay cleaner over time, the system is working.
Packaging guidance
Keep the public skill:
- short in SKILL.md
- practical in workflow
- generalized in examples
- private details removed
Do not include:
- personal identifiers
- real workspace paths tied to an individual
- raw private conversation excerpts
- internal-only document links
- unredacted project-specific evidence
Read references/publish-checklist.md before publishing or sharing widely.
Output style for public-facing use
If the user wants something that attracts attention, write with this shape:
- start from a painful, recognizable problem
- name the failure mode clearly
- present the architecture as a relief pattern
- show a small, concrete workflow
- prove it with validation cases
- end with operational simplicity, not abstract theory
Make it feel like a usable system, not an academic essay.
相关 Skills
Claude接口
by anthropics
面向接入 Claude API、Anthropic SDK 或 Agent SDK 的开发场景,自动识别项目语言并给出对应示例与默认配置,快速搭建 LLM 应用。
✎ 想把Claude能力接进应用或智能体,用claude-api上手快、兼容Anthropic与Agent SDK,集成路径清晰又省心
计算机视觉
by alirezarezvani
聚焦目标检测、图像分割与视觉系统落地,覆盖 YOLO、DETR、Mask R-CNN、SAM 等方案,适合定制数据集训练、推理优化及 ONNX/TensorRT 部署。
✎ 把目标检测、图像分割到推理部署串成完整工程链路,主流框架与 YOLO、DETR、SAM 等方案都覆盖,落地视觉 AI 会省心很多。
智能体流程设计
by alirezarezvani
面向生产级多 Agent 编排,梳理顺序、并行、分层、事件驱动、共识五种工作流设计,覆盖 handoff、状态管理、容错重试、上下文预算与成本优化,适合搭建复杂 AI 协作系统。
✎ 帮你把多智能体流程设计、编排和自动化统一起来,复杂工作流也能更稳地落地,适合追求强控制力的团队。
相关 MCP 服务
知识图谱记忆
编辑精选by Anthropic
Memory 是一个基于本地知识图谱的持久化记忆系统,让 AI 记住长期上下文。
✎ 帮 AI 和智能体补上“记不住”的短板,用本地知识图谱沉淀长期上下文,连续对话更聪明,数据也更可控。
顺序思维
编辑精选by Anthropic
Sequential Thinking 是让 AI 通过动态思维链解决复杂问题的参考服务器。
✎ 这个服务器展示了如何让 Claude 像人类一样逐步推理,适合开发者学习 MCP 的思维链实现。但注意它只是个参考示例,别指望直接用在生产环境里。
PraisonAI
编辑精选by mervinpraison
PraisonAI 是一个支持自反思和多 LLM 的低代码 AI 智能体框架。
✎ 如果你需要快速搭建一个能 24/7 运行的 AI 智能体团队来处理复杂任务(比如自动研究或代码生成),PraisonAI 的低代码设计和多平台集成(如 Telegram)让它上手极快。但作为非官方项目,它的生态成熟度可能不如 LangChain 等主流框架,适合愿意尝鲜的开发者。