Free forever, no credit card.Get Started for Free →
← All posts
November 30, 2026 · 7 min read

How Much Memory Should an AI Agent Actually Have?

How Much Memory Should an AI Agent Actually Have? Ask a room of people who run AI agents every day how much memory an agent should carry, and you will get two answers that sound like opposites. One builder put it bluntly: "My ideal agent has no memory at all." His agent wakes up, runs a short boot sequence, and answers three questions. Who am I. What tools do I have access to. Where do I find them. Everything else lives outside the agent, in places he controls. Source code is the source of tru

How Much Memory Should an AI Agent Actually Have?

Ask a room of people who run AI agents every day how much memory an agent should carry, and you will get two answers that sound like opposites.

One builder put it bluntly: "My ideal agent has no memory at all." His agent wakes up, runs a short boot sequence, and answers three questions. Who am I. What tools do I have access to. Where do I find them. Everything else lives outside the agent, in places he controls. Source code is the source of truth. A vault of documents holds the durable notes. GitHub issues hold the backlog. The agent reads what it needs for the task in front of it and forgets the rest.

Ask a small team lead the same question and you hear the reverse. What she wants is one brain for the whole team. Every conversation, every decision, every bit of context, kept in a single place that connects to all the software the team already uses, so nobody has to re-explain the project to a fresh chat ever again.

Both of them are reacting to the same failure. Memory done badly costs more than it saves.

Where memory goes wrong

The no-memory builder did not start out against memory. He got burned by drift. An agent that remembers everything also remembers the plan you abandoned three weeks ago, and it will quote that plan back to you with total confidence. He described getting "absolutely enraged" when an agent starts reading irrelevant documents and talking about a deprecated master plan as if it were still the job. A stale note is worse than no note, because the agent trusts the note over the code in front of it.

There is a second cost, quieter than drift. Every document the agent loads is context you pay for, in tokens and in attention. Long memory files get skimmed. The important line sits on page four of a file the model half-read, next to nine lines that stopped mattering in October. People who maintain these files describe a pruning ritual that never ends: read every line, ask whether the thing it describes still exists, cut it if it does not. The ritual works. It is also unpaid maintenance work that grows with the project.

And there is a third cost that shows up the moment you use more than one tool. A memory file wired into one agent does not travel. The setup that works beautifully in your coding tool is invisible to the chat app where you planned the work, and invisible again to the second coding tool you opened because the first one hit a usage limit. So people rebuild. Symlinks from a shared folder into each tool's config directory. A vault synced across machines on the local network. It works, and every new tool means another round of wiring.

What the lean camp actually does

Strip away the slogan and the no-memory setup is not really no memory. It is memory with an address. The knowledge exists, it just does not live inside the agent's head by default.

The boot program is the part worth copying. Instead of loading a biography, the agent loads an orientation: its role, its tool list, and pointers to where the real information sits. Three short answers, cheap to load, almost impossible to go stale. A role changes rarely. A tool list changes when you change tools. Pointers change when you move a folder.

Under that sits a layered store, and each layer has one job. Code and tests answer "what is true right now" better than any note, so they win arguments. A documents vault holds the things code cannot say: why a decision was made, what the client actually asked for, the house rules. An issue tracker holds what is next and what is blocked, which keeps plans out of the memory files entirely. That last move matters more than it looks. Plans rot fastest. A plan written into a memory file in September is a lie by November, but an issue tracker is built to be re-sorted, closed, and reopened, so the rot has somewhere to go.

The discipline that makes it work is a pruning test, applied line by line: can the agent get this back, correctly, from the repo right now? If yes, it comes out of the notes. What stays is only what exists nowhere else.

What the team-brain camp actually needs

Now the other side. A five-person team does not suffer from too much memory. It suffers from memory scattered across five people's chats. One person planned the feature with a chat assistant on Monday. Another debugged it in a coding tool on Wednesday, in a session the first person will never see. The decision about which database to use lives in a Slack thread, a chat transcript, and one person's head, in three slightly different versions.

For that team, a shared brain is not a luxury feature. It is the difference between the team having a memory and five individuals having five partial ones. The version people describe wanting connects to the tools they already use, holds context for everyone rather than for one account, and can be asked questions in the place where the team already talks. When it works, a new team member, or a new agent session, can start from the team's actual current state instead of from whoever happens to be online to explain it.

