$npx skillfedfor your agent

memsearch

Semantic memory search for markdown knowledge bases

With conditionsPyPI Artificial IntelligenceReleased Jul 202683.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — memsearch-0.4.17-py3-none-any.whl
v0.4.17 · released 2026-07-31 · Python >=3.10 · 9 runtime deps: click, milvus-lite, openai, pathspec, pymilvus, setuptools, tomli-w, tomli

Yes, if you use one of the supported agent platforms (Claude Code, OpenClaw, Codex CLI, OpenCode) and want persistent, searchable conversation memory with zero configuration. The plugin model is genuinely zero-setup for end users. If you're building a custom agent, the Python API and CLI are available but would benefit from clearer stability guarantees. No known security vulnerabilities and active maintenance make it safe to adopt.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python ≥3.10.
  • First-time embedding setup downloads ~558 MB ONNX model from HuggingFace Hub unless configured otherwise.
  • Low friction: pure Python wheel with nine runtime dependencies including click, milvus-lite, and openai.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal attribution requirements.

last release 2026-07-31 (14 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,002 downloads/mo, #14,107 on PyPI

Verify before relying

pip install memsearch

from memsearch import MemSearch
mem = MemSearch()
mem.add_memory("project.md", "content here")
results = mem.search("what did we discuss about caching?")
  • Whether the Python API is fully documented and stable for direct programmatic use outside plugin contexts.
  • Performance characteristics when memory grows to thousands of markdown files or millions of indexed tokens.
  • Whether background sync and skill distillation features are production-ready or still experimental.
Same gist for agents: .md · .json

What it is and what it does

Memsearch is a semantic memory layer for AI coding agents that indexes markdown files as a searchable knowledge base. It sits between agent platforms (Claude Code, OpenClaw, Codex CLI, OpenCode) and a vector database (Milvus Lite by default, or Zilliz Cloud), capturing conversation turns automatically and making them retrievable through natural language queries. Memories are stored as human-readable markdown files in `.memsearch/memory/`, with Milvus serving as a derived, rebuildable search index.

The package provides both plugin integrations (zero-config for end users) and a full Python API and CLI for developers building custom agents. It uses hybrid search combining dense vector embeddings (via ONNX, OpenAI, or Ollama), BM25 sparse retrieval, and reciprocal rank fusion reranking. A file watcher auto-indexes new or changed files in real time, and optional background tasks keep project and user notes current across sessions.

Use it for

  • Persistent context across multiple agent conversations: capture decisions and code patterns once, recall them automatically in future sessions.
  • Team memory for multi-agent workflows: shared markdown knowledge base indexed and searchable by all agents in an OpenClaw or self-hosted setup.
  • Distilling repeated workflows into reusable agent skills: extract procedural patterns from conversation history and package them as installable skills.
  • Local-first semantic search without API costs: use the default ONNX embedding provider to index and search markdown without sending data to external services.
  • Version-controlled knowledge management: store all memories as plain markdown, enabling git-based collaboration and audit trails.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use one of the supported agent platforms (Claude Code, OpenClaw, Codex CLI, OpenCode) and want persistent, searchable conversation memory with zero configuration.

The plugin model is genuinely zero-setup for end users. If you're building a custom agent, the Python API and CLI are available but would benefit from clearer stability guarantees. No known security vulnerabilities and active maintenance make it safe to adopt.

Install

memsearch on PyPI

Before you install

Low friction: pure Python wheel with nine runtime dependencies including click, milvus-lite, and openai. Active maintenance with a release 14 days ago. Supports Python 3.10–3.13.

Requires Python ≥3.10. First-time embedding setup downloads ~558 MB ONNX model from HuggingFace Hub unless configured otherwise.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal attribution requirements.

Quickstart

pip install memsearch

from memsearch import MemSearch
mem = MemSearch()
mem.add_memory("project.md", "content here")
results = mem.search("what did we discuss about caching?")

Verify before relying

  • Whether the Python API is fully documented and stable for direct programmatic use outside plugin contexts.
  • Performance characteristics when memory grows to thousands of markdown files or millions of indexed tokens.
  • Whether background sync and skill distillation features are production-ready or still experimental.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
clickmilvus-liteopenaipathspecpymilvussetuptoolstomli-wtomliwatchdog
MaintenanceActively maintained 14 days since the last release
First released
Downloads83,002 / month, #14,107 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Evidence: memsearch-0.4.17-py3-none-any.whl

Tags

Capabilities
semantic memory for ai agentsmarkdown knowledge base searchconversation history recallvector search indexingpersistent agent memory
Topics
agent-memorysemantic-searchmarkdown-indexing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “conversation history recall”

  • memsearchMemsearch builds a searchable semantic memory index from markdown…
  • memoriMemori is a Python SDK that automatically captures and recalls…
  • zep-cloudZep Cloud SDK provides a client library for integrating Zep's context…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also mem0ai · memori · openviking · reme-ai · gptcache · agent-framework-mem0 · agent-framework-azure-ai · langmem · stashai · zep-cloud

Further reading