AgentHub: Multi-Agent Collaboration

0•

Spawns parallel AI agents in isolated git worktrees to compete on tasks and merges the optimal solution based on performance metrics or LLM evaluation.

AgentHub is a sophisticated multi-agent orchestration framework for Claude Code that enables tournament-style problem-solving by launching multiple subagents in parallel. By utilizing git worktree isolation, it allows for the simultaneous exploration of different code optimizations, refactorings, or content strategies without workspace pollution or branch conflicts. The coordinator manages a standardized session lifecycle—including dispatch, monitoring, and ranking—using a local file-based message board for asynchronous communication, ensuring the best possible solution is integrated into the main branch while preserving all experimental attempts in a permanent git DAG.

Key Features

01Asynchronous communication via a file-based markdown message board
02Automated session lifecycle management from initialization to final merge
03Parallel execution of N subagents using isolated git worktrees
04Predefined agent templates for optimization, refactoring, and bug fixing
05Standardized evaluation via numeric metrics or LLM-based judging
060 GitHub stars

Use Cases

01Automating competitive bug-fixing or test-coverage improvements in parallel
02Comparing multiple algorithmic approaches to find the lowest latency solution
03Generating and A/B testing diverse content variations or documentation drafts