HivePilot is a YAML-driven orchestrator that runs a company of role-bound AI agents through a software-delivery pipeline against one or many repositories. It dispatches coding-agent CLIs (Claude Code, Vibe and OpenRouter built-ins, plus Codex, Cursor and a range of PATH-gated agent plugins) and shell/LangChain runners, in CLI or API mode, from a single config-driven engine β with code review and PRs, an optional adjudicated debate that gates PR promotion, an opt-in auto-learning loop, remote control, and a plugin system.
- Runs a configurable pipeline of role-bound agents (e.g. CEO β CTO β Developer β Reviewer β CISO β QA β Documentation) against a repo; each role resolves to a runner + model, overridable per project.
- Multi-runner: built-in agent kinds
claude,vibe,openrouter(API-only); PATH-gated plugin agents (codex, cursor, gemini, opencode, ollama, pi, qwen-code, kimi-cli, antigravity); plus shell/LangChain/LangGraph/CrewAI engines. Each CLI runner can flip to API mode per YAML. - Code review + Git/GitHub automation: branch/commit/push, PR create/draft/promote/merge,
ghissue/release. - Opt-in adjudicated debate: dual-model positions produce an ADR, with an optional independent LLM judge + challenge arbiter that fail-closed gates PR promotion (blocks
promote_pr/merge_pron any absent, low-confidence, or non-approval verdict). - Opt-in auto-learning lessons loop: distills a run's verdicts/outcomes into candidate lessons, validates each against the run's real outcome (never an LLM self-report), and injects only validated lessons into future runs.
- Pollen dashboard: a TUI and a web dashboard (approve/deny, launch async runs, stop/cancel, toggle plugins), reading the SQLite state store tenant-scoped.
- Remote control via Telegram bot, Slack/Discord, and an HTTP API (
hivepilot api serve). - Plugin system: contribute runners, notifiers, lifecycle hooks, secrets backends, dashboard panels, and skills; loaded from installed packages or local files, fail-closed trust (no network fetch of plugin code).
- Infrastructure runners (terraform / opentofu / pulumi, kubectl) with destructive-op auto-gating, plus drift detection with scheduled scans and gated auto-remediation.
Install the package:
pip install hivepilotOptional extras:
pip install "hivepilot[full]" # langchain + torch
pip install "hivepilot[notifications]" # Telegram
pip install "hivepilot[langchain]" # langchain onlyCheck your environment and available agent binaries:
hivepilot doctorScaffold a workspace:
hivepilot initPreview a pipeline before running anything for real (no agent calls are made):
hivepilot run-pipeline <project> <pipeline> --simulaterun-pipeline also defaults to --dry-run, so a plain run is safe to try without --simulate. For a guided, menu-driven session instead of raw commands:
hivepilot interactive| Doc | Purpose |
|---|---|
| docs/GETTING-STARTED.md | Install, doctor, first pipeline, approval walkthrough |
| docs/ARCHITECTURE.md | How the orchestrator, config, runners, and state fit together |
| docs/CONFIGURATION.md | The YAML config files and environment variables |
| docs/CLI-REFERENCE.md | Every command |
| docs/PIPELINES-AND-ROLES.md | The agent "company", roles, pipeline stages, groups/multi-repo |
| docs/RUNNERS.md | Agent runners (Claude/Codex/β¦), CLI vs API mode, IaC (terraform/pulumi) and kubectl runners |
| docs/PLUGINS.md | The plugin system (runners/notifiers/hooks/secrets/panels/skills) |
| docs/SKILLS.md | Plugin-contributed skills |
| docs/DEBATE-AND-LESSONS.md | Dual-model debate + judge/arbiter PR gate, and the auto-learning lessons loop |
| docs/AUTOPILOT.md | Guarded objective queue + fail-closed autonomous dispatch gate |
| docs/PARTITIONS.md | Propose -> ratify -> dispatch: partition one work item into N budgeted tasks, ratify it in the browser with a separate outward-action consent, dispatch in parallel with a durable journal |
| docs/SECURITY.md | Approval gates, secrets masking, CVE gate, fail-closed model |
| docs/INTEGRATIONS.md | Telegram/Slack/Discord/Notion/Linear/Obsidian/Caddy/n8n/SSH remote agents |
| docs/DASHBOARD.md | Pollen dashboard (TUI + web) |
| docs/DEPLOYMENT.md | Production deployment, Kubernetes, multi-tenant, observability |
| docs/DEPLOY-PRODUCTION.md | Fresh-Alpine β production runbook (Docker/Podman Compose or bare-metal + OpenRC) |
--simulatepreviews a pipeline with no real agent calls;run-pipelinealso defaults to--dry-run.- Three-tier approval gates: policy-level, stage-level (
pause_before), and step-level (require_approval), plus automatic gating of destructive operations. - Prompt-injection validation on agent inputs.
- Secrets are masked in every sink (logs, notifications, state store);
${secret:NAME}references resolve lazily and fail closed by default. - The debate judge/arbiter PR gate is opt-in and fail-closed: it blocks PR promotion on any absent, low-confidence, or non-approval verdict.
- The core install stays lightweight β langchain, torch, and boto3 are optional extras, not defaults.
See docs/SECURITY.md for details.
HivePilot is v0.2.0, requires Python >=3.10. See LICENSE.