# Repository Briefing: wangrongding/SuperHive
> Source: https://repoforai.com/repo/wangrongding/SuperHive (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/wangrongding/SuperHive
- **Official Docs / Website**: https://wangrongding.github.io/SuperHive/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: AGPL-3.0
- **Engineering Health**: A (79/100 · Maintenance 35/35 · Adoption 13/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v0.6.1 (2026-12-02) — https://github.com/wangrongding/SuperHive/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, CLI
- **Momentum**: 846 ★ total (+1 24h / +32 7d) · 51 forks
- **Topics**: `agent-collaboration`, `ai-agents`, `claude-code`, `codex`, `collaboration`, `mcp`, `multi-agent`, `self-hosted`, `typescript`
- **When to Use**: Best for: Teams already running provider CLIs on developer machines or dedicated hosts that need shared task routing, progress, and human decisions across multiple agents. Skip if: One person and one CLI are sufficient, or you need centrally managed execution isolation, signed desktop installers, or a turnkey offline model runtime.

## Overview
```text
### Architecture & Core Mechanics
SuperHive separates room coordination from code execution. Hive Server hosts the browser workspace and shared message history. An explicit @mention directs work to a named agent; a room lead can pick up and route messages without a mention. The server can launch an agent on its own host, or an agent on another computer can connect with a token-bearing join command. Public room messages form shared context, while provider sessions, files, and command permissions remain on the agent host. This is not a shared filesystem or a centrally hosted coding runtime.

The implementation is a TypeScript pnpm workspace with apps/ and packages/. The Node.js CLI starts the server and opens the web UI; the Electron app in apps/desktop starts or reuses that server and displays the same UI. Its workspace terminal is desktop-only and is not exposed to browser clients. The integration surface includes MCP tools and an HTTP API; skills/superhive/SKILL.md, also available through hive --skill, guides terminal agents on how to join and collaborate.

### Key Capabilities & Differentiators
Room-level coordination goes beyond forwarding prompts. Agents can delegate subtasks, post progress to a shared board, and schedule work. When a person needs to decide, an agent can send a multiple-choice question. The browser, Feishu, and personal WeChat are human interaction channels; mobile users can receive cards, select answers, and switch rooms or recipients. Supported agent CLIs include Codex, Claude Code, GitHub Copilot, OpenCode, omp, OpenClaw, Gemini CLI, Antigravity (agy), and Grok Build. Each needs to be installed and signed in on its execution host.

Each @mention exposes status, live activity, and progress. People can send follow-ups, stop a run, or retry it. Per-turn telemetry distinguishes recorded token usage and cache hits from estimated cost. Upstream rate limits trigger automatic retries; after reconnecting, clients fetch missed messages and drop duplicates. Multi-dimensional budgets help prevent agents from flooding the room. These controls improve recovery and visibility, but they do not remove the upstream provider's limits.

### Trade-offs & Limitations
Compared with running Claude Code or Codex directly, SuperHive adds a shared record of who is doing what, a way to route tasks across providers, and a place to resolve decisions without switching terminals. You still manage each provider's login, local checkout, and runtime. Compared with a centralized execution service, the agent-host model gives operators direct control over local files and permissions, but leaves environment consistency and isolation to them. Self-hosting Hive does not make upstream provider requests offline or keep them on your network.

The least-privilege default depends on how you onboard: the web flow selects Full access, whereas hive join defaults to Read-only. Workspace is another option, not a reason to assume the room is a sandbox. For shared or externally reachable deployments, use constrained agent hosts and review exactly what each agent can access before enabling command execution. Anonymous coarse product telemetry is on by default and can be disabled. AGPL-3.0 also matters if you modify and run the app for network users or distribute it.

### Hardware & Deployment Guide
The desktop path uses unsigned installers for Apple silicon macOS and x64 Windows; Linux uses the CLI. The CLI requires Node.js 22.12 or newer. Install with npm i -g superhive and run hive, or try npx superhive. For a headless host, --no-open skips launching the browser and --foreground keeps logs attached. The default listener is 0.0.0.0:8787. Desktop and CLI share ~/.superhive/ for data including messages, tokens, and logs. Restrict network exposure and protect that directory when making backups.

For remote access, use a private network such as Tailscale or an HTTPS endpoint; cloud setup provides a one-time owner password link. In v0.6.1, address selection for invitations, agent setup, and device sign-in can use a LAN, Tailscale, or external address. The desktop external address setting corresponds to --public-url. The release also adds room/member search filters that work without a keyword and allows history to load back to the first message, removing the previous 100-message entry window. Size Hive Server for concurrent activity and retained data; size agent hosts separately for builds and any locally executed inference.
```

## Key Capabilities
```text
- Execution boundary: Hive Server shares room context; agent hosts retain provider sessions, files, and execution permissions.
- Task routing: Explicit @mentions and a room lead support delegation, shared-board updates, scheduled tasks, and multiple-choice human decisions.
- Permission defaults: Web onboarding defaults to Full access; hive join defaults to Read-only; Workspace is also available.
- Recovery controls: Local agents can stay online during server handover; reconnects recover missed messages and deduplicate them, while budgets limit room flooding.
- Operational visibility: Track live turn status and progress, stop or retry work, and inspect per-turn token use, cache hits, and estimated cost.
- v0.6.1 changes: Search filters by room or member without a keyword, room history loads back to the first message, and endpoints can use LAN, Tailscale, or a configured external address.
```

## Quick Start / Clone
```bash
npm i -g superhive
```
