Home / Answers / AI second brain and personal AI with memory
AI second brain and personal AI with memory
How do I keep company SOPs inside an AI memory?
By Asadulelah, a Kerala-based builder of custom software and AI systems for businesses.
Keep SOPs as short, plain rule files the AI reads before it acts, not as a 40-page manual it's supposed to remember. Load the few that matter at the start of every session, give every rule its reason, and pair the important ones with a test that fails if the AI breaks the rule. That's how I keep my own working rules inside my AI assistant, and it's the difference between rules the AI "knows" and rules it follows.
Why dumping the manual in doesn't work
Uploading every SOP into an AI and hoping it remembers fails in three ways:
- It reads them once and drifts. Long sessions forget early instructions.
- Old and new rules conflict. The 2023 version and the 2026 version both sit in memory.
- Nobody can tell whether it's following them. Until a customer complains.
How I structure it
1. A short boot file. My assistant reads one file at the start of every session: who it is, who it works for, where everything lives and the handful of rules that apply to everything. It's kept short on purpose.
2. A capped "current truth". A separate file holds what's true right now: priorities, who's who, what's decided. It has a hard size limit, under 6,000 characters, enforced automatically. When it's full, something has to be merged or retired. Every entry is sourced and dated.
3. Rule files by topic. How pages are written, how sources are cited, how files are named, when to stop and ask. My assistant applies these on every write. Each is a page, not a chapter.
4. One rule per lesson, with its reason. Every correction becomes its own small rule with three parts: the rule, why (what went wrong, in the words of the person who corrected it), and how to apply it. The reason matters. A rule without a reason gets applied too widely or argued away.
5. Write the fix, not just the ban. "Never send unverified numbers" is a ban. "Use only figures the client has already confirmed, and drop the rest" is a fix. The AI can act on a fix.
Keeping it current
- Dates on everything. Every fact carries when it was true and where it came from.
- Some memories decay, some don't. The AI's own guesses lose weight over time. Things the owner actually said don't, until the owner says something newer.
- Latest wins. When two rules conflict on the same thing, the newer one applies.
- A nightly clean-up checks for stale facts and broken links.
Proving it's followed
This is the step most people skip. Each important rule gets a test case: a situation where breaking the rule would be easy. Before I change how my assistant works, the tests run. If a guardrail test fails, the change doesn't ship. My bench has over 200 of these cases, almost all from real corrections.
For a company
The same structure works for a team's SOPs:
- Pick the ten SOPs that cause the most mistakes when skipped.
- Rewrite each as a one-page rule: what to do, why, how to apply it.
- Load the few that apply to the task, not all of them.
- Turn each past mistake into a test question for the AI.
- Give one person ownership of the rules, with a date on every change.
My open-source second-brain-os template shows the file layout if you want to start from something working.
An SOP the AI reads at the moment of action beats a perfect manual it read once.
Want this built for your business?
Tell me about the work that eats your week. Book a 30-minute call, or email hello@asadulelah.com.
BOOK 30 MINUTES →Related answers
- Can someone build an AI second brain for a business? What would it do?
- How do I stop an AI chatbot from making up prices or answers?
- Can an AI assistant remind me of follow-ups and promises?
Hands-on lesson
More in AI second brain and personal AI with memory · All answers · About Asadulelah