Memory Consistency Model Selector

Choose a memory consistency model PER agent-coordination operation — STRONG (linearizable), CAUSAL, READ-YOUR-WRITES, or EVENTUAL — by scoring the operation's requirements (shared authoritative state, conflict intolerance, staleness budget, collaboration, self-session continuity), per Ch4 "Memory consistency models for agent coordination". The chapter's rule: default to causal, escalate to strong only for irreversible decision points. Also flags cache-sharing divergence — an agent acting on a cached read older than a committed write it depends on. Use when designing shared memory for a multi-agent system, justifying a consistency choice, or auditing a stale- cache handoff. NOT for single-agent stateless systems (no coordination), NOT for picking a datastore product (this picks the model, not Redis-vs-etcd), NOT when the platform already mandates a consistency model (just adopt it).

AnthonyAlcaraz Updated

File contents

AnthonyAlcaraz/agentic-graph-rag-skills/tree/main/skills/memory/memory-consistency-model-selector commit 7374f5e0af

Frequently asked questions

npx skillmds@latest add anthonyalcaraz/memory-consistency-model-selector