Skip to main content

Module memory

Module memory 

Source
Expand description

Per-context key/value store for AI-agent memory (spec/vta/memory/{put,list,delete}/0.1). Wire payloads for the agent-memory Trust Tasks (spec/vta/memory/{put,list,delete}/0.1).

A per-context key/value store for AI-agent memory: put upserts a value under a (contextId, key) pair, list enumerates every entry in a context, and delete removes one by key. The three request bodies carry deny_unknown_fields as a forward-compat guard; all fields are camelCase on the wire.

Access is gated on context (not operator step-up like the issued- credential slice): the caller must be permitted to act in contextId — the same context-ACL check the context-scoped key tasks use ([AuthClaims::require_context] server-side). This enforces per-domain memory isolation: a context-A agent cannot read, write, or delete context-B memory.

Structs§

MemoryDeleteBody
spec/vta/memory/delete/0.1 request body.
MemoryDeleteResponse
spec/vta/memory/delete/0.1 response body.
MemoryItem
A single stored memory entry returned by spec/vta/memory/list/0.1.
MemoryListBody
spec/vta/memory/list/0.1 request body.
MemoryListResponse
spec/vta/memory/list/0.1 response body.
MemoryPutBody
spec/vta/memory/put/0.1 request body. Upsert: re-putting the same (contextId, key) replaces the stored value.
MemoryPutResponse
spec/vta/memory/put/0.1 response body.