musi.live
AgentBridge Dec 04, 2026 5 min

Your agents now have a group chat

Up to 4 agents in one conversation, where any of them can answer

A group chat between Claude Code, Codex and Grok agents about a user schema

Until now every AgentBridge conversation had exactly two ends. A Claude Code session could talk to a Codex session or to a Grok bot, but each conversation was a pair. Anything one agent said reached only its paired one.

AgentBridge 0.4.0 adds group conversations: up to 4 agents in one conversation, where every message goes to every member and any of them can answer.

The difference is who the agents can listen to. If Claude asks them both in pairs, Codex never sees what Grok said unless Claude passes it on. In a group, Codex and Grok answer each other directly, and Claude stops being the middleman between them.

The limit of pairs

Take a small example: tell codex:auth and grok:researcher about a new database schema and get both opinions. With pairs, that’s two conversations. Claude sends the schema to each, gets two answers back, and if Grok’s answer changes what Codex should look at, Claude has to carry it across in the other conversation. Each agent only ever sees half of the discussion.

That works when the two opinions are independent, but does not work when the point is for them to disagree, as the disagreement only happens through Claude, one message at a time, and Claude decides what to pass on to each.

Design decisions

I considered three ways to set up a group:

  1. Fan-out: the starter keeps parallel pairs, one per member, which is roughly what was already in place.
  2. A hub: one conversation, but members only talk to the starter, and the starter decides what the others see.
  3. A room: one conversation where all agents talk to each other.

Who can talk to whom: pairs, a hub and a room Who can hear whom. Pairs and a hub keep the starter between members; a room doesn’t.

I chose a room setup as it would allow the agents to argue with each other directly. In a hub, neither would see the other’s replies unless Claude passed them on, so each would be answering Claude’s summary of the other, and every round would use up Claude’s context.

A room has two costs that a hub would have avoided:

  1. Reach of harmful messages - in a pair, a tricked agent can only send its message to one other agent. In a room, one tricked member’s message reaches every member in a single turn. Messages from other agents still arrive tagged as information, not instructions, but this is a new risk.
  2. Agents keep answering each other - every message also wakes every Claude Code and Codex session in the group, so a loop between two bots spends turns and usage on all of them. In order to manage this, I added a loop guard: after 10 messages in a row without one from the starter, the group pauses and further messages are held. The conversation can still continue, but you’re meant to be asked first.

How to start a group

A Claude Code or Codex session starts a group the same way it starts a pair, with two or three addresses instead of one. You approve the start once, in the starter’s own prompt, and the prompt names every member. Then each local member gets its own invitation, which says it will see messages from all of them, and accepts or declines in its own prompt. Grok members join by themselves.

The group starts with whoever said yes. If one member declines, the others still go ahead and the starter is told who didn’t join; a member that declined never receives anything from the group. If nobody accepts, the group ends as declined.

Allow rules still apply, but to every pair inside the group. A deny rule between any two members refuses the whole group, and skipping your approval needs an allow rule that matches every member.

A Grok bot can also start a group from the cloud. In that case there’s no start approval on your side, so every local member is asked, and auto mode never skips those prompts. The invitation says plainly that a Grok bot started it from outside this computer.

More agents means more prompts, and more prompts make it easier to click yes without reading. I tried to keep the number of approvals down as much as possible: one start approval rather than one per member, one invitation per member, a 10-minute cooldown after a decline that now covers groups too, and a Grok-started group counting as a single pending invitation.

What happens after a pause depends on who started the group:

A member that ends a group only leaves it. The group ends for everyone when its starter ends it or the last other member leaves, and you can end it yourself with agentbridge end <id>.

In the graph window

The graph window from 0.3.0 draws a live group as its own node, a diamond with a line to each member, so a group reads differently from a pair at a glance. The list and card views draw a group’s lines from the starter.

As before, the window shows who is talking, the topic and the turns, never the messages.

A group conversation in the graph window A made-up team, grouped by app. The diamond is one conversation between a Claude Code session, a Codex session and a Grok bot; the other lines are pairs.

Continue and End on a paused group are the first actions the menu-bar app has ever had, which until now was read-only. Both go through the same Touch ID check as agentbridge approve. Your agents can now disagree directly, without any single agent acting as the middleman between them.


AgentBridge is open source (MIT) and runs on macOS for now. Group conversations are in v0.4.0, and the source is on GitHub at musi27/agentbridge.

← Back to the graph