Markdown-first memory infrastructure for AI agents with hybrid search
pip install memtomem==0.6.0 Copy PIP instructions
🚧 Alpha — APIs, defaults, and on-disk config surfaces may still change between 0.x releases. Feedback and issue reports are especially welcome at github.com/memtomem/memtomem/issues.
Markdown-first long-term memory infrastructure for AI agents. Core usage is hook-free by default: your files remain the source of truth, and memory changes happen only when you or your agent explicitly call memtomem. Optional client hooks are separate, visible integrations.
Core philosophy: .md files are the source of truth and the vector database is a derived cache. Manage memories as plain text files — memtomem makes them instantly searchable.
# 1. Install memtomem with all features (Python 3.12+) uv tool install 'memtomem[all]' # or: pipx install 'memtomem[all]' mm --version # 2. Configure storage, search, and optional MCP registration mm init # 3. Verify a complete memory round trip mm status mm add "Deployment checklist uses blue-green rollout" --tags ops mm search "blue-green" The search should return the sentence you just added. mm add writes to your configured user memory directory and indexes the entry immediately, so this path works without an existing notes directory or a connected editor.
Choose Minimal in the setup picker for a no-model-download first proof; rerun mm init later to add semantic search.
mm index /path/to/your/notes If mm init registered an MCP client, ask it to Call the mem_status tool. See Getting Started for install alternatives, the Korean Claude Code/Codex quickstart for a plugin-first path, and MCP Client Setup for manual registration.
[all] includes ONNX, Ollama and OpenAI integrations, Korean tokenization, code chunking, the Web UI, Langfuse tracing, and LangGraph Store support. Install bare memtomem for BM25-only usage. See the optional extras table for smaller bundles. If mm is not on PATH, run uv tool update-shell and open a new shell. If an install appears stale, re-run it with --refresh.
memtomem is the long-term-memory store. memtomem-stm is a separate, optional MCP proxy for automatic surfacing, compression, and caching.
The full surface contains 100 tools. It includes the Pinned Context actions (mem_pinned_list/get/set/delete, mem_context_compose) and review-first formation actions (mem_formation_scan, mem_candidate_propose/list/evidence/review/recover). See the complete MCP table for every category.
Full documentation lives in the memtomem GitHub repo:
Apache License 2.0 — see LICENSE for details.
all code korean langfuse langgraph ollama onnx openai web
agent ai embedding markdown mcp memory rag search
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
The dropdown lists show the available interpreters, ABIs, and platforms.
Enable javascript to be able to filter the list of wheel files.
Copy a direct link to the current filters Copy
The following attestation bundles were made for memtomem-0.6.0.tar.gz:
Details for the file memtomem-0.6.0-py3-none-any.whl.




