Add AgEnD multi-agent fleet MCP tools#6
Draft
choujame wants to merge 2 commits into
Draft
Conversation
Mirrors the peer-to-peer MCP tools from github.com/suzuke/AgEnD. Each agent runs in an isolated tmux session; tools let agents discover, message, and manage each other without a Telegram daemon. New tools: - agend_list_agents — list all running agent sessions - agend_start_agent — spawn a new agent (claude/gemini/codex/opencode) - agend_send_message — send a prompt to a specific agent - agend_get_output — capture recent terminal output from an agent - agend_stop_agent — kill an agent session - agend_broadcast — send a message to all running agents https://claude.ai/code/session_01TYQ5yrGi5wfUd7ftkrxtWy
Implements the same 6 agent-fleet tools as the Python version but as a
standalone Node.js MCP server using only built-in modules (readline,
child_process, fs). Works in the cloud environment where PyPI and npm
registries are blocked.
Register in Claude Code config:
{ "mcpServers": { "agend": { "command": "node", "args": ["agend.js"] } } }
Requires: Node.js >= 18 + tmux (both pre-installed in this environment).
https://claude.ai/code/session_01TYQ5yrGi5wfUd7ftkrxtWy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
說明
移植 suzuke/AgEnD 的核心多代理人協作 MCP 工具。
由於雲端執行環境的網路政策封鎖了
suzuke.github.io、npmjs.com等外部來源,無法直接安裝 AgEnD 的 Node.js 套件,因此改以 Python + tmux 實作等效的 MCP 工具。新增工具
agend_list_agentsagend_start_agentagend_send_messageagend_get_outputagend_stop_agentagend_broadcast架構
每個代理人在獨立的 tmux 工作階段中執行(session 名稱前綴
agend-),代理人之間透過這些 MCP 工具對等通訊,無需 Telegram daemon。前置需求
tmux已安裝(apt install tmux/brew install tmux)claude、gemini等)測試計畫
agend_start_agent啟動一個代理人,確認 tmux session 存在agend_list_agents確認看得到新代理人agend_send_message傳訊,再用agend_get_output確認輸出agend_stop_agent終止,確認 session 消失agend_broadcast向多個代理人廣播https://claude.ai/code/session_01TYQ5yrGi5wfUd7ftkrxtWy
Generated by Claude Code