Record enough context to review the memory later.
actor
The agent, operator, service, or workflow that wrote the memory.
source
The command, document, tool, or endpoint that produced the state.
reason
Why this state is durable enough to keep.
Attach metadata at commit time.
client.commit(
"release.receipt",
{"version": "2.1.3", "build": "passed"},
memory_type="episodic",
metadata={"source": "ci", "actor": "release-engineer"},
)Use auditability to debug agent behavior.
When an agent makes a surprising decision, durable memory should show which state it recalled and which prior run created it.
