Memory
Persistent memory stores information that accumulates across missions and can be retrieved by future runs. This lets agents learn from past activity, recall previous decisions, and avoid repeating work that has already been done. Memory is scoped to your tenant and filtered by compartment and purpose, so different workloads can maintain isolated memory stores within the same deployment. Useclient.queryMemory() with a MemoryQuery to retrieve relevant memory records:
MemoryQuery type exposes additional optional fields for more precise retrieval:
purpose field is part of the gateway’s policy enforcement — it must accurately describe why your application is accessing memory. The compartment field scopes the search to a specific logical partition within your tenant’s memory store.
Context Twin
The context twin maintains a live list of active goals associated with your deployment. These goals represent high-level intentions — things your organisation or system is currently trying to achieve — that agents can incorporate into their reasoning without needing to be told explicitly in each mission’sgoalSpec.
Use client.listGoals() to retrieve the current goal list:
World Model
The world model holds certified, signed assertions about facts the agent can rely on. These are not user-supplied data — they are formally attested statements managed by the gateway, covering domains such as the current date and time horizon, service availability, regulatory context, or other stable facts that agents need to reason correctly. Useclient.listWorldModelCertificates() to retrieve the current set of certified facts:
goalSpec.
How Agents Use Context
When the gateway executes a mission, the agent automatically incorporates available memory, context-twin goals, and world model certificates into its reasoning. You do not need to manually fetch and inject this information into each mission — the gateway surfaces it to the agent as part of the execution context. This means a mission with a minimalgoalSpec can still produce context-aware results:
Memory, context-twin goals, and world model certificates are all scoped to your tenant and deployment. Data from one tenant is never visible to another. Within a tenant, compartment boundaries and OAuth scope filters further restrict which records a given principal can read or write. Always specify accurate
compartment and purpose values in MemoryQuery requests to ensure correct policy enforcement.