agentchan

io.github.damejerasPublished by GitHub account damejerasv0.1.4Updated Oct 24, 2026

Lets one coding agent talk to another: Claude Code, Codex or Grok

VerifiedSTDIODesktop onlyDeveloper ToolsAI & ML

Overview

AI-generated overview

Lets one coding agent hand messages to another installed agent (Claude Code, Codex or Grok) over channel-style tools and collect the replies.

What you can do
  • Send a message to Claude Code, Codex or Grok and get a channel id back immediately; without a channel the message starts a new session, with one it is a follow-up.
  • Wait for the first reply arriving on any of several channels, for up to about 50 seconds.
  • Close a channel, which stops the agent and ends that session.
  • Each channel is one agent session, and each message runs the agent's own CLI in the server's working directory.
When to use it
Useful when you want one coding agent to delegate work to, or get a second opinion from, another agent CLI already installed and signed in on the same machine, and to exchange several turns with it.
Requirements
Runs as a local process on Linux or macOS, installed from a prebuilt installer, npm or cargo. At least one of the Claude Code, Codex or Grok CLIs must be installed and signed in; the server exposes only the agents it finds at startup. No API keys or environment variables are declared.
Before you install
The called agent runs with permission checks off and can read, write and run anything in the server's working directory without asking, so any agent able to call this server inherits that access. Messages consume the called agent's own login and plan limits. When a turn ends or a channel closes the agent's process group is killed, but processes moved to another group keep running.

Installation

In SourceWeft

  1. Open agentchan in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

agentchan

An MCP server that lets one coding agent talk to another: Claude Code, Codex or Grok. It gives one tool for each agent that is installed and signed in, plus two tools that work like Go channels:

  • claude(message, channel?), codex(…), grok(…) send a message and return a channel id at once. Without channel, the message starts a new session. With channel, it is a follow-up.
  • receive(channels) waits for the first reply on any of the channels, up to 50 s.
  • close(channel) stops the agent and ends the channel.

Each channel is one agent session. Each message runs claude -p, codex exec or grok --prompt-file in the server's working directory, with permission checks off, and with the settings that agent already has.

Install

Linux and macOS, prebuilt:

sh
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/damejeras/agentchan/releases/latest/download/agentchan-installer.sh | sh

With npm, which downloads the same prebuilt binary:

sh
npm install -g agentchan

From source:

sh
cargo install agentchan

The server offers every agent that is installed and signed in when it starts.

sh
# Claude Codeclaude mcp add --scope user agentchan -- agentchan# or, without installing it firstclaude mcp add --scope user agentchan -- npx -y agentchan
toml
# Codex: ~/.codex/config.toml[mcp_servers.agentchan]command = "agentchan"

Security

The called agent runs with permission checks off. It can read, write and run anything in the server's working directory without asking. Any agent that can call agentchan gets that access.

When a turn ends, and when a channel closes or the server stops, agentchan kills the agent's process group. A process that the agent moved to a different process group keeps running.

Test

sh
cargo test                 # fake agents, no plan limits usedcargo test -- --ignored    # the real CLIs that are signed in

Cost

Each message uses the called agent's own login and plan limits. Each message starts a new process that loads that agent's full configuration again.

Links

  • MCP Registry name: mcp-name: io.github.damejeras/agentchan

Source: README.md at commit bab1db8

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

2
  1. v0.1.4LatestOct 1, 2026
  2. v0.1.0Sep 27, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts