Repository navigation
Releases
v0.4.0 β pgvector, LanceDB, web dashboard, Cohere/Voyage/Nomic, MCP registry (5 community PRs)
The community release β 5 new features from 5 contributors. Mnema now has 6 contributors, 5 vector backends, and 6 embedding providers.
π What's new since v0.3.0
ποΈ pgvector backend (by @Adiiiipawar)
Postgres + the vector extension, via asyncpg with parameterized queries. Cosine distance via <=>. (#25)
ποΈ LanceDB backend (by @Oneshot1123)
Embedded, serverless columnar vector store. High-performance local storage. (#27)
π₯οΈ Web dashboard (by @NEMEZIZ1234)
mnema dashboard --port 8080 β browser UI (htmx + Jinja2) to browse, search, edit, forget memories + trigger decay/summarize. (#28)
π§ Cohere / Voyage / Nomic embeddings (by @jaineel132)
Three new hosted embedding providers, each a thin async HTTP client with Bearer auth. (#29)
π MCP registry manifest (by @Nitjsefnie)
server.json ready for submission to the official MCP server registry. (#26)
π By the numbers
- 5 vector backends: Chroma, Qdrant, sqlite-vec, pgvector, LanceDB
- 6 embedding providers: local, OpenAI, Ollama, Cohere, Voyage, Nomic
- 6 interfaces: MCP (stdio + HTTP), CLI (22 subcommands), REST API, web dashboard, browser extension, Python SDK
- 164 Python tests + 51 JS tests
- 6 contributors: @faizmullaa, @Nitjsefnie (5 PRs!), @Adiiiipawar, @Oneshot1123, @NEMEZIZ1234, @jaineel132
- recall@5 = 100% on the bundled eval dataset
π¦ Install / update
```bash
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
v0.3.0 β Auto Dream, eval harness, REST API, browser extension
The biggest release yet β 7 new features + 2 community contributions.
π What's new since v0.2.0
π Auto Dream β background memory consolidation
Like the brain consolidating memories during sleep, Mnema now tidies the store while idle. Each cycle forgets decayed memories + plans summarization. Enable with MNEMA_DREAM_ENABLED=true, or run a single cycle with mnema dream.
π§ͺ Eval harness β mnema eval
Seeds a curated dataset (30 memories, 24 queries) and reports recall@5 = 100%, MRR = 1.0 on the default all-MiniLM-L6-v2. Use it to prove Mnema works and guard against regressions.
πΎ mnema backup / mnema restore
Portable .tar.gz snapshots (memories + manifest). Warns if the backup's backend differs from the current one.
π REST API β mnema serve (by @Nitjsefnie) π
A thin FastAPI layer exposing all memory operations over HTTP: GET/POST /memories, POST /search, GET /stats, β¦ Opens Mnema to non-AI apps. First community contribution in this release. (#22)
π§© Browser extension β "Remember this" (by @Nitjsefnie) π
Manifest V3 extension (Chrome/Edge/Firefox 115+): select text on any page β right-click "Remember this" β adjust scope/tags β save. 51 JS unit tests. Built on the REST API. (#23)
π Friendly error reporting + debug logging
Unexpected crashes now produce a pre-filled GitHub issue link (version, backend, traceback) β just click and submit. Set MNEMA_LOG_LEVEL=DEBUG for verbose logs.
π€ Node CI
Extension JS tests now run in CI (Node 22/24), contributed by @Nitjsefnie. (#24)
π By the numbers
- 142 Python tests + 51 JS tests (up from 86)
- 3 interfaces: MCP, CLI (20 subcommands), REST API
- 3 contributors welcome: @faizmullaa, @Nitjsefnie (2 PRs), + 4 more with claimed issues
- recall@5 = 100% on the bundled eval dataset
π¦ Install / update
```bash
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
v0.2.0 β CLI, re-embed migration, Ollama, auto-recall hooks
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.json15 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 modelSafe 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-textFirst 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-updateSets 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:
FileExistsErrorwhen the backend path was a file whose name collided with a parent dir component. Fixed viaos.path.abspath(). - Importance 2β4, 6β7, 9 crashed: the
Importanceenum 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,localstill defaulted toMNEMA_BACKEND=chroma. The installer now infers the backend from the chosen extras and computes the rightbackend_pathper 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-updateFull changelog: https://github.com/mienetic/mnema/blob/main/CHANGELOG.md
v0.1.0 β Initial public release π§
Mnema (ΞΌΞ½αΏΞΌΞ±, Greek for "memory") gives language-model agents persistent, searchable memory β solving the context-window problem via MCP Γ Vector DB.
One-line install
curl -fsSL https://raw.githubusercontent.com/mienetic/mnema/main/scripts/install.sh | bashHighlights
- 11 MCP tools:
mnema_remember,mnema_recall,mnema_search,mnema_get_memory,mnema_update_memory,mnema_forget,mnema_forget_scope,mnema_list_scopes,mnema_stats,mnema_apply_decay,mnema_summarize - 3 pluggable vector backends: Chroma (embedded, default), Qdrant (local/remote), sqlite-vec (pure SQLite)
- 2 embedding providers: sentence-transformers (offline, default), OpenAI
- Hybrid search: vector similarity + tag overlap + decay scoring
- Forgetting curve: recency Γ frequency Γ importance (with importance-aware floor)
- Summarization planner: LLM-free; the calling AI executes the plan
- Multi-user / multi-session via scope-based namespaces
- Programmatic Python SDK (
MemoryClient/SyncMemoryClient) - Thai getting-started guide for non-developers (GETTING_STARTED.md)
Update later
mnema-updateVerified
- β 48 tests passing (across Chroma + Qdrant + sqlite-vec backends)
- β MCP tool calls work end-to-end through the protocol
- β Lint clean (ruff)
- β Demo script runs end-to-end
Full changelog: CHANGELOG.md