Why OpenClaw-Style Memory Breaks in the Enterprise
When memory escapes its permissions. Agents become valuable when they can remember and connect dots across data sources, and dangerous at exactly the same time.
Agents become valuable when they can remember and connect dots across data sources. They also become dangerous exactly at the same time. That’s why enterprise long-term memory depends on permissions.
Agent systems need to store what they learn about the world so they can get smarter over time. As that knowledge compounds, they need to add some structure to it. Most agent memory systems start with the simplest abstraction: use folders per user, team, or project (i.e., namespaces).
For example, when an agent working on behalf of a person learns something, it drops a memory into that user’s folder. This is the approach that popular agent platforms like OpenClaw and LangMem use.
/memories/alice/
/memories/bob/
/memories/carol/
Alice’s agent reads her emails, joins her meetings, and stores what it learns in /memories/alice/ or /memories/alice/emails. When Alice asks a question later, the agent checks her folder. Clean and simple.
Such designs may work fine when users are isolated.
But enterprise work isn’t structured that way.
Folder hierarchies impose a single-parent relationship. Enterprise knowledge is multi-parent: a document belongs to a project, a team, a client, and a confidentiality tier.
Folder-based systems can’t represent those enterprise realities. Here are some examples where things break.
Challenges that break folder-based memory
Suppose Alice works at Pitch Security and is part of a sales opportunity team, selling to Spooked Systems. In a customer call, Alice learns that “Dana (from Spooked) blocks vendors without SCIM; she’s championing Okta-first.”
Where should this fact be stored? In a folder-based system, you have a few (bad) options:
- Store it in
/memories/alice/, and no one else on the team would know about this insight (i.e., undersharing). - Store it in
/opportunities/Spooked/. Now the product team can’t access buyer preferences unless explicitly added to every sales opportunity (i.e., oversharing). And if Dana moves to a new company, that context is lost. - Duplicate it across folders. Copy the same fact in multiple folders, and try to keep them in sync. This becomes increasingly fragile and costly as conclusions build on top of each other:
/opportunities/Spooked
/people/Dana
/products
The access control problem runs deeper
The problem gets worse the moment you synthesize across sources, like CRM data, documents, and call transcripts. Where does a conclusion drawn from all three belong? Creating folders for every combination leads to namespace explosion. Copying conclusions into each source folder brings duplication and coarse-grained access control.
Either way, you end up with inconsistencies and data leakage.
The issue is beyond where facts should live: It’s also about who should see them.
Enterprise access is multi-dimensional and complex. It depends on role, project membership, data sensitivity, and business context, often simultaneously.1 Folder layouts cannot capture such overlapping patterns without duplicating data.
The enterprise dilemma: agent memory for isolated data sources versus memory that compounds
This leaves every enterprise team using a folder-based system with an impossible tradeoff.
- You under-share: agents stay siloed and can’t compound knowledge across the organization.
- You over-share: you centralize memory and hope the model won’t fetch the wrong thing.
The first one leads to missed ROI. The second leads to data leakage. Neither is acceptable.
Instead of creating “more folders” and “data duplicity” across them, consider building on the following two principles.
The core principles for enterprise agentic memory: decouple access and structure memory as a graph
This discussion boils down to two lessons that help everywhere once you move beyond personal memory:
1) Decouple access control from memory structure
In folder-based designs, “where you store something” becomes “who can see it.” That’s the trap. In enterprises, access changes constantly (roles change, projects shift, data gets reclassified). If permissions are encoded in the storage layout, every policy change becomes a data migration problem (copy/move/sync) and that’s how leaks and inconsistencies happen.
Instead, memory should remain structurally stable (a graph of facts and conclusions), while visibility is enforced by policy at query-time. In other words: don’t store permissions in your folders; enforce permissions as policies in your system.
2) Keep memory structure as a graph (not folders)
Enterprise access isn’t hierarchical. It overlaps. People, projects, and facts have multiple parents. A folder tree forces single-parent ownership, which leads to duplication, namespace explosion, and brittle exceptions.
When memory is a graph, new conclusions are simply additions to the graph: new nodes and edges. The conclusions can keep data lineage, and access can be computed there at run time.
- Stable memory (permission changes shouldn’t trigger data movement)
- Query-time authorization (decide visibility when answering, not when storing)
- Graph-based knowledge structure
is the combination that scales past personal memory and holds up in enterprise environments.
What comes next
In the next part we’ll zoom in on the security boundary: “trust the LLM” memory vs database-enforced authorization. We’ll also discuss how Reasoning Graphs ensure the principles discussed above.
If you’ve tried shipping agent memory: where did permissions break first?
Across AI provides enterprise agents with a unified orchestration layer, enabling them to learn, coordinate, and compound knowledge. It’s powered by shared long-term memory that unifies context, plus a context-to-action layer that generates grounded agent actions.
Footnotes
-
An employee contributing to two projects across different business units has information relevant to both project leads and their manager. No folder layout captures that overlap without duplicating data. ↩
First published in Nilou’s Notes on LinkedIn.
New posts on enterprise agents, memory, and security from Nilou Salehi and the Across team.
Subscribe on LinkedIn