Airsc is free for everyone. If it helps you, support it with $2–$20.

Support
SkillSafeAgent workflow & memorySome setup

hive

aden-hive · aden-hive/hive

This agent harness provides a model-agnostic runtime for managing colonies of AI agents, enabling reliable and scalable execution of complex business processes.

Multi-Agent Harness for Production AI

11k stars5.6kLicense: Apache-2.0Updated 7 days ago0 opens

See it in action

Final agent output featuring a data chart and summarized results table

From the author's READMEFinal agent output featuring a data chart and summarized results table

1/3

From the author's README aden-hive ·Source

What you can do with it

  • Orchestrate a team of AI agents to handle customer support tickets end-to-end.
  • Develop a multi-agent system for automated data analysis and report generation.
  • Implement a robust workflow for content creation from initial idea to final publication.

Safety check

Safe

No risky patterns found in the files we scanned.

Automated scan of the repo files. Always review code you run.

From the README

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

An open-source runtime for colonies of AI agents that do real business work.

Tell a queen agent what you need. She does the first piece herself to learn what the job takes, then hands the rest to as many parallel workers as it needs. Every result lands in a shared tracker you can query, audit and resume from.

A real run. Only the typing and the waiting are sped up, and the badge says by how much. Watch the full run (MP4).

What you just watched

A growth team preparing a Show HN wants to know how five developer tools' own launches did on Hacker News. Here's what Hive did with that one message:

  1. You hand it to a queen. Queens are long-lived agents with a role (here, Head of Growth) and their own memory and tools.
  2. She asks the one question that changes the answer: every launch post, or only each product's original launch? You pick every launch, and she carries on.
  3. She proposes a colony, and you approve it. Five products means five parallel jobs, so the chat becomes a colony: the queen plus as many worker agents as the work needs.
  4. She does one herself. She takes PostHog first, works out what counts as a genuine launch post rather than a passing mention, checks the numbers against the Hacker News API, and saves the method as a reusable skill.
  5. She fans out. A playbook starts one worker per product. Each follows her skill and writes its result to the colony's tracker, a shared SQLite table.
  6. She checks every row before she answers, and fixes one. Cal.com's worker counted a post from its old name, Calendso, but that post wasn't a Show HN, Launch HN or YC launch. She clears the row, and the chart shows Cal.com as not found rather than zero.

None of this was wired up in advance. There's no workflow graph to draw: the queen shapes the colony as the work unfolds, and a tracker on disk, not a context window, keeps count of what's done and what's left.

Quick start

You'll need Python 3.11+, Node.js 20+ and git. The quickstart installs uv and ripgrep if they're missing, and offers to install Node.

And a model. The quickstart sets up any of these:

  • an API key from Anthropic, OpenAI, Google Gemini, Groq, Cerebras or OpenRouter
  • a coding subscription you already pay for: Claude Code, OpenAI Codex, Kimi Code, MiniMax, Z.AI or Antigravity
  • Hive LLM
  • a local model through Ollama, with no key at all
git clone https://github.com/aden-hive/hive.git
cd hive
./quickstart.sh          # macOS / Linux
.\quickstart.ps1         # Windows (PowerShell 5.1+)

The quickstart creates a single Python environment for the workspace, stores your API key encrypted under ~/.hive, asks which model to use, builds the dashboard and opens it at http://127.0.0.1:8787. Next time, run hive open from the repository.

[!NOTE] Hive is a uv workspace, not a pip package. pip install -e . installs a placeholder that won't run; use the quickstart.

Then type a task on the home screen and choose the queen to give it to, or open the Prompt Library and send a ready-made prompt straight to the queen it was written for.

How it works

flowchart LR
    You(["You"]) -->|"describe the outcome"| Queen["Queen(persistent agent)"]
    Queen -->|"proposes a colony,you approve"| Pilot["Pilot(one unit, done by the queen)"]
    Pilot -->|"saves the method"| Skill["Skill + playbook"]
    Skill -->|"run_worker / run_playbook"| W["Worker clonesin parallel"]
    W -->|"tracker_upsert"| T[("Trackershared SQLite")]
    T -->|"SQL: what's done,what's left"| Queen
    Queen -->|"checked answer"| You

    style Queen fill:#ffb100,stroke:#cc5d00,color:#333
    style T fill:#fff3d6,stroke:#cc5d00,color:#333
    style W fill:#ff9800,stroke:#cc5d00,color:#fff

Hive has one execution primitive: the agent loop. The queen is one, and every worker is a clone of it with its own task, a narrower set of tools and a strict budget. Orchestration is a tool call, not a compiled graph:

  • run_worker fans tasks out and returns at once, so the queen keeps talking to you while workers run. Four run at a time by default; the rest wait their turn. Each worker's report arrives in the queen's conversation as a new turn.
  • The tracker is the colony's shared state. The queen defines the table and which columns workers may write, workers upsert one row per unit of work, and the queen checks progress with SQL. It's a file on disk: ~/.hive/colonies/<name>/tracker/tracker.db.
  • run_playbook runs a proven method over every row, with retries and backoff, rate-limited lanes, and a dead-letter list for rows that keep failing. "What's left" is always a fresh query of the tracker, so re-running a playbook picks up where it stopped.

The architecture overview goes deeper: the loop, the tool surface, memory, human oversight, and how state survives a crash.

<b>Home.</b> Your queens and their colonies on one map. Describe a task and choose who takes it.
<b>Workers.</b> One per unit of work, each with its own task and budget, all reporting to the queen.


<b>Tracker.</b> Results land in a shared table as workers finish, ready to query, export or resume from.
<b>Result.</b> A checked answer with sources and a chart, right in the chat.

What's inside

Queens with a job and a memory. Hive ships thirteen persona queens. Six are active out of the box (Growth, RevOps, Content, Lead Generation, Outbound, and Brand & Design); hire the rest from the Org Chart, or create your own. Each one keeps notes in markdown memory as she works, and relevant past conversations are recalled into her context automatically.

Built-in tools that run in-process. Shell commands and background jobs, file editing, fast code search, PDFs, attachments and images, web scraping, charts (ECharts and Mermaid), CSV files,

View source on GitHub