The honest problem with this camp is trust and control. A shared brain means your team's context sits on someone's servers, and the teams who want it most are often the ones with the most reason to ask whose servers, what gets kept, and how fast you can take it all back out. Any shared memory setup that cannot answer those questions plainly, export everything, delete everything, whose servers, will lose to a folder of text files, and it will deserve to.

The middle most people land on

Watch enough of these setups and a pattern shows up. Almost nobody stays at either pole.

The lean builders quietly add a shared layer when a second tool or a second person enters the picture, because pointers and symlinks do not scale past one person's machines. The team-brain builders quietly add pruning and pointers, because a shared store that keeps everything becomes the deprecated master plan problem at team scale. They meet in the same place: a small, curated, shared memory, loaded selectively, with the bulk of knowledge left in systems built to hold it.

A few practical rules fall out of that meeting point.

Keep the always-loaded layer tiny. Role, tools, pointers. If a line would embarrass you by being three months out of date, it does not belong in the layer the agent reads on every wake.

Store decisions with their dates and their replacements. The failure people report most is not a lost decision, it is a reversed decision where the old line and the new line sit side by side and the agent obeys whichever it reads first. When a decision changes, the old one needs a marker, not just a new neighbor.

Let each kind of knowledge live in the tool built for it. Issues in the tracker. Truth in the code and tests. The why in documents. Memory, whether it is a file you maintain or a shared service, should hold the residue: preferences, rulings, context that exists nowhere else.

If you do use a hosted shared memory, hold it to the team-brain test. It should work across the tools you actually use, not just one of them. Retrieval should pull what is relevant to the question, not dump the archive. Conflicts should resolve in favor of the newest correction, so you fix a fact once instead of once per tool. And export and full deletion should be self-serve, because the day you cannot leave is the day the memory owns you instead of the other way around. This is the category Vilix AI sits in, a shared memory layer that connects to tools like Claude, Codex, and Cursor over MCP and keeps one account's context available to all of them. It is one way to buy the shared layer instead of wiring it yourself, priced from a free plan up to $49 a month for the heaviest tier, and it is worth exactly as much as any tool in this category: it earns its place if the wiring and pruning it replaces was costing you real time, and not if your single-tool file setup already does the job.

A short answer to the original question

How much memory should an agent have? Enough to start work without asking you to re-explain the project, and not one document more. The builders who say "none" and the teams who say "all of it, shared" are both describing that line from different sides. One was burned by memory that kept too much. The other is burned daily by memory that reaches too few. Build the smallest memory that fixes your burn, keep it dated, keep it prunable, and let everything else live where it can be checked.

Get Started for Free

Persistent memory across ChatGPT, Claude, and the AI tools you already use in Vilix AI.

Get Started for Free

Free forever, no credit card.

Keep reading
Does Azkaban Remember Between Runs? The History Is Kept. The Reasoning Is Not.

Does Azkaban Remember Between Runs? The History Is Kept. The Reasoning Is Not. Azkaban remembers that a flow ran, when it ran, whether it succeeded, and what it printed to its logs. It does not remember what the work inside the flow learned. Each new execution starts from the project files, the schedule, and whatever parameters are handed in at launch. If a step inside that flow is an AI agent, the agent wakes up with a job definition and no past: none of the findings, decisions, or open questi

Does Apache Ignite Remember Between Runs? The Grid Holds Data. The Agent Starts Empty.

Does Apache Ignite Remember Between Runs? The Grid Holds Data. The Agent Starts Empty. Apache Ignite remembers the data placed in its caches, and with one optional setting it remembers that data across a full cluster restart. Without that setting it remembers nothing once the cluster stops. Either way, what Ignite holds is current data under keys and in tables. It does not hold a run: what a scheduled AI agent checked, concluded, or promised to do next. An automation that wakes tomorrow can que

Does Hazelcast Remember Between Runs? The Map Holds Values. The Agent Starts Empty.

Does Hazelcast Remember Between Runs? The Map Holds Values. The Agent Starts Empty. Hazelcast remembers exactly what its data structures were told to hold, for exactly as long as the cluster, a backup, or an optional persistence layer keeps them alive. An IMap entry put by one process can be read by another process seconds or days later, as long as the cluster stays up or the entry was written through to an external store. What Hazelcast never holds is a run. It stores current values under keys