Skip to content

Quick Start

Estimated time: 10 minutes

Goal: initialize local storage, add one memory, and find it again from the terminal.

This path uses LTM only. You do not need an existing notes folder, embedding model, cloud account, MCP client, or STM proxy.

memtomem requires Python 3.12 or later. This guide recommends uv for a persistent CLI installation.

Terminal window
python --version
uv --version

On Windows, use py --version if python is not available. If uv is missing, install it from the official uv installation guide, reopen the terminal, and rerun uv --version.

Terminal window
uv tool install --python 3.12 'memtomem[all]'
mm --version
mm init --preset minimal --non-interactive --mcp skip

The Minimal preset uses keyword search and does not download an embedding model. --mcp skip keeps the first test independent of any client configuration.

If the shell cannot find mm, run uv tool update-shell and reopen the terminal. If the reported version is stale, refresh the package metadata:

Terminal window
uv tool install 'memtomem[all]' --refresh

Check the new store before adding anything:

Terminal window
mm status

Storage and database paths should be visible. A zero chunk count is normal in a new store. Now add and search one memory:

Terminal window
mm add "Release smoke tests run before traffic cutover" --tags release,decision
mm search "release smoke tests"

The result should contain the saved sentence and its Markdown source path. This proves that the local store, write path, index, and keyword search all work.

The interactive preset picker offers Minimal, English (Recommended), and Korean-optimized. See Preset choice for what each one searches with and downloads.

Rerun mm init after the first success when you want to change the provider. See Installation before changing an existing index’s embedding model.

The CLI round trip is sufficient for the first success. To browse search results, sources, tags, settings, and Context Gateway in a browser:

Terminal window
mm web --open

Developer and maintainer pages require mm web --dev; normal use does not.

  • Connect an AI Client — register one client and verify mem_status. Claude Code and Codex users should prefer the official plugin. Installing a plugin or registering MCP does not index the whole project, watch files, import built-in memory, or save conversations automatically.
  • Index and Import Existing Content — mm index or mm ingest with a dry run and source-backed search
  • Memory Across Sessions — retrieve a saved decision in a new session
  • Add STM to an MCP Server — only when an MCP workflow needs response compression, caching, or proactive LTM surfacing; mms eject restores the original setup
  • Local-First & Privacy — local defaults and opt-in network boundaries
  • Troubleshooting — return to the failed step with a concrete fix
  • Choose Your Path — every next task by outcome