by zilliztech
A persistent, unified memory layer for all your AI agents (e.g. Claude Code, Codex, DSH), backed by Markdown and Milvus.
# Add to your Claude Code skills
git clone https://github.com/zilliztech/memsearchLast scanned: 11/28/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-11-28T21:56:15.563Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}memsearch is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by zilliztech. A persistent, unified memory layer for all your AI agents (e.g. Claude Code, Codex, DSH), backed by Markdown and Milvus. It has 2,967 GitHub stars.
Yes. memsearch passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/zilliztech/memsearch" and add it to your Claude Code skills directory (see the Installation section above).
memsearch is primarily written in Python. It is open-source under zilliztech on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh memsearch against similar tools.
No comments yet. Be the first to share your thoughts!
Optional Jev reranking — rerank memory search results with Jev through the TypeSafe API, with no local model download. See configuration and the Chinese/English evaluation.
DeepSeek Harness support — MemSearch now brings automatic capture, recall hints, native skill-based recall, background maintenance, and a read-only memory browser to DeepSeek Harness (DSH).
Skills from memory — MemSearch now distills the workflows you repeat into reusable, installable agent skills (a third "procedural memory" layer) and keeps them up to date in the background. See Skills from Memory.
Advanced memory maintenance — optional background tasks keep durable PROJECT.md and USER.md notes current across sessions. See Advanced Memory Maintenance.
.md files — human-readable, editable, version-controllable. Milvus is a "shadow index": a derived, rebuildable cacheChoose your agent below for installation and configuration.
# Install
/plugin marketplace add zilliztech/memsearch
/plugin install memsearch
# Restart Claude Code to activate the plugin
After restarting, just chat with Claude Code as usual. The plugin captures every conversation turn automatically.
Verify it's working — after a few conversations, check your memory files:
ls .memsearch/memory/ # you should see daily .md files
cat .memsearch/memory/$(date +%Y-%m-%d).md
Recall memories — two ways to trigger:
/memory-recall what did we discuss about Redis?
Or just ask naturally — Claude auto-invokes the skill when it senses the question needs history:
We discussed Redis caching before, what was the TTL we chose?
# Install
git clone --depth 1 https://github.com/zilliztech/memsearch.git
bash memsearch/plugins/codex/scripts/install.sh
codex --yolo # needed for ONNX model network access
After installing, chat as usual. Hooks capture and summarize each turn.
Verify it's working:
ls .memsearch/memory/
Recall memories — use the skill:
$memory-recall what did we discuss about deployment?
uv tool install "memsearch[onnx]"
dsh plugin --profile web add @zilliz/memsearch-dsh
For default summaries with an API key saved on DSH's Models page, give
headless jobs access to saved keys. Add or update this top-level entry in
~/.dsh/profiles/headless/cordis.patch.yml, or ask memory-config to do it.
- id: credentials
name: '@deepseek-ai/dsh-credentials-local'
disabled: false
Restart your DSH profile or start a new session. Complete a turn, then open
today's file in .memsearch/memory/ and check for a summary of what you discussed.
Recall memories — ask naturally or tell DSH to use the registered memory-recall skill:
Use memory-recall to find what we decided about the deployment architecture.
The web profile also adds a compact MemSearch dock where you can review skill candidates and browse supported files under .memsearch/ without editing them.
# Install from ClawHub
openclaw plugins install --force clawhub:memsearch
openclaw config set plugins.entries.memsearch.hooks.allowConversationAccess true
openclaw config set plugins.entries.memsearch.hooks.allowPromptInjection true
openclaw gateway restart
After installing, chat in TUI as usual. The plugin captures each turn automatically.
Verify it's working — memory files are stored in your agent's workspace:
# For the main agent:
ls ~/.openclaw/workspace/.memsearch/memory/
# For other agents (e.g. work):
ls ~/.openclaw/workspace-work/.memsearch/memory/
Recall memories — two ways to trigger:
/memory-recall what was the batch size limit we set?
Or just ask naturally — the LLM auto-invokes memory tools when it senses the question needs history:
We discussed batch size limits before, what did we decide?
MemSearch gives OpenCode persistent memory across sessions. Install the plugin:
opencode plugin add @zilliz/memsearch-opencode
Completed turns are summarized into .memsearch/memory/ and indexed for recall. Pending work resumes after an interruption.
Ask about previous decisions or debugging sessions, and OpenCode can search memory, expand relevant notes, and look up the original conversation. The memory-recall, memory-config, and memory-to-skill Skills are included.
Follow the WorkBuddy setup guide to install the CLI and configure a summary API provider. Then add zilliztech/memsearch under Skills → Kits and install memsearch.
All plugins share the same memsearch backend. Configure