jacksonyang.dev AboutWorksInsightsContact 中文

Getting different AI assistants to share one notebook

Working with AI · 3 November 2026 · Jackson Yang

Models can be swapped; memory shouldn’t go with them. So I took memory out of the AI assistants and put it into a notebook I manage myself.

I use several AI assistants at the same time. Each has its own way of remembering things, and none of them talk to each other. Something I spent an afternoon working out in one tool has to be explained from scratch in another. Switching to a new model is like getting a new colleague who remembers nothing.

So I changed how I think about it: memory doesn’t belong to the model. It belongs to me.

One notebook every assistant can read

My notebook is a folder of plain text files, managed with version control. Every AI assistant can read plain text, so it isn’t tied to any one vendor.

The rules are written once. A single main rules file explains how notes are organised, what is worth recording and what must never be written down. Each AI tool has only a very thin configuration of its own, which essentially says one thing: go and read the main rules. When I change the rules I change one place, and every assistant follows the new version the next time it starts work.

AI makes the judgment calls, code makes the guarantees

At first I relied on prompts alone, telling the AI to “remember to write the key points into the notes”. The results were unreliable. Sometimes it wrote duplicates, sometimes it forgot to update the index, and once it nearly wrote down something it shouldn’t have.

Now a small program sits between the AI and the notebook, with a clear division of labour:

  • The AI handles what requires understanding. Did this conversation produce a conclusion worth keeping? Which existing note should it be merged into? Or does it not need recording at all?
  • The program handles what must not go wrong. It checks for passwords or keys, stops the same thing being written twice, gives every note a fixed ID, keeps the index in sync, and rejects the whole entry if the format check fails.

Give the judgment calls to the model and the guarantees to code. If you rely on prompts for things that absolutely must happen, sooner or later they won’t.

Keep facts and rules apart

The files AI tools use actually come in two kinds. One is facts: what this project looks like, which commands it uses. These are mostly generated automatically after the tool scans the project. The other is rules: how I want the AI to work. These are written deliberately by a person.

Mixing the two causes trouble. Fact files can be regenerated, and when they are, any rules mixed into them get overwritten. I have watched a tool copy an entire fact file into its rules file. Even the tools themselves tend to mix the two, so keeping them apart takes deliberate effort.

The same question at the end of every task

Now, whenever a piece of work is done, the assistant has to answer one question: did this produce a conclusion I will need again?

There are only three possible answers: merge it into the notebook, keep it only on this machine, or discard it. Most conversations end up in the third category, and that is normal. What makes a notebook useful isn’t how much it holds, but that everything kept in it has been checked and will actually be used again.

Companies face the same problem. When every department uses a different AI tool, knowledge ends up scattered across each vendor’s chat history and resets to zero whenever the tool changes. The question worth asking first is: where does our knowledge actually live?