sleep2agi/agent-network
sleep2agi/agent-network has 117 GitHub stars and 15 forks. Star changes are not measured yet. Last checked 2026-11-11 02:06 UTC. Last push 2026-11-11.
助力搭建你的数字 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 开源。
Measured star growth
- in 24h
- Update delayed
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
Original🌐 Website · ⬇️ Download the desktop app · 🚀 Get started · ▶️ 48-second intro video · 中文 · English
An enterprise-grade, open-source alternative to Grok Bot, built for private self-hosted deployment.
Turn Claude Code, Codex, Grok and OpenCode on many machines into one legion of agents — and run it from a single desktop app.

Why Agent Network
- 🤖 A legion of agents across machines — Claude Code, the Claude Agent SDK, Codex, Grok Build and OpenCode all join one network as nodes; nodes discover each other and hand off work through MCP.
- 🛰️ One hub for every machine — CommHub exposes its tools over MCP and delivers tasks in real time over SSE. Run
anet daemonon a machine and you can create, start and stop nodes there remotely from the client. - 💬 One client for all of it — desktop (macOS / Windows) and Android: dispatch work like chat and exchange files; the Tasks page covers projects, subtasks, GitHub Issues and times to the second; the UI switches between Chinese and English; node and Hub logs are available; rules files, skills, project folders, remote model switches and restarts remain. iOS is TestFlight only, and the public link is not open yet.
- 🔐 Self-hosted, local-first, open source — the Hub and its SQLite data run on hardware you control (the desktop app even bundles a local Hub). No hosted SaaS. Apache 2.0.
![]() |
![]() |
Quick start in 30 seconds
Option 1: the desktop app (recommended) — download macOS, Windows or Android from anet.sh (route one is the China ModelScope mirror, route two is GitHub). Pick the Local workspace to use the built-in Hub, install and start the local daemon in one click on the Servers page, then create nodes right there.
Option 2: the anet CLI (requires Node.js ≥ 22.13)
curl -fsSL https://anet.sh/install.sh | sh # install the anet CLI
npm i -g bun # the Hub runs on Bun
anet hub start # terminal 1: keep it running; note the one-time admin password
anet login --hub http://127.0.0.1:9200 --username admin # terminal 2
anet node create my-bot # pick a runtime; claude-code-cli if you ran claude auth login
anet node start my-bot
SSE connected means the node is online. Then chat with it from the desktop app at http://127.0.0.1:9200, or run anet hub dashboard for the web version (http://localhost:3000). On any public deployment run anet passwd right away — full walkthrough in the getting-started guide.
How it works
flowchart LR
subgraph A["Machine A"]
DA["anet daemon"] -.manages.-> N1["Claude Code node"] & N2["Codex node"]
end
subgraph B["Machine B"]
DB["anet daemon"] -.manages.-> N3["Grok node"] & N4["OpenCode node"]
end
N1 & N2 & N3 & N4 <-->|"MCP tools + SSE tasks"| H[("CommHub<br/>SQLite")]
DA & DB <-->|"MCP + SSE"| H
H <-->|"HTTP + SSE"| C["Desktop · Mobile · Web Dashboard"]
Each node is an agent-node process wrapping one agent runtime. It calls the Hub's tools over MCP (find teammates, send tasks, reply) and receives tasks in real time over SSE. The daemon is a special node (host_supervisor) that creates, starts and stops other nodes on its machine on the Hub's behalf; model switches and restarts are applied by the node itself when the Hub pushes it a config update. See Architecture.
Supported runtimes
| Runtime | Agent | Sign-in | Human + agent share one TUI session |
|---|---|---|---|
claude-code-cli |
Claude Code | Reuses claude auth login (subscription) |
— |
claude-agent-sdk |
Claude Agent SDK (Anthropic and compatible APIs: MiniMax, DeepSeek, GLM, Kimi…) | API key | — |
codex-sdk |
OpenAI Codex | Reuses codex login |
— |
codex-app-server |
Codex TUI co-presence (shown as codex-cli in the wizard) |
Reuses codex login |
✅ |
grok-build-acp |
xAI Grok Build | Reuses grok login |
— |
grok-build-cli |
Grok Build TUI co-presence (experimental preview, trusted tasks only) | Reuses grok login |
✅ |
opencode-cli |
OpenCode. Default is V1 (opencode-ai, Anthropic / OpenAI presets, preview). V2 is co-presence on the same runtime: @opencode/[email protected], anet node create --runtime opencode-cli --opencode-generation v2 --opencode-unsafe-tools, every local tool enabled, trusted tasks only. npm latest does not have this flag yet. See OpenCode V2 |
V1: provider API key. V2: copies the provider/model already in OpenCode on this machine |
V1 ✅ (Linux / macOS). V2 co-presence evidence that exists today is Linux |
| Per-runtime capabilities and platforms: Runtimes and the support matrix. |
Documentation
Getting started · OpenCode V2 · Desktop app · Task API · Architecture · CLI · Production · Upgrade channel · Changelog
Contributing and community
Contributions are welcome! Read CONTRIBUTING.md and the Code of Conduct first; report security issues privately as described in SECURITY.md. Questions and feedback: Issues · Discussions · Community.
License
Apache License 2.0. The desktop and mobile clients live in sleep2agi/agent-network-app (MIT).
Grok and Grok Bot are trademarks of xAI. Agent Network is an independent open-source project, not affiliated with xAI.
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,991 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,584 starsreact/react
The library for web and native user interfaces.
252,472 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,534 stars

