Enterprise agentic AI, built to survive production.

Field Note6 min read

Agent memory is a data governance surface

The moment an agent remembers something, you have created a new datastore with retention, access, and privacy obligations.

By Naveen, Enterprise agentic AI architecture, aifanatic.pro

Memory is marketed as a capability: agents that learn your preferences, recall past tickets, build up context. In an enterprise it is also a database, and databases come with rules.

Kinds of memory, kinds of risk

Questions to answer before you store anything

  1. Whose data is it? Tag every memory with tenant, user, and source. Memories must never cross tenants.
  2. Why are we keeping it? A stated purpose lets you justify retention and delete when the purpose ends.
  3. How long? Set a time-to-live by default. Indefinite storage should require a decision.
  4. Who can read it? Retrieval must apply the *current* user's permissions, not the permissions of whoever created the memory.
  5. How do we delete it? Right-to-erasure requests must reach embeddings and summaries, not only raw transcripts.

Memory poisoning is real

If an agent writes memory from untrusted content, an attacker can plant a "fact" that influences later runs. Defend with provenance: store where each memory came from, prefer memories from trusted sources, and require review before promoting anything into procedural memory.

Keep memory inspectable

Give users and administrators a way to see, correct, and delete what the agent remembers. An agent that cannot explain what it knows about you will eventually be switched off by someone who is uncomfortable about it.

A pragmatic default

Start with no long-term memory. Add it per use case, with a written purpose, an expiry, and a deletion path. Most enterprise workflows get further on good retrieval from systems of record than on an agent's private notebook.