Your agent learned all this.
Then it forgot.

A local Markdown workspace with a built-in memory layer for coding agents. Take notes with tags, graphs, LaTeX, and Mermaid—while your agent automatically records and recalls memories, decisions, and facts across sessions.

Download for WindowsTry it in your browser

Free · Windows, macOS, Linux · Works with Claude Code, Codex, Cursor, Gemini CLI and any MCP client

Proof

This app remembers
building 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 in the agents' folders was typed in by hand.

184memoriesAgents write

memory/Pinned graph needs see-through canvas.md

---

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.

119decisionsAgents write

decisions/0092 Themes are JSON files, never edited.md

---

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.

32factsAgents write

facts/0003 Index is SQLite WAL with FTS5.md

---

status: valid

source_ref: crates/memorinth-core/src/index.rs

verified: 2026-10-09

review_every: 180d

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.

47notesYou write

Q42026/How agents use the cortex.md

---

tags: [architecture, agents]

---

# How agents use the cortex

Coding agentClaude Code · Codex · Cursorapp · traymemorinth mcp servememorinth mcp hostthe one engine · 127.0.0.1cortexMarkdown filesindexSQLite · FTS5MCP · stdio/mcp/apiread · writesearch

Some of 382 notes in Memorinth's own cortex, shortened.

How it works

Reads before it answers.
Writes before it leaves.

Memorinth connects to your agent once: one MCP server and two hooks. Every session after that runs the same loop, on your machine, in files you can open.

  1. Before you type a word, a hook reads your cortex and hands the agent what's current: the facts, the accepted decisions, its latest memories, the tags in use.

    hook session-start

  2. Hits something it doesn't know? It searches the cortex, your own notes included, by keyword and by meaning. The model runs on your machine.

    search_memoryget_note

  3. Settle something and it records the decision with its reasons. Learn something and it saves a memory, or a fact with its source. Each is a Markdown file, signed by the agent that wrote it.

    write_memoryrecord_decisionadd_fact

  4. If a Claude Code session changed files and saved nothing, a stop hook asks it to keep what the next session will need. If nothing qualifies, it just finishes.

    hook stop

MCP · stdiolocalhost/apiread · writesearchYour agentClaude Code · Codex · Cursor · Gemini CLIhooksstart · stopmemorinth mcp serveone per sessionthe appand traymemorinth mcp hostone engine for every session · 127.0.0.1cortexMarkdown on your diskmemory/decisions/└ 0117 Every site page…└ 0118 Show the loop.mdfacts/your notes · agents only readindexSQLitekeywordsmeaningoffline
hook session-startbriefing · facts, decisions, memories, tags

However many sessions you open, they all share one engine. Works with Claude Code, Codex, Cursor, Gemini CLI and any MCP client · How agents use it

Features

Built for thinking
with 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.

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 CtrlAltN, for a quick note that saves to your cortex as you type. Press CtrlAltM 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 agent

Local-first. Plain Markdown. Free, in beta.

CLI · for the terminal

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
  1. Install

    > irm https://memorinth.app/install.ps1 | iex

    Verifies checksums and adds memorinth to your PATH.

  2. Set up

    $ memorinth init

    Interactive setup: picks your cortex, connects your agents.