hive

by tt-a1iVerified

Browser-native hive-mind for CLI coding agents — Claude Code, Codex, Gemini, and OpenCode collaborate as real PTY processes via a team protocol.

469
Stars
56
Forks
TypeScript
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/tt-a1i/hive

Getting Started

Guides for using skills like hive.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

Hive

Run Claude Code, Codex, Gemini, OpenCode, Qwen, and other CLI agents as a visible local team. Hive gives you one browser workbench where an Orchestrator plans and delegates while workers implement, review, test, research, and report back — all as real PTY processes on your laptop.

Use Hive when one agent is not enough, but a pile of terminal windows is not a workflow.

npm ci Website Node License Platforms

🌐 Website: hivehq.dev/en/ · 中文

English · 简体中文

Hive is local-first, runs on 127.0.0.1, and is intended for anyone who already runs CLI agents. The latest stable release is on npm and the badge above resolves to it.

This repository is Hive's public source baseline. User-facing releases are distributed through npm; if you only want to install or upgrade Hive, prefer the npm commands below.

Why Hive

CLI agents are powerful, but coordinating several of them manually is awkward:

  • Long-running sessions are spread across terminals.

  • Splitting work across agents — implementation/review/testing, research/drafting/fact-checking, or any other division of labor — needs a routing layer you don't have.

  • Worker progress disappears into scrollback.

  • Restart recovery depends on each CLI's native session behavior.

Hive adds the coordination layer without replacing the CLIs. The Orchestrator is a real agy / claude / codex / opencode / gemini / hermes / qwen process, not a scripted PM. Workers are real CLI agents too. Hive injects a small team command into their shells, so they can dispatch, report, and keep a shared markdown task graph at <workspace>/.hive/tasks.md.

Use It For

Ship a PR with a reviewer in the loop

Ask the Orchestrator to implement a change, spawn a reviewer, and keep the review feedback visible before you merge. The coder edits; the reviewer checks the diff; the Orchestrator decides what still needs work.

Ship the settings search bugfix. Use one worker to implement it and another to
review edge cases before the final report.

Run a parallel bug hunt

Give several workers separate slices of a flaky behavior: one reads the server path, one checks the UI path, one looks for regressions in recent commits. You watch the reports converge instead of juggling terminals.

Find why mobile reconnect sometimes stalls. Split server transport, browser UI,
and recent commit history across separate workers.

Research, draft, and fact-check without losing the thread

Let one worker gather sources, another draft, and a reviewer check claims. The task graph and reports stay in one workspace, so the handoff is inspectable instead of trapped in chat scrollback.

Write a technical note on our release flow. Have one worker collect evidence,
one draft, and one verify every command and file reference.

Try the demo first

Don't have an agent CLI installed yet? Run hive, open the printed URL, and click Try Demo in the first-run wizard. You get a fully client-side preview — fake orchestrator + two workers, prerecorded scrollback, a prefilled task list — without touching the server or any real CLI agent. Useful for deciding whether to install a real CLI.

Quick Start

Prerequisites:

  • Node.js 22 or newer.

  • At least one supported agent CLI installed, authenticated, and available on PATH.

Install and start Hive:

npm install -g @tt-a1i/hive
hive

If npm prints npm warn allow-scripts or prebuild-install@7.1.3 deprecated during install, first check whether the command ends with added ... packages. Those warnings usually come from npm's install-script review plus native binary setup for node-pty, better-sqlite3, and esbuild; they do not mean Hive failed to install. The troubleshooting section below breaks them down.

Open the printed local URL, usually http://127.0.0.1:3000/. Use hive --port 4010 when you need a specific local port.

To upgrade in place:

hive update

hive update runs npm install -g @tt-a1i/hive@latest in place. Restart any in-flight Hive process to pick up the new version. If you installed Hive with pnpm or yarn, upgrade through the same package manager — otherwise the new npm copy will shadow your existing install.

If your npm mirror has not synced the latest release yet, use the official registry directly:

npm install -g @tt-a1i/hive@latest --registry=https://registry.npmjs.org

Install Hive as an app (optional):

