agentchan

io.github.damejeras由 GitHub 账号 damejeras 发布v0.1.4更新于 Oct 24, 2026

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

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

让一个编码代理通过频道式工具把消息转交给另一个已安装的代理(Claude Code、Codex 或 Grok),并取回回复。

可以做什么
  • 向 Claude Code、Codex 或 Grok 发送消息并立即返回频道 id;不带频道时开启新会话,带频道时作为后续追问。
  • 在多个频道中等待最先到达的一条回复,最长约 50 秒。
  • 关闭频道,停止该代理并结束该会话。
  • 每个频道对应一个代理会话,每条消息都在服务器工作目录中运行该代理自带的命令行工具。
适用场景
适合希望让一个编码代理把任务委派给本机已安装并已登录的另一个代理命令行工具、或向其征求第二意见,并进行多轮往返交流的场景。
运行要求
作为本地进程运行于 Linux 或 macOS,可通过预编译安装脚本、npm 或 cargo 安装。需至少安装并登录 Claude Code、Codex 或 Grok 中的一个命令行工具;服务器只暴露启动时检测到的代理。未声明任何 API 密钥或环境变量。
安装前请注意
被调用的代理在关闭权限检查的情况下运行,可在服务器工作目录中不经询问地读取、写入和执行任何内容,因此任何能调用本服务器的代理都会获得该权限。每条消息消耗被调用代理自身的登录与套餐额度。回合结束或频道关闭时会终止代理的进程组,但被移到其他进程组的进程仍会继续运行。

安装

在 SourceWeft 中

  1. 打开 控制台中的 agentchan,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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

来源:README.md,提交 bab1db8

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.1.4最新Oct 1, 2026
  2. v0.1.0Sep 27, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分