← 返回
开发者工具 中文

Openclaw Memory Qdrant

Local semantic memory with Qdrant and Transformers.js. Store, search, and recall conversation context using vector embeddings (fully local, no API keys).
使用 Qdrant 和 Transformers.js 实现本地语义记忆,通过向量嵌入存储、搜索和检索对话上下文(完全本地化,无需 API 密钥)。
zuiho-kai
开发者工具 clawhub v1.0.15 1 版本 100000 Key: 无需
★ 1
Stars
📥 1,654
下载
💾 18
安装
1
版本
#latest

概述

memory-qdrant

Use when you need your OpenClaw agent to remember and recall information across conversations using semantic search.

⚠️ Privacy Notice: The optional autoCapture feature (disabled by default) can capture PII like emails and phone numbers if you enable allowPIICapture. Only enable if you understand the privacy implications.

Local semantic memory plugin powered by Qdrant vector database and Transformers.js embeddings. Zero configuration, fully local, no API keys required.

Features

  • Semantic search with local Transformers.js embeddings
  • In-memory mode (zero config) or persistent Qdrant storage
  • Optional auto-capture of conversation context (opt-in, disabled by default)
  • Context-aware memory recall
  • Fully local, no API keys or external services required

Installation

clawhub install memory-qdrant

First-time setup: This plugin downloads a 25MB embedding model from Hugging Face on first run and may require build tools for native dependencies (sharp, onnxruntime). See README for detailed installation requirements.

Configuration

Enable in your OpenClaw config:

{
  "plugins": {
    "memory-qdrant": {
      "enabled": true
    }
  }
}

Options:

  • persistToDisk (default: true) - Save memories to disk in memory mode. Data stored in ~/.openclaw-memory/ survives restarts. Set to false for volatile memory.
  • storagePath (optional) - Custom storage directory. Leave empty for default ~/.openclaw-memory/.
  • autoCapture (default: false) - Auto-record conversations. Privacy protection enabled by default: text containing PII (emails, phone numbers) is automatically skipped.
  • allowPIICapture (default: false) - Allow capturing PII when autoCapture is enabled. Only enable if you understand the privacy implications.
  • autoRecall (default: true) - Auto-inject relevant memories
  • qdrantUrl (optional) - External Qdrant server (leave empty for in-memory)

Usage

Three tools available:

memory_store - Save information

memory_store({
  text: "User prefers Opus for complex tasks",
  category: "preference"
})

memory_search - Find relevant memories

memory_search({
  query: "workflow preferences",
  limit: 5
})

memory_forget - Delete memories

memory_forget({ memoryId: "uuid" })
// or
memory_forget({ query: "text to forget" })

Privacy & Security

  • Disk persistence (default): Memories saved to ~/.openclaw-memory/ and survive restarts. Set persistToDisk: false for volatile memory.
  • In-memory mode: When persistToDisk: false, data cleared on restart
  • Qdrant mode: Data sent to configured server (use trusted servers only)
  • Network: Downloads ~25MB model from Hugging Face on first run
  • PII Protection: By default, autoCapture skips text containing emails or phone numbers. Set allowPIICapture: true only if you understand the privacy implications.
  • autoCapture: Disabled by default for privacy. When enabled, only captures text matching semantic triggers (preferences, decisions, facts) and skips PII unless explicitly allowed.

Technical Details

  • Vector DB: Qdrant (in-memory or external)
  • Embeddings: Xenova/all-MiniLM-L6-v2 (local)
  • Module: ES6 with factory function pattern

Links

  • GitHub: https://github.com/zuiho-kai/openclaw-memory-qdrant
  • Issues: https://github.com/zuiho-kai/openclaw-memory-qdrant/issues

版本历史

共 1 个版本

  • v1.0.15 当前
    2026-03-29 01:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 424 📥 117,986
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,753
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,706