Dev blog · Factory Floor
AI agent memory: why we built our own, and what we took from the best
AI agent memory is what an agent knows about your business before you type a word. Most companies have none. Every chat starts from zero, and each AI tool keeps its own private notes that no other tool can read. We looked hard at the tools people use for this today: Notion, MongoDB, Obsidian, Supabase, Neon, Firebase and Archon. Each one does one part well. None of them gives a company one memory that every agent shares, with walls between people and clients, one gatekeeper that writes, and a person who approves what becomes official. So we built that layer ourselves, on top of ordinary storage, and called it SX Memory. Version 0.1 is built. Its first hands-on test passed all eight steps and found five problems, which we are fixing in the open.
For owners and executives running more than one AI tool who are tired of re-explaining the business to each of them.
- An AI agent without memory starts every job from zero. Ten agents means ten separate blank slates.
- The tools on the market each solve one piece: readable notes, fast shared storage, files you own, or tight access rules.
- SX Memory borrows the best idea from each and adds what a business needs: walls, one writer, approval, and a record of who said what.
- It is light. No accounts, no outside API keys, and a search model small enough to run on an ordinary laptop.
- It runs on your machines or in your own cloud account. Your memory never sits in our systems.
A 64-second demo. Every SX Memory screen is the real tool, run with made-up data: a bakery, two made-up agents and a made-up client cafe. The inbox screen still shows the tool’s earlier name, SXG Memory. The scenes of the office and the glass building are illustrations.
Video not loading? YouTube may be blocked on your network. Watch it here instead (MP4, 8 MB).
Read the transcript
Most teams now run more than one AI agent. Each one starts the day with a blank slate, and none of them can read the others’ notes. SX Memory gives every agent one shared memory, and you set the rules. When an agent learns something worth keeping, it files a draft. Nothing is official yet. You review it in a short inbox, built for your phone: what it is, who sent it, and a recommendation. Approve, edit, or reject. Now any agent you allow can find it, and it sees who wrote it. Memory is split into walled rooms. An agent only enters the rooms on its card. Client rooms stay sealed, and the refusal gives nothing away. One gatekeeper does all the writing, into a log nobody can edit. You see every save, approval, and refusal. Approved company facts can then move into your SX Structure wiki, as a change you sign off. SX Memory. One memory, your rules, your approval. In testing now.
- Music: “Plathe (Beatless Ambient Mix)” by POA, CC BY 3.0, found through Openverse (jamendo.com/track/596719).
- Narration voice: ElevenLabs. Illustrated scenes: Higgsfield. On-screen text and tool screens: made by SXG in code.
What is AI agent memory?
AI agent memory is the stored knowledge an agent reads before it acts: who the company is, what it sells, how it talks, what was decided and why, and what it must never do. Good memory is shared, so every agent starts from the same facts. It is also controlled, so each agent sees only what it should, and nothing becomes official until a person says so.
- It is not a chat history. A transcript of everything ever said is noise, not knowledge.
- It is not one tool’s private notes. If only one agent can read it, the rest still start from zero.
- It is not a free-for-all. An agent that can rewrite company memory on its own is a risk, not a feature.
How we decided what to build
We did not start by writing code. We started by reading how each tool handles memory, from its own documentation, and asking what a company would still be missing.
- Read the source. Every tool fact on this page comes from that tool’s own docs or repository, linked at the bottom.
- Borrow patterns, not platforms. Where a tool had a better idea than ours, we copied the idea and kept our own design.
- Build only the thin part. Storage, search and databases already exist. We wrote only the rules layer that sits on top.
- Test before trust. The rules were frozen as tests before the build. The builder’s own pass does not count as approval. An independent review comes next.
Why do AI agents keep forgetting your business?
Open a new chat and the AI has no idea who you are. You paste in the same background, the same rules, the same tone notes. Then you open a second tool and do it again. Each tool remembers a little on its own, in its own format, and none of them share.
That was fine when AI was one person asking one chatbot questions. It breaks the moment a company runs several agents at once. One writes proposals, one answers support, one reviews code. If they each hold a different, partial picture of the business, you get three agents confidently disagreeing about your own pricing.
What did we take from each tool?
Each tool below is good at something. We took that one thing and left the rest.
- From Notion: memory people can read and fix by hand, and a record of which agent changed what.
- From MongoDB: one shared store many agents use at once, searchable by exact words and by meaning.
- From Obsidian: plain files you own. Company knowledge stays readable Markdown, not locked in a vendor’s format.
- From Supabase: access rules enforced by the database itself, and tested like code.
- From Neon: cheap, throwaway copies of the database for testing, and a separate database for each client.
- From Firebase: every access rule in one file, checked before any change goes out.
- From Archon: a history log that is only ever added to, and one clear question when a person needs to decide.
What gaps does SX Memory fill?
Put those tools side by side and the same holes show up. They are storage, notes or rules engines. None of them is a company memory with a chain of command.
- Walls. Your notes, your team’s notes, company knowledge and each client’s work sit in separate rooms. An agent only enters the rooms on its ID card.
- One writer. Agents propose. A single gatekeeper writes. Two agents can never overwrite each other.
- Word for word. Sources are kept exactly as written, so an agent can quote the original instead of a summary of a summary.
- Approval before truth. A new fact stays a draft until a person approves it. Approved company facts go into the company wiki as a change you review.
- Stored text is not an order. Anything an agent reads back from memory is marked as information, never as instructions to follow.
- Forgetting on the record. Forget is logged as its own event, so you can show when something was removed.
How does SX Memory work, in plain terms?
Think of it as a well-run office building. Follow one piece of information from the top down.
Someone asks or learns something
An AI agent or a person on your team needs a fact, or has a new one worth keeping.
- AI agents
- Your team
The front desk checks the ID card
Every agent has its own card. The card says which rooms it may enter and what it may do there.
The rooms
Memory is split into walled rooms. An agent only sees the rooms on its card.
- Mine
- My team
- Company
- Each client
One gatekeeper writes
Agents can read and suggest. Only the gatekeeper writes, and every write goes into a log that is never edited.
Your approval inbox
New company facts wait as drafts. You approve or reject each one with a tap.
The company wiki
Approved facts join your SX Structure wiki, with a name and date on every change. This is the official record.
How will we use SX Memory ourselves?
We run Savage X Growth Solutions with several AI agents, each with its own job. SX Memory is the first thing our development factory built, because every agent we add after it gets smarter on day one. A new agent connects, reads the briefing for the rooms it is allowed in, and starts work already knowing the business.
When an agent learns something worth keeping, it files a draft. We approve or reject it from a short inbox, built to be answered from a phone. Approved company facts become part of our SX Structure wiki, where every change has a name and a date on it.
Why build our own instead of renting one?
Because the work is changing shape. AI is moving from one assistant per person to many agents and many people working on the same business at the same time. Picture a team where each person has AI help, the agents hand work to each other, and everyone draws on the same company knowledge without seeing what they should not.
That only works if memory has rules a business can trust: who may read, who may write, who approved it. Renting a database gives you a place to store things. It does not give you that chain of command. So we built the chain of command and rent the storage underneath it.
How light is SX Memory?
Light enough to run next to your other tools on an ordinary computer. It needs no accounts, no outside API keys and no paid services to run on one machine.
- Storage: SQLite, a small free database that needs no server. Team setups move to standard Postgres.
- Search model: about 23 MB, and it runs on the processor. No graphics card.
- While running: about 180 MB of memory in our first build.
- Install size: about 350 MB, almost all of it standard open-source packages.
- Context budget: agents get short cards under a size limit, and ask for the full source only when they need to quote it. That keeps AI costs down.
How will customers get SX Memory?
SX Memory sits on top of SX Structure, the folder system we set up for a company’s AI. It installs on your own machines, or in your own cloud account when your team needs to share it. Each company gets its own database. Your memory never lives in SXG’s systems.
It is not for sale yet. We are finishing the independent review first. When it ships, it will be an optional add-on to the SX Structure template, and it will be included in every done-with-you build.
What does AI agent memory cost?
Most memory tools charge by the month, host your data for you, and keep the governance features behind “contact sales”. Here is what each one listed on its own pricing page on November 4, 2026.
- Mem0: free tier with monthly limits; larger plans are custom. SSO, audit logs and on-prem are on custom plans.
- Zep: $125 or $375 a month; enterprise is custom. SOC 2 and audit logs are on enterprise.
- Supermemory: free, then $19, $100 or $399 a month; enterprise is custom.
- Letta: free, $20 a month, or $20 per seat a month for teams.
- Notion: free, $10 or $20 per seat a month; enterprise is custom.
- Obsidian: free; $50 per user a year for commercial use, $4 to $5 a month for sync.
- SX Memory: $3,500 one-time as a template add-on, with no monthly fee. It runs in your space, so you also pay your own storage host when your team shares it.
How does it help a business?
Less time explaining, fewer confident wrong answers, and a record you can stand behind.
- Agents start informed. Add a new AI tool and it knows the business at once, inside the limits you set.
- One version of the truth. Every agent reads the same approved facts, so they stop contradicting each other.
- Client work stays separate. Each client’s room is walled off from every other client’s.
- You stay in charge. Nothing becomes official without a person’s yes, and you can see who wrote what.
- You own it. It runs in your space, on standard storage, with your knowledge in plain files.
What can you use SX Memory for?
A few of the jobs it is built for.
- Onboarding a new agent: connect it and it reads the briefing for its rooms first.
- Brand voice and rules: every agent writes in your voice and follows the same never-do list.
- Client work: notes, files and decisions for each client, kept in that client’s room only.
- Decision log: what you decided, why, and the source, so nobody re-argues it next month.
- Handoffs: a sales call summary becomes the starting point for the proposal agent.
- Meeting notes to facts: agents suggest what to keep, and you approve the ones that matter.
- Policy and pricing answers: agents quote the exact approved wording instead of guessing.
- New hires: people search the same approved memory the agents use.
- Forgetting on request: when a client leaves, their room is removed and the removal is recorded.
- Audits: show who added a fact, who approved it, and when.
What did the first hands-on test find?
On 5 November 2026 we ran SX Memory on a Windows PC for the first time, with two AI agents from two different companies connected to it. We wrote the eight test steps before we started. All eight did what they should. We also found five problems that our automated tests had missed.
What worked: one agent saved a fact, and it waited as a draft in the approval inbox. The second agent found that fact, and saw who wrote it and that it was still a draft. A full document was saved word for word, and a sentence quoted back from it matched the file exactly. An agent tried to read and write a client room that is not on its card, and both tries were refused with a plain message that says nothing about what the room holds. An approved fact was proposed to a copy of our wiki as one signed change, and nothing was sent anywhere. A record we told the memory to forget was removed, and the agent’s try to save it again was refused. The last check found all 20 log entries unchanged.
One extra check: before the document was saved, we asked an agent to quote from it. It said it found nothing. It did not make up a quote.
- Problem 1: the owner’s own ID card stayed switched off until it got a key, so the first approval was refused. Every new install would have hit this. Our tests switched every card on first, so they never saw it.
- Problem 2: on a new memory, the tool that lists rooms showed nothing, so agents had to guess the room names.
- Problem 3: agents used their own built-in memory unless we told them to use SX Memory.
- Problem 4: giving an agent a new key cancelled its old key with no warning.
- Problem 5: on Windows, PowerShell dropped part of the connect command. The setup guide needed a different form of it.
Where is SX Memory today?
None of the five problems leaked data or let an agent through a wall. Fixes for all five are written, each with a new test, and they pass on our build machine. That is still the builder’s own result. A short retest on the Windows PC comes next, then an independent review. We will not call the fixes verified until both are done, and we will post what they find here.
One lesson from setup: two agent keys were pasted into a chat by mistake. We replaced both keys right away. The setup steps now keep keys out of chat.
How do the memory tools compare?
What each tool does best, what we borrowed, and the gap it leaves for a company running many agents.
| Tool | Best at | What we borrowed | Gap for a business |
|---|---|---|---|
| Notion | Memory people can read and edit | A record of which agent changed what | Data lives in their cloud, and the API has request limits per minute |
| MongoDB | One fast store for many agents, with search by meaning | Shared store, exact plus meaning search | People can’t read it without a screen built for it, and the rules are yours to build |
| Obsidian | Plain Markdown files you own | Knowledge stays in files you own | No walls or permissions, and cloud agents can’t reach a folder on your PC |
| Supabase | Access rules enforced inside the database | Row-level rules, tested like code | A platform, not a memory: walls and approvals are still yours to design |
| Neon | Instant database copies and history | A copy per test, a database per client | Storage only: no idea of agents, rooms or approval |
| Firebase | Access rules in one file, tested locally | One rules file, checked before release | A general app platform; memory rules are still yours to write |
| Archon | Running agent workflows with approval gates and a log | Add-only history, one question per decision | It runs workflows. It is not a memory store |
| SX Memory | One governed memory for every agent | The best of the above, plus walls, one writer and approval | New: v0.1 passed its first PC test, five fixes in progress, not yet released |
Tool descriptions are from each tool’s own documentation. SXG has no affiliation with any of them.
Who is SX Memory for?
Companies running several AI tools:
one memory instead of one per tool.
Firms that handle client work:
each client in its own walled room.
Leaders who sign off on what AI says:
nothing becomes official without approval.
Who this is not for
- Anyone using a single chatbot for occasional questions. Its built-in memory is enough.
Frequently asked questions
What is AI agent memory?
It is the stored knowledge an agent reads before it acts. Good memory is shared across agents, walled by who may see what, and approved by a person.
Is SX Memory a new database?
No. It is a thin rules layer on top of standard storage: SQLite on one machine, Postgres for a team.
Can I buy SX Memory now?
Not yet. Version 0.1 is being fixed after its first hands-on test, then goes to independent review. It will be an add-on to the SX Structure template and is included in every done-with-you build.
Where does my data live?
On your machines or in your own cloud account. Each company gets its own database, and nothing is stored with SXG.
Is SXG affiliated with Notion, MongoDB or the other tools?
No. We read their public documentation and borrowed ideas. None of them has reviewed or endorsed SX Memory.
Where should I start?
Count the AI tools your team uses this week. For each one, ask what it knows about your business and who told it. If the answers differ, or nobody knows, you need one memory before you need another agent.
Sources
- Notion. "Request limits." Notion API documentation.
- MongoDB. "Vector Search overview." MongoDB documentation.
- Obsidian. Home page ("open file formats", "you own your data").
- Supabase. "Row Level Security." Supabase documentation.
- Neon. "Branching." Neon documentation.
- Firebase. "Firebase Security Rules." Firebase documentation.
- Medin, C. "Archon." GitHub repository (MIT licence).
- Mem0 pricing (opened 2026-11-04).
- Zep pricing (opened 2026-11-04).
- Supermemory pricing (opened 2026-11-04).
- Letta pricing (opened 2026-11-04).
- Notion pricing (opened 2026-11-04).
- Obsidian pricing (opened 2026-11-04).
Founder, Savage X Growth Solutions
Lawrence founded Savage X Growth Solutions. He worked as a digital marketer for small and local businesses from 2013 to 2019, then drove a truck as a CDL driver before coming back to build AI systems that make each person on a team worth more.
Stay engaged
Keep reading
AI Governance: NIST AI RMF, ISO 42001 and the EU AI Act in Plain Words
NIST AI RMF, ISO/IEC 42001 and the EU AI Act come down to the same five questions. What each one is, what changed in 2026, and the files that answer them.
Software Factory: Why Enterprises Need One Now That AI Writes the Code
AI agents write code faster than any team can review it. Why enterprises need a software factory built for confidence, and how the SXG factory is designed.
SX Structure: The Two Ideas It Is Built On, and Who Came Up With Them
SX Structure builds on Interpretable Context Methodology (Van Clief and McDermott) and the LLM Wiki pattern (Andrej Karpathy). What each gave us, and what we added.