← 返回
AI智能 中文

OpenMemo Memory – Persistent Memory for OpenClaw Agents

Provides OpenClaw agents with local, scene-aware, persistent structured memory for task deduplication and long-term workflow recall.
为OpenClaw代理提供本地、场景感知、持久化结构化记忆,用于任务去重和长期工作流召回。
openmemoai
AI智能 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 1
Stars
📥 680
下载
💾 6
安装
1
版本
#latest

概述

OpenMemo - Persistent Memory for OpenClaw Agents

Stop agents from repeating tasks. Give your AI long-term memory.

The Problem

OpenClaw provides a basic memory system, but in real-world usage agents still:

  • Repeat the same tasks — the agent deploys successfully, but runs the entire workflow again next time because it never recorded the result
  • Store memory as large documents — chat history and MEMORY.md files help retrieve text, but agents also need to remember tasks they completed, decisions they made, and workflows that succeeded

What OpenMemo Adds

OpenMemo introduces a structured memory layer designed for agent workflows. Instead of storing raw conversation text, OpenMemo records experience events.

Backend deployed using Docker Compose
Scene: deployment
Type: task_execution

Agents recall actions and results, not just text.

Comparison

FeatureTypical Long-Term MemoryOpenMemo Memory
---------
Memory typeDocument memoryExperience memory
StorageNotes and logsStructured events
RetrievalVector searchScene + task recall
Task deduplicationNoYes
Workflow reuseNoYes

Core Capabilities

Persistent Memory

OpenMemo records structured experience from agent workflows: tasks completed, decisions made, workflows validated. These memories persist across sessions and can be recalled when similar tasks appear. Over time the agent accumulates long-term operational knowledge.

Task Deduplication

OpenMemo introduces task fingerprinting. Before executing a task, the agent checks memory. If the task already succeeded, the agent can reuse the result, skip execution, or continue from the previous step. This prevents duplicate execution, wasted tokens, and repeated workflows.

Scene-Aware Memory

OpenMemo detects the working context: coding, research, debugging, deployment. Only the most relevant memories are retrieved for the current task. This keeps context focused and efficient.

Memory Inspector

A built-in dashboard lets you see what the agent remembers, memory ranking and recall results, and system health. The memory system becomes transparent instead of a black box.

Local-First Architecture

All memory operations happen locally. No external dependencies, no cloud required, full privacy, lower latency.

OpenClaw Agent
      |
      v
OpenMemo Skill
      |
      v
OpenMemo Adapter (local)
      |
      v
OpenMemo Memory Engine

Example

Without OpenMemo:

> deploy backend
  → agent rebuilds everything again

With OpenMemo:

> deploy backend
  → agent detects previous deployment
  → reuses workflow

The agent stops behaving like a script and starts behaving like a system.

Tools

recall_memory

Retrieve relevant memory from OpenMemo. Use this to recall past experience, decisions, and knowledge before executing tasks.

Parameters:

  • query (string, required): The search query for memory recall
  • scene (string, optional): Scene context (e.g., coding, debug, research, deployment)

write_memory

Store structured memory event in OpenMemo. Use this after completing important tasks to save experience for future use.

Parameters:

  • content (string, required): The memory content to store
  • scene (string, optional): Scene context
  • type (string, optional): Memory type — fact, decision, observation, preference

check_task_memory

Check if a task has already been executed. Use this FIRST before starting any task to avoid duplication.

Parameters:

  • task_description (string, required): Description of the task to check

Rules

When executing tasks, follow these memory operating rules:

  1. BEFORE starting any task, call check_task_memory with the task description. If a successful previous execution exists, reuse the result or skip.
  1. Use recall_memory to retrieve relevant past experience before making decisions.
  1. After completing important tasks, call write_memory to store structured experience: decisions made, successful approaches, errors resolved, key observations.
  1. Always include the scene context (coding, debug, research, deployment) for better recall accuracy.

Setup

Install the OpenMemo adapter locally:

pip install openmemo openmemo-openclaw
openmemo serve

Restart your agent. The Skill will automatically detect the adapter and activate persistent memory.

Best Use Cases

  • Coding agents
  • DevOps automation
  • Research agents
  • Multi-step AI workflows

Links

  • GitHub: https://github.com/openmemoai/openmemo
  • Adapter: https://github.com/openmemoai/openmemo-openclaw-adapter

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 15:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,056 📥 796,412
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 709 📥 243,558
ai-intelligence

Proactive Agent

halthelobster
将AI智能体从任务执行者升级为主动预判需求、持续优化的智能伙伴。集成WAL协议、工作缓冲区、自主定时任务及实战验证模式。Hal Stack核心组件 🦞
★ 834 📥 212,823