mfs
A context harness for AI agents: all your scattered context, code, memory, docs, databases, SaaS, in one searchable, browsable, file-like interface.
A persistent memory layer shared across AI agents such as Claude Code, stored as Markdown and searched by semantic recall. It offers skills to recall past sessions, configure memory behavior, and turn past workflows into reusable skills.
Claude Code
> /plugin marketplace add zilliztech/memsearch> /plugin install memsearch@memsearch-plugins
Codex
$ npx skills add zilliztech/memsearch -a codex
Cursor
$ npx skills add zilliztech/memsearch -a cursor
Gemini CLI
$ npx skills add zilliztech/memsearch -a gemini-cli
GitHub Copilot
$ copilot plugin marketplace add zilliztech/memsearch$ copilot plugin install memsearch@memsearch-plugins
OpenCode
$ npx skills add zilliztech/memsearch -a opencode
Windsurf
$ npx skills add zilliztech/memsearch -a windsurf

![]()
memsearch
Cross-platform semantic memory for AI coding agents.
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 cachePick your platform, install the plugin, and you're done. Each plugin captures conversations automatically and provides semantic recall with zero configuration.
For Claude Code Users
# 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?
For Codex Users
# 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?
For DeepSeek Harness Users
# Install the published plugin into your DSH profile
uv tool install "memsearch[onnx]"
dsh plugin --profile web add @zilliz/memsearch-dsh
# Restart that DSH profile, or start a new session
After installing, use DSH normally. Completed turns are captured automatically, and relevant memories are injected before the first model step only when they are useful.
Verify it's working:
ls .memsearch/memory/
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.
For OpenClaw Users
# 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?
For OpenCode Users
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.
All plugins share the same memsearch backend. Configure once, works everywhere.
Use ONNX bge-m3 for local CPU embeddings with no API key. On first launch the model (~558 MB) is downloaded from HuggingFace Hub.
memsearch config set embedding.provider onnx # local, free
memsearch config set embedding.provider openai # needs OPENAI_API_KEY
memsearch config set embedding.provider ollama # local, any model
All providers and models: Configuration — Embedding Provider
Just change milvus_uri (and optionally milvus_token) to switch between deployment modes:
Milvus Lite (default) — zero config, single file. Great for getting started:
# Works out of the box, no setup needed
memsearch config get milvus.uri # → ~/.memsearch/milvus.db
⭐ Zilliz Cloud (recommended) — fully managed, free tier available — sign up 👇:
memsearch config set milvus.uri "https://in03-xxx.api.gcp-us-west1.zillizcloud.com"
memsearch config set milvus.token "your-api-key"
⭐ Sign up for a free Zilliz Cloud cluster
You can sign up on Zilliz Cloud to get a free cluster and API key.
Self-hosted Milvus Server (Docker) — for advanced users
For multi-user or team environments with a dedicated Milvus instance. Requires Docker. See the official installation guide.
memsearch config set milvus.uri http://localhost:19530
📖 Full configuration guide: Configuration · Platform comparison
Each plugin keeps its native capture summarizer unless you override it explicitly:
memsearch config set plugins.codex.summarize.model gpt-5.1-codex-mini
memsearch config set plugins.opencode.summarize.model anthropic/claude-haiku
Advanced users can route plugin summarization through a memsearch-managed API provider:
A context harness for AI agents: all your scattered context, code, memory, docs, databases, SaaS, in one searchable, browsable, file-like interface.
A skill that shapes Claude Code's output for readers with ADHD: it leads with the next action, numbers multi-step work, restates state across turns, drops tangents, gives specific time estimates, and makes progress visible. Invoke it with /i-h.
Gives your AI agent working knowledge of Obsidian, so it can read and write notes, build Bases database views and JSON Canvas mind maps, and turn web pages into clean Markdown for your vault.
Gives product managers step-by-step help with discovery, prioritization, strategy, launch and growth work, so they get structured outputs instead of loose text. Also includes skills for reviewing AI-built code before shipping.
Formerly: Colleague Skill / colleague-skill.
Install it with the command on its page. It includes memory-config, memory-recall, memory-to-skill. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it