Memorinth
Shared memory for Claude Code, Codex, Cursor and any MCP agent, kept as Markdown notes on your disk.
ドキュメント
Every sessionstarts from zero.
Your coding agent forgets everything the moment you close the terminal. Memorinth is the memory it's missing: decisions, facts and lessons, saved as Markdown on your disk and read back at the start of every session.
~/dev/memorinth
- $claude
- ●Hi! What would you like to work on today?
- >the theme bug in the tray, same as yesterday
- ●I don't have context from earlier sessions. Could you tell me how themes work in this project and where the tray reads them?
- Session 214. Same explanation, again.
- $claude
- memorinth · briefing loaded · 175 memories · 106 decisions · 32 facts
- >the theme bug in the tray, same as yesterday
- ●Right: the tray is its own Tauri app, so it never saw the theme in the app's localStorage. Decision 0092 has it read <config>/theme.json instead. Yesterday we stopped at the 3s poll. Pick it up there?
- It remembered. And it wrote down why.
Free · Windows, macOS, Linux · Works with Claude Code, Codex, Cursor, Gemini CLI and any MCP client
This app remembersbuilding itself.
Memorinth is built by agents that use Memorinth. Every session starts with a briefing from this cortex, and ends with what it learned written back. Nothing here was typed in by hand.
175memories
lessons, gotchas, preferences
106decisions
why things are the way they are
32facts
what's true about the codebase
---
kind: insight
tags: [website, graph, gotcha]
source: agent:claude-code
---
# Pinned graph needs see-through canvas
On the landing page's pinned hero the graph showed as a dark hazy patch over the page's background.
Cause: the pinned frame (position: sticky) is a stacking context of its own, so the canvas blended against nothing and painted its own black. Use the transparent option, not blend modes.
## Follow-up
With alpha held at 0 the nodes vanished: light with zero coverage isn't valid premultiplied color. Now alpha is the pixel's brightness.
---
status: accepted
date: 2026-11-16
source: agent:claude-code
---
# 0092 Themes are JSON files, never edited
## Context
The tray's quick note, menu and overlay ignored the app's theme: the tray is its own Tauri app, so it never saw the theme saved in the app's localStorage.
## Decision
Each theme is one JSON file. Picking a theme copies it as-is to <config_dir>/theme.json, which the tray reads.
---
status: valid
source_ref: crates/memorinth-core/src/index.rs
verified: 2026-10-09
verified_by: agent:claude-code
valid_from: 2026-10-09
review_every: 180d
created: 2026-10-09
source: agent:claude-code
---
# 0003 Index is SQLite WAL with FTS5
The index is SQLite through rusqlite (bundled) in WAL journal mode, with FTS5 for keyword search and chunk vectors stored as BLOBs.
Three of 313 notes in Memorinth's own cortex, shortened.
One MCP server.Your agent does the rest.
Connect it once. You don't change how you work: your agent reads before it answers and writes down what it learns.
- 01
It starts informed
Every session opens with a briefing: your decisions, the facts, what it learned last time.wake_up - 02
It looks things up
Hits a gap? It searches your cortex before it asks you.search_memory - 03
It writes it down
Decisions with their reasons, facts with their source. Plain Markdown you can read.record_decision
Works with Claude Code, Codex, Cursor, Gemini CLI and any MCP client · How agents use it
Built for thinkingwith agents.
Every agent you use
One command connects Claude Code, Codex, Cursor and Gemini CLI. Each session starts with a briefing from your cortex, and saves what it learns before it ends.
Finds what you meant
Search by the words you remember or by what you meant, and narrow it by tag or type. Offline.
Answers with sources
Ask your cortex a question. Every claim links to its note. Use a local model, or Claude.
See what your agents did
A year of agent calls at a glance, then each day by agent and by tool. Memorinth logs when, who and which tool, never what was asked.
Diagrams and charts, from text
Type a flowchart, a sequence, a mind map or a timeline as Mermaid and it's drawn in the note as you write. Pie, bar and line charts too, all from the / menu. It stays plain text, so Obsidian reads it as well.
$$ \int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi} $$
$$ \int_{-\infty}^{\infty} e^{-x^2},dx = \sqrt{\pi} $$
Math, typeset
Write LaTeX between dollar signs, in a line or on its own. It's typeset the moment you leave it. Offline.
Type / for anything
One menu for callouts, tables, tasks, embeds, math and every diagram. Pick one and keep writing.
Links that follow your notes
Type [[ to link a note. Rename or move it and every link follows. Hover a link to read the note without leaving yours, and see what links back to it. Your agents follow the same links.
Quick actions, over any app
A slim bar rests at the bottom of your screen, over every app. Hover it, or press Ctrl Alt N, for a quick note that saves to your cortex as you type. Press Ctrl Alt M and just speak: your words are written down on your machine.
Headless, with the CLI
Don't need the app? The CLI alone is the whole memory layer. Install it, run memorinth init, and agents remember.
Your cortex as a map
Every note a point, every link a line. Ask beside it and a spark travels to the notes the answer reads.
A terminal beside your notes
Run Claude Code or any shell in a pane next to your notes, and read what it saves the moment it saves it.
Local first, plain files
Open your cortex in any editor, put it in git, take it anywhere: no lock-in. It all runs on your machine. Notes go to a model only when you ask Claude, and with Ollama nothing leaves at all.
Updates itself, when you say
New versions download in the background and install when you click Update, never mid-task. The CLI tells you too.
Give your agenta memory.
Local-first. Plain Markdown. Free, in beta.
All downloads · Docs · CLI
Skip the app.Keep the brain.
Live in a terminal? Your agents don't need a window to remember. The CLI is Memorinth's engine on its own: the memory your agents run over MCP, local search, and the briefing each session starts with. Two commands, no account.
- The memory layer your agents use over MCP
- Search by meaning, on your machine
- Plain Markdown in a folder you own
- No window, editor or graph: those stay in the app
Read the CLI guide · Want the app later? Same cortex, same settings.
- Install
> irm https://memorinth.app/install.ps1 | iexVerifies checksums and adds memorinth to your PATH. - Set up
$ memorinth initInteractive setup: picks your cortex, connects your agents.