The per-entity cognition substrate
An agent does not reason into a vacuum. Behind every run sits a cognition substrate: one seam that fronts all of an entity's memory kinds, is bound to that entity's own default-workspace store, and is reached under the same identity, classification, and authorization as any other data the entity owns. It is what lets a run remember, recall, and promote what it learned without reaching into a shared pool that would blur one actor's knowledge into another's.
This page covers the substrate's surfaces, how it is scoped to an entity's home store, and when it is durable versus kept hot.
Overview
Every entity has a home workspace provisioned at creation, and that home carries a Structures database. The cognition substrate binds to that database, so an entity's memory lives inside a store it already owns and governs, not in a side channel. Because the binding resolves through the entity's default workspace, the isolation is structural: the substrate for entity A can only read and write A's namespace, and two co-located entities can never cross-read.
The substrate is the memory surface the agent runtime reasons over and the surface recall-before-reason draws from before the model thinks.
One seam, many memory kinds
The substrate is a single interface fronting the memory shapes a reasoning run actually uses. Each surface is backed by the matching structure type in the entity's home Structures database, so the kind of memory and the kind of store line up:
| Surface | What it holds | Shape |
|---|---|---|
| Working | Hot, in-flight scratch state for the current run | Kept in-process even on the durable backing |
| Episodic | The ordered record of what happened, event by event | A stream |
| Semantic | Meaning, recalled by similarity | A vector set |
| Relational | The entity's knowledge graph: things and how they connect | A graph |
| Ranked | Scored, ordered recall, a leaderboard of relevance | A sorted set |
| Collections | Membership and set algebra, with probabilistic sketches | Sets, lists, filters |
| Tabular | Rows and columns for structured working data | A dataframe |
Two operations sit above the kinds:
- Fused recall takes one query and draws across the semantic, relational, and episodic surfaces at once, returning ranked, evidence-graded hits rather than a single-index lookup. This is the read half of recall-before-reason.
- Publish promotes a piece of working memory into a durable, catalog-registered, grant-governed asset with an access-control list, so a learning crosses from private scratch into something the estate can govern and others can be granted.
A task/goal hierarchy surface sits alongside these, backed by a tree in the same store, so a run can hold its decomposition where the rest of its memory lives.
Scoped to the entity's home store
The binding is the load-bearing part. When a run needs its memory, the runtime resolves it in order, and refuses to guess at any step:
Figure: resolving a run's cognition substrate. The runtime resolves the acting entity's default workspace, then that workspace's Structures database (membership-authorized, deny-closed), then mints a per-entity principal that carries the actor's own clearance and grants, and binds the durable substrate to the home store with the namespace set to the entity id. If the entity has no default workspace, or that workspace has no Structures binding, the run degrades to a hot in-memory substrate for that run rather than borrowing another entity's store. Every access runs through the store's own authorization boundary.
Table equivalent
| Step | Resolves | On failure |
|---|---|---|
| Default workspace | The entity's home workspace | Degrade to hot in-memory for this run |
| Structures database | The home workspace's structure store | Degrade to hot in-memory for this run |
| Per-entity principal | A principal with the actor's own clearance and grants | (none) |
| Durable substrate | The seam bound to the home store, namespace = entity id | (none) |
Because the principal is the actor's own, the substrate inherits the actor's classification and grants automatically: there is no second credential and no elevated memory service that could read across entities.
Durable, or hot
The substrate has two backings, and the choice is never silent:
- Durable backing, bound to the entity's home Structures database. Everything written survives the run and is readable by later runs of the same entity.
- Hot in-memory backing, used for the current run only. The run reasons with full working memory and simply does not persist. The substrate selects it when no durable store resolves, so a run always has its memory surface available.
At the end of a run, working memory is distilled and the durable path promotes it through publish, so what a run learned becomes available to the next one rather than evaporating with the process.
Across the deployment matrix
- Single-cell: the substrate binds to the entity's home store on the one cell; recall and publish are local.
- Multi-cell (elastic in and out): the home store is placed like any other workspace store; the substrate follows the entity's default workspace to whichever cell holds it, under the same residency rules.
- Sovereign / air-gapped: the substrate is pure on-box state in the entity's own store; no coordinator or cloud is required.
- Core vs edge: the per-entity cognition substrate is a core-cell capability. The Edge Agent resolves an entity's workspace and clean room the same way, and a device's reasoning memory is its on-device canonical store, reached through recall.
What the substrate gives a run
The substrate seam, all durable memory kinds against the home Structures store, the task/goal hierarchy, fused recall, and publish are wired into the agent runtime, so every run resolves and uses its own memory surface per turn. The durable path binds to the entity's home Structures database and persists across runs; where no durable store resolves, the run keeps a full in-memory working surface for the current run. Memory stays inside a store the entity already owns and governs, under the actor's own clearance and grants.
Related topics
- Recall before reason, the fused recall this substrate exposes, injected before the model reasons.
- Knowledge & the semantic layer, the estate-wide pipeline the per-entity substrate complements.
- Agent runtime, the durable execution that reasons over the substrate.
- Default workspaces, the home workspace the substrate binds to.
- Structures, the memory-speed engine the substrate's kinds are backed by.
- The executive-functioning engine, the sense→decide→act loop the substrate feeds as memory.