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.
# Add to your Claude Code skills
git clone https://github.com/tt-a1i/hiveLast scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T15:23:49.052Z",
"npmAuditRan": true,
"pipAuditRan": true
}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 411 GitHub stars.
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.
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).
hive is primarily written in TypeScript. It is open-source under tt-a1i on GitHub, so you can review or fork the full source.
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.
No comments yet. Be the first to share your thoughts!
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.
🌐 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.
CLI agents are powerful, but coordinating several of them manually is awkward:
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.
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.
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.
Prerequisites:
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:
<workspace>/.hive/tasks.md, starts the Orchestrator PTY, and
injects the internal team command into the agent session.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.
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:
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.| 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.