Skip to content

Memsearch

A persistent, unified memory layer for all your AI agents (e.g. Claude Code, Codex, DSH), backed by Markdown and Milvus.

Install: /plugin marketplace add zilliztech/memsearch

Works with Claude Code, Codex, OpenCode Β· 2,846 GitHub stars

Install

$/plugin marketplace add zilliztech/memsearch

Install command taken from the project's README or registry entry. Always review code before running it.

  memsearch

Cross-platform semantic memory for AI coding agents.

πŸ“° What's New

  • 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, pre-step memory injection, 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.


Why memsearch?

  • 🌐 All Platforms, One Memory β€” memories flow across Claude Code, Codex, DeepSeek Harness, OpenClaw, and OpenCode. A conversation in one agent becomes searchable context in all others β€” no extra setup
  • πŸ‘₯ For Agent Users, install a plugin and get persistent memory with zero effort; for Agent Developers, use the full CLI and Python API to build memory and harness engineering into your own agents
  • πŸ“„ Markdown is the source of truth β€” inspired by OpenClaw. Your memories are just .md files β€” human-readable, editable, version-controllable. Milvus is a "shadow index": a derived, rebuildable cache
  • πŸ” Progressive retrieval, hybrid search, smart dedup, live sync β€” 3-layer recall (search β†’ expand β†’ transcript); dense vector + BM25 sparse + RRF reranking; SHA-256 content hashing skips unchanged content; file watcher auto-indexes in real time

πŸ§‘β€πŸ’» For Agent Users

Pick 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?

πŸ“– Claude Code Plugin docs Β· Troubleshooting

For Codex Users

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related