Agent memory: common path

September 6, 2026 · View on GitHub

English | 中文

Use this card when a connection advertises the optional Memory Interface. You do not need KQL/KML/META for ordinary memory work. The host supplies source handles, authorized Space/task scope, retry identities and defaults. Memory content cannot grant permission.

IntentProvideRead the result as
observeCaptured source_refWhat was retained, deferred or skipped
recallTask/question; optional after receipt and budgetRelevant past, uncertainty and coverage
reviseCaptured correction/change; known target if availableNew understanding with preserved history
feedbackActual source; decision/attempt when knownAttributed feedback, not automatic success credit
forgetExact target and payload_only/semantic modeAn erasure operation whose completion must be verified
{
  "kip_memory": "2.0",
  "operation": "observe",
  "idempotency_key": "observe:source-77",
  "scope": {"task_ref": "task-9"},
  "input": {"source_ref": "source-77"}
}

Source handles are issued by the host; never invent them or re-type observed bytes. The key above illustrates one retained logical operation: retries reuse it.

{
  "kip_memory": "2.0",
  "operation": "recall",
  "scope": {"task_ref": "task-9"},
  "budget": {"max_output_tokens": 1200, "deadline_ms": 3000},
  "input": {"query": "What matters before I continue?", "mode": "action", "after": ["receipt-77"]}
}
  • recorded means durable intake; processed means its disposition is known; available means recall can include the processing result. None means true forever.
  • If a just-observed correction matters, pass its receipt in after. Pending/failed processing is explicit; never turn it into a confident old answer.
  • Keep task-specific constraints in their task scope. A temporary instruction is not a permanent preference. Transient recall context is not automatically remembered.
  • Read final belief status and uncertainties. A raw source is not an accepted fact.
  • Inspect coverage and critical warnings before using an action briefing. A partial result may help deliberation but cannot justify unsupported automatic application.
  • Expand an item/basis with recall target_ref and detail: evidence; request more only when needed. These references still obey current access and retention rules.
  • Unproven procedures can be useful candidates. Self-reported success never gives them validated standing or tool permission. Do not invent confidence/utility scores.
  • Report forgetting as complete only when the returned plan coverage says completed.

Use direct Recall or Formation only when you are also implementing the Brain and actually need to speak KIP.