Blog · AI engineering

Enterprise AI memory: building institutional memory your AI can cite

Most enterprise AI forgets everything between questions. How to build institutional memory with knowledge graphs, hybrid retrieval and bi-temporal records, so AI answers from what your organisation knows, with sources.

Most enterprise AI is stateless. It answers a question, then forgets it. It does not know which decision was taken last year, who took it, or why the plan that looked right failed. When an experienced person leaves, the context they carried leaves with them, and the AI cannot fill the gap because it never held that context in the first place.

Institutional memory is the fix. It is also one of the easiest things to get wrong. This post sets out what memory for enterprise AI should hold, how to build it, and the controls it needs.

Why knowledge silos defeat AI

Knowledge in a large organisation is spread across file shares, tickets, email, case systems and people's heads. Each silo has its own names for the same things. "Vendor A", "A Holdings Ltd" and a supplier ID may be one company. A search tool sees three.

When AI retrieves from silos like these, it finds text that looks similar, not facts that are connected. It cannot tell that a contract, an incident and a risk register entry are about the same supplier. That is why many internal assistants answer simple questions well and complex ones badly.

What institutional memory should hold

Useful memory has four parts:

  • Entities: people, teams, suppliers, systems, cases, contracts, with one identity each, however many names they appear under.
  • Relationships: who owns what, which contract covers which system, which incident touched which supplier.
  • Decisions and events: what was decided, when, by whom, and the evidence behind it.
  • Provenance: for every fact, the source document and passage it came from.

A knowledge graph holds the first three naturally: entities are nodes and relationships are edges. Provenance is what makes the graph usable for AI. Without it, the model can repeat a relationship but cannot show where it came from.

Remember time twice

Organisations change their minds. A policy is replaced, a supplier is renamed, an incident is reclassified. Memory that only stores the latest value cannot answer the questions auditors and investigators ask.

A bi-temporal record keeps two timelines for each fact:

TimelineQuestion it answersExample
Valid timeWhen was this true in the world?The supplier held the contract from March to September
Record timeWhen did we know it?We learned of the change in October

With both, AI can answer "what did we know when we made that decision?" That is the difference between hindsight and an honest record.

Retrieval that uses the memory

Memory only helps if retrieval can reach it. A reliable pattern combines three kinds of search:

  1. Keyword search (for example BM25) for exact names, IDs and terms of art.
  2. Vector search for passages that mean the same thing in different words.
  3. Graph traversal to follow relationships from the entities a question names.

The results are merged, the best passages go to the model, and every sentence in the answer cites the passage it relies on. We go deeper on the retrieval side in architecting high-fidelity RAG.

Controls memory needs

Memory concentrates what an organisation knows, so it is a target. Before you build it, decide:

  • Access: memory must enforce the same permissions as the source, down to the field where needed. A person who cannot open a file should not get its contents through an AI answer.
  • Masking: sensitive values, such as personal data, should be masked by policy, not by hoping the model leaves them out.
  • Residency: prompts, answers, indexes and embeddings are all data. Keep them where your law applies; we set out that test in the three pillars of sovereign AI.
  • Correction: when a fact is wrong, there must be a way to fix it at the source and see the correction flow through.
  • Retention: decide what memory forgets, and when, in line with your records policy.

A short checklist

  • Can the AI tell you where each fact in an answer came from?
  • Does it recognise the same entity under different names?
  • Can it answer "what did we know on this date"?
  • Does it respect the permissions of the person asking?
  • Where are its indexes and embeddings stored?

If the answer to any of these is no, the AI is searching, not remembering.

Where to start

Pick one domain with high staff turnover or long-running cases, such as investigations, supplier risk or incident history. Map its entities and sources, then test retrieval against questions your experienced staff answer from memory today.

For the memory layer itself, RelataDB is our open-source knowledge engine: hybrid, graph and vector search, identity resolution, bi-temporal agent memory and policy masking, reachable over an HTTP API, GraphQL or MCP. Autonous builds on that kind of memory to give cited answers on your own documents and data, on your own hardware.

All posts