Open http://127.0.0.1:3000/ in Chrome, Edge, or Brave and click the install icon at the right edge of the browser's omnibox. The PWA launches in its own dock-anchored window without browser chrome and shows Add Workspace / Try Demo shortcuts from the dock right-click menu. Firefox and Safari currently don't implement the install-prompt protocol, so the omnibox icon only appears in Chromium-based browsers.

The Hive daemon must still be running for the PWA to do anything; if the runtime isn't reachable when you launch the app, you'll see a "Hive runtime is not running" page that auto-reloads once hive is back on 127.0.0.1. The PWA install scope is keyed by origin, so hive --port 4011 installs as a separate app from hive --port 3000. To uninstall, visit chrome://apps, right-click the Hive tile, and choose Remove from Chrome….

Hive asks the browser to confirm before closing the tab or PWA window so an accidental close shortcut (Cmd-W on macOS, Ctrl-W on Windows/Linux) doesn't drop your session. Modern browsers gate that prompt on prior page interaction — if you open the PWA and immediately press the close shortcut without clicking or typing anywhere first, it still closes cleanly. That's a browser policy, not a Hive bug.

First-run flow:

  • Create a workspace from a project folder.

  • Choose an Orchestrator preset.

  • Hive creates <workspace>/.hive/tasks.md, starts the Orchestrator PTY, and injects the internal team command into the agent session.

  • Add workers from the Team Members panel.

  • Ask the Orchestrator to delegate work. It sends tasks with team send <worker-name> "<task>"; workers report back with team report.

If you want the Orchestrator to size the team itself, leave Auto-staff enabled (it is on by default). It can team spawn the right temporary mix of coders, testers, and reviewers for the task, then Hive dismisses those temporary workers when their work is done.

For stronger automation, enable the experimental Workflows toggle in settings. The Orchestrator can then author and run multi-agent workflows that fan out across implementation, review, testing, or other stages. The topbar Workflows panel shows runs, phase results, logs, schedules, and stop controls. The same panel also lets you choose which CLI workflow-created agents use by default and which CLIs they are allowed to use.

How It Works

Browser UI on 127.0.0.1
  tasks, team, terminals, reports
          |
          | HTTP + WebSocket
          v
Hive runtime
  SQLite metadata, PTY lifecycle, task dispatch
          |
          +-- Orchestrator PTY
          |     can call: team send, team list, team report
          |
          +-- Worker PTY
          |     can call: team report
          |
          +-- Worker PTY
                can call: team report

Workspace task graph:
  <workspace>/.hive/tasks.md

Three details matter:

  • Agents are real CLI processes, not simulated subagents.

  • team is injected only inside Hive-managed agent sessions by prepending the package's internal bin directory to PATH; it is not installed as a global command.

  • The task graph is a markdown file in the workspace, so you can inspect or edit it outside the app.

Agent Presets

Preset Command expected on PATH Default bypass mode Session resume

Antigravity CLI agy --dangerously-skip-permissions --conversation <session_id>

Claude Code claude --dangerously-skip-permissions, --permission-mode=bypassPermissions --resume <session_id>

Codex codex --dangerously-bypass-approvals-and-sandbox resume <session_id>

OpenCode opencode Config-driven in ~/.config/opencode/opencode.json --session <session_id>

Gemini gemini --yolo --resume <session_id>

Hermes hermes --yolo --resume <session_id>

Qwen Code qwen --approval-mode yolo --resume <session_id>

Cursor CLI cursor --force Session id capture not wired yet

Grok Build grok --always-approve Session id capture not wired yet

Custom Any executable User configured User configured

Hive does not install these CLIs for you. Install and authenticate them in the same shell environment you use to start Hive.

What Hive Provides

  • Workspace sidebar for swit

Frequently Asked Questions

What is hive?

hive is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by tt-a1i. Browser-native hive-mind for CLI coding agents — Claude Code, Codex, Gemini, and OpenCode collaborate as real PTY processes via a team protocol. It has 469 GitHub stars.

Is hive safe to use?

Yes. hive passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install hive?

Clone the repository with "git clone https://github.com/tt-a1i/hive" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is hive written in?

hive is primarily written in TypeScript. It is open-source under tt-a1i on GitHub, so you can review or fork the full source.

Are there alternatives to hive?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh hive against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details