npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@xdarkicex/openclaw-memory-libravdb

v1.4.20

Published

<div align="center"> <img src="./docs/assets/libravdb-logo.svg" alt="LibraVDB" width="640"> </div>

Readme

♎ LibraVDB - Memory and Context Management

@xdarkicex/openclaw-memory-libravdb is a local-first OpenClaw memory plugin backed by the libravdbd daemon. It replaces the lightweight default memory path with scoped session, user, and global memory; continuity-aware prompt assembly; durable recall; and sidecar-owned compaction.

Install · Full installation reference · Architecture · Security · Performance and tuning · Contributing

New install? Start here: Install guide. Preferred setup on macOS: install libravdbd with Homebrew, install the OpenClaw plugin, then assign the plugin to both required slots.

Install

brew tap xDarkicex/homebrew-openclaw-libravdb-memory
brew install libravdbd
brew services start libravdbd
openclaw plugins install @xdarkicex/openclaw-memory-libravdb

Then activate both plugin slots in ~/.openclaw/openclaw.json:

{
  "plugins": {
    "slots": {
      "memory": "libravdb-memory",
      "contextEngine": "libravdb-memory"
    },
    "configs": {
      "libravdb-memory": {
        "sidecarPath": "auto"
      }
    }
  }
}

Verify the daemon and plugin:

Healthy output should show Sidecar=running, stored memory counts, the active gate threshold, and the loaded embedding profile.

Quick Start

Runtime requirements:

  • OpenClaw >= 2026.3.22
  • Node.js >= 22
  • a separately installed libravdbd daemon

Compatibility note:

  • this plugin is currently verified against OpenClaw 2026.4.23

Default endpoints:

  • macOS/Linux user-local daemon: unix:$HOME/.clawdb/run/libravdb.sock
  • Homebrew daemon on Apple Silicon: unix:/opt/homebrew/var/clawdb/run/libravdb.sock
  • Windows daemon: tcp:127.0.0.1:37421

If your daemon runs elsewhere, set sidecarPath:

{
  "plugins": {
    "configs": {
      "libravdb-memory": {
        "sidecarPath": "tcp:127.0.0.1:37421"
      }
    }
  }
}

Highlights

  • Dual slot ownership - owns both OpenClaw memory and contextEngine.
  • Memory runtime bridge - routes built-in memory_search calls to the same libraVDB-backed sidecar on hosts that expose the runtime API.
  • Three memory scopes - keeps active session, durable user, and global memory separate.
  • Hybrid retrieval - blends semantic similarity, scope, recency, and summary quality instead of relying on cosine similarity alone.
  • Continuity-aware assembly - preserves the recent working tail while fitting recalled memory into a bounded prompt budget.
  • Sidecar compaction - summarizes older session turns without flattening the newest working context.
  • Local-first inference - uses local embedding and compaction paths by default, with optional external summarizer configuration.
  • Explicit daemon lifecycle - the npm/OpenClaw package stays connect-only; libravdbd is installed and supervised separately.

Security Defaults

Stored memory is treated as untrusted historical context. Retrieved memory is framed before it reaches the downstream model, memory collections are scoped by session/user/global namespace, and daemon installation is outside the npm plugin package.

Before exposing OpenClaw over remote channels, read Security.

Operator Quick Refs

openclaw memory status
openclaw memory index --force
openclaw memory search "prior context"
openclaw memory export --user-id <userId>
openclaw memory flush --user-id <userId>
openclaw memory journal --limit 50
openclaw memory dream-promote --user-id <userId> --dream-file /path/to/DREAMS.md

Use Install for daemon lifecycle commands and Uninstall for safe shutdown and removal.

Optional Features

  • Markdown ingestion watches OpenClaw-owned markdown roots or Obsidian vaults and syncs eligible notes into memory. See Features.
  • Dream promotion promotes vetted dream diary bullets into an isolated dream:{userId} collection. See Features.
  • Embedding profiles expose local model metadata defaults for MiniLM and Nomic. See Embedding profiles.

Docs By Goal

From Source

pnpm install
pnpm check
bash scripts/build-daemon.sh

scripts/build-daemon.sh prepares .daemon-bin/libravdbd for local plugin testing when you have a published daemon binary, a Homebrew daemon, or a local daemon checkout. For the full source workflow, read Development.

Runtime Facts

  • npm package: @xdarkicex/openclaw-memory-libravdb
  • OpenClaw plugin id: libravdb-memory
  • plugin kind: memory, context-engine
  • minimum OpenClaw host version: >= 2026.3.22
  • default data path: $HOME/.clawdb/data.libravdb
  • default macOS/Linux endpoint: unix:$HOME/.clawdb/run/libravdb.sock
  • default Windows endpoint: tcp:127.0.0.1:37421