hive README

The project's README from github.com/aden-hive/hive. As one markdown file: README.md.

Hive Banner

English | 简体中文 | Español | हिन्दी | Português | 日本語 | Русский | 한국어

Apache 2.0 License Y Combinator Discord Twitter Follow LinkedIn MCP

Agent Harness AI Agents Multi-Agent Headless HITL Browser Use

OpenAI Anthropic Gemini

The agent harness for production workloads — state management, failure recovery, observability, and human oversight so your agents actually run.

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 for how it works.

Features

Visit adenhq.com for complete documentation, examples, and guides.

Visit HoneyComb 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:

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:

Quick Start

Prerequisites

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.

# 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:

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.

Image

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.

Screenshot 2026-03-12 at 9 27 36 PM

Integration

Integration Hive is built to be model-agnostic and system-agnostic.

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 outcome-driven, adaptive experience with an easy-to-use set of tools and integrations.

flowchart LR
    GOAL["Describe Outcome"] --> PILOT["Queen Pilots<br/>(does one unit herself)"]
    PILOT --> SYS["Systematize<br/>(skill + playbook)"]
    SYS --> FAN["Fan Out<br/>(spawn worker clones)"]
    FAN --> CONV["Converge<br/>(shared tracker ledger)"]
    CONV --> CHECK{{"Done?"}}
    CHECK -- "Yes" --> DONE["Deliver Result"]
    CHECK -- "No" --> FAN

    GOAL -.- V1["Natural Language"]
    PILOT -.- V2["Prove the path"]
    SYS -.- V3["Repeatable process"]
    FAN -.- V4["Parallel at scale"]
    CONV -.- V5["Resume by construction"]
    DONE -.- V6["Reliable outcomes"]

    style GOAL fill:#ffbe42,stroke:#cc5d00,stroke-width:2px,color:#333
    style PILOT fill:#ffb100,stroke:#cc5d00,stroke-width:2px,color:#333
    style SYS fill:#ff9800,stroke:#cc5d00,stroke-width:2px,color:#fff
    style FAN fill:#ff9800,stroke:#cc5d00,stroke-width:2px,color:#fff
    style CONV fill:#ff9800,stroke:#cc5d00,stroke-width:2px,color:#fff
    style CHECK fill:#fff59d,stroke:#ed8c00,stroke-width:2px,color:#333
    style DONE fill:#4caf50,stroke:#2e7d32,stroke-width:2px,color:#fff
    style V1 fill:#fff,stroke:#ed8c00,stroke-width:1px,color:#cc5d00
    style V2 fill:#fff,stroke:#ed8c00,stroke-width:1px,color:#cc5d00
    style V3 fill:#fff,stroke:#ed8c00,stroke-width:1px,color:#cc5d00
    style V4 fill:#fff,stroke:#ed8c00,stroke-width:1px,color:#cc5d00
    style V5 fill:#fff,stroke:#ed8c00,stroke-width:1px,color:#cc5d00
    style V6 fill:#fff,stroke:#ed8c00,stroke-width:1px,color:#cc5d00

How It Works

  1. Describe the outcome → Say what you want in plain English; a CEO-style router picks the right Queen
  2. Queen pilots → She does one unit of the work herself, proving the path and recording it in the shared tracker
  3. Systematize → She factors the proven protocol into a skill + playbook — a repeatable process
  4. Fan out → run_worker spawns worker clones that run in parallel and report back
  5. Converge & monitor → Workers write results to the tracker; the Queen validates via SQL, with real-time metrics, budget enforcement, and crash-safe resume

Documentation

Contributing

