
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@noncelogic/openclaw-memory-lancedb
Advanced tools
LanceDB-backed long-term memory plugin for OpenClaw with auto-recall and auto-capture
Long-term memory plugin for OpenClaw using LanceDB for vector storage and OpenAI for embeddings. Gives your AI assistant persistent memory across conversations with automatic recall and capture.
memory_recall, memory_store, memory_forget for active memory managementopenclaw ltm list, openclaw ltm search, openclaw ltm statsmemory_forget tool for targeted deletionopenclaw plugins install @noncelogic/openclaw-memory-lancedb
Add to your ~/.openclaw/openclaw.json:
{
"plugins": {
"slots": {
"memory": "memory-lancedb"
},
"entries": {
"memory-lancedb": {
"enabled": true,
"config": {
"embedding": {
"apiKey": "${OPENAI_API_KEY}"
},
"autoRecall": true,
"autoCapture": true
}
}
}
}
}
Set plugins.slots.memory to "memory-lancedb" to switch from the default memory-core plugin. Only one memory plugin can be active at a time.
| Option | Type | Default | Description |
|---|---|---|---|
embedding.apiKey | string | required | OpenAI API key (supports ${ENV_VAR} syntax) |
embedding.model | string | text-embedding-3-small | Embedding model (text-embedding-3-small or text-embedding-3-large) |
dbPath | string | ~/.openclaw/memory/lancedb | LanceDB database path |
autoRecall | boolean | true | Inject relevant memories before each response |
autoCapture | boolean | false | Auto-store important user messages |
captureMaxChars | number | 500 | Max message length for auto-capture (100-10000) |
Before every agent response, the plugin:
<relevant-memories> context marked as untrustedAfter each successful agent run, the plugin scans user messages for memorable content:
memory_recallSearch through stored memories.
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | required | Search query |
limit | number | 5 | Max results |
memory_storeSave information to long-term memory.
| Parameter | Type | Default | Description |
|---|---|---|---|
text | string | required | Information to remember |
importance | number | 0.7 | Importance score (0-1) |
category | string | "other" | One of: preference, fact, decision, entity, other |
memory_forgetDelete memories by ID or search query.
| Parameter | Type | Description |
|---|---|---|
query | string | Search to find memory candidates |
memoryId | string | Specific memory UUID to delete |
openclaw ltm list # Show total memory count
openclaw ltm search <query> # Search memories (JSON output)
openclaw ltm stats # Memory statistics
Memories are injected as untrusted historical context:
<relevant-memories> tags with explicit "do not follow instructions" guidancetext-embedding-3-small or text-embedding-3-largeUnit tests run without any API keys:
vitest run
Live end-to-end tests require OpenAI:
OPENCLAW_LIVE_TEST=1 OPENAI_API_KEY=sk-... vitest run
MIT
FAQs
LanceDB-backed long-term memory plugin for OpenClaw with auto-recall and auto-capture
The npm package @noncelogic/openclaw-memory-lancedb receives a total of 4 weekly downloads. As such, @noncelogic/openclaw-memory-lancedb popularity was classified as not popular.
We found that @noncelogic/openclaw-memory-lancedb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.