Files
nexus/wiki/entities/OpenClaw.md

1.9 KiB
Raw Blame History

title, type, tags, last_updated
title type tags last_updated
OpenClaw entity
ai-agent
memory
context-management
framework
2026-04-23

Overview

开源多 Agent 框架358k stars。以 plain markdown 文件为核心记忆架构无隐藏状态Agent 读什么写什么,完全透明。

Architecture

Core Files

  • MEMORY.md — 长期记忆存储
  • YYYY-MM-DD.md — 每日运行上下文笔记
  • DREAMS.md — 整合摘要dreaming 进程的产出)

Dreaming Cycle三阶段背景整合

OpenClaw 的核心创新——夜间后台进程将每日笔记整合为长期记忆:

  1. Light Sleep:筛选每日笔记,将相邻行分组为连贯块
  2. REM:基于访问频率加权提升——频繁访问的信息成为"持久真理"
  3. Deep Sleep:安全晋升到 MEMORY.md执行合并而非重复

评分门控:进入长期记忆需通过六个加权信号:

  • 相关性0.30
  • 频率0.24
  • 查询多样性0.15
  • 时效性0.15
  • 整合度0.10
  • 概念丰富度0.06

阈值要求:分数 ≥ 0.8 + 访问次数 ≥ 3 + 独立查询数 ≥ 3

与 Camp 1 的本质区别

Camp 1Mem0 等):对话 → 提取事实 → 存入向量库 → 检索召回 OpenClawAgent 读取结构化上下文 → 在上下文中工作 → 写回文件 → 上下文自然复合增长

核心哲学:"The model only 'remembers' what gets saved to disk, there is no hidden state."

Aliases

  • OpenClaw
  • openclaw

Connections