Your memories stay on your machine. Your agent actually learns from you.
Ten OpenClaw plugins that give your agent persistent, searchable, biologically-inspired memory β with behavioral learning, ambient intelligence, cognitive adaptation, and emergency alerting. Without sending a single byte to the cloud.
New: One-line install with nox-memory-suite. One plugin path, one config entry, full stack. Quick Start β
Most agent memory is a glorified clipboard. Copy-paste your MEMORY.md, hope for the best. This is different: semantic search, automatic capture, behavioral adaptation, ambient awareness, and emergency escalation β all local, all open source. Core plugins (checkpoint, qdrant, auto-capture, preference-learner) running 24/7 in production since January 2026. Cognitive plugins (fademem, cooccurrence, fingerprint) are experimental β included but not yet battle-tested.
| Approach | Token Cost | Recall | Learns Facts? | Adapts Behavior? | Watches for You? |
|---|---|---|---|---|---|
| Flat MEMORY.md | 5-10K every session | β Degrades | β | β | β |
| Hierarchical files | ~1.5K + drill-downs | π‘ Manual | β | β | β |
| Cloud memory (Mem0, Zep) | ~2K | β | β | β | β |
| This project | ~2K + semantic hits | β Vector search | β Auto-capture | β Preference Learner | β Ambient Intelligence |
Flat files scale linearly. Vector search scales logarithmically. Nobody else adapts agent behavior from conversation feedback β they only store facts. And nobody else watches for urgent events and surfaces them proactively.
| Plugin | What it does | Layer |
|---|---|---|
| auto-checkpoint | Injects last operational state. Warns when stale. Backs up before compaction. | Remember |
| memory-qdrant | Semantic recall β searches Qdrant + facts.jsonl + knowledge-file routing. | Recall |
| auto-capture | Detects corrections, decisions, facts, lessons β stores them automatically. | Learn |
| preference-learner | Train by Talking. Adapts agent behavior across 6 dimensions from your feedback. | Adapt |
| event-bus | Central event bus + sensor connectors (file, system). JSONL persistence. | Sense |
| preconscious | Scores events by importance Γ recency. Surfaces top insights as context. | Anticipate |
| emergency | Escalates urgent events. Dedup, rate limiting, TTL expiry detection. | Alert |
| fademem | Access-weighted Memory Decay β memories that are never retrieved fade. | Cognitive (experimental) |
| cooccurrence | Hebbian Learning β tracks concept co-occurrences for associative memory. | Cognitive (experimental) |
| fingerprint | Cognitive Fingerprint β personality profile based on memory topology + drift detection. | Cognitive (experimental) |
Note (2026-03-19): The three Cognitive plugins (fademem, cooccurrence, fingerprint) are experimental. They load and hook into the lifecycle correctly, but in production use their actual data output has been minimal. The core value comes from auto-checkpoint, memory-qdrant, auto-capture, and preference-learner. The Cognitive layer is included for experimentation and may be refined in future releases. For a simpler setup, use
nox-memory-suitewith presetcore. | memory-suite | Meta-plugin β one config entry activates all of the above. Presets:full,core,minimal. | All |
All plugins hook into before_agent_start β your agent gets the full picture before every response.
External World
β
ββββββββββββββββΌβββββββββββββββ
βΌ βΌ βΌ
[Sensors] [User Talk] [Agent Work]
email, cal, corrections, checkpoints,
files, system decisions state changes
β β β
βΌ βΌ βΌ
ββββββββββββββββ event-bus βββββββββββββββββββ
β (JSONL persistence) β
ββββββββ¬ββββββββββββββ¬βββββββββββββββ¬βββββββββ
β β β
βΌ βΌ βΌ
preconscious auto-capture emergency
(score+buffer) (β Qdrant) (urgent alerts)
β β β
βΌ βΌ βΌ
ββββββββββββββββββββββββββββββββββββββββββββββ
β Session Context Injection β
β β
β checkpoint + memories + preferences β
β + preconscious buffer + emergency alerts β
ββββββββββββββββββββββββββββββββββββββββββββββ
β β β
βΌ βΌ βΌ
auto-checkpoint memory-qdrant preference-learner
(state/current) (vector search) (behavioral scores)
Total overhead per session start: < 500ms (tested on ARM64 and x86).
auto-checkpoint reads your state/current.md and injects it as context. Your agent always knows where it left off β even after context compaction. Before compaction, it backs up the current state so nothing is lost.
memory-qdrant searches your local Qdrant for semantically relevant memories, matches keywords against a facts.jsonl file (verified facts, keyword-searched), and hints at relevant knowledge files based on configurable topic routing.
auto-capture runs silently, detecting when conversations contain corrections, decisions, new facts, or lessons. Stores them in Qdrant automatically. User-only capture, SHA256 deduplication, 30+ skip patterns, metadata cleaning.
preference-learner detects feedback signals in your conversations β praise, frustration, corrections β and maps them to 6 behavioral dimensions. Over time, your agent adapts how it works with you:
You: "Dude, stop asking for permission every time β just do it!"
β Signal: negative (-1.5)
β Categories: confirmation_seeking β LESS, autonomy β MORE
β Saved to preferences.json
Next session, agent receives:
"STRONG preference for LESS confirmation seeking (score: -4.5, 5x reinforced)"
β Agent stops asking for permission on obvious tasks
Six dimensions: autonomy, verbosity, proactivity, formality, technical depth, confirmation seeking. Preferences decay if not reinforced (30-day half-life) β no overreaction to a single comment.
event-bus is the nervous system. Any plugin or sensor can emit events with a topic, importance score, and TTL. Events persist as JSONL and auto-prune after 7 days. At session start, the most relevant recent events are injected as context.
preconscious watches the event bus and asks: "What's important right now, even if nobody asked?" It scores events by importance Γ recency_decay Γ reinforcement_count and writes the top 5 as a Markdown buffer (max 500 tokens). Your agent gets ambient awareness without being overwhelmed.
emergency watches for critical events (importance β₯ 0.85) and soon-to-expire TTLs. Deduplicates via SHA256, rate-limits to 2 alerts per day, and injects unhandled alerts as priority context. Your agent sees β οΈ URGENT before anything else.
MEMORY.md grows until you summarize, losing detail. This project stores everything in Qdrant, recalls only what's relevant, and keeps MEMORY.md as a lightweight index.
Cloud services send your data elsewhere and none adapt agent behavior. This runs on your machine, learns how you work, AND watches for problems proactively.
vs. Total Recall
Total Recall pioneered ambient intelligence for agents. We build on that foundation:
| Total Recall | This project | |
|---|---|---|
| Runtime | Shell (bash + jq + python) | Node.js (OpenClaw plugins) |
| Scheduling | Cron jobs | Runs on every session start |
| Dependencies | jq, python, PyYAML | Node.js stdlib only |
| Testing | Manual | 106 automated tests |
| Integration | Standalone scripts | Native OpenClaw hooks |
| Emergency | Webhook/Telegram | Context injection + dedup |
| Extensibility | Fork scripts | Import + event listeners |
- 2,000+ memories stored and recalled daily
- 4-layer compaction mitigation (checkpoint backup β auto-checkpoint β compaction-summarizer β context re-injection)
- Embodied AI tested β also used with a robot dog for sensor memory
- Running continuously since January 2026 on a Raspberry Pi 5
Start with
auto-checkpoint+memory-qdrantβ they give you 80% of the value. Add plugins as you need them.
- OpenClaw 2026.1.30+
- Qdrant running locally (or Qdrant MCP server)
- mcporter with a
qdrant-memoryserver configured
git clone https://github.com/rockywuest/openclaw-memory-local.git
cd openclaw-memory-local
pip3 install mcp-server-qdrant
mcporter config add qdrant-memory stdio \
--command "python3 -m mcp_server_qdrant" \
--args "--qdrant-local-path ~/.openclaw/memory/qdrant-data --collection-name memories"Option A: One-line setup (recommended)
Add nox-memory-suite β one path, one entry, full stack:
{
"plugins": {
"load": {
"paths": [
"/path/to/openclaw-memory-local/auto-checkpoint",
"/path/to/openclaw-memory-local/memory-qdrant",
"/path/to/openclaw-memory-local/plugins/nox-memory-suite"
]
},
"entries": {
"nox-memory-suite": { "enabled": true }
}
}
}The suite auto-loads all 8 plugins in dependency order. Presets:
| Preset | Plugins | Use Case |
|---|---|---|
full (default) |
All 8 | Production β everything including cognitive layer |
core |
capture, events, preconscious, emergency, preferences | Daily use without cognitive analysis |
minimal |
capture, preferences | Lightweight β just learning and fact capture |
Override individual plugins:
{
"nox-memory-suite": {
"enabled": true,
"preset": "core",
"plugins": { "fademem": true }
}
}Option B: Manual setup (pick and choose)
Add individual plugin paths:
{
"plugins": {
"load": {
"paths": [
"/path/to/openclaw-memory-local/auto-checkpoint",
"/path/to/openclaw-memory-local/memory-qdrant",
"/path/to/openclaw-memory-local/plugins/nox-auto-capture",
"/path/to/openclaw-memory-local/plugins/nox-preference-learner",
"/path/to/openclaw-memory-local/plugins/nox-event-bus",
"/path/to/openclaw-memory-local/plugins/nox-preconscious",
"/path/to/openclaw-memory-local/plugins/nox-emergency",
"/path/to/openclaw-memory-local/plugins/nox-fademem",
"/path/to/openclaw-memory-local/plugins/nox-cooccurrence",
"/path/to/openclaw-memory-local/plugins/nox-fingerprint"
]
}
}
}Then:
openclaw gateway restartThat's it. Your agent now has memory, behavioral adaptation, and ambient intelligence.
OpenClaw's built-in memory_search uses a separate embedding provider (OpenAI, Gemini, etc.) β independent of these plugins. If memory_search returns empty:
- Check provider config:
openclaw memory status - Common causes: API key expired, rate limit during reindex, provider switch without reindex
- Verify plugins work independently:
mcporter call qdrant-memory.qdrant-find query="test"
These plugins use mcporter β Qdrant (local embeddings). OpenClaw's
memory_searchuses a cloud embedding provider. They are independent systems.
bash scripts/memory-health.shChecks 7 subsystems: Qdrant access, mcporter find/store, embedding cache, sync cron, memory files, provider config. Exit 0 = healthy. Run it in your agent's heartbeat loop.
- Zero cloud dependency. Qdrant runs locally. Nothing leaves your machine.
- No telemetry. No analytics. No tracking.
- Your data, your disk. Delete the Qdrant directory, delete the memories.
npm test # 184 tests, zero external depsEach plugin includes an agentskills.io-compliant SKILL.md.
- Semantic recall via Qdrant
- Automatic fact/decision capture
- Behavioral preference learning
- Ambient Intelligence Engine (event bus, preconscious buffer, emergency surface)
- FadeMem: access-weighted decay
- Co-occurrence tracking (Hebbian links)
- Cognitive fingerprint (topology hash)
- Sensor connectors (file watchers, system monitoring)
- Meta-plugin (
nox-memory-suite) β one-line activation with presets - ClawhHub listing
MIT β use it, fork it, improve it.
Contributors: Rocky WΓΌst (creator), Nox β‘ (architecture + implementation), Claude (Anthropic)
Running 24/7 since January 2026. Part of the Sentinel Agent ecosystem.