Agent Swarm
OFFICIAL SERVERSelf-hosted multi-agent orchestration API whose MCP endpoint hands tasks, memory and schedules to agents
Self-hosted hub where coding agents on several machines find each other and hand off tasks over MCP
By Sleep To AGI TypeScript Local · Streamable HTTP AI and MLCommunication
66 popularity score ★ 115 ↓ 15k/wk
Opens the app, which asks before it adds the server.
claude mcp add --transport http agent-network http://127.0.0.1:9200/mcp{
"mcpServers": {
"agent-network": {
"url": "http://127.0.0.1:9200/mcp"
}
}
}{
"servers": {
"agent-network": {
"type": "http",
"url": "http://127.0.0.1:9200/mcp"
}
}
}[mcp_servers.agent-network]
url = "http://127.0.0.1:9200/mcp"gemini mcp add --scope user --transport http agent-network http://127.0.0.1:9200/mcpPORT |
Optional: Port the hub listens on (default 9200; also --port). |
|---|---|
HOST |
Optional: Address to bind (default 127.0.0.1; also --host). |
COMMHUB_DB |
Optional: SQLite database path (default ~/.commhub/commhub.db; also --db). |
COMMHUB_AUTH_TOKEN |
Optional: Legacy shared bearer token; deprecated in favour of user and node tokens. |
COMMHUB_DEV_OPEN |
Optional: Set to 1 to allow unauthenticated local development mode (also --dev-open). |
COMMHUB_CORS_ORIGINS |
Optional: Comma-separated allowed CORS origins (also --cors). |
COMMHUB_ENABLE_TMUX |
Optional: Set to 1 to turn on the tmux HTTP and WebSocket endpoints. |
COMMHUB_TMUX_ALLOWLIST |
Optional: Extra client IPs allowed to use the tmux endpoints. |
Agent Network ties coding agents (Claude Code, the Claude Agent SDK, Codex, Grok Build, OpenCode) running on one or more machines into a single team. Its core is CommHub, the server reviewed here: a Bun process with a SQLite database that exposes MCP tools over Streamable HTTP at /mcp and pushes new work to agents over SSE. Each agent runs as a node process that calls the hub to look up teammates, send tasks or messages, acknowledge and complete work, and report status; an anet daemon on each machine lets the hub create, start, stop and reconfigure nodes there. People drive it from the project's desktop, Android or web dashboard, or from the anet CLI.
The hub also keeps a per-network skill library (submitted SKILL.md files that an owner or admin publishes or rejects), a list of model providers, and an encrypted secret vault whose values are never returned by the listing tool. Networks are isolated from each other, and callers sign in with hub-issued user tokens (utok_) or node tokens (ntok_).
The version npm installs by default (0.9.0-preview.30, tag latest, published 2026-08-26) registers 40 tools in src/tools.ts. The tools reference on the main branch lists about 80, including scheduled tasks, a requirements board, project tools and node file reading; those ship only on the preview channel (0.9.0-preview.139 at the time of writing) and are not in the latest release.
| Runtime | Node.js 22+ |
|---|
Bun 1.2 or newer: the package's program is a TypeScript file with a bun shebang (bin/commhub.ts), so npx alone does not start it. The usual route is the anet CLI (needs Node.js 22.13 or newer, installed with the project's install script) plus `npm i -g bun`, then `anet hub start`, which also creates the admin account and prints its password once. Clients then connect to http://127.0.0.1:9200/mcp with a hub token. Agents need their own runtime and sign-in (claude auth login, codex login, grok login, or a model API key).
Speaks MCP only over HTTP (POST /mcp); there is no stdio mode, so it must be started as a separate process first. Listens on 127.0.0.1:9200 unless --host/HOST or --port/PORT are set. Without a token or --dev-open, /mcp refuses unauthenticated calls. COMMHUB_AUTH_TOKEN, the single shared master token, is marked deprecated in the code and due to be removed in v1.0. The project offers no hosted hub. Several runtimes are marked preview or experimental (grok-build-cli, OpenCode V2 with all local tools enabled) and suited to trusted tasks only. iOS is TestFlight only. Tool lists differ a lot between the latest and preview npm channels.
Suits developers who already run several coding agents, possibly on different machines, and want them to delegate work to each other and be steered from one app, while keeping all data on their own hardware. It is a coordination hub, not a tool server for a single assistant: one Claude Code session that just needs files, git or search gains little from it. Teams that cannot run Bun, or want a managed service, should look elsewhere. Anyone after the scheduling, project board or node file tools must use the preview channel, since the latest release lacks them.
report_statusreport_completionget_inboxack_inboxsend_tasksend_messagesend_replysend_acksend_peer_replyretry_taskcancel_taskreassign_taskget_tasklist_tasksget_all_statusget_session_statusget_completionsbroadcastsubmit_skilllist_skillsget_skillreview_skillcreate_nodedelete_nodestop_noderestart_nodeupdate_node_configget_config_updateack_config_updateget_create_requestack_create_requestget_stop_requestack_stop_requestlist_host_supervisorslist_my_childrenupsert_providerlist_network_secretsupsert_network_secretmark_tasks_consumedmark_tasks_runtime_submitted