We welcome contributions from the community! We’re especially looking for help building tools, integrations, and example agents for the framework (check #2805). If you’re interested in extending its functionality, this is the perfect place to start. Please see CONTRIBUTING.md for guidelines.

Important: Please get assigned to an issue before submitting a PR. Comment on an issue to claim it, and a maintainer will assign you. Issues with reproducible steps and proposals are prioritized. This helps prevent duplicate work.

  1. Find or create an issue and get assigned
  2. Fork the repository
  3. Create your feature branch (git checkout -b feature/amazing-feature)
  4. Commit your changes (git commit -m 'Add amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request

Community & Support

We use Discord for support, feature requests, and community discussions.

Join Our Team

We're hiring! Join us in engineering, research, and go-to-market roles.

View Open Positions

Security

For security concerns, please see SECURITY.md.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Frequently Asked Questions (FAQ)

Q: What LLM providers does Hive support?

Hive supports 100+ LLM providers through LiteLLM integration, including OpenAI (GPT-4, GPT-4o), Anthropic (Claude models), Google Gemini, DeepSeek, Mistral, Groq, OpenRouter, and Hive LLM. Simply set the appropriate API key environment variable and specify the model name. See docs/configuration.md for provider-specific configuration examples.

Q: Can I use Hive with local AI models like Ollama?

Yes! Hive supports local models through LiteLLM. Simply use the model name format ollama/model-name (e.g., ollama/llama3, ollama/mistral) and ensure Ollama is running locally.

Q: What makes Hive different from other agent frameworks?

Hive runs colonies of agents, not single agents or hand-wired agent graphs. Most frameworks make you compile a graph of distinct nodes and edges; Hive has one execution primitive — the Queen is an agent loop, and every worker is a clone of it. Orchestration is a runtime run_worker fan-out, not a compiled DAG, and the colony coordinates through a shared tracker ledger instead of a data buffer. On top of that "one loop, many loops" core, Hive is a production harness — crash-safe park/resume, cost enforcement, real-time observability, and out-of-band human-in-the-loop — inherited by every agent because there is only one kind of agent. See the Architecture Overview.

Q: Is Hive open-source?

Yes, Hive is fully open-source under the Apache License 2.0. We actively encourage community contributions and collaboration.

Q: Does Hive support human-in-the-loop workflows?

Yes. A Queen escalates to a human out-of-band through Sentinel — an account-bound Slack/Telegram channel. The agent loop parks (persisting its state to disk), notifies the human, and resumes exactly where it left off when they reply. Because escalation isn't a node in a graph, any agent in a colony can pause for human judgment at any point, with configurable timeouts and escalation policies. See the Architecture Overview.

Q: What programming languages does Hive support?

The Hive framework is built in Python. A JavaScript/TypeScript SDK is on the roadmap.

Q: Can Hive agents interact with external tools and APIs?

Yes. Every agent in a colony has built-in tool access, and Hive connects to external APIs, databases, and services through MCP — including 100+ integration tools plus General Compute Use and Browser Use via the native extension. Because the Queen and her workers share one tool surface, a capability you add is available to the whole colony.

Q: How does cost control work in Hive?

Hive provides granular budget controls including spending limits, throttles, and automatic model degradation policies. You can set budgets at the team, agent, or workflow level, with real-time cost tracking and alerts.

Q: Where can I find examples and documentation?

Visit docs.adenhq.com for complete guides, API reference, and getting started tutorials. The repository also includes documentation in the docs/ folder and a comprehensive developer guide.

Q: How can I contribute to Aden?

Contributions are welcome! Fork the repository, create your feature branch, implement your changes, and submit a pull request. See CONTRIBUTING.md for detailed guidelines.

Star History

Star History Chart

Made with 🔥 Passion in San Francisco

hive (aden-hive/hive)

Searching Database…

11.1K ·GitHub
这是什么?OpenHive 是一个开源的多智能体运行框架,面向生产环境的 AI:它提供了状态管理、故障恢复、可观测性、成本控制和人工监督,让成群的智能体能够稳定地跑真正的业务流程,而不是停留在演示阶段。
所谓的智能体集群到底是什么?一个集群由一只『蜂后』(Queen)加上她按需派生的工蜂智能体组成。蜂后是常驻的、直接面向用户的负责人。每个工蜂都是她那个智能体循环的克隆(用同样的工具、同样的模型,只是各干各的任务),它们通过共享的追踪账本和持久化的计划来协作,不需要去搭建任何流程图。
怎么安装、怎么跑起来?不要用 pip install —— Hive 是一个 uv 工作区,那样装会把它弄坏。在仓库里运行快速启动脚本(原生 Windows 上的 quickstart.ps1 / hive.ps1,需要 PowerShell 5.1+,WSL 可选):它会配置好运行时、MCP 工具、加密的凭据存储和模型配置,然后在浏览器里打开控制面板。以后想再打开,运行 hive open 即可。
开始之前,我的电脑上需要准备什么?需要 Python 3.11+,以及一个用来驱动智能体的大模型服务商(也就是它的 API 密钥)。ripgrep 是可选的,但它能明显加快 Windows 上的文件搜索——没有它也有 Python 版的兜底方案;其余所有东西都由快速启动脚本通过 uv 自动安装。
如果一个跑得很久的任务中途崩了会怎样?运行是防崩溃的:park/resume(挂起/恢复)机制会把智能体的状态保存到磁盘,所以崩溃或暂停的任务会从上次中断的地方原样继续,而不是从头再来。
Hive 适合谁用——谁应该跳过它?适合那些要把 AI 智能体从原型推向生产环境的团队:需要状态管理、故障恢复、并行执行、成本限制和可审计性的真实业务流程。README 自己也说了,对于简单的智能体链或者一次性脚本,它并不合适。
可以用哪些大模型来驱动智能体?它对模型不挑食:通过 LiteLLM 支持 100 多家服务商——OpenAI GPT-4/4o、Anthropic Claude、Google Gemini、DeepSeek、Mistral、Groq、OpenRouter,还有 Hive LLM。本地模型也能用,比如在 Ollama 运行的情况下用 ollama/llama3;你只要设置好 API 密钥的环境变量和模型名就行。
当智能体需要人来拍板时,我怎么介入?通过 Sentinel:智能体会向一个绑定你账号的 Slack 或 Telegram 频道上报请求人工处理,然后挂起并把状态保存到磁盘;你一回复,它就从上次中断的地方原样继续。集群里任何智能体都可以这样暂停,超时时间和上报策略都可以配置。
我能把智能体的花费控制住吗?可以——预算功能带有消费上限、限流和自动降级到更便宜模型的策略,可以按团队、按智能体或按工作流来设置,还有实时的成本跟踪和告警。
智能体能接入我公司的工具和数据吗?可以——每个智能体都自带工具调用能力,Hive 通过 MCP(100 多个集成工具)能连接 CRM、客服、即时通讯、数据、文件和内部 API,还可以通过一个原生扩展实现通用计算(General Compute Use)和浏览器操作(Browser Use)。你添加的任何一个工具,整个集群都能用。
Creator
aden-hive
Size
61.9 MB
Stars
11.1K
Age
9mo
Commits · 90 Days