OpenClaw Hybrid Memory

Local-first memory for OpenClaw that stays inspectable, trustworthy, and useful over time.

Hybrid Memory gives your OpenClaw agent persistent memory without turning memory into a black box. It can remember across sessions, show its work when you need proof, and stay under your control.

Get Started Common tasks Scenarios & benefits View on GitHub


Remember these 3 things

What to remember Why it matters
Local-first by default Memory stays on your machine unless you deliberately choose otherwise.
Inspectable and controllable You can verify, search, export, back up, and delete it.
Hybrid retrieval Structured facts and semantic recall work together, so results are stronger than session-only or vector-only memory.

What it does

Without hybrid memory With hybrid memory
Every new thread starts from zero Preferences, decisions, and facts carry over
You paste the same context again Relevant memories can load automatically each turn
Hard to find “that thing we said” Search by meaning and by structure
Memory becomes a junk drawer Decay, tiering, and jobs keep storage manageable
Hard to tell why a memory showed up Search, verification, provenance, and docs make recall inspectable
Lost work if a process crashes badly Durable writes designed for safe recovery

How the engines work (SQLite, vectors, merge, WAL): How it works and Architecture. Narrative examples: Scenarios & benefits.


Documentation

Getting started

Document Description
Scenarios & benefits Before/after diagrams and real-life stories
Quick Start Install, configure, verify — get running in 10 minutes
Tasks Task-based entry points: “I want to…”
Common Tasks Cheatsheet Copy/paste commands for the most common workflows
Autonomous Setup Let an OpenClaw agent install it for you
Configuration Full openclaw.json reference
LLMs and Providers Prerequisites, what LLMs are used for, gateway routing, llm config

Architecture & internals

Document Description
Architecture Four-part hybrid architecture, workspace layout, bootstrap files
Architecture Center Architecture anchor: core runtime boundary vs adjacent subsystems
How It Works End-to-end flow of memory capture, storage, and recall
Retrieval Modes Ownership and contracts for interactive vs explicit/deep retrieval paths
Memory Protocol Paste-ready AGENTS.md block

Features

Document Description
Features Overview Categories, decay, tags, auto-classify, source dates
Credential Vault Opt-in encrypted storage for API keys, tokens, passwords
Session Distillation Extracting durable facts from old conversation logs
Graph Memory Graph-based fact linking and spreading activation
WAL Crash Resilience Write-ahead log design and recovery
Reflection Layer Pattern synthesis from accumulated facts
Conflicting Memories Classify-before-write, supersession, bi-temporal
Memory Tiering Hot/warm/cold tiers, compaction, session-end hooks
Memory Scoping Global, user, agent, session scope; multi-agent; scope promote
Search improvements (RRF, ingest, query expansion) RRF fusion, ingest-files, query expansion
Multilingual language keywords Auto-capture and categories in multiple languages; auto-build and build-languages
Automatic Categories Category discovery from “other” facts
Dynamic Derived Data Index: tags, categories, decay, and other derived data
Procedural memory Procedure tagging, recall, auto-skills, promotion gates
Skill pipelines Crystallization vs procedure promotion, lifecycle states, operator playbooks
Cost optimization playbook Cheap-first tiers, distill guardrails, weekly auditing

Operations & maintenance

Document Description
CLI Reference All openclaw hybrid-mem commands by category
Operator Architecture Map Minimal runbook map: components, data flows, storage, commands, and incident lookup
Operations Day-to-day operational procedures
Uninstall Revert to default memory; optional data removal
Upgrade OpenClaw What to do after every OpenClaw upgrade
Upgrade Plugin Upgrading the hybrid-memory plugin
Backup What to back up and how to restore
Maintenance File hygiene, periodic review, upgrades
Troubleshooting Common issues, API key behaviour, diagnostics

Analysis & planning

Document Description
Model-Agnostic Analysis Compatibility across LLM providers
Presentation strategy Canonical product message, demo story, visuals, and terminology
Demo package Repeatable 60s and 5-minute product demos with proof checklist
Feedback Roadmap Planned improvements and feature requests
Productisation Track Coordinating view of shipped product work, open lanes, and phase order
Add-on ecosystem Modular packaging direction for optional capability domains
Encrypted sync replication Optional encrypted export/import flow for multi-device continuity

Project

Document Description
Credits & attribution Sources, lineage, and what this repository adds
Contributor onboarding First-contribution path, quality bar, and high-impact starter areas
Similar-sweep PR process Contributor merge order and module-split conventions during sweep batches
Release notes 2026.6.40 Latest release highlights and upgrade notes

Architecture at a glance

┌─────────────────────────────────────────────────┐
│                 OpenClaw Agent                  │
├─────────────────────────────────────────────────┤
│            Hybrid Memory Manager                │
│  ┌──────────┐  ┌──────────┐  ┌──────────────┐  │
│  │ SQLite + │  │ LanceDB  │  │ Hierarchical │  │
│  │   FTS5   │  │ Vectors  │  │    Files     │  │
│  └──────────┘  └──────────┘  └──────────────┘  │
│  ┌──────────┐  ┌──────────┐  ┌──────────────┐  │
│  │   WAL    │  │  Graph   │  │  Reflection  │  │
│  │  Layer   │  │  Memory  │  │    Layer     │  │
│  └──────────┘  └──────────┘  └──────────────┘  │
└─────────────────────────────────────────────────┘

Quick start

# 1. Install the plugin
openclaw plugins install openclaw-hybrid-memory

# 2. Apply recommended config
openclaw hybrid-mem install

# 3. Restart and verify
openclaw gateway stop && openclaw gateway start
openclaw hybrid-mem verify
openclaw hybrid-mem status
openclaw hybrid-mem dashboard

Back to top

OpenClaw Hybrid Memory — durable agent memory

This site uses Just the Docs, a documentation theme for Jekyll.