Behind the Scenes: How We Prevent Double Replies
26 Jun 2026 · Chatku Team · 1 min read
When six agents share one inbox, the classic failure is two people answering the same person. Here's how Chatku stops it.
The mechanism
- Opening a conversation sets a soft lock in Redis (
active:{id}) with a short TTL - Everyone else sees an "Agent is viewing this" badge in real time
- Typing broadcasts a typing indicator so collisions are visible before they happen
- Short TTLs act as a safety net if a connection drops without a clean disconnect
The result: coordination without a single extra click.