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
What is this?OpenHive is an open-source multi-agent harness for production AI — a runtime that adds state management, failure recovery, observability, cost control, and human oversight so colonies of agents reliably run real business processes instead of demos.
What exactly is a colony of agents?A colony is a Queen — the persistent, client-facing lead — plus worker agents she spawns on demand. Each worker is a clone of her agent loop (same tools, same model, its own task), and they coordinate through a shared tracker ledger and a persistent plan, with no graph to wire.
How do I install and get it running?Do not pip install it — Hive is a uv workspace and that breaks it. Run the quickstart script from the repo (quickstart.ps1 / hive.ps1 on native Windows, PowerShell 5.1+, WSL optional): it sets up the runtime, MCP tools, encrypted credential store, and model config, then opens the dashboard in your browser. Reopen it later with hive open.
What do I need on my machine before starting?Python 3.11+ and an LLM provider to power the agents (its API key). ripgrep is optional but speeds up file search on Windows — a Python fallback runs without it; everything else is installed by the quickstart script via uv.
What happens if a long-running job crashes halfway?Runs are crash-safe: the park/resume mechanism persists agent state to disk, so a crashed or paused job resumes exactly where it left off instead of starting over.
Who is Hive for — and who should skip it?Teams moving AI agents from prototype to production: real business processes that need state, recovery, parallel execution, cost limits, and auditability. The README itself says it is a poor fit for simple agent chains or one-off scripts.
Which LLMs can power the agents?It is model-agnostic: 100+ providers through LiteLLM — OpenAI GPT-4/4o, Anthropic Claude, Google Gemini, DeepSeek, Mistral, Groq, OpenRouter, and Hive LLM. Local models work too, e.g. ollama/llama3 with Ollama running; you just set the API key env var and the model name.
How do I step in when an agent needs a human decision?Through Sentinel: the agent escalates to an account-bound Slack or Telegram channel, parks with its state saved to disk, and resumes exactly where it left off when you reply. Any agent in a colony can pause this way, with configurable timeouts and escalation policies.
Can I keep agent spending under control?Yes — budgets with spending limits, throttles, and automatic model degradation policies, set at the team, agent, or workflow level, with real-time cost tracking and alerts.
Can agents connect to my company's tools and data?Yes — every agent has built-in tool access, and Hive reaches CRMs, support, messaging, data, files, and internal APIs through MCP (100+ integration tools), plus General Compute Use and Browser Use via a native extension. A tool you add becomes available to the whole colony.
Creator
aden-hive
Size
61.3 MB
Stars
11.1K
Age
9mo
Commits · 90 Days