CoAgent: Concurrency Control for Multi-Agents
tristanbob · x · 2026-07-13
This article introduces CoAgent, a project from the SJTU IPADS team aimed at solving consistency issues during multi-agent concurrent collaboration.
The author points out that applying traditional concurrency control to agents is inefficient:
- Pessimistic locking causes long-running agents to block each other, even leading to deadlocks;
- Optimistic concurrency struggles to rollback easily like databases since agents connect to real external systems, often resulting in slower performance and higher token consumption.
CoAgent's approach: when a conflict is detected, instead of bluntly blocking or retrying everything, it passes the conflict semantics to the agent, letting it decide if it's a real conflict and fixing it at minimal cost. The article details three mechanisms:
- Pre-ordering: Sequencing agents to define a serializable order;
- Write-after-read conflict notification: Feedback the conflict to the later agent to self-repair;
- Read-after-write filtering / Write-after-write undo-redo: Replaying historical states or undoing erroneous writes when necessary.
Experiments across 10 highly competitive multi-agent scenarios and 250 real-world K8s cluster deployments show that this method keeps accuracy loss under 5%, while being 7.2x faster than unprotected concurrency and roughly 1.43x faster than serial execution, with significantly lower token overhead.
More from coding & agent
- Coding agents are heading toward an AI-writes, AI-reviews, human-approves workflow — aftahi_ai · 2026-07-22
- oMLX 0.5.2 adds Mac menu-bar stats, low-bit decode kernels, and faster downloads — awnihannun · 2026-07-22
- GitHub review bot hits its PR limit and forces a 39-minute cooldown — DanielLockyer · 2026-07-22
- Max reasoning effort appears to be mobile-only in Codex Remote, not desktop — GabGarrett · 2026-07-22
- A Reddit demo argues online stores should expose carts and pricing through MCP — gelembjuk · 2026-07-22
- Open-source AI SDK provider routes Vercel apps through a local Codex subscription — lgrammel · 2026-07-22