Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By AlexBramallv2.2.2MITIn 1 marketplace
Multi-agent collaboration plugin for Claude Code. Spawn N parallel subagents that compete on code optimization, content drafts, research approaches, or any problem that benefits from diverse solutions. Evaluate by metric or LLM judge, merge the winner. 7 slash commands, agent templates, git DAG orchestration, message board coordination.
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
AgentHub spawns N parallel agents in isolated git worktrees to compete on the same task, then evaluates results by metric or LLM judge and merges the winner. It turns any optimization, refactoring, content generation, or design problem into a tournament where the best solution wins.
# One command — full lifecycle
/hub:run --task "Reduce p50 latency" --agents 3 \
--eval "pytest bench.py --json" --metric p50_ms --direction lower \
--template optimizer
Or step by step:
# 1. Initialize a session — define the task, agent count, and evaluation criteria
/hub:init --task "Reduce API p50 latency" --agents 3 \
--eval "pytest bench.py --json" --metric p50_ms --direction lower
# 2. Spawn agents — launches 3 parallel agents in isolated worktrees
/hub:spawn --template optimizer
# 3. Check progress
/hub:status
# 4. Evaluate — rank agents by metric
/hub:eval
# 5. Merge the winner into your branch
/hub:merge
| Command | Purpose | Example |
|---|---|---|
/hub:init | Create session with task, agents, eval criteria | /hub:init --task "Optimize DB queries" --agents 4 --eval "python bench.py" --metric query_ms --direction lower |
/hub:spawn | Launch all agents in parallel worktrees | /hub:spawn (uses latest session) |
/hub:status | Show DAG state, branches, progress posts | /hub:status |
/hub:eval | Rank results by metric or LLM judge | /hub:eval --judge (LLM judge mode) |
/hub:merge | Merge winner, archive losers, cleanup | /hub:merge --agent agent-2 (force pick) |
/hub:board | Read/write the message board | /hub:board --read progress |
/hub:run | One-shot full lifecycle | /hub:run --task "Reduce latency" --agents 3 --eval "pytest bench.py" --metric p50_ms --direction lower --template optimizer |
AgentHub's most powerful pattern: N agents compete using different strategies, each running an iterative improvement loop in its own worktree.
/hub:run --task "Reduce p50 latency" --agents 3 \
--eval "pytest bench.py --json" --metric p50_ms --direction lower \
--template optimizer
Each agent follows the same loop independently:
┌─── Agent 1 (worktree) ──────────────────────────┐
│ Strategy: Caching │
│ Loop: edit → eval → keep/discard → repeat ×10 │
└─────────────────────────────────────────────────┘
┌─── Agent 2 (worktree) ──────────────────────────┐
│ Strategy: Algorithm optimization │
│ Loop: edit → eval → keep/discard → repeat ×10 │
└─────────────────────────────────────────────────┘
┌─── Agent 3 (worktree) ──────────────────────────┐
│ Strategy: I/O batching │
│ Loop: edit → eval → keep/discard → repeat ×10 │
└─────────────────────────────────────────────────┘
The optimizer template embeds the iteration loop directly in each agent's dispatch prompt — no external dependencies required.
Templates define the dispatch prompt pattern. Use --template with /hub:spawn or /hub:run:
| Template | Pattern | Use Case |
|---|---|---|
optimizer | Edit → eval → keep/discard → repeat x10 | Performance, latency, size reduction, content quality, research depth |
refactorer | Restructure → test → iterate until green | Code quality, tech debt, document restructuring |
test-writer | Write tests → measure coverage → repeat | Test coverage gaps |
bug-fixer | Reproduce → diagnose → fix → verify | Bug fix with competing approaches |
Templates live in references/agent-templates.md.
/hub:run --task "Reduce API p50 latency below 150ms" --agents 3 \
--eval "pytest bench.py --json" --metric p50_ms --direction lower \
--template optimizer
AgentHub automatically:
p50_ms = 180ms)# Example output:
# RANK AGENT METRIC DELTA FILES
# 1 agent-2 128ms -52ms 4
# 2 agent-1 145ms -35ms 2
# 3 agent-3 171ms -9ms 1
/hub:run --task "Write a 1500-word blog post on zero-downtime deployments" \
--agents 3 --judge
No eval command needed — --judge activates LLM judge mode. Each agent takes a different angle (tutorial, case study, opinion piece). The coordinator reads all three drafts and picks the winner by clarity, depth, and engagement.
npx claudepluginhub alexbramall/claude-code-skills --plugin agenthubBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground