Repository navigation
Releases
v0.11.0 — Dreaming: answers and patterns from your own notes, in shadow; email and phone redaction
Dreaming, in shadow: mnem0nic dream answer prints excerpts from your own notes that answer a question for one of your Datashard's sections, and mnem0nic dream patterns finds what keeps recurring across your sessions. Nothing is sent to Datashard. Email addresses and phone numbers are now redacted when text is stored.
Added
mnem0nic dream answerprints excerpts from your notes that answer a question for one of your Datashard's
sections.mnem0nic dream answer --section NAME "question"searches only the projects mapped to that
section and prints up to--limitexcerpts (1 to 20, default 5), each with the project, the note's date
(UTC day), its type, its title and up to 600 characters of its text.--jsonprints the same as one JSON
object with the keyssection,questionandanswers. The question is searched by words and, with the
search model downloaded, by meaning, inside the command: no background process is started and no model is
called. Notes of typesensitive,security_noteandsecurity_alert, notes of an excluded project and
session ids never appear; each excerpt is redacted again on the way out, with every built-in pattern on. A
path inside the folder of a mapped project is shown relative to it, and every other absolute path (two
parts or more from/, a path from~, your home folder) becomes<local path>. A path with a space in it
is replaced whole only when a quote, a backtick or a bracket opens it. A project that shares a folder with a
mapped one is read only if it is mapped to the same section. When no note answers it prints
No note of the projects mapped to <section> answers that.and exits 0. Nothing is sent to Datashard.mnem0nic dream patternsfinds what recurs across a project's sessions and logs it on this Mac. For each
mapped project it groups the notes of the last--daysdays (default 30) by their stored search vectors: a
group is a note and its nearest notes, and counts only with at least 3 sessions on at least 3 different
days. There is no similarity cut-off; the tightest groups come first and the first--max-calls(default
10) each make one call to Claude (claude -p, through your own Claude login, on your plan and never an API
key), which says whether the group is one recurring thing and words it about the system, naming no person.
Each call sends the group's notes, redacted and with local paths cut, to Claude. The command prints how many
groups and calls there will be before it makes any, asks nothing, then prints the notes without a vector
yet, if any, and each judged group (<project>: N notes, S sessions, D days, distance X.Xand its verdict
or why it was not judged), and ends withshadow: nothing was sent to Datashard. Each judged group is appended todreaming/patterns.jsonlin the memory folder
(readable only by you), with its distance, so you can see how tight a real pattern is. It needs Claude
Code signed in with a paid Claude plan and the notes' search vectors (mnem0nic embed).- A
[datashard]table inconfig.tomlturns dreaming on.urlis the address of your Datashard (https,
orhttponly on127.0.0.1andlocalhost) and[datashard.sections]maps a project name to a section.
Bothdreamcommands make one request before they run, aGETof
<url>/.well-known/oauth-protected-resourcethat must answer 200 within 5 seconds with no redirect followed,
and otherwise printmnem0nic: dreaming is off: <url> did not answeron standard error and exit 1; with no
urlthey printmnem0nic: dreaming is off: config.toml has no [datashard] urland exit 1. Aurlwith a
login, a query or a fragment is refused. Whereconfig.tomlhas an[http]table, which is how mnem0nic runs
as a memory service,dreamis off unless[datashard]saysin_service = true; then anyone who can run
mnem0nic on that machine can print excerpts of the shared store for a mapped section. A mistake in the
table stops no hook and no other command, onlydream, which names the key. An older mnem0nic rejects aconfig.tomlthat has a
[datashard]table, and cannot look up the project until it is removed. - Email addresses and phone numbers are redacted when text is stored. Two new built-in patterns,
emailand
phone, replace an address or a phone number with its country code with<redacted type='NAME'/>, like
every other built-in. Git remotes,noreplyaddresses, package and image names such asreact@18.2.0,
versions, IP addresses, ISO timestamps, a+and a date or an epoch time (+2026-11-15,+1731628800000)
and a short signed number (8 to 10 digits, no separator) right after=stay as they are. Some code-like
strings are redacted too (name@1000.service,foo@bar.baz): over-redaction, never a leak.disabled
switches either off. Text stored before this release is not rewritten.
v0.10.1 — doctor and sync status say when paired Macs run different versions
mnem0nic doctor and mnem0nic sync status now say whether each paired Mac runs the same mnem0nic as this one, and doctor warns, naming the Mac to upgrade, when their sync versions differ.
Added
mnem0nic doctorandmnem0nic sync statusnow say whether each paired Mac runs the same mnem0nic as
this one.doctorwarns, naming the Mac to upgrade, when the two sync versions differ, because only then
can records wait for an upgrade. When only the mnem0nic version differs it notes both versions and does not
warn, since Macs upgraded on different days are normal and sync fine.sync statusshowssame_versionfor
every paired Mac (nulluntil it has said its version) and the version of this Mac's mnem0nic at the top.
v0.10.0 — sync keeps records an older Mac cannot read yet, and says which Mac to upgrade
A Mac that cannot read a record yet now keeps it and adds it after you upgrade, instead of losing it, and mnem0nic doctor and mnem0nic sync status show each paired Mac's version and what is waiting. The store format moves to 8, so an older mnem0nic can't open a store this release has opened.
Added
- Each Mac tells the other which version it runs. When two Macs sync, each now says its sync version and its
mnem0nic version.mnem0nic sync statusshows both for every paired Mac, with how many of its records wait
here for an upgrade, andmnem0nic doctoradds them to its sync lines. A Mac that says nothing (0.9.1 and
older) counts as sync version 0, and the two keep syncing both ways. - A record a Mac can't read yet is kept, and added after you upgrade it. Before, a Mac that met a kind of
record it did not know tried three times, quarantined it and went on, and nothing sent the record again after
the upgrade. Now, when the sender is on a newer sync version, the record is kept whole and set aside, the
records after it keep arriving, andmnem0nic doctorwarns, names the Mac that sent them and says to upgrade
the Mac that holds them. The next start of the background process after the upgrade, or the next sync, adds
the record, with no need for the other Mac to be there. A record that fails to apply is tried again and
quarantined after three failures, as before. This release adds no new kind of record, so none is set aside
between Macs on this release.
Changed
- Records an earlier release quarantined as an unknown kind come back, once. The first time this release
opens a store, the log of each paired Mac with such a quarantined record is taken again from its start.
Records already held are matched and skipped, so nothing doubles. It costs one pass over that Mac's log.
Records quarantined for any other reason are tried once more in that pass. - A background process of a different build is stopped. An older process cannot open the upgraded store.
Now the first command that upgrades the store asks a background process of a different build to finish its
job and exit, and a hook that finds one does the same, then starts a new one as soon as the old one has
gone. Before, a hook only woke the old process. - The store format moves to 8. An older mnem0nic can't open a store this release has opened, and says so;
there is no downgrade.
v0.9.1 — container fixes: door required, search without git, doctor on a memory service
Three small fixes for running the memory service in a container or on a server: a door that is not configured can now fail the start, search and resume work on a machine without git, and doctor passes on a memory service. The Docker Compose example is pinned to this release.
Changed
These three changes are for people running the memory service, in a container or on a server. The first is off
unless you set a variable. The other two apply wherever their condition holds, on a Mac too: a machine with no
git program, and a machine whose config.toml has a listen under [http].
MNEM0NIC_DOOR_REQUIRED=1makes a door that is not configured a failed start. With the variable set to
1,true,yesoron(in any letter case; unset, or any other value, leaves it off),
mnem0nic daemon serverefuses to start, and says why, whenconfig.tomlcannot be read or has nolisten
under[http]. Before, such a daemon started with no door, served nothing and exited after 15 minutes
idle, so a container restarted every 15 minutes with nothing wrong in its log. Without the variable the
start is as before.mnem0nic searchandmnem0nic resumework where there is nogitprogram. Before, they stopped with
No such file or directory (os error 2)on a machine withoutgit, as in the container image, unless the
search was run with--all-projects. A machine withoutgitis now treated like a folder outside Git: its
branch isno-git.mnem0nic doctorpasses on a memory service. Whenconfig.tomlhas alistenunder[http]and no
coding agent on the machine has mnem0nic's hooks, the "Hooks" check is now information ("no client hooks
here: this is a memory service") and no longer a failure, sodoctorexits 0 on a healthy service. The
lines for each agent's hooks still warn. Without alistenunder[http], the check fails as before.
v0.9.0 — the memory service on Linux x86_64
The memory service now runs on Linux on x86_64 (Intel or AMD) as well as aarch64: a new release file, picked by install.sh --system on either. The personal tool stays Macs with Apple silicon.
Added
- A Linux x86_64 release file.
mnem0nic-x86_64-unknown-linux-gnu.tar.gzand its checksum are now
published, built in CI like the aarch64 file and scanned for leaked paths before it is published.install.sh
picks it on Linux on x86_64 (Intel or AMD), andinstall.sh --systeminstalls the memory service on either
aarch64 or x86_64. This is for the memory service only: the personal tool is still for Macs with Apple
silicon, and is not supported on x86_64.
The program is unchanged apart from its version.
v0.8.2 — JavaScript client for the HTTP door
The JavaScript client for the memory service's door is now published, in clients/typescript/: Node 18+, Bun, Deno and Cloudflare Workers, with TypeScript types. The Python client now repeats only the door's own busy 503.
Added
- A JavaScript client for the memory service's door, in
clients/typescript/: one file,mnem0nic.mjs, on
the standardfetch(Node 18+, Bun, Deno, Cloudflare Workers) with no dependencies, the types in
mnem0nic.d.mts, and a README. It matches the Python client: a503is repeated up to three times, any other
failure throwsMnem0nicError, and the token goes only to the address you give it, with no redirect followed.
The program is unchanged apart from its version.
v0.8.1 — Linux release file and the Python client
The Linux release file and the Python client for the memory service are now published: install.sh --system installs the service on Linux on aarch64, and the client is in clients/python/.
Added
- A Linux release file.
mnem0nic-aarch64-unknown-linux-gnu.tar.gzand its checksum are now published, so
install.sh --systeminstalls the memory service on Linux on aarch64: the binary, amnem0nicuser and a
systemd service that is enabled but not started. The file holds the program, the licence and the third-party
notices for the Linux build. It is built with the same path-removal flags as the Mac file and scanned for
leaked paths before it is published. - The Python client for the memory service's door is now in this repository, in
clients/python/: one
file,mnem0nic.py, with no dependencies, and a README. It repeats a503up to three times, raises
Mnem0nicErrorfor any other failure, and sends the token only to the address you give it.
The Mac program is unchanged apart from its version.
v0.8.0 — memory service: HTTP door, api note writer
mnem0nic can now run as a memory service for scripts and agent pipelines: an HTTP door, notes written through your own model provider, and install.sh --system for Linux on aarch64. The Mac file is the only one published with this release.
Added
- mnem0nic can run as a memory service for scripts and agent pipelines. Configure
[http]inconfig.toml
and the daemon serves a small JSON API over HTTP, behind a bearer token read from an environment variable:
/ping,/save,/search,/timeline,/work-state/writeand/work-state/read, with the meaning of the
MCP tools of the same names. A save is written before the call returns, so a search sees it at once. The
door checks the token before it reads a request body, answers503while its 32 connections are in use,
refuses a request that carries anOriginheader and a body over 4 MiB, and speaks plain HTTP, so keep it on
127.0.0.1or a private network. It is off by default, and nothing changes on your Macs. See Running as a
Memory Service in the README. - Notes for that service are written through your own model provider. A save with
"mode": "extract"
queues a note written through any Anthropic-compatible/v1/messagesendpoint you set in
[observer] api_base_url, with the key inMNEM0NIC_OBSERVER_API_KEY. This is the one place mnem0nic uses an
API key, set by you and billed per token by your provider; the cost is not tracked. The text, title and
metadata are redacted before they are stored or sent. The provider URL must behttps(a provider on the same
machine excepted), and a redirect is never followed, so the key cannot be sent anywhere else. A save answers
"extraction": "unavailable"when no provider URL or key is set, and a save over the redaction limit (about a
million characters) is refused with a 400. The default"mode": "verbatim"calls no model. install.sh --systemfor Linux on aarch64 installs the binary and a systemd service that restarts when it
stops, and prints the steps to configure it. Release 0.8.0 publishes the Mac file only, so on Linux the
installer stops at the download until a Linux file is published.
v0.7.0 — mnem0nic eval measures whether search finds the right past note
mnem0nic eval measures whether search finds the right past note, with questions made from your own notes, on a temporary copy of your store.
Added
mnem0nic evalmeasures whether search finds the right past note. It makes its questions when you run
it, from your own notes: a note's title is the question and that note is the right answer, which costs
nothing. It copies your index, search models, stored records and settings file to a temporary folder (keep
about as much free disk space as those take together), asks each question through the prompt hook Claude
Code runs, and removes the copy. Your notes are only read, and the questions are kept in a privateeval
folder in your store; the background process your sessions use is neither started nor stopped. It prints
counts only: how often the right note came first, how often it was among the notes handed over (--limit,
1 to 20, default 5), and the hook's median and 90th-percentile time. A run uses the first 200 questions of
each set;--questions Nchanges that.--paraphrases Nalso asks Claude to reword a question for N notes:
it prints how manyclaude -pcalls that takes and asks yes or no, makes no more than it said, and sends
those notes' text to Claude through your own Claude login, on your plan and never an API key.evalneeds
Claude Code signed in with a paid Claude plan. The first run on a store is a baseline, not a pass or a fail:
mnem0nic eval --save-baseline base.jsonkeeps the numbers, andmnem0nic eval --against base.json --fall 2
exits 1 if a reported percentage fell by more than 2 points.
v0.6.3 — Claude Code sessions sent to another provider are now recorded
mnem0nic now records a Claude Code session that you sent to another provider, such as GLM through Z.ai.
Changed
- mnem0nic now records a Claude Code session that you sent to another provider. An example is Claude Code
on GLM through Z.ai, with the API key and URL set in the terminal. Claude Code then reports a token login,
not a Claude plan, so mnem0nic used to switch itself off for that session: nothing was recorded and no past
work was offered. It now records the session and writes its notes through your own plan; the notes never use
that key. Two consequences: the session's turns go to Anthropic through your plan, not to the provider the
session used, and the session is handed notes from the project's earlier sessions, so those notes can reach
that provider. Exclude the project if that must not happen (see Privacy in the README). Sessions on Amazon
Bedrock, Google Vertex or Microsoft Foundry are still not recorded, and neither is a Claude Code session whose
key and URL are set in Claude Code'ssettings.jsoninstead of the terminal. Codex is unchanged: it was never
switched off this way.