← 返回
数据分析 中文

Hybrid Memory

Hybrid memory strategy combining OpenClaw's built-in vector memory with Graphiti temporal knowledge graph. Use when you need to recall past context, answer temporal questions ("when did X happen?"), or search memory files. Provides decision framework for when to use memory_search vs Graphiti.
结合OpenClaw内置向量记忆与Graphiti时序知识图谱的混合记忆策略。适用于回忆过往上下文、回答时序问题(如“X何时发生?”)或搜索记忆文件。提供了何时使用memory_search与Graphiti的决策框架。
clawdbrunner
数据分析 clawhub v1.0.1 1 版本 99861.9 Key: 无需
★ 1
Stars
📥 2,872
下载
💾 131
安装
1
版本
#latest

概述

Hybrid Memory System

Two memory systems, each with different strengths. Use both.

When to Use Which

Question TypeToolExample
-----------------------------
Document contentmemory_search"What's in GOALS.md?"
Curated notesmemory_search"What are our project guidelines?"
Temporal factsGraphiti"When did we set up Slack?"
ConversationsGraphiti"What did the user say last Tuesday?"
Entity trackingGraphiti"What projects involve Alice?"

Quick Reference

memory_search (Built-in)

Semantic search over markdown files (MEMORY.md, memory/*/.md).

memory_search query="your question"

Then use memory_get to read specific lines if needed.

Graphiti (Temporal)

Search for facts with time awareness:

graphiti-search.sh "your question" GROUP_ID 10

Log important facts:

graphiti-log.sh GROUP_ID user "Name" "Fact to remember"

Common group IDs:

  • main-agent — Primary agent
  • user-personal — User's personal context

Recall Pattern

When answering questions about past context:

  1. Temporal questions → Check Graphiti first
  2. Document questions → Use memory_search
  3. Uncertain → Try both, combine results
  4. Low confidence → Say you checked but aren't sure

AGENTS.md Template

Add to your AGENTS.md:

### Memory Recall (Hybrid)

**Temporal questions** ("when?", "what changed?", "last Tuesday"):

graphiti-search.sh "query" main-agent 10


**Document questions** ("what's in X?", "find notes about Y"):

memory_search query="your query"


When answering past context: check Graphiti for temporal, memory_search for docs.

Setup

Full setup guide: https://github.com/clawdbrunner/openclaw-graphiti-memory

Part 1: OpenClaw Memory — Configure embedding provider (Gemini recommended)

Part 2: Graphiti — Deploy Docker stack, install sync daemons

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-28 13:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,091
data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 56,997
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 65,168