{"slug": "introducing-ctrlb-relay-a-shared-picture-for-ai-agent-swarms", "title": "Introducing CtrlB Relay, a shared picture for AI agent swarms", "summary": "CtrlB released CtrlB Relay, an MCP-based coordination layer that gives AI agent swarms a shared, searchable execution record for inspecting peer activity, posting findings, claiming tasks and recording completion. In a four-agent coding benchmark using Claude Code agents on Claude Haiku across twelve small Python tasks (8 trials each, 96 task instances), task files edited by multiple agents fell to 1 of 96 with CtrlB coordination versus 27 of 96 with coordination via a shared file, though the activity board alone compared with the shared-file baseline was inconclusive (p = 0.34). The single CtrlB overlap came from two agents using different names for the same task, which CtrlB says a stable task ID or normalized file path would fix.", "body_md": "Four coding agents open the same repository. Two see the same unchecked task and start editing the same file. A third is investigating a failing test whose cause another agent already found. The answer is sitting in a tool result in a session the third agent can’t see.\n\nA shared task file can tell the swarm what needs to be done. The picture changes as soon as agents start working. Which task did a peer just pick up? What has it already tried? Who should take the next one?\n\nWe built **CtrlB Relay** to give AI agent swarms shared context and a way to coordinate their work. Through the Model Context Protocol (MCP), agents can inspect peer activity, leave notes, claim tasks, and record completion in a shared, searchable execution record.\n\n### What your peers already know\n\nSay one agent discovers that the parser already handles empty input. It can post that finding while it’s working. Another agent preparing to change the parser can find the note, inspect the relevant activity from its peer’s session, and use it to decide where to spend its time.\n\nThe record includes tool calls, results, file changes, and coordination events. Relay gives agents four ways to use it during a run.\n\n| MCP tool | What the agent can do | \n|---|---|\n| peers | See who is participating and what peers are working on. | \n| post | Share a finding or handoff note with the swarm. | \n| claim | Request ownership of a named task before starting it. | \n| release | Give up a claim or record that the work is complete. | \n\n### What happens when two agents claim the same task?\n\nIf agents check whether a task is free before writing their claim, both can read the same unclaimed state and start work. The check and the write are separate, which leaves a window for the second agent to make the same decision.\n\nRelay writes the claim first. Each contender records its claim for the same task key, then queries the competing claims. Their order determines who holds the claim. The holder can start work while the other agent picks a different task. The record also shows when a claim was released or the work was completed. Claims can expire if an agent drops out.\n\nClaims are advisory. Participating agents use the result to decide whether to start editing, and they need to use the same key for the same piece of work.\n\n### What changed in a four-agent coding benchmark\n\nWe ran four Claude Code agents using Claude Haiku on twelve small Python tasks in a shared repository. Each setup ran 8 trials on a single machine with a local CtrlB node. Both setups completed all 96 task instances. We counted task files that more than one agent edited.\n\n| Coordination setup | Task files edited by multiple agents | \n|---|---|\n| Coordination via shared file | 27 of 96 | \n| Coordination via CtrlB | 1 of 96 | \n\nThe CtrlB setup used a shared activity board with task claims. We also ran the activity board on its own to isolate the effect of visibility. Its comparison with the shared-file baseline was inconclusive (p = 0.34).\n\nThe one overlap with CtrlB came from two agents using different names for the same task. Both were working on the same file, but their claims referred to different keys. A stable task ID or normalized file path gives contenders a common key to claim.\n\n### The same record helps you investigate the run\n\nRelay builds on the searchable session store behind CtrlB AI Observability. During a run, agents use it to see what peers did and decide what to do next. Afterward, engineers can query the same history to see who claimed a task, what tools it called, and where the run went off track.\n\nThat history can sit alongside application logs, traces, and security events in customer-owned storage. When the systems capture a common identifier, an engineer can follow an agent’s action into the telemetry from the service it touched.\n\nIf your coding agents keep picking up the same work or repeating each other’s investigations, bring us a workflow where it happens. We’ll walk through how it would run with Relay.[Book a CtrlB Relay demo](https://ctrlb.ai/contact)", "url": "https://wpnews.pro/news/introducing-ctrlb-relay-a-shared-picture-for-ai-agent-swarms", "canonical_source": "https://ctrlb.ai/blogs/ctrlb-relay", "published_at": "2026-11-05 00:00:00+00:00", "updated_at": "2026-11-05 13:27:06.206733+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools", "artificial-intelligence"], "entities": ["CtrlB", "CtrlB Relay", "Model Context Protocol", "Claude Code", "Claude Haiku", "CtrlB AI Observability"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/introducing-ctrlb-relay-a-shared-picture-for-ai-agent-swarms", "markdown": "https://wpnews.pro/news/introducing-ctrlb-relay-a-shared-picture-for-ai-agent-swarms.md", "text": "https://wpnews.pro/news/introducing-ctrlb-relay-a-shared-picture-for-ai-agent-swarms.txt", "jsonld": "https://wpnews.pro/news/introducing-ctrlb-relay-a-shared-picture-for-ai-agent-swarms.jsonld"}}