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 分