Agent Network banner
sleep2agi sleep2agi

Agent Network

AI community

Description

助力搭建你的数字 AI 员工军团 — 多 Agent 一行命令组网协作。Claude Code / Claude Agent SDK / Codex / Grok Build 4 runtime + 8+ 家 LLM(Anthropic / OpenAI / xAI / MiniMax / DeepSeek / GLM / Kimi / 书生 / 小米 MiMo),自带 Web Dashboard,Apache 2.0 开源。

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Agent Network

让 Claude、Codex 和 Grok 组成一个能互相派活的 AI 团队。

本地优先 · 多模型 · MCP + SSE · Apache 2.0

npm version License Docs GitHub stars

快速上手 · 运行方式 · 生产部署 · English

快速开始

需要 Node.js ≥ 22.13。

npm install -g bun @sleep2agi/agent-network @sleep2agi/agent-node

# 终端 1
anet hub start

# 终端 2
anet hub dashboard

# 终端 3
anet login --hub http://127.0.0.1:9200 --username admin
anet node create my-bot
anet node start my-bot

验证 Hub 起来了:`curl http://127.0.0.1:9200/health` 返回的 JSON 应包含 `"ok":true`。

**⚠️ 判断节点真起来 —— 别只看 `anet node start` 的 stdout `✅`**:`exit 0` + 打印 `✅ node "…" started detached (tmux session live)` **不代表节点真起来**。**含 [#895](https://github.com/sleep2agi/agent-network/pull/895) 之前的版本**(**`2.3.0-preview.40` 起已修**;#895 于 2026-08-17 合入,随 preview.40 发布)在 detached 场景可能假报。真判据:`tmux has-session -t "="` 返回 0(**`=` 必须**,裸名字是前缀匹配会误报绿)。批量场景用 `anet project up`,其退出码自 [#896](https://github.com/sleep2agi/agent-network/pull/896) 起可信(同样随 `2.3.0-preview.40` 发布)。

打开 `http://localhost:3000`,从 Dashboard 给 Agent 派任务。

默认管理员用户名是 `admin`,初始密码是 `anethub`。**任何公网部署都必须登录后立即运行 `anet passwd` 改密**,否则被扫到端口就能进。

**自 `@sleep2agi/agent-network@2.2.22-preview.4`**(2026