memsearch
A persistent, unified memory layer for all your AI agents (e.g. Claude Code, Codex, DSH), backed by Markdown and Milvus.
What is memsearch?
A persistent, unified memory layer for all your AI agents (e.g. Claude Code, Codex, DSH), backed by Markdown and Milvus.
Overview of memsearch
What it is
memsearch is a persistent, unified memory layer for AI coding agents, backed by Markdown and Milvus. It provides cross-platform semantic memory that works across multiple agents including Claude Code, Codex, DeepSeek Harness, OpenClaw, OpenCode, and WorkBuddy. Memories are stored as human-readable Markdown files, with Milvus serving as a shadow index for efficient retrieval.
Key features
- Cross-platform memory: memories flow across Claude Code, Codex, DeepSeek Harness, OpenClaw, OpenCode, and WorkBuddy without extra setup.
- Markdown as source of truth: memories are stored as
.mdfiles — human-readable, editable, version-controllable. Milvus is a derived, rebuildable shadow index. - Progressive retrieval with hybrid search: 3-layer recall (search → expand → transcript) using dense vector + BM25 sparse + RRF reranking.
- Smart dedup and live sync: SHA-256 content hashing skips unchanged content; a file watcher auto-indexes in real time.
- Optional Jev reranking and skills from memory: rerank memory search results via the TypeSafe API; distill repeated workflows into reusable, installable agent skills.
- Advanced memory maintenance: optional background tasks keep durable
PROJECT.mdandUSER.mdnotes current across sessions.
Use cases
- Unifying memory across different AI coding agents so that a conversation in one agent becomes searchable context in all others.
- For agent users: install a plugin to get persistent memory with zero effort.
- For agent developers: use the full CLI and Python API to build memory and harness engineering into custom agents.
Getting started
Install the plugin for Claude Code as an example: bash /plugin marketplace add zilliztech/memsearch /plugin install memsearch # Restart Claude Code to activate the plugin After restarting, chat as usual. Verify memory files: bash ls .memsearch/memory/ cat .memsearch/memory/$(date +%Y-%m-%d).md For other agents (Codex, DeepSeek Harness, OpenClaw, OpenCode, WorkBuddy), see the repository README for specific install commands. Configuration for embedding providers and Milvus backend is available via memsearch config set commands.
License and pricing
MIT license, open source.
Based on the project's public README and repository metadata.