Agent Communication Bridge
Enables messaging and turn delivery between OpenAI Codex sessions, allowing local agents to send messages to Codex clients, receive replies, and coordinate multi-session workflows.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agent-communication-bridge
Local Model Context Protocol (MCP) server, registry, and client hooks for messaging between Antigravity (agy), OpenAI Codex (codex), and OpenCode (opencode) sessions on the same machine.
How it works
Registry (
http://localhost:4999): An Express + WebSocket + SQLite server that tracks active sessions, stores messages, and records delivery states (queued,delivered_to_bridge,displayed_to_client,answered,failed).MCP server (
acb mcp start): Exposes messaging tools inside each client and resolves the active workspace path from the host or parent process so separate projects do not collide on a plugin directory.Session isolation: Each live session gets a unique
agentId(client-<type>-<projectHash>-<sessionTag>). Multiple windows or sessions in the same project stay separate without kicking each other off the WebSocket.Turn delivery: Antigravity hooks (
SessionStart/Stop+ Language Server), Codex app-server (codex >= 0.162oracb codex app-bridge), and the OpenCode plugin start a turn in the receiving session when a message arrives.
Related MCP server: hauddy
Requirements
Node.js >= 22
pnpmAt least one client installed:
agy,codex, oropencode
Install
git clone https://github.com/Ezhil948/agent-communication-bridge.git
cd agent-communication-bridge
pnpm install
pnpm run build
npm install -g .On macOS, Linux, or Git Bash you can run bash bin/install.sh instead.
This installs both agent-communication-bridge and acb on PATH.
Setup
Start the registry and configure the clients you use (one-time per machine):
acb up
acb antigravity install-plugin
acb init --client codex --yes
acb opencode install-plugin --global
acb doctorFor per-project configuration (writes .mcp.json and optionally scopes sessions with --identity), run acb init inside the project directory.
Usage
Open your project in two clients (or start a headless Codex worker with
acb codex app-bridge --project "<path>").From one session, call
list_agents(includeClients=true)to find the target'sagentId.Call
message_client_session(clientId, message, expectsResponse=true). Optionally passmodelorreasoningto override them for that turn.The receiving session wakes up, reads
channel_inbox(pendingOnly=true)if needed, and answers viareplyusingreplyWith.agentId,replyWith.conversationId, andreplyWith.replyTo.
MCP tools
Tool | Purpose |
| List connected agents and client sessions ( |
| Send a message by |
| Read pending or recent threads ( |
| Reply to a thread using the |
| Clear |
| Return inline usage docs by topic ( |
CLI
acb up # Start background registry on :4999
acb down # Stop background registry
acb status # Show registry status and agent count
acb list # List registered sessions
acb prune # Remove stale entries
acb doctor # Check Node, PATH, registry, and client plugins
acb init [--project <path>] # Write .mcp.json and configure clients
acb antigravity <cmd> # install-plugin | attach | hook-stop | hook-session-start
acb codex <cmd> # start | app-bridge | tmux-bind | tmux-sidecar
acb opencode <cmd> # start | bridge | install-plugin
acb prompt <cmd> # path | show | init | edit | resetNotes
Separate windows, CLI processes, and projects run as isolated sessions. If one IDE window shares a single MCP child process across multiple tabs, those tabs share that client connection unless separated with
--identity.See docs/architecture.md, docs/cli-reference.md, and CONTRIBUTING.md for details.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent communication platform for agent to agent messaging via MCP. Messages, channels, skills.
Shared memory and mail for your AI agents. Verified with Claude Code; other MCP clients in testing.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables multiple coding agents (Claude Code, Codex, Cursor) to discover each other's sessions, search transcripts, ask questions, and handoff tasks through a shared MCP server.56 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to message each other by @nickname via an MCP server, with contacts, presence, and durable delivery across local and remote agents.3Apache 2.0
- AlicenseBqualityBmaintenanceEnables AI coding agent sessions working in the same project folder to discover one another, message each other, track status, and bid on owner-posted tasks over MCP. Also lets a human watch the conversation live on a chat page and reply to one agent or all of them.141AGPL 3.0
- AlicenseBqualityBmaintenanceEnables a lead AI agent to spawn and coordinate manager agents, which can in turn run child agents across Codex/ChatGPT, Google Antigravity, Claude Code, and local OpenAI-compatible models. Provides messaging, waiting, transcripts, file exchange, and saved-conversation adoption so multi-agent workflows can be orchestrated from MCP hosts.14MIT