open source · project

Mindflayer

One memory for every Claude chat

Built with
Python · Claude Code
Source
github.com
Author
Samir Sengupta

Every Claude Code chat starts from zero. Mindflayer gives all of them one shared memory: notes, a journal of past chats, a project map and inboxes, searchable by Claude before it asks you anything.

The problem

Claude Code keeps a separate memory per project folder, and nothing said in one chat reaches the next. Close the tab and what it learned is gone, so you end up explaining the same setup, decisions and gotchas again and again.

How it works

  • Notes: one fact per Markdown file, shared by every project. Claude’s built-in memory is pointed at them, so "remember this" works everywhere.
  • Journal: when a chat ends, a short entry records what was done, what was decided and what is still open.
  • Project map and inboxes: each project has a contract saying what it offers and needs, and a chat that changes something another project relies on leaves that project a note.
  • Search over the notes and every old chat, given to Claude as an MCP tool, plus hooks that show each new chat the right context when it starts.
  • One Python file, standard library only, with plain Markdown and git underneath: no database server and no account. Your memory stays on your machine.

Why it exists

Agents get more useful when they remember. This is the smallest setup that makes every Claude chat start from what the last one learned, and it is yours to inspect and edit as plain files.

More work

Hiring for AI or ML?

I am open to AI/ML Engineering, Data Science, and Python roles, plus research collaborations and consulting. New York based, shipping worldwide.