agentsocks
agentsocks is an open-source tool that lets coding agent sessions such as Claude Code and Codex on the local machine communicate with each other. It supports sending messages between sessions, asking up to 16 sessions at once and aggregating the answers, and handing off tasks with an owner, status, and result. Messages are delivered through the channels each tool originally uses to receive messages; it does not need to simulate input into the terminal, does not treat messages from other agents as your instructions, and cannot respond to permission confirmations on your behalf. It provides attention routing, merging ordinary notifications into summaries and holding large volumes of messages until after the session turn ends; it also provides channels and a live view. Installation requires Node.js 22.13 or later, Claude Code 2.1.224 or later, and Codex CLI 0.162 or later. During installation it backs up modified files and supports --dry-run preview. By default it works only on the local machine; the cross-machine gateway is experimental and disabled by default; Aider is not supported, only plain text is supported, and Windows named pipes are not yet supported.