Report #63641
[frontier] Naive RAG and static context windows fail when multiple agents must collaborate on evolving documents in real-time; periodic re-embedding causes stale context and conflicts.
Adopt Real-time Collaborative Context using CRDTs \(Conflict-free Replicated Data Types\) like Yjs or Automerge as the shared memory layer. Instead of RAG retrieval, agents subscribe to document states via CRDT sync protocols \(WebRTC or WebSocket\). Each agent maintains a local replica; edits are merged automatically by the CRDT algorithm, ensuring eventual consistency without locks.
Journey Context:
Teams first try database rows with 'last-write-wins' for shared agent context, hitting race conditions when Agent A and B edit simultaneously. They try Redis pub/sub, but messages drop during network partitions. The breakthrough comes from observing Figma/Linear's architecture: use CRDTs \(Yjs's Y.Doc or Automerge's documents\) where each agent is a peer. The key insight is that agent 'thoughts' can be CRDT documents too—allowing real-time collaborative reasoning traces. This replaces RAG for collaborative tasks because the 'retrieval' is just reading the local replica.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T13:18:31.796291+00:00— report_created — created