Skip to content

v0.2.0 β€” CLI, re-embed migration, Ollama, auto-recall hooks

Choose a tag to compare

@github-actions github-actions released this 14 Jul 19:28
· 31 commits to main since this release

The first feature release after v0.1.0. Lots of new capability β€” all backward-compatible.

πŸ†• What's new

mnema CLI β€” use memory without an AI client

You no longer need Claude/Cursor/any MCP client to use Mnema. The mnema command now works as a terminal tool:

mnema add "Alice likes tea" --tags pref,tea --scope user:alice
mnema recall "what does alice drink?"
mnema search "preferences" --tag pref
mnema stats
mnema export -o backup.json     # or: mnema import -i backup.json

15 subcommands total (add, recall, search, get, update, forget, forget-scope, list-scopes, stats, decay, summarize, export, import, re-embed, doctor).

mnema re-embed β€” migrate when switching embedding model

Previously: change MNEMA_EMBEDDING β†’ your data breaks. Now:

export MNEMA_EMBEDDING=openai
export MNEMA_OPENAI_API_KEY=sk-...
mnema re-embed    # re-embeds every memory with the new model

Safe to interrupt and re-run. (#9)

Ollama embedding provider (by @faizmullaa) πŸŽ‰

Run embeddings fully local via an Ollama server β€” no in-process model load:

export MNEMA_EMBEDDING=ollama
export MNEMA_EMBEDDING_MODEL=nomic-embed-text

First community contribution! Thanks @faizmullaa. (#6, #17)

Auto-recall & auto-remember

SKILL.md now tells agents to recall at the start of a task and store durable facts the moment they appear β€” no more "you have to ask". New remember_this prompt template. (#1)

One-line installer + mnema-update

curl -fsSL https://raw.githubusercontent.com/mienetic/mnema/main/scripts/install.sh | bash
# later:
mnema-update

Sets up uv, clones the repo, creates an isolated Python 3.11 venv, installs the mnema + mnema-update commands. Supports MNEMA_EXTRAS to pick backends/providers.

mnema --doctor --fix

Auto-remediates common setup problems (missing data dir, missing API key). (#2)

Setup guides for 8 MCP clients

Step-by-step instructions for Claude Desktop, Claude Code, Cursor, Zed, Cline, Continue.dev, Windsurf, and ZCode.

πŸ› Bug fixes (found during end-to-end testing)

  • sqlite_vec path resolution: FileExistsError when the backend path was a file whose name collided with a parent dir component. Fixed via os.path.abspath().
  • Importance 2–4, 6–7, 9 crashed: the Importance enum only had named levels (1/5/8/10). Added _coerce_importance() that snaps any int in [1, 10] to the nearest level.
  • Installer backend inference: MNEMA_EXTRAS=sqlite_vec,local still defaulted to MNEMA_BACKEND=chroma. The installer now infers the backend from the chosen extras and computes the right backend_path per backend.

πŸ“Š By the numbers

  • 86 tests (up from 48)
  • 3 embedding providers (added Ollama)
  • 15 CLI subcommands (new)
  • 3 prompt templates (added remember_this)
  • 11 MCP tools + 3 resources + 3 prompts
  • 3 contributors welcome: @faizmullaa (merged), @Adiiiipawar & @jaineel132 (claimed issues)

πŸ“¦ Install / update

# First-time install
curl -fsSL https://raw.githubusercontent.com/mienetic/mnema/main/scripts/install.sh | bash

# Update an existing install
mnema-update

Full changelog: https://github.com/mienetic/mnema/blob/main/CHANGELOG.md