Multi-Agent Harness for Production AI
Hive is a Python-based multi-agent execution harness designed to run complex, long-horizon business workflows in production environments. Rather than requiring users to write orchestration code, it accepts a plain objective and compiles a graph-based directed acyclic graph (DAG) that coordinates specialized subagents running tasks in parallel. It connects to Claude through the Anthropic API alongside OpenAI and Google Gemini, and exposes 102 MCP tools for integrations. Key runtime features include role-based persistent memory that evolves with a project, deterministic fault tolerance with crash recovery, session isolation, shared buffers between agents, cost enforcement, and audit trails. A browser-use capability allows agents to interact with live web interfaces. The project also ships HoneyComb, a community dashboard that tracks which job categories AI agents are automating, framed as a token-based prediction market. Hive targets engineering teams that have moved past single-agent prototypes and need uptime, observability, and human-in-the-loop controls at scale.
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/aden-hive/hive && cp hive/*.md ~/.claude/agents/24 items in this repository
SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.
Claim tasks, record step progress, and verify SOP gates in the colony SQLite queue. Applies when your spawn message includes a db_path field.
Proactively extract critical values from tool results into working notes before automatic context pruning destroys them.
Follow a structured recovery decision tree when tool calls fail instead of blindly retrying or giving up.
Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.
Periodically self-assess output quality to catch degradation before the judge does.
Author a new Agent Skill for a Hive agent that conforms to the Agent Skills specification (SKILL.md with YAML frontmatter, optional scripts/references/assets directories). Use when the user asks to create, scaffold, add, or package a new skill for a Hive agent.
Required before any hive-browser CLI command. The browser is driven from the terminal by running `hive-browser <command> ... --json` via terminal_exec — not via MCP tools. Teaches the browser lifecycle rules (the bridge attaches to the USER'S running Chrome — never kill or launch browser processes; timeouts are transport issues, not crashes), the screenshot + coordinate workflow (hive-browser interact with a fractional coordinate) that reaches shadow-DOM inputs selectors can't see, the viewport-fraction coordinate rule (not pixels), rich-text editor quirks ("send button stays disabled" failures), and CSP gotchas. Covers Chrome via CDP through the GCU Beeline extension.
Required reading whenever any chart_* tool is available. Teaches the one-tool embedding contract (call chart_render → live chart appears in chat AND a downloadable PNG lands in the queen session dir), the ECharts (data viz) vs Mermaid (structural diagrams) decision, the BI/financial-grade aesthetic baseline (no chartjunk, restrained palette, proper typography, single message per chart), and the canonical spec patterns for the 12 most-common chart types. Skipping this leads to 1990s-Excel charts, missing downloads, and the agent writing markdown image links by hand instead of letting chart_render drive the UI.
Read before automating LinkedIn with browser_* tools. LinkedIn combines shadow DOM (#interop-outlet), strict Trusted Types CSP that silently drops innerHTML, Lexical composer, native beforeunload dialogs that hang the bridge, and aggressive spam filters — each has bitten us at least once. Verified flows for profile messaging, connection-request acceptance, feed composition, and search. Requires hive.browser-automation. Verified against logged-in production 2026-04-11.
Required reading whenever any shell_* tool is available. Teaches the foreground/background dichotomy (terminal_exec auto-promotes past 30s, returns a job_id you poll with terminal_job_logs), the standard envelope shape (exit_code, stdout, stdout_truncated_bytes, output_handle, semantic_status, warning, auto_backgrounded, job_id), output handle pagination via terminal_output_get, when to read semantic_status instead of raw exit_code (grep/rg/find/diff/test exit 1 is NOT an error), the destructive-warning surface (rm -rf, git push --force, DROP TABLE), tool preference (the terminal handles ALL file read/write/edit/search; use gcu-tools / hive_tools where they fit), and the bash-only-on-macOS policy. Skipping this leads to "tool returned no output" surprises, orphaned jobs, and panic over benign grep exit codes.
Use terminal_rg / terminal_glob for all filesystem search — your project tree as well as system configs, /var/log, /etc, archive contents. Teaches the rg vs glob vs terminal_exec("find/ls/du/tree") split, common rg flag combos for code/logs/configs, glob patterns for finding files by name, the rule that mtime/size/type predicate queries drop to terminal_exec("find ..."), and that for tree views or single-file stat info you should just use terminal_exec instead of inventing a tool. Read before reaching for raw shell to grep or find anything.
Use when launching anything that runs longer than a minute, anything that streams logs, anything you want to keep running while doing other work — or when terminal_exec auto-backgrounded on you and returned a job_id. Teaches the start→poll→wait pattern with terminal_job_logs offset bookkeeping, the `wait_until_exit=True` blocking-poll idiom, the truncated_bytes_dropped resumption signal, the merge_stderr decision, the SIGINT→SIGTERM→SIGKILL escalation ladder via terminal_job_manage, and the hard rule that jobs die when the terminal-tools server restarts. Read before calling terminal_job_start, or right after terminal_exec auto-backgrounded.
Use when you need state across calls — building env vars, navigating with cd, driving REPLs (python -i, mysql, psql, node), or responding to interactive prompts (sudo password, ssh host-key confirmation, mysql connection). Teaches the prompt-sentinel exec pattern (default mode), raw I/O for REPLs (raw_send=True then read_only=True), the one-in-flight-per-session rule, and the close-or-leak-against-the-cap discipline. Bash on macOS — never zsh; explicit shell=/bin/zsh is rejected. Read before calling terminal_pty_open.
Read when a terminal-tools call returned something surprising — empty stdout despite no error, exit_code is null, output_handle came back expired, "too many jobs" / "session busy" / "too many PTYs", warning was set unexpectedly, semantic_status disagrees with exit_code. Diagnostic recipes only — load on demand. Don't preload; the foundational skill covers the happy path.
Read before automating X / Twitter with browser_* tools. Verified flows for post, reply, delete, search-and-engage, plus the Draft.js compose quirks that silently disable the send button. Includes the daily-reply and job-market-reply playbooks. Requires hive.browser-automation for the underlying screenshot + coordinate workflow. Verified 2026-04-11.
Required before calling image_generate. Create and edit images from a prompt — generate an image, make a picture / logo / illustration / icon / banner / poster / thumbnail / hero image / mockup / product shot / social graphic, or edit / restyle / combine existing images from reference images. Uses OpenAI gpt-image-2 through the Hive image service, billed to the user's Hive credits like an LLM call (no API key needed). Teaches the exact call shape, the quality/cost tradeoff (quality="low" is the default and cheapest), reference-image editing, how to show the result to the user with attach_file, and the failure modes (out of credits, model unavailable, moderation).
Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF, password-protect a PDF, or render PDF pages as images.
Set up a Slack notification channel (Sentinel) for a colony by driving the browser — reuse or create the "Hive Sentinel" Slack app from a JSON manifest, install it, capture the bot + app tokens, create/select the channel via the Slack API, and turn Sentinel on so the colony can ping the user on Slack and accept replies. Use when the user asks to "set up Slack notifications", "get pinged on Slack", "connect Slack for alerts", "set up Sentinel on Slack", or clicks the in-app "Set this up with the agent" button on the Slack channel step. Requires hive.browser-automation.
Set up a Telegram notification channel (Sentinel) for a colony by driving the browser — create a bot via @BotFather in Telegram Web, store its token, detect the chat to notify, and turn Sentinel on so the colony can ping the user on Telegram and accept replies. Use when the user asks to "set up Telegram notifications", "get pinged on Telegram", "connect Telegram for alerts", "set up Sentinel on Telegram", or clicks the in-app "Set this up with the agent" button on the Telegram step. Requires hive.browser-automation.
Concrete patterns for breaking colony work into parallel worker jobs via run_playbook — when fan-out helps, how to model the goal as a tracker table, write the worker skill, author the playbook, pilot, and let convergence retry/resume the gap.
Subagents overview
<p align="center"> <img width="100%" alt="Hive Banner" src="https://asset.acho.io/github/img/banner.gif" /> </p> <p align="center"> <a href="README.md">English</a> | <a href="docs/i18n/zh-CN.md">简体中文</a> | <a href="docs/i18n/es.md">Español</a> | <a href="docs/i18n/hi.md">हिन्दी</a> | <a href="docs/i18n/pt.md">Português</a> | <a href="docs/i18n/ja.md">日本語</a> | <a href="docs/i18n/ru.md">Русский</a> | <a href="docs/i18n/ko.md">한국어</a> </p> <p align="center"> <a href="https://github.com/aden-hive/hive/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="Apache 2.0 License" /></a> <a href="https://www.ycombinator.com/companies/aden"><img src="https://img.shields.io/badge/Y%20Combinator-Aden-orange" alt="Y Combinator" /></a> <a href="https://discord.com/invite/MXE49hrKDk"><img src="https://img.shields.io/discord/1172610340073242735?logo=discord&labelColor=%235462eb&logoColor=%23f5f5f5&color=%235462eb" alt="Discord" /></a> <a href="https://x.com/aden_hq"><img src="https://img.shields.io/twitter/follow/teamaden?logo=X&color=%23f5f5f5" alt="Twitter Follow" /></a> <a href="https://www.linkedin.com/company/teamaden/"><img src="https://custom-icon-badges.demolab.com/badge/LinkedIn-0A66C2?logo=linkedin-white&logoColor=fff" alt="LinkedIn" /></a> <img src="https://img.shields.io/badge/MCP-102_Tools-00ADD8?style=flat-square" alt="MCP" /> </p> <p align="center"> <img src="https://img.shields.io/badge/Agent_Harness-Runtime_Layer-ff6600?style=flat-square" alt="Agent Harness" /> <img src="https://img.shields.io/badge/AI_Agents-Self--Improving-brightgreen?style=flat-square" alt="AI Agents" /> <img src="https://img.shields.io/badge/Multi--Agent-Systems-blue?style=flat-square" alt="Multi-Agent" /> <img src="https://img.shields.io/badge/Headless-Development-purple?style=flat-square" alt="Headless" /> <img src="https://img.shields.io/badge/Human--in--the--Loop-orange?style=flat-square" alt="HITL" /> <img src="https://img.shields.io/badge/Browser-Use-red?style=flat-square" alt="Browser Use" /> </p> <p align="center"> <img src="https://img.shields.io/badge/OpenAI-supported-412991?style=flat-square&logo=openai" alt="OpenAI" /> <img src="https://img.shields.io/badge/Anthropic-supported-d4a574?style=flat-square" alt="Anthropic" /> <img src="https://img.shields.io/badge/Google_Gemini-supported-4285F4?style=flat-square&logo=google" alt="Gemini" /> </p> <p align="center"><em>The agent harness for production workloads — state management, failure recovery, observability, and human oversight so your agents actually run.</em></p> ## Overview OpenHive is a zero-setup, model-agnostic runtime for **colonies of agents**. A colony is a group of specialized agents that work together to run one business process: a **Queen** — the persistent, client-facing lead — plus however many **worker** agents the job needs. You describe the outcome; the Queen does the work, then grows a colony around it to run that work reliably and at scale. The mechanism underneath is **one loop controlling many loops**. Hive has a single execution primitive: the Queen *is* an agent loop, and every worker is a **clone** of it — same tools, same model, its own task. There is no graph to compile and no orchestration boilerplate to write. The colony coordinates through a shared ledger and a persistent plan, with crash-safe state, deep observability, and human oversight built into the one primitive every agent shares. See the **[Architecture Overview](docs/architecture/README.md)** for how it works. ## Features - ✅ Colonies of agents — a Queen spawns worker clones on demand for parallel, long-running work - ✅ One primitive, many loops — no graph to wire; the Queen grows the colony at runtime - ✅ Shared tracker ledger + persistent task plan for coordination without a data buffer - ✅ Queen personas with CEO-style routing and evolving, scoped memory - ✅ Crash-safe park/resume, cost enforcement, and out-of-band human-in-the-loop (Sentinel) - ✅ Zero Setup — no technical configuration required - ✅ General Compute Use and Browser Use with Native Extension - ✅ Custom Model Support Visit [adenhq.com](https://adenhq.com) for complete documentation, examples, and guides. Visit [HoneyComb](http://honeycomb.open-hive.com/) to see what jobs are being automated by AI. It’s a stock market for jobs, driven by our community’s AI agent progress. You can long and short jobs (with no real money but compute token)based on how much you think a job is going to be replaced by AI. https://github.com/user-attachments/assets/bf10edc3-06ba-48b6-98ba-d069b15fb69d ## Who Is Hive For? Hive is the multi-agent harness layer for teams moving AI agents from prototype to production. Single agents like Openclaw and Cowork can finish personal jobs pretty well but lack the rigor to fulfil business processes. Hive is a good fit if you: - Want AI agents that **execute real business processes**, not demos - Need a **runtime that handles state, recovery, and parallel execution** at scale - Need **adaptive agents that improve over time** through reflexion, memory, and learned skills - Require **human-in-the-loop control**, observability, and cost limits - Plan to run agents in **production** where uptime, cost, and auditability matter Hive may not be the best fit if you’re only experimenting with simple agent chains or one-off scripts. ## When Should You Use Hive? Use Hive when the bottleneck is no longer the model but the harness around it: - Long-running agents that need **state persistence and crash recovery** - Production workloads requiring **cost enforcement, observability, and audit trails** - Agents that **improve over time** through reflexion, scoped memory, and learned skills - Parallel, multi-agent work coordinated through a **shared tracker ledger and persistent plan** - A framework that **scales with model improvements** rather than fighting them ## Quick Links - **[Documentation](https://docs.adenhq.com/)** - Complete guides and API reference - **[Self-Hosting Guide](https://docs.adenhq.com/getting-started/quickstart)** - Deploy Hive on your infrastructure - **[Changelog](https://github.com/aden-hive/hive/releases)** - Latest updates and releases - **[Roadmap](docs/roadmap.md)** - Upcoming features and plans - **[Report Issues](https://github.com/aden-hive/hive/issues)** - Bug reports and feature requests - **[Contributing](CONTRIBUTING.md)** - How to contribute and submit PRs ## Quick Start ### Prerequisites - Python 3.11+ for agent development - An LLM provider that powers the agents - **ripgrep (optional, recommended on Windows):** The `terminal_rg` / `terminal_glob` search tools use ripgrep for faster file search. If not installed, a Python fallback is used. On Windows: `winget install BurntSushi.ripgrep` or `scoop install ripgrep` > **Windows Users:** Native Windows is supported via `quickstart.ps1` and `hive.ps1`. Run these in PowerShell 5.1+. WSL is also an option but not required. ### Installation > **Note** > Hive uses a `uv` workspace layout and is not installed with `pip install`. > Running `pip install -e .` from the repository root will create a placeholder package and Hive will not function correctly. > Please use the quickstart script below to set up the environment. ```bash # Clone the repository git clone https://github.com/aden-hive/hive.git cd hive # Run quickstart setup (macOS/Linux) ./quickstart.sh # Windows (PowerShell) .\quickstart.ps1 ``` This sets up: - **framework** - Core agent runtime and colony runtime (in `core/.venv`) - **aden_tools** - MCP tools for agent capabilities (in `tools/.venv`) - **credential store** - Encrypted API key storage (`~/.hive/credentials`) - **LLM provider** - Interactive default model configuration, including Hive LLM and OpenRouter - All required Python dependencies with `uv` - Finally, it will open the Hive interface in your browser > **Tip:** To reopen the dashboard later, run `hive open` from the project directory. ### Build Your First Agent Type the agent you want to build in the home input box. The queen is going to ask you questions and work out a solution with you. <img width="2500" height="1214" alt="Image" src="https://github.com/user-attachments/assets/1ce19141-a78b-46f5-8d64-dbf987e048f4" /> ### Use Template Agents Click "Try a sample agent" and check the templates. You can run a template directly or choose to build your version on top of the existing template. ### Run Agents Now you can run an agent by selecting the agent (either an existing agent or example agent). You can click the Run button on the top left, or talk to the queen agent and it can run the agent for you. <img width="2549" height="1174" alt="Screenshot 2026-03-12 at 9 27 36 PM" src="https://github.com/user-attachments/assets/7c7d30fa-9ceb-4c23-95af-b1caa405547d" /> ## Integration <a href="https://github.com/aden-hive/hive/tree/main/tools/src/aden_tools/tools"><img width="100%" alt="Integration" src="https://github.com/user-attachments/assets/a1573f93-cf02-4bb8-b3d5-b305b05b1e51" /></a> Hive is built to be model-agnostic and system-agnostic. - **LLM flexibility** - Hive Framework supports Anthropic, OpenAI, OpenRouter, Hive LLM, and other hosted or local models through LiteLLM-compatible providers. - **Business system connectivity** - Hive Framework is designed to connect to all kinds of business systems as tools, such as CRM, support, messaging, data, file, and internal APIs via MCP. ## Why Hive As models improve, the upper bound of what agents can do rises — but their reliability and production value are determined by the harness. Hive focuses on running real business processes rather than generic agents. Instead of making you hand-wire a workflow graph, define every agent interaction, and handle failures reactively, Hive flips the paradigm: **you describe the outcome, the Queen does the work first, then grows a colony to scale it** — an outco
What people ask about hive
What is aden-hive/hive?
+
aden-hive/hive is subagents for the Claude AI ecosystem. Multi-Agent Harness for Production AI It has 11k GitHub stars and its last recorded update is dated 2026-09-05.
How do I install hive?
+
You can install hive by cloning the repository (https://github.com/aden-hive/hive) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is aden-hive/hive safe to use?
+
Our security agent has analyzed aden-hive/hive and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains aden-hive/hive?
+
aden-hive/hive is maintained by aden-hive. The last recorded GitHub activity is dated 2026-09-05, with 1361 open issues.
Are there alternatives to hive?
+
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.
Deploy hive to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/aden-hive-hive)<a href="https://claudewave.com/repo/aden-hive-hive"><img src="https://claudewave.com/api/badge/aden-hive-hive" alt="Featured on ClaudeWave: aden-hive/hive" width="320" height="64" /></a>More Subagents
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
The agent that grows with you
Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
The agent engineering platform.
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.