In short
An agent that serves the same account every week can start each conversation from scratch or pick up from what has already happened. The second option depends on agent memory: what an agent keeps between steps and between sessions so it can reuse it later. For a company, the practical question is where that memory lives, who can query it and who can delete it. It is an architecture question, and it leads to the Company Brain, the layer that knows the company: what data exists, where it lives, how it relates and who can see what.
A language model keeps nothing between one call and the next. Everything it uses has to arrive in the prompt. Agent memory is the set of mechanisms that selects what is worth keeping, stores it outside the model and retrieves it at the right moment.
The subject took shape in 2023, when researchers from Stanford University and Google described agents that record every experience in natural language, condense those records into reflections and retrieve the most relevant ones before planning the next action.
Each technique solves one part. The summary loses detail with every round. The vector finds what is similar and ignores the link between records. The key-value store keeps the isolated fact, without the entity it belongs to.
The problems appear when agent memory leaves the prototype and serves many customers:
In the anatomy of AI, the brain and memory correspond to the Company Brain, and the principle of that part is that storing is not remembering. A repository keeps the record of the support interaction. Useful memory knows that the ticket belongs to the same customer whose contract expires next month and whose last delivery was late.
That link depends on identifying the entity each memory refers to. A memory tied to the text of the conversation is only retrieved by similarity. A memory tied to the customer, the contract and the order is retrieved by relationship, regardless of how the question was written.
In the Company Brain, the interaction history is recorded in the knowledge graph. Each support interaction, decision or preference is linked to the entities it involves, with a date and source system. The business ontology defines what each record means, and a change in the CRM updates the entity the memory refers to.
Permissions are inherited from the source. A memory derived from a legal document carries that document's restriction and only comes back to people who already have access to it. Memory is served via MCP, so any agent in the company queries the same base, without each tool keeping its own copy of the history.
The interaction history records what customers asked for, complained about and negotiated. In the Company Brain, that memory stays in the customer's environment, under the retention and backup policies the company already applies to the rest of its data. The model provider receives the slice needed for each call, according to the contracted architecture.
Deleting is also part of sovereignty. Article 18 of Brazil's data protection law (LGPD) gives data subjects the right to request the deletion of personal data processed on the basis of consent. With memory linked to entities, the request finds every memory associated with that person. With memories scattered across summaries and vectors in several tools, nobody knows for sure where they are.
Memory inherits the quality of the source systems. If the CRM is out of date, the memory linked to it will be too. It is also up to the company to define what is kept, for how long and who reviews the memories the agents generate themselves, such as summaries and learned procedures.
The recommended starting point is a process in which the same account comes back many times, such as serving larger customers or following up on critical suppliers. The first step is to list which facts and preferences are worth keeping and which entity each one links to.
Next, the sources for those entities are connected to the Company Brain. Over the following weeks, the team measures how many answers used memory and how many memories needed correcting.