LibraVDB Memory is a connect-only OpenClaw plugin. Install the plugin as a
normal package, install libravdbd separately, and point the plugin at the
daemon endpoint when you need a non-default location.
OpenClaw compatibility note:
- the plugin is currently verified against OpenClaw
2026.4.23
For deeper operational detail, use the full installation reference.
On macOS, the shortest supported path is:
brew tap xDarkicex/homebrew-openclaw-libravdb-memory
brew install libravdbd
brew services start libravdbd
openclaw plugins install @xdarkicex/openclaw-memory-libravdbThis gives you:
- a managed
libravdbdservice - a scanner-clean plugin install
- a clean separation between plugin lifecycle and daemon lifecycle
Install the plugin package with the OpenClaw CLI:
openclaw plugins install @xdarkicex/openclaw-memory-libravdbIf you use the OpenClaw.ai plugin UI instead of the CLI, install the same
package and then assign the plugin id libravdb-memory to both the memory
and contextEngine slots.
Activate the plugin in ~/.openclaw/openclaw.json:
{
"plugins": {
"slots": {
"memory": "libravdb-memory",
"contextEngine": "libravdb-memory"
}
}
}If you run the daemon on a non-default endpoint, add a plugin config:
{
"plugins": {
"slots": {
"memory": "libravdb-memory",
"contextEngine": "libravdb-memory"
},
"configs": {
"libravdb-memory": {
"sidecarPath": "unix:/Users/<you>/.clawdb/run/libravdb.sock"
}
}
}
}When sidecarPath is set to "auto", the plugin resolves endpoints in this order on macOS/Linux:
LIBRAVDB_RPC_ENDPOINTif it is set to a valid daemon endpoint$HOME/.clawdb/run/libravdb.sockif it exists/opt/homebrew/var/clawdb/run/libravdb.sockif it exists/usr/local/var/clawdb/run/libravdb.sockif it exists- fallback to
$HOME/.clawdb/run/libravdb.sock
The daemon owns the local database, embeddings, and JSON-RPC endpoint.
Default endpoints:
- Homebrew on macOS:
unix:/opt/homebrew/var/clawdb/run/libravdb.sock - macOS/Linux user-local installs:
unix:$HOME/.clawdb/run/libravdb.sock - Windows:
tcp:127.0.0.1:37421
Default data path:
- macOS/Linux/Windows user installs:
$HOME/.clawdb/data.libravdb
Homebrew is the preferred daemon lifecycle on macOS:
brew tap xDarkicex/homebrew-openclaw-libravdb-memory
brew install libravdbd
brew services start libravdbdUseful lifecycle commands:
brew services restart libravdbd
brew services stop libravdbd
brew info libravdbdIf you are not using Homebrew, manage the daemon explicitly.
Linux user service from the repo template:
# Replace vX.Y.Z with the published libravdbd release you want to install.
mkdir -p ~/.local/bin ~/.config/systemd/user
# Download the matching published libravdbd binary and service template.
curl -L -o ~/.local/bin/libravdbd <published-libravdbd-binary-url>
chmod +x ~/.local/bin/libravdbd
curl -L -o ~/.config/systemd/user/libravdbd.service <published-libravdbd-service-template-url>
systemctl --user enable --now libravdbd.servicemacOS LaunchAgent from the repo template:
- Download the published
com.xdarkicex.libravdbd.plisttemplate for your release. - Replace
__HOME__with your home directory. - Save it to
~/Library/LaunchAgents/com.xdarkicex.libravdbd.plist. - Load it with
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.xdarkicex.libravdbd.plist.
Windows uses a loopback TCP endpoint by default:
tcp:127.0.0.1:37421
This guide does not yet include a full Windows service-install walkthrough. For now, use the published Windows daemon asset from the GitHub releases page and run it under your preferred process supervisor or a manual terminal session.
Foreground manual run:
libravdbd serveThat mode is useful for debugging or validating a local release asset before
you wrap it in brew services, systemd, or launchd.
- Install the package with
openclaw plugins install. - Activate it by assigning
libravdb-memoryto bothmemoryandcontextEngine. - Update it with your normal OpenClaw plugin update flow.
- Disable it by removing the slot assignment from
~/.openclaw/openclaw.json.
The plugin does not manage the daemon process. Treat plugin activation and daemon supervision as separate lifecycle decisions.
- Start it with
brew services,systemd --user,launchctl bootstrap, or a manuallibravdbd serve. - Restart it when you change daemon-level environment variables or replace the binary.
- Stop it before uninstalling or deleting on-disk data.
- Point the plugin at the correct endpoint with
sidecarPathif you do not use the default location.
After the plugin and daemon are both in place, run:
openclaw memory statusHealthy output should show that:
- the daemon answered the local health check
- the memory slot is active
- the plugin can read stored counts and runtime settings
If OpenClaw cannot reach the daemon, verify the endpoint first:
- macOS/Linux default:
unix:$HOME/.clawdb/run/libravdb.sock - Windows default:
tcp:127.0.0.1:37421