v0.5.0 — Knowledge Graph + MCP Server

Your AI agent's
long-term memory

Store, recall, and connect knowledge in a single SQLite file. FTS5 search, hybrid embeddings, facts extraction, and knowledge graph — all offline, zero external dependencies.

50%
Storage saved with F16 quantization
350K
Cosine similarity ops/sec
15
MCP tools for Claude Desktop
0
External API calls required

Everything your agent remembers

🧠

Knowledge Graph

Extract facts, link entities, and traverse relationships. Find paths between concepts your agent has learned.

🔍

Hybrid Search

FTS5 lexical search + semantic embeddings with configurable reranking. Best of both worlds.

F16 Quantization

50% storage reduction with F32→F16 conversion. Embeddings stay fast and compact.

🔌

MCP Server

15 tools for Claude Desktop integration. Store, recall, search facts, explore the graph.

📥

Auto-Capture

Plugin automatically stores conversations with attribution. Entity + session grouping.

🎯

Fact Extraction

Auto-extract structured facts from messages (confidence ≥ 0.6). Build knowledge hands-free.

Quick Start

Terminal — Install
# Core library
npm install @akashabot/openclaw-memory-offline-core

# CLI tool
npm install -g @akashabot/openclaw-mem

# MCP Server (optional, for Claude Desktop)
npm install -g @akashabot/openclaw-memory-mcp-server

# OpenClaw plugin (bridge to core)
# https://github.com/AkashaBot/openclaw-memory-offline-sqlite-plugin

# Initialize and test
openclaw-mem init
openclaw-mem remember "OpenClaw runs offline memory"
openclaw-mem search "offline" --hybrid
OpenClaw config.yaml
plugins:
  load:
    paths:
      - ./plugins/memory-offline-sqlite
  slots:
    memory: memory-offline-sqlite
  entries:
    memory-offline-sqlite:
      enabled: true
      config:
        dbPath: ~/.openclaw/memory/offline.sqlite
        autoRecall: true
        autoCapture: true
        mode: hybrid
        provider: ollama
        embeddingModel: bge-m3

Changelog

v0.5.0
Latest

Knowledge Graph + Embedding Optimizations

  • Knowledge Graph: getEntityGraph, findPaths, getRelatedEntities, exportGraphJson
  • F16 quantization: 50% storage reduction for embeddings
  • Cosine similarity benchmarking tools
  • CLI: graph-stats, graph-entity, graph-path, graph-export commands
v0.4.0
Feb 2025

MCP Server Release

  • @akashabot/openclaw-memory-mcp-server package
  • 15 MCP tools for Claude Desktop integration
  • Full graph + fact + memory tooling
v0.3.0
Feb 2025

Facts Extraction

  • Facts table with (subject, predicate, object, confidence)
  • extractFactsSimple for auto-extraction
  • CLI: add-fact, list-facts, search-facts, extract-facts
v0.2.0
Feb 2025

Attribution & Session Grouping

  • Entity ID + Session ID grouping
  • Source tracking and attribution
v0.1.0
Initial

Core Release

  • SQLite + FTS5 schema
  • Hybrid search (lexical + embeddings)
  • Ollama & OpenAI embedding providers
  • OpenClaw plugin with auto-recall/auto-capture