Multi-agent AI orchestration with 24 specialists across Development, Security, Infrastructure, and QA. HEAD_CODEX routes your request, Claude executes agent work, and every task passes quality gates before shipping a report.
- 24 agents / 4 teams with clear roles (architecture → security → infra → QA).
- Codex as orchestrator, Claude as executor; pluggable engines via
config/engines.yaml. -,Quality gates (design, security, code, test, deploy) gate every run. - Terminal-first experience with a minimal TUI and keyboard shortcuts.
- Stateless, MCP-disabled Claude invocations by default to avoid hangs; override via env.
git clone https://github.com/Nerds489/HIVEMIND.git
cd HIVEMIND
./install.sh
hivemindAuthenticate CLIs if prompted:
codex login --device-auth # or set OPENAI_API_KEY
claude setup-token # or set ANTHROPIC_API_KEY| Command | Purpose |
|---|---|
/hivemind [task] |
Full multi-agent orchestration |
/dev [task], /sec [task], /infra [task], /qa [task] |
Route to a team |
/architect, /pentest, /sre, /reviewer |
Direct to a single expert |
/status |
System status |
/recall [query] |
Query session memory |
/note <msg> |
Inject live notes while agents work |
| Key | Action |
|---|---|
Enter |
Send quick message |
C |
Full chat view |
M |
Main view |
Ctrl+O |
Agent log |
Ctrl+C |
Cancel task |
Ctrl+Enter |
Send in chat |
Ctrl+L |
Clear history |
Esc |
Back |
Q |
Quit |
Input: Build a REST API with JWT auth and deploy to Kubernetes
[DEV-001] Designing architecture
[SEC-001] Threat modeling auth
[DEV-002] Building endpoints
[DEV-004] Reviewing code
[QA-002] Writing tests
[QA-003] Load testing
[INF-001] K8s architecture
[INF-005] Configuring deploy
[INF-006] Writing Helm charts
Gates: G1 DESIGN ✓ G2 SECURITY ✓ G3 CODE ✓ G4 TEST ✓ G5 DEPLOY ✓
Report: REST API + JWT + K8s manifests + CI/CD + 0 critical vulns + load tested
DEV-001Architect · patterns, APIs, microservicesDEV-002Backend · APIs, servers, databasesDEV-003Frontend · UI/UX, React/Vue/TSDEV-004Code Reviewer · quality, PRsDEV-005Technical Writer · docs, guidesDEV-006DevOps Liaison · CI/CD, pipelines
SEC-001Security Architect · threat modelingSEC-002Penetration Tester · vulns, OWASPSEC-003Malware Analyst · reverse engineeringSEC-004Wireless Security · WiFi/Bluetooth/IoTSEC-005Compliance Auditor · SOC2/GDPR/PCISEC-006Incident Responder · forensics, response
INF-001Infra Architect · AWS/GCP/AzureINF-002Systems Administrator · Linux/WindowsINF-003Network Engineer · DNS, routing, firewallsINF-004Database Administrator · SQL/NoSQLINF-005Site Reliability Engineer · K8s, monitoring, SLOsINF-006Automation Engineer · Terraform, Ansible
QA-001QA Architect · strategy, coverageQA-002Test Automation · Selenium/Cypress/pytestQA-003Performance Tester · k6/JMeterQA-004Security Tester · DAST/SASTQA-005Manual QA · UAT/regressionQA-006Test Data Manager · fixtures, seeding
| Requirement | Version |
|---|---|
| Python | 3.11+ |
| Node.js | 18+ |
| Codex CLI | npm i -g @openai/codex |
| Claude CLI | npm i -g @anthropic-ai/claude-code |
Commands:
./install.sh # install dependencies
hivemind # launch TUI
./uninstall.sh # remove- Env vars (common):
export OPENAI_API_KEY="sk-..." export ANTHROPIC_API_KEY="sk-ant-..." export HIVEMIND_THEME="cyberpunk-matrix" # CLI stability toggles (defaults shown) export HIVEMIND_DISABLE_CLAUDE_MCP=1 export HIVEMIND_CLAUDE_STATELESS=1 export HIVEMIND_CLAUDE_FLAGS="" # additive-only extra flags
- Key files:
config/ ├─ hivemind.yaml # main settings ├─ agents.json # agent registry ├─ routing.json # keyword routing └─ engines.yaml # engine selection
HIVEMIND/
├─ agents/ # Agent definitions (24)
├─ comms/ # Inter-agent protocols
├─ config/ # System configuration
├─ core/ # Orchestrator logic
├─ memory/ # Persistent memory
├─ protocols/ # Quality gates
├─ runtime/ # Controllers
├─ teams/ # Team configurations
├─ templates/ # Output templates
├─ tests/ # Test suite
├─ tui/ # Terminal UI
├─ workflows/ # Process playbooks
└─ hivemind # Launcher script
- CLI won’t respond / hangs: ensure MCP is disabled and sessions are stateless (defaults above). Clear stuck processes with
pkill -f "claude --print". - Auth failures: run
codex login --device-author setOPENAI_API_KEY; runclaude setup-tokenor setANTHROPIC_API_KEY. - Routing feels off: check
config/routing.jsonkeywords and restart.
MIT License — see LICENSE