Skip to content
Hive

Hive

Hive manages isolated git sessions for running AI agents in parallel. Instead of manually managing git worktrees or directories, hive handles cloning, recycling, and spawning terminal sessions with your preferred AI tool (Claude, Aider, Codex). Each session is a complete git clone with its own terminal environment, tracked through a lifecycle (active → recycled → deleted) and reusable to save time and disk space.

Key Features

  • Session Management


    Create, recycle, and prune isolated git clones

  • Terminal Integration


    Real-time status monitoring of AI agents in tmux (works out of the box)

  • Inter-agent Messaging


    Pub/sub communication between sessions

  • Context Sharing


    Shared storage per repository via .hive symlinks

  • Custom Keybindings


    Bind keys to user-defined or system commands

  • Command Palette


    Vim-style command palette for custom commands (: key)

Installation

brew install colonyops/tap/hive

Or install directly with Go:

go install github.com/colonyops/hive@latest

Pre-built binaries are also available on the GitHub Releases page.

Claude Code Plugin

Hive provides a Claude Code plugin for inter-agent messaging, session management, and workflow coordination. Install it with:

claude plugin add github:colonyops/hive/claude-plugin/hive

Status Indicators

The TUI shows real-time agent status:

Indicator Color Meaning
[●] Green (animated) Agent actively working
[!] Yellow Agent needs approval/permission
[>] Cyan Agent ready for input
[?] Dim Terminal session not found
[○] Gray Session recycled

Next Steps


LLM-friendly: llms.txt | llms-full.txt