Block-Level CRDT: The Missing Piece for Collaborative AI Agent Memory
A new algorithm called Block-Level LWW enhances collaborative AI agent memory by allowing agents to learn from each other without direct communication. This approach treats text as a sequence of blocks, enabling concurrent edits to be preserved while minimizing conflicts. The use of Markdown as the primary format further supports this system by aligning edits with line boundaries.
- ▪Block-Level LWW allows AI agents to edit memory entries independently without losing updates.
- ▪This method treats text as a sequence of blocks, which reduces conflicts during concurrent edits.
- ▪Markdown is chosen as the format because it naturally aligns with line boundaries, minimizing structural conflicts.
Opening excerpt (first ~120 words) tap to expand
Block-Level LWW: The Missing Piece for Collaborative AI Agent MemoryHow a deceptively simple CRDT algorithm unlocks something surprisingly powerful: AI agents that learn from each other without ever talking to each other.Marco BambiniApr 13, 2026311ShareEvery agent today accumulates knowledge: conversation history, user preferences, and research notes. That memory is what makes an agent useful.But the moment you have more than one agent, memory becomes a distributed systems problem.A fleet of agents, running on different devices, in different processes, often offline, will each learn independently.Agent A analyzes climate data.Agent B models infrastructure costs.Agent C processes user feedback.So whose memory is it, really?The obvious answer is a shared database.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Hacker News (AI / LLM).