Hybrid Memory System

SkillDocs & knowledge

Hybrid memory strategy combining OpenClaw's built-in QMD vector memory with Graphiti temporal knowledge graph. Use for all memory recall requests.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Hybrid Memory System skill

What this skill tells your AI

The instructions your AI receives, as published by clawdbrunner/openclaw-graphiti-memory in skill/SKILL.md and read by ahel’s review.

We use two memory systems integrated into a single view:

  1. QMD (Vector Store): For retrieving documents, specs, and full content.
  2. Graphiti (Knowledge Graph): For retrieving facts, timelines, and relationships.

Primary Tool

For 95% of memory queries, use the hybrid search script. It queries both systems in parallel.

~/.openclaw/scripts/memory-hybrid-search.sh "your query"

Optional flags:

  • [group_id] — Specify agent group (default: openclaw-main)
  • --json — Output JSON for programmatic use

Specific Tools (Advanced)

Only use these if the hybrid script fails or you need granular control.

Graphiti Only (Temporal/Facts)

Search for specific temporal facts:

~/.openclaw/scripts/graphiti-search.sh "your question" openclaw-main 10

Log new facts (IMPORTANT):

~/.openclaw/scripts/graphiti-log.sh openclaw-main user "Name" "Fact to remember"

QMD Only (Deep Document Search)

If you need more results or specific file filtering:

qmd search "query" -n 10

Recall Pattern

  1. User asks question ("What was the plan for the project?")
  2. Run Hybrid Search (~/.openclaw/scripts/memory-hybrid-search.sh "plan for the project")
  3. Synthesize Answer from both the temporal facts and document snippets found.
  4. If needed: Use read to get the full content of a file found in the QMD results.

When to Use Which

Question TypeUse
"What's in GOALS.md?"Hybrid search → read file
"When did we discuss X?"Hybrid search (Graphiti results)
"What did I say last Tuesday?"Graphiti direct
"Find notes about architecture"Hybrid search (QMD results)

Signals

GitHub stars
104
Forks
10
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
hybrid-memory
Source
github.com/clawdbrunner/openclaw-graphiti-memory