@getplumb/plumb
v0.4.23
Published
Plumb OpenClaw plugin — auto-ingest and memory injection for OpenClaw
Readme
@getplumb/plumb — Plumb Memory Plugin for OpenClaw
Persistent memory for OpenClaw — context injection and agent-driven memory tools.
This is the official OpenClaw memory plugin from Plumb (plumb.run). It assigns itself to OpenClaw's memory plugin slot and provides your agent with persistent memory backed by a local SQLite database.
Install
Recommended: agent-assisted install
Open a chat with your OpenClaw agent and paste this exactly:
Install the Plumb memory plugin by running these steps in order. Report back when done or if a step fails.
openclaw plugins install @getplumb/plumbopenclaw config set plugins.slots.memory plumbopenclaw gateway restartIf step 1 fails with a npm error, do the manual install instead:
- Stop the gateway
- Run
npm pack @getplumb/plumb@latestin a temp directory- Extract the tarball, run
npm install --omit=devinside it- Move the folder to
~/.openclaw/extensions/plumb(or%USERPROFILE%\.openclaw\extensions\plumbon Windows)- Update
plugins.installs.plumb.versionin openclaw.json to match the installed version- Set
plugins.slots.memoryto"plumb"in openclaw.json- Restart the gateway
Once done, confirm the gateway is running and Plumb is active.
Manual install
If you prefer to do it yourself:
1. Install the plugin:
openclaw plugins install @getplumb/plumbNote on security warning: OpenClaw may warn about shell command execution in the plugin. This is expected — Plumb downloads a native SQLite binary on first activation (since OpenClaw installs plugins with
--ignore-scripts, skipping the normal binary setup). Nothing runs at install time. You can safely proceed.
2. Assign the memory slot — this step is required. Add to your openclaw.json:
"plugins": {
"slots": {
"memory": "plumb"
}
}Or via CLI:
openclaw config set plugins.slots.memory plumb3. Restart the gateway:
openclaw gateway restartWhat it does
- Memory injection — relevant facts from your memory store are injected into every agent response as a
[PLUMB MEMORY]block - Agent memory tools — your agent gets
plumb_rememberandplumb_searchas callable tools for reading and writing memory mid-conversation - Bootstrap from notes — on first activation, automatically seeds memory from existing workspace
.mdfiles (e.g.memory/YYYY-MM-DD.md,MEMORY.md) - Shadow mode — retrieve and log what would be injected without actually injecting it (useful for testing)
- Local only — all data stays on your machine in a SQLite database at
~/.plumb/memory.db
Configuration
Configuration lives under plugins.entries.plumb.config in your openclaw.json. All fields are optional.
| Field | Default | Description |
|---|---|---|
| dbPath | ~/.plumb/memory.db | Path to the SQLite database file |
| userId | default | User ID for scoping memory |
| shadowMode | false | If true, retrieves context but does not inject it |
| queryPort | 18791 | Port for the internal memory query server |
To configure via CLI:
openclaw config set plugins.entries.plumb.config.userId "clay"
openclaw gateway restartUninstall
openclaw plugins uninstall @getplumb/plumbThen manually restore the memory slot in your openclaw.json — OpenClaw does not do this automatically:
"plugins": {
"slots": {
"memory": "memory-core"
},
"entries": {
"memory-core": { "enabled": true }
}
}Remove any "plumb" blocks from plugins.entries and plugins.installs, then restart:
openclaw gateway restartNote: Skipping the manual config cleanup will leave OpenClaw with a broken memory slot. This is a known gap in the OpenClaw plugin uninstall flow.
Links
License
MIT
