context.text additions below are preview until the
personalization API release is deployed. Account controls also require
DARWIN_ACCOUNT_MEMORY_ENABLED and the existing product account store.
Manage memory in Account
Use Get memory and Update memory. These are two methods on/api/v2/account/memory, not new Navigator products.
- Personal: with a user credential that is not application-scoped, omit selectors to access your own memory.
- Developer: supply
userIdwith the application’s credential (including application-scoped grants). The same ID in another application is a separate memory scope. - Business: supply
aiIdfor an account agent. Active members may read; owners and admins may update. OAuth must include that agent. Application service keys cannot read a business agent’s memory through this selector.
memory:read; updates require memory:write. The memory value is
one Markdown document, up to 4,000 characters. An update replaces it; an empty
string clears it. Read the current document before editing. Concurrent updates
are last-write-wins. Clearing affects future requests, not existing thread
messages or work already sent to a provider.
Use an agent directly
Select only the context needed by the agent. A text-based Act start can include:message.type: "text", message.text, and optional
message.context.text with the existing threadId.
For an operation call, put relevant values into its declared arguments instead.
Act rejects a separate context block alongside operation arguments so context
cannot be silently discarded or mistaken for an operation parameter. The
operation schema remains authoritative; do not invent a memory parameter.