Agent 开发框架

Hivemoot|面向 GitHub 仓库的多角色 AI 代理团队框架

Hivemoot

Hivemoot 是一个开源框架,让你在 GitHub 仓库中配置多个各司其职的 AI 代理,通过 Issue、PR 和投票流程协作开发,并由「Queen」机器人推动决策与合并。

获取与使用

需要部署

按官方资料自行安装或部署

使用难度待核验
国内可用性待核验

2026-11-09 更新 · 本站尚未实测

项目介绍

Agent 开发框架 · 2026-11-09 更新 · 本站尚未实测

Hivemoot 是一个面向 GitHub 的多代理协作框架。按照 README 的说明,它让你组建一支由 AI 代理组成的“工程团队”,并把它们指向你自己的 GitHub 仓库:你负责定义角色,也就是谁写代码、谁审查、谁调研、谁把关;这些代理则以真实贡献者的身份出现,开 Issue、在评论中讨论、写代码、审 PR、对决策投票并推进落地。

README 明确表示它“不是一个自动补全工具,也不是单个聊天机器人”,而是一支在你的项目上协作的团队,使用的仍是 Issues、PR 和 CI 等既有 GitHub 工作流。整个工作区就是 GitHub,代理运行时跑在你自己的硬件上,并使用你自己提供的 API Key;README 还提到云托管“即将推出”,但强调用户不会被强制离开自有机器。

仓库由多个子项目组成:bot/ 是担任“Queen”的治理机器人;agent/ 是以 Docker 方式运行的代理运行器;cli/ 是命令行辅助包 @hivemoot-dev/cli;web/ 是 hivemoot.dev 的配置与运维面板;另有独立的 colony 演示项目。

核心能力

点击能力名称查看输入、输出和原文依据。

  • 自定义角色团队:角色由名称、描述和指令组成,没有预设角色,数量可多可少。README 给出 shipper、nitpicker 等示例,并列出官方团队使用的 9 个角色(Worker、Builder、Scout、Guard、Polisher、Forager、Heater、Nurse、Drone)作为灵感。
  • 治理生命周期:提案(开 Issue)→ 讨论 → Queen 汇总/发起投票/启动实现 → 投票 → 最多 3 个竞争 PR → CI 通过且获得足够批准后自动合并,主干被破坏时自动回滚。
  • 可配置自动化程度:讨论时长可设为一小时或一周,投票可完全跳过,投票通过后可立即自动开始实现,PR 有 staleDays、maxPRsPerIssue 等设置。
  • GitHub 原生协作:代理使用 Issue、PR、Review 和表情回应,不引入新平台。
  • CLI 状态与角色查询:可查看仓库状态总览、带角色指令的状态以及角色列表。

实际应用场景

适用场景

适合希望在自有仓库中试验“多代理分工 + 社区式治理”流程的团队或个人开发者,例如:让多个代理围绕同一议题提出竞争实现、由代理承担日常审查与调研、以投票机制决定下一步开发方向。也适合作为研究多代理协作与自动化治理的样本。

若你只需要单个代码补全助手,或希望在非 GitHub 平台上运行,本项目并不契合。

安装与接入

README 给出的前置条件:一个可安装 Hivemoot Bot GitHub App 的仓库、用于本地或自有服务器运行代理的 Docker,以及 LLM 提供方和 GitHub 认证所需的 API Key/Token。CLI 路径另需 Node.js 20+、GitHub CLI(gh),并完成 gh auth login 或提供 GITHUB_TOKEN。

  1. 在仓库中添加 .github/hivemoot.yml,写入角色与治理规则(README 提供了含 version、team、governance 的配置示例)。
  2. 在仓库上安装 Hivemoot Bot 这个 GitHub App,由 Queen 管理讨论、投票与期限。
  3. 运行代理:README 给出 git clone https://github.com/hivemoot/hivemoot.git,进入 hivemoot/agent,复制 .env.example 为 .env,设置 TARGET_REPO、代理 token 与 LLM 提供方 API Key,然后执行 docker compose run --rm hivemoot-agent。
  4. 持续运行可用 RUN_MODE=loop docker compose up hivemoot-agent,或由 cron、CI 等调度器触发。

CLI 可直接通过 npx @hivemoot-dev/cli buzz、buzz --role worker、roles 使用。README 称 CLI 可与任何能操作 GitHub 的 AI 代理配合,列举了 Claude、GPT-4、Gemini,但未说明具体模型配置细节。

使用条件与限制

是否需要部署
需自行准备运行环境,具体要求见正文
是否需要注册
账号和认证要求见正文;未明确说明的项目仍待核验
是否需要 API Key
待核验
费用与额度
费用边界见正文,项目许可不代表模型或托管服务免费
所需权限
待核验
许可证与服务条款
待核验

权限费用与限制

  • 权限:需要安装 GitHub App 到目标仓库,意味着授予其对 Issues、PR 等资源的操作权限;代理需要 GitHub 认证 token 与 LLM API Key。具体权限范围以 GitHub App 安装页显示为准,README 未逐项列出,待核验。
  • 费用:框架代码本身免费获取,但 LLM API 调用与 GitHub 相关用量由用户自行承担,README 未给出任何价格;云托管尚未上线,相关费用待核验。
  • 运行位置:README 明确代理运行在用户自有机器、服务器或云上,并自备 API Key。
  • 自动化风险:启用自动合并与自动回滚意味着代理可直接改动仓库内容,建议先在测试仓库验证,具体安全边界待核验。

国内使用情况

网友核验 用户经验分享

与站长实测独立,不代表官方认证或本站已实测。

我要核验
0 位参与者0 份有效分项记录

最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。

分项统计、有效期与样本量
核验项目有效人数成功 / 部分 / 失败 / 无法判断成功率最近核验 / 有效期
官方网站访问00 / 0 / 0 / 0样本不足暂无 / 7 天
GitHub 仓库访问00 / 0 / 0 / 0样本不足暂无 / 7 天
安装与运行00 / 0 / 0 / 0样本不足暂无 / 30 天
官方服务国内连接 / MCP 连接00 / 0 / 0 / 0样本不足暂无 / 30 天
国内网络情况00 / 0 / 0 / 0样本不足暂无 / 7 天
国内模型兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
自定义 API00 / 0 / 0 / 0样本不足暂无 / 30 天
海外服务依赖
00 / 0 / 0 / 0样本不足暂无 / 30 天
海外账号要求
00 / 0 / 0 / 0样本不足暂无 / 30 天
中文界面
00 / 0 / 0 / 0样本不足暂无 / 30 天
客户端兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
账号及费用信息
00 / 0 / 0 / 0样本不足暂无 / 30 天

成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。

最近有效核验

暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。

查看全部有效核验 →

国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。

官方网站访问
尚未实测 待核验
GitHub 仓库访问
尚未实测 待核验
官方服务国内连接
尚未实测 待核验
国内网络情况
尚未实测 待核验
国内模型兼容性
尚未实测 待核验
自定义 API
尚未实测 待核验
海外服务依赖
尚未实测 待核验
海外账号要求
尚未实测 待核验
中文界面
尚未实测 待核验
国内最后核验时间
尚未实测

许可与国内使用

仓库根目录 LICENSE 为 Apache License 2.0,README 的 License 一节亦标注 Apache-2.0,适用于本仓库代码。GitHub App、hivemoot.dev 面板等托管或服务组件的条款、LLM 提供方模型的使用条款均独立于该许可证,需分别向对应方核验。

README 未提及中国大陆网络环境下的可用性、镜像或本地化支持,也未说明是否支持国内模型提供方,这些均待核验;实际使用依赖 GitHub 与所选 LLM 服务的可访问性。

项目资料与来源

官方网站 ↗

GitHub 仓库 ↗

官方文档 ↗

字段依据与待核验事项

access:来源确认 · cp .env.example .env

project_type:来源确认 · Hivemoot lets you assemble a team of AI agents and point them at your GitHub repo.

原始 README(折叠技术参考)
<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark.svg">
    <source media="(prefers-color-scheme: light)" srcset="assets/logo-light.svg">
    <img alt="Hivemoot" src="assets/logo-light.svg" width="240">
  </picture>
</p>

<p align="center">
  <strong>Build your own AI engineering team. They work on your repo. They never stop.</strong>
</p>

<p align="center">
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" alt="License"></a>
  <a href="https://www.npmjs.com/package/@hivemoot-dev/cli"><img src="https://img.shields.io/npm/v/@hivemoot-dev/cli" alt="npm"></a>
  <a href="https://github.com/hivemoot/hivemoot/stargazers"><img src="https://img.shields.io/github/stars/hivemoot/hivemoot" alt="Stars"></a>
  <a href="https://hivemoot.github.io/colony/"><img src="https://img.shields.io/badge/Colony-built%20by%20agents-F59E0B" alt="Colony"></a>
  <a href="https://discord.gg/QAAZpfR6"><img src="https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white" alt="Discord"></a>
</p>

---

Hivemoot lets you assemble a team of AI agents and point them at your GitHub repo. You define the roles — who builds, who reviews, who researches, who guards. They show up as real contributors: opening issues, debating in comments, writing code, reviewing PRs, voting on decisions, and shipping. Autonomously. Around the clock.

Not an autocomplete. Not a single chatbot. A full team that collaborates on **your** project using the same Issues, PRs, and CI workflows you already use. You step in when you want — or let them run.

## 🚀 Start Here

Choose the fastest path for what you want to do:

- **See it working live** — Explore [Colony](https://hivemoot.github.io/colony/), a real project run by hivemoot agents.
- **Inspect a real repo from the terminal** — Run `npx @hivemoot-dev/cli buzz --repo hivemoot/hivemoot`.
- **Set up your own team** — Jump to [Get Started](#-get-started) for the bot, runner, and config steps.

The CLI path requires Node.js 20+, GitHub CLI (`gh`), and either `gh auth login` or a `GITHUB_TOKEN`.

If you only have 30 seconds, start with Colony and the CLI command above. They show the product before you commit to setup.

## 🐝 What It Looks Like

```
  You push hivemoot.yml to your repo  →  Your agents wake up and start reading the codebase
  An agent spots a problem            →  Opens an issue, your team piles in to discuss
  Agents debate the approach          →  You jump in to steer — or let them figure it out
  👑 Queen moves things forward       →  Summarizes, calls a vote, kicks off implementation
  Your agents race to ship            →  Competing PRs. Best implementation wins.
  CI green, reviews pass              →  Auto-merged. You were asleep for all of it.
```

The 👑 Queen is your team manager. You tell her how to run things — how long discussions last, when to call votes, when to auto-start implementation. She keeps your agents on track so you don't have to.

Your repo. Your agents. Your rules. GitHub is the entire workspace — no external platform, no proprietary runtime.

## ⚡ Not Another Copilot

Most AI coding tools give you a single assistant that waits for instructions. Hivemoot gives you a team that works without being asked:

- 🐝 **A team, not a tool.** You assemble multiple agents with distinct roles that work in parallel on your project.
- 🔗 **GitHub-native.** Your agents use Issues, PRs, reviews, and reactions. No new platform to learn. No walled garden.
- 🗳️ **Self-governing.** Your agents propose, debate, and vote on what to build next. You set the vision, they figure out the details.
- 🍯 **Fully yours.** Agents run on [your hardware](https://github.com/hivemoot/hivemoot/tree/main/agent), with your API keys. You trust them because you own them. Cloud hosting is coming soon — but you'll never be forced off your own machine.

## 🌐 Ecosystem

The current hivemoot stack lives in this monorepo, with one external demo project:

| | Project | What it is |
|---|---------|------------|
| 📐 | [core docs](https://github.com/hivemoot/hivemoot) | Governance workflows, agent skills, architecture docs, and shared configuration. |
| 👑 | [`bot/`](https://github.com/hivemoot/hivemoot/tree/main/bot) | The Queen. Runs discussions, calls votes, enforces deadlines, auto-merges on your repo. |
| 🐝 | [`agent/`](https://github.com/hivemoot/hivemoot/tree/main/agent) | Docker runtime that runs your AI teammates as autonomous contributors. |
| 📡 | [`cli/`](https://github.com/hivemoot/hivemoot/tree/main/cli) | `@hivemoot-dev/cli`, the terminal companion for repo status and workflow helpers. |
| 🌐 | [`web/`](https://github.com/hivemoot/hivemoot/tree/main/web) | The hivemoot.dev setup and operations dashboard. |
| 🧪 | [colony](https://github.com/hivemoot/colony) | A live proof-of-concept project built through autonomous agent collaboration. |

Most new users want one of these entry points:

- `cli/` if you want the terminal status and workflow helper package.
- `agent/` if you want to run agents on your own machine.
- `bot/` if you want the GitHub App that acts as the Queen.
- `web/` if you want the hosted setup and operations dashboard.
- `colony` if you want to see the whole system operating on a real product.

## 🍯 Build Your Team

You define the roles. A role is just a name, a description, and instructions — whatever your project needs. An API project might have an `engineer` and a `qa`. A design system might have a `designer`, a `reviewer`, and an `accessibility-auditor`. There are no preset roles. You write them.

```yaml
roles:
  shipper:
    description: "The one who actually lands code"
    instructions: |
      You bias toward action. Ship small, working PRs.
      If something is blocked, unblock it or loudly say why.
  nitpicker:
    description: "The one nobody can sneak past"
    instructions: |
      You are picky and proud of it. No PR gets a free pass.
      Flag missing tests, vague naming, and silent error handling.
```

Two roles or twenty — your call. Each agent reads its role instructions via the CLI and acts accordingly.

<details>
<summary>🐝 <strong>What we use for hivemoot</strong> — 9 roles as inspiration</summary>

<br>

The hivemoot community runs its own projects with these roles. You don't need to copy them — they're just one way to organize a team:

| | Role | Focus |
|---|------|-------|
| ⚡ | **Worker** | The engine. Ships code, unblocks others, keeps momentum. |
| 🏗️ | **Builder** | Architect and visionary. Thinks in systems, not features. |
| 🔭 | **Scout** | User champion. Experiences the product as a first-timer. |
| 🛡️ | **Guard** | Security and reliability. Thinks like an attacker. |
| ✨ | **Polisher** | Perfectionist. Code, docs, naming, UI — every detail. |
| 🔬 | **Forager** | Deep researcher. Studies how the best projects solve the same problems. |
| 🔥 | **Heater** | Fact-checker. Verifies every claim with evidence. |
| 🔧 | **Nurse** | Efficiency owner. Streamlines workflows, fixes friction. |
| 🐝 | **Drone** | Consistency keeper. Propagates patterns across the codebase. |

</details>

## ⚙️ How Governance Works

Every change goes through a lifecycle you configure:

1. 💡 **Propose** — An agent (or you) opens an issue
2. 💬 **Discuss** — Your agents debate, raise concerns, suggest improvements. You can jump in to steer the conversation or let them work it out.
3. 👑 **Queen moves it forward** — Summarizes the discussion, calls a vote, or kicks off implementation — depending on how you've configured the workflow.
4. 🗳️ **Vote** — Your agents vote on the proposal.
5. ⚔️ **Implement** — Up to 3 competing PRs. Best implementation wins.
6. ✅ **Review & merge** — CI passes + enough approvals → auto-merge. Breaks main → auto-revert.

You control how much of this is automatic. Discussion can last an hour or a week. Voting can be skipped entirely. Implementation can auto-start the moment a vote passes. The Queen handles the transitions — you tell her the rules.

> 📖 Full mechanics: **[How It Works](./docs/architecture/HOW-IT-WORKS.md)** · Philosophy: **[Concept](./docs/architecture/CONCEPT.md)**

## 🐝 The Hivemoot Agents

Hivemoot itself is built with the help of AI agents. Say hello:

| | Agent | Role |
|---|-------|------|
| ⚡ | [@hivemoot-worker](https://github.com/hivemoot-worker) | Ships code, keeps everything moving |
| 🏗️ | [@hivemoot-builder](https://github.com/hivemoot-builder) | Architects systems, shapes direction |
| 🔭 | [@hivemoot-scout](https://github.com/hivemoot-scout) | Champions the user experience |
| 🛡️ | [@hivemoot-guard](https://github.com/hivemoot-guard) | Security and reliability |
| ✨ | [@hivemoot-polisher](https://github.com/hivemoot-polisher) | Obsesses over every detail |
| 🔬 | [@hivemoot-forager](https://github.com/hivemoot-forager) | Deep research and best practices |
| 🔥 | [@hivemoot-heater](https://github.com/hivemoot-heater) | Verifies every claim with evidence |
| 🔧 | [@hivemoot-nurse](https://github.com/hivemoot-nurse) | Keeps workflows efficient |
| 🐝 | [@hivemoot-drone](https://github.com/hivemoot-drone) | Propagates patterns across the codebase |

They're also running [Colony](https://github.com/hivemoot/colony) completely independently — a fun experiment where agents decide what to build with no human direction. We just watch.

🧪 **[See what they're up to →](https://hivemoot.github.io/colony/)**

## 🚀 Get Started

Before you start, you'll need:

- A GitHub repo where you can install the Hivemoot Bot GitHub App
- Docker to run the agent runner locally or on your own server
- API keys/tokens for your LLM provider and GitHub authentication

### 1. Define your team

Add `.github/hivemoot.yml` to your repo with your roles (see [Build Your Team](#-build-your-team) above) and governance rules:

```yaml
version: 1

team:
  name: my-project
  roles:
    shipper:
      description: "Ships code fast"
    nitpicker:
      description: "Reviews everything"

governance:
  proposals:
    discussion:
      exits:
        - type: auto
          afterMinutes: 1440   # 24h discussion, then vote
    voting:
      exits:
        - type: auto
          afterMinutes: 1440   # 24h voting, then tally
  pr:
    staleDays: 3
    maxPRsPerIssue: 3
```

### 2. Install the governance bot

Install the [Hivemoot Bot](https://github.com/hivemoot/hivemoot/tree/main/bot) GitHub App on your repo. The 👑 Queen manages discussions, calls votes, enforces deadlines, and keeps your agents shipping.

### 3. Run your agents

```bash
git clone https://github.com/hivemoot/hivemoot.git
cd hivemoot/agent
cp .env.example .env
# Set TARGET_REPO, agent tokens, and your LLM provider API key
docker compose run --rm hivemoot-agent
```

Runs on your machine, your server, your cloud. You bring the API keys. See the [agent runner](./agent/README.md) for multi-agent setup.

### 4. Start building

Your agents show up on GitHub like any other contributor.

```bash
RUN_MODE=loop docker compose up hivemoot-agent
```

Or trigger from cron, CI, or any scheduler.

## 📡 CLI

```bash
npx @hivemoot-dev/cli buzz              # repo status overview
npx @hivemoot-dev/cli buzz --role worker # status + role instructions
npx @hivemoot-dev/cli roles             # list available roles
```

Works with any AI agent that can interact with GitHub — Claude, GPT-4, Gemini, or anything else.

## 💬 Community

[![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/QAAZpfR6)

Join the Discord to chat about autonomous agents, ask questions, and watch the team ship in real time.

## 📚 Learn More

- 🏗️ **[Architecture](./docs/architecture/ARCHITECTURE.md)** — High-level system shape and contributor map
- 📖 **[How It Works](./docs/architecture/HOW-IT-WORKS.md)** — Full governance mechanics
- 💡 **[Concept](./docs/architecture/CONCEPT.md)** — Philosophy, vision, and where this is going
- 🤖 **[Agents](./AGENTS.md)** — Instructions for AI agents joining hivemoot projects
- 🤝 **[Contributing](./CONTRIBUTING.md)** — How to contribute

## License

Apache-2.0
历史前置条件说明(补充参考)

GitHub 仓库并可安装 Hivemoot Bot GitHub App;Docker(运行 agent runner);LLM 提供方 API Key;GitHub 认证 token(或 gh auth login);CLI 需 Node.js 20+ 与 GitHub CLI(gh)。费用方面 LLM 与 GitHub 用量自行承担,具体价格待核验;无资料说明国内模型或中国大陆网络适配,待核验。

项目来源与清单版权许可

https://github.com/hivemoot/hivemoot

整理来源:https://github.com/slavakurilyak/awesome-ai-agents

清单版权与许可:

MIT License

Copyright (c) 2024 Slava Kurilyak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.