Contents
When you spend a lot of time with ChatGPT, you run into a problem.
It forgets things you've talked about.
Not everything, of course. Sometimes it recalls something from ages ago with surprising accuracy, while other times it gets a decision from just a moment ago wrong.
This becomes especially troublesome when you're using several chats.
You can spend hours reaching a decision in one chat, only to find that another chat has no idea what happened. Then you have to explain everything all over again.
What a hassle.
So I decided to work with ChatGPT itself to build an external memory system.
I'm not a programmer. I figure out what I want and the overall direction, while AI handles most of the technical design, implementation, and testing.
The main features have each been tested at least once. Now I'm examining how reliable they are over time.
Environment Used for Testing
- ChatGPT Pro
- Android 16
- GitHub Free (private repository)
- Internet connection
That's the environment I used. A connection capable of accessing external memory is also necessary, but I won't cover the implementation details here.
These are not proven minimum requirements. I haven't tested whether other plans or operating systems work.
I Thought Saving Every Conversation Would Solve It
My first idea was simple: save every conversation and read it back whenever needed.
But the more you save, the more you have to process. Reading large amounts of information can slow things down, and old decisions get mixed in with new ones.
Suppose you once wanted a feature but later decided to remove it. If both records are treated equally, an AI may act on the outdated instruction, leaving you to correct it again.
Storing lots of information and remembering the right thing are different problems.
So I changed the approach.
Don't try to remember everything. Make the right information easy to find.
Three Layers of Memory
The current system organizes information into three layers.
1. A Shared Current State
This is a small record of what's happening now: active projects, the last confirmed state, unfinished work, and pointers to more detailed records.
It doesn't contain whole conversations. If one chat is developing a website and another is working on a separate feature, they can share a brief overview of their respective states.
Think of it as a table of contents for memory. If you don't need it, you don't even read the table of contents.
2. Project-Specific Records
Each project has more detailed records: what was decided, why, what was tested, and what is still uncertain.
The reasons matter. Even when an AI remembers a previous decision, forgetting why it was made can cause it to suggest the same rejected idea again.
So I preserve important reasons for accepting or rejecting proposals, and how those decisions changed. I also distinguish observed results from the AI's guesses.
“AI said it was finished” is not the same as “I confirmed that it works.”
3. Original Conversation Text
The last layer is the actual dialogue.
Initially I focused on saving my own remarks, but that wasn't enough.
If I say “That works,” the remark is meaningless without knowing what the AI suggested immediately beforehand.
The policy now is to keep important statements from both the human and the AI, including proposals, questions, corrections, and reasoning.
Original quotations and summaries are labeled separately. Most of the time, only relevant information is read. If the precise wording matters, I can go back to the available source text.
Missing dialogue is never reconstructed by guesswork.
Sharing Context Across Multiple Chats
This was one of the things I most wanted.
Imagine Chat A developing my website, Chat B working on another feature, and Chat C being where I simply chat.
I wanted them to share only the information they need.
The system stores important decisions and project states in external memory. Another chat can then consult those records when relevant.
I verified that a record and conversation excerpts saved through one chat could be found and read through another. And I didn't need to read all the stored records to do it.
That was a pretty satisfying moment.
There is an important limitation, though: this is not real-time synchronization. A message in one chat doesn't instantly appear in every other chat. Sharing happens when information is saved and another chat actually reads it.
For now, the best description is on-demand context sharing through external memory.
Save Only What Changes
Another priority was avoiding unnecessary work.
Rewriting all the records every time would make the system heavier than it needs to be.
Instead, it updates relevant information when something meaningful changes. No new decision means no new save. Casual conversation doesn't trigger a memory read unless it's needed.
Before a change, the existing records are checked for consistency. After a write, the record is read back for verification.
The policy also avoids blindly overwriting changes made by another chat.
One reason for using a private GitHub repository is its ability to track changes. The specific connection and writing procedures are intentionally outside the scope of this article.
Give ChatGPT Rules for Using Memory
A place to store memory isn't enough.
If the AI reads everything all the time or saves every trivial exchange, the system defeats its own purpose.
So I gave it rules: answer directly when the current conversation is sufficient. Consult relevant records when old decisions or another chat's progress actually matter. Save important corrections and decisions, not everything.
Older records aren't simply erased when a decision changes; their context remains available when needed.
The ultimate goal isn't to maximize the amount of stored memory.
It's to stop me from having to explain the same thing over and over.
What's Working So Far?
I've tried the main mechanisms: saving memory, reading it back, searching past information, organizing project records, and sharing saved context across chats.
The cross-chat reading test was a particularly meaningful success.
But I haven't yet established how reliably this works over a long period, how well concurrent updates remain consistent under real use, or whether the system stays lightweight as its records grow.
It also cannot automatically retrieve every past conversation, and it does not become ChatGPT's internal memory.
The foundation works in the tests so far. Longer-term reliability remains an ongoing experiment.
What Was I Really Trying to Build?
I didn't want an AI that could memorize vast amounts of information.
I just wanted to keep talking without constantly starting over.
Somehow, that led me to designing layers of memory, setting priorities, preserving dialogue, and testing context sharing across chats.
And I can't even write code myself.
I decide what I need, ask AI to make it, try it, and change what I don't like. Repeat enough times, and apparently you end up with something like this.
Human memory isn't something we're consciously consulting in full every moment, either. Sometimes a detail comes back when something reminds us of it.
This system feels a little like that—not because human memory and AI information processing are the same, but because the useful part is being able to recall what's relevant when it matters.
Six months from now, will it still work?
Or will I once again be telling ChatGPT, “I already told you that”?
That's part of what I'll keep testing.
Loading…