A TUI-based agent-driven IDE that manages multiple Claude Code, Codex, Gemini, Amp and other AI agents in isolated workspaces, so you can work on multiple tasks simultaneously.
- Complete tasks in the background (including yolo / auto-accept mode)
- Manage all your agent instances and tasks in one terminal window
- Review changes before applying them, checkout changes before pushing
- Each task gets its own isolated git workspace — no conflicts
brew install ByteMirror/tap/hivemindscoop bucket add bytemirror https://github.com/ByteMirror/scoop-bucket
scoop install hivemindgo install github.com/ByteMirror/hivemind@latestcurl -fsSL https://raw.githubusercontent.com/ByteMirror/hivemind/main/install.sh | bashThis installs the hivemind binary in ~/.local/bin.
To install with a custom name (e.g. hm):
curl -fsSL https://raw.githubusercontent.com/ByteMirror/hivemind/main/install.sh | bash -s -- --name hmPre-built binaries for macOS, Linux, and Windows are available on the Releases page.
Usage:
hivemind [flags]
hivemind [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
debug Print debug information like config paths
help Help about any command
reset Reset all stored instances
version Print the version number of hivemind
Flags:
-y, --autoyes [experimental] If enabled, all instances will automatically accept prompts
-h, --help help for hivemind
-p, --program string Program to run in new instances (e.g. 'aider --model ollama_chat/gemma3:1b')
Run the application with:
hivemindNOTE: The default program is claude and we recommend using the latest version.
Using Hivemind with other AI assistants:
- For Codex: Set your API key with
export OPENAI_API_KEY=<your_key> - Launch with specific assistants:
- Codex:
hivemind -p "codex" - Aider:
hivemind -p "aider ..." - Gemini:
hivemind -p "gemini"
- Codex:
- Make this the default by modifying the config file (locate with
hivemind debug)
The menu at the bottom of the screen shows available commands:
n- Create a new sessionN- Create a new session with a promptD- Kill (delete) the selected session↑/j,↓/k- Navigate between sessions
↵/o- Attach to the selected session to repromptctrl-q- Detach from sessions- Commit and push branch to githubc- Checkout. Commits changes and pauses the sessionr- Resume a paused session?- Show help menu
tab- Switch between preview tab and diff tabq- Quit the applicationshift-↓/↑- Scroll in diff view
- tmux to create isolated terminal sessions for each agent
- git worktrees to isolate codebases so each session works on its own branch
- A TUI interface for easy navigation and management
Hivemind started as a fork of claude-squad by smtg-ai and has since been significantly rewritten and extended into an independent project.
