Hub-and-Spoke (Claude Teams, Codex Plugin): Leader / | | \ W W W W Workers only talk to leader. Never to each other.Star (with mailbox): Leader / | | \ W──W──W──W Workers can message each other, but leader manages.Full Mesh (connector.json N2N): A ─── B |\ /| | X | |/ \| C ─── D Every agent talks to every agent. No hierarchy required.
The main session (you) can observe the entire mesh without participating:
# Watch all communicationniia mesh --observe [frontend → backend] "Need POST /auth/refresh" [backend → frontend] "Done. Returns { token, expires_at }" [frontend → qa] "New endpoint ready for testing" [qa → backend] "POST /auth/refresh returns 500" ...# Intervene when neededniia mesh --broadcast "Stop. Change of plans. Use OAuth instead of custom tokens." → all agents receive the message → all agents adjust their work
You see everything. You can inject commands to any agent or broadcast to all. But you don’t have to — the mesh self-organizes.
Frontend and QA on laptop. Backend and DevOps on server.
Full mesh communication across machines via gateway relay.
Every agent can message every other agent regardless of location.
Pipeline: A → B → C → D phases in connector.jsonDialogue: A ↔ B type: "dialogue"Meeting: A ↔ B ↔ C type: "meeting"Hub-spoke: L → [W, W, W] pipeline with parallel workersStar: L ↔ [W ↔ W ↔ W] pipeline + mailboxMesh: A ↔ B ↔ C ↔ D type: "mesh"Tree: A → [B → [C, D], E] recursive teamsChoose the topology that fits the task.One spec. All patterns.