Free Resource · guide

How We Gave Our AI a Memory of Our Business

If you have ever spent hours working with an AI assistant only to have it forget something you told it earlier in the same conversation, you have hit the memory problem. At our September AI workshop I walked through how we solved it at Braintek, with a set of plain text memory files the AI reads and maintains itself. One main file, one file per project, an archive for finished work, and a preferences file that keeps the AI acting the way I want. It changed how useful the tool is day to day.

We build a lot with AI at Braintek, including the email signature system I demoed at the same workshop. But the thing that makes daily AI work sustainable is less flashy than any demo. It is a folder of plain text memory files. Here is how we organize them and why.

Why does AI forget what you told it?

AI forgets because long conversations eventually get compacted, and details you gave it hours or days ago fall out of its working view. Whether you are in ChatGPT, Claude, Claude Code, or any of the other tools, the pattern is the same. Keep a conversation going long enough and the AI starts trimming to make room. Then you reference something from earlier and get the sheepish “oh, you’re right, I forgot.”

Early on I noticed this constantly. I would explain how our environment works, or how I want something done, and a day later I was explaining it again. That repetition is the hidden tax on AI work, and it is exactly what memory files eliminate.

What is a memory file?

A memory file is a plain text note the AI reads at the start of a session and updates as you work, so knowledge survives outside any single conversation. The AI tools support this natively, and Claude maintains ours on its own as we talk.

But there is a catch that shapes everything else in this article: memory files can only be a certain size. Stuff everything into one file and it grows past its limit. The fix is structure, and the structure we landed on has three layers.

How do you keep the main memory file from bloating?

You keep the main file small by treating it as an index, not a diary, and pushing detail down into per-project files. Our main memory file holds general rules, facts about Braintek and how I work, and a running list of active topics: the website, the CRM, a VoIP app I am building, whatever is live right now. Each topic gets a line or two, not a page.

One example of a rule that lives there: never use Python. Python is a scripting language the AI loves to reach for, but our security tool, ThreatLocker, blocks scripts in our environment, and I am not going to whitelist every one the AI generates. So the rule went into memory once, and the AI simply stopped trying. I never had to say it again.

That is the payoff in miniature. A lesson learned once is learned permanently. A bug the AI figured out once can never cost hours again, because the answer is sitting in a file it reads every session.

Why does each project get its own memory file?

Each project gets its own file because project detail would drown the main index, and because the detail is only relevant when you are working on that project. The signature system has its own memory file, and it is very specific: what we have completed, what we are working on now, what is planned for later, and the problems we hit along the way. One of our security tools was blocking part of it at one point, so the workaround is recorded right there. Next session, the AI already knows.

When you open a project, the AI loads the main index plus that project’s file, and it is instantly back up to speed. No re-explaining, no rediscovery.

What happens to finished work?

Finished work moves to an archive file, which keeps the active memory small without throwing anything away. When we are done with something, the AI moves it out of the main memory or the project memory and into the archive. It is still there if we need to reference it in the future, but it is not eating the size limit on the files the AI reads constantly. Our main file stays lean because of this pruning, and the archive quietly grows behind it.

What are global preference files?

Global preferences are a memory file about how you want the AI to behave, separate from what it knows about your projects. Mine includes things like: no cute emojis in responses, I just do not care to see them in a chat reply or a Word document. Keep responses short and to the point, because Claude can get wordy even with the rule in place. Which databases we use. My general working preferences.

None of that is project knowledge. It is taste and standards, and putting it in a preferences file means every session starts already calibrated. It pairs naturally with writing better prompts, because the preferences handle the standing instructions so your prompts can focus on the task.

What belongs in memory, and what doesn’t?

Put in memory the things the AI cannot rediscover on its own: your rules, your environment’s quirks, decisions you made and why, problems already solved. Leave out anything the AI can figure out fresh by reading your files or asking, because that material just burns the size limit.

The related habit is skills, repeatable step-by-step procedures you save so the AI does not have to rediscover how to do a job each time. If you find yourself repeating the same instructions often, that is the signal to write the steps down once. We use skills for things like publishing blog posts and reviewing AI-generated images, and the AI can even update a skill itself when it discovers a step was missing.

How do you start?

Start with three files: a main index, one project file for whatever you work on most, and an archive. Tell your AI to maintain them, record rules and lessons as they come up, and prune closed items to the archive. That is the whole system. It is not a technology problem, it is a filing habit, and it is one of the highest-return habits in our AI services practice, for us and for the clients we set up. The first time your AI remembers something painful so you do not have to relive it, you will wonder why you ran it any other way.

Want AI that actually remembers how your business works?

We set up AI workflows for clients that carry context from one session to the next, your rules, your projects, your gotchas. If your team is retyping the same instructions into a chatbot every morning, tell us about it.

By submitting, you agree to be contacted by Braintek about your inquiry.

FAQs

Why does AI forget things in long conversations?

Every AI conversation has a working size limit. Keep one going for hours or days and eventually the tool compacts the conversation to make room, and details fall out. You mention something you covered two hours ago and the AI apologizes and admits it forgot. Memory files sit outside the conversation, so they survive the compacting.

What goes in the main memory file versus a project file?

The main file is an index, general rules, facts about the business, and one line per active topic. Each project gets its own file with the detail, what is done, what is in progress, what is planned, and any gotchas discovered along the way. That split matters because memory files have size limits, so the main file has to stay small.

Who writes the memory files?

The AI does. I did not write our main memory file, Claude creates and updates it on its own as we work. I set up the structure, main file, per-project files, archive, and the AI maintains it from there. You review it occasionally the way you would review any employee's notes.

What is the archive for?

Finished work. When a project wraps up or a topic goes stale, the AI moves it out of the main memory and into the archive file. It is still there if we ever need to reference it, but it stops taking up room in the file the AI reads every session.

Do I need to be a programmer to do this?

No. Memory files are plain text notes. The habit is the hard part, not the technology, telling the AI to record decisions and lessons as you go, and pruning old material to an archive. Any business using an AI assistant regularly can start this today.

Ready for IT that just works?

Book a no-pressure discovery call. We'll review your setup and show you exactly where you stand.