AgentHub: Multi-Agent Collaboration

0•

Orchestrates multiple parallel AI agents in isolated git worktrees to compete on tasks and merge the optimal solution.

AgentHub is a sophisticated multi-agent orchestration skill for Claude Code designed for high-stakes tasks where exploring multiple approaches is critical. By spawning N parallel subagents in isolated git worktrees, it enables a 'tournament-style' workflow for code optimization, refactoring, and research. The skill manages the entire lifecycle—from initialization and dispatching to ranking results via automated metrics or LLM judging—ensuring only the highest-quality code is merged. This parallel exploration significantly reduces the time required to find optimal solutions for complex engineering problems while maintaining a clean, auditable git history.

Key Features

01Centralized Message Board: A structured communication hub for tracking agent progress, status updates, and dispatching tasks.
02Predefined Agent Templates: Specialized patterns for optimization, refactoring, test-writing, and bug-fixing.
03Git-Native Workflow: Full DAG state management with automated merging of winners and archival of alternative approaches.
04Tournament Evaluation: Rank agent outputs using numeric metrics, LLM-based qualitative judging, or hybrid scoring.
05Parallel Execution: Launch N subagents simultaneously in isolated git worktrees to prevent workspace pollution.
060 GitHub stars

Use Cases

01A/B testing different performance optimization strategies to find the one with the lowest latency.
02Simultaneously exploring different bug-fix approaches to identify the most robust solution without manual context switching.
03Generating multiple architectural refactorings and using an LLM judge to select the cleanest implementation.