← 返回
未分类 中文

Memoria

The most advanced memory system for AI agents. 24 cognitive layers, knowledge graph, procedural learning, dialectic queries, AI self-observation, auto skill...
最前沿的AI记忆系统,含24层认知、知识图谱、过程学习、辩证查询、AI自我观察与自动技能。
nieto42 nieto42 来源
未分类 clawhub v3.34.0 1 版本 100000 Key: 无需
★ 2
Stars
📥 592
下载
💾 0
安装
1
版本
#latest#local#memory#ollama#plugin#sqlite

概述

🧠 Memoria — Multi-Layer Persistent Memory for OpenClaw

The most complete memory system for OpenClaw. 20 layers of memory that work together, powered by YOUR choice of LLM.

Why Memoria?

🏗️ 20 Memory Layers (not just a fact store)

  1. Facts — Durable knowledge extracted from every conversation
  2. Procedures — HOW to do things, improves with repetition, learns from failures
  3. Knowledge Graph — Entities + relations connecting your facts
  4. Topics & Expertise — Tracks what you talk about most, specializes over time
  5. Observations — Short-term working memory for active context
  6. Error Detection 🔥 — Touch fire once, remember forever. Dangers captured on first occurrence
  7. Lifecycle — Fresh → Settled → Dormant. Nothing deleted, priority shifts naturally

🔌 Bring Your Own LLM

Configure each layer independently. Mix and match:

  • Ollama — Run gemma3, qwen3.5, llama, or any model locally (recommended)
  • LM Studio — Use any GGUF model from your local server
  • Remote APIs — OpenAI, Anthropic, OpenRouter as primary or fallback
  • Fallback chains — Ollama → LM Studio → API. If one fails, the next takes over automatically

🏠 100% Local-First

  • SQLite + FTS5 — No external database needed
  • Local embeddings — nomic-embed-text via Ollama (zero API cost)
  • Zero cloud dependency — Works offline, your data stays on your machine
  • Fallback chain — Degrades gracefully if a provider goes down

🧬 What Makes Memoria Different

FeatureMemoriaBasic memory plugins
---------------------------------------
Memory layers20 specialized layersSingle fact store
LLM choiceAny local or remote modelUsually hardcoded
Per-layer LLM config✅ Different model per layer
Procedural learning✅ Learns HOW, not just WHAT
Error detection✅ Auto-captures dangers
Knowledge graph✅ Entities + relations
Lifecycle management✅ Smart aging, never forgets❌ or simple TTL
Cost$0 with local modelsVaries

Installation

As Plugin (recommended — one command)

openclaw plugins install clawhub:memoria-plugin

This installs Memoria from the ClawHub registry. No manual steps needed.

From source (for contributors / advanced users)

If you prefer to inspect the code first:

  1. Browse the repository: github.com/Primo-Studio/openclaw-memoria
  2. Review the source code, especially index.ts (main entrypoint) and openclaw.plugin.json (config schema)
  3. Clone and install:
  4. cd ~/.openclaw/extensions
    git clone https://github.com/Primo-Studio/openclaw-memoria.git memoria
    cd memoria && npm install
    

Then add to your openclaw.json under plugins.entries:

{
  "memoria": { "enabled": true },
  "memory-convex": { "enabled": false }
}

Configuration

Minimal (works out of the box with Ollama)

Just install and restart. Defaults: Ollama + gemma3:4b for extraction, nomic for embeddings.

Custom LLM per layer

"memoria": {
  "enabled": true,
  "config": {
    "llm": {
      "default": { "provider": "ollama", "model": "qwen3.5:4b" },
      "procedural": { "provider": "lmstudio", "model": "your-model" },
      "graph": { "provider": "openai", "model": "gpt-4o-mini" }
    }
  }
}

Source Code

The full source is available on GitHub: Primo-Studio/openclaw-memoria

Key files:

  • index.ts — Main plugin entrypoint (hooks, extraction, recall pipeline)
  • procedural.ts — Procedural memory (how-to learning)
  • lifecycle.ts — Lifecycle management (fresh/settled/dormant)
  • scoring.ts — Temporal scoring and relevance ranking
  • selective.ts — Dedup, contradiction detection, fact quality
  • openclaw.plugin.json — Configuration schema

Feedback & Community

We'd love your feedback! Tell us how Memoria works for you:

Built with ❤️ by Primo Studio 🇬🇫 — AI tooling from French Guiana.

版本历史

共 1 个版本

  • v3.34.0 当前
    2026-05-03 04:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,097 📥 824,458
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,460 📥 511,014
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,394 📥 322,284