Memory Layer Rule: Partition Recall by Client Namespace Before Any Agent Shares Memory

Before connecting a memory layer to multiple agents or tools, how do we keep one client's architecture, pricing, and decisions from surfacing in another client's delivery work?

Rule: Assign each client its own memory namespace with separate read and write permissions, and confirm recall never crosses namespaces before any agent is granted access.

Mistake: Operators create one large memory store for the whole agency because it is faster to set up, then discover that entity graphs and semantic search return a competitor client's brand rules or pricing when queries overlap. Tools such as Cogni, which retrieves connected facts across an entity graph, can surface cross-client links that a flat folder structure would hide, so the namespace boundary has to be designed in before the graph fills up.

Why it works: Gateway guidance published this month says agent workflows touching client data need central logging and access control, which a per-client namespace makes enforceable at the retrieval step rather than after the fact. Moonbooth's temporary shared booths let independent agents publish assumptions and decisions to one record, so a shared pool without namespaces would let one client's decisions become context for another client's agent.

Apply it when:

  • Two or more client accounts will be written to or read from the same memory store or knowledge connector
  • Agents from different tools (coding assistants, chat clients, workflow runners) will query one shared memory pool
  • Retainer work includes confidential client material such as contracts, pricing, credentials references, or unreleased product plans
  • The memory layer is exposed through an MCP endpoint, a gateway, or a shared URL that more than one team member or agent can reach