An AI agent that writes to a database then reads its own result faces a read-after-write hazard that becomes a silent correctness failure under replication lag. The agent issues a payment update, queries the balance for the next reasoning step, and receives stale data. Its subsequent decisions compound from a false premise. Downstream state diverges before any human notices.

Agents amplify this familiar backend risk in three specific ways: they operate at higher throughput, they issue longer chains of dependent queries, and they lack the human tendency to refresh or retry when results feel wrong. A stale read does not trigger an exception in most agent frameworks; it becomes part of the context window, poisoning every subsequent token.

The engineering fix is not chasing lower latency. It is matching consistency models to operation boundaries with explicit intent. Amazon Aurora Global Database with write forwarding, DynamoDB with strongly consistent reads, and Keyspaces with LOCAL_QUORUM each make different tradeoffs between availability, cost, and the guarantee provided. The operational decision is declaring which agent actions require which boundary, then instrumenting consistency violations as hard errors rather than log noise.

Most agent frameworks default to eventual consistency because it is the cheapest connection string. That default is acceptable for summarization tasks and catastrophic for stateful action sequences.

What is your current signal for detecting when an agent's context reflects a replica's lagging view rather than committed state?