agenthub

Coordinate multiple AI agents in isolated git worktrees and merge the best result.

Updated Nov 28, 2025
One-click install
npx skills add https://github.com/moshesham/Economic-Dashboard-API --skill agenthub-moshesham
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agenthub
Source: https://github.com/moshesham/Economic-Dashboard-API/tree/main/.github/skills/agenthub
Command: npx skills add https://github.com/moshesham/Economic-Dashboard-API --skill agenthub-moshesham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AgentHub provides a framework to run multiple AI agents in parallel, each operating in an isolated git worktree, so you can compare approaches and select the best result.

Core Features & Use Cases

  • Parallel agent execution in isolated worktrees
  • Central coordinator with metric or LLM-based evaluation and a final merge of the winner
  • Use cases include code optimization, research exploration, and content variation

Quick Start

Initialize a session with /hub:init, then spawn agents with /hub:spawn and follow the workflow to monitor, evaluate, and merge the winner with /hub:merge.

Frequently Asked Questions about agenthub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run parallel AI agents in isolated git worktrees to compare results?

You can run parallel AI agents in isolated git worktrees by using a coordinator workflow to spawn agents, evaluate their outputs, and merge the winner. This requires a git repository with worktree support.

What is multi-agent parallel execution and when do I need it for code optimization?

Multi-agent parallel execution is a technique where multiple AI agents compete on a single task within isolated worktrees. You need it for code optimization, creative variation, or research exploration when parallel experimentation accelerates discovery.

How do I evaluate and merge the best output from multiple competing agents?

You evaluate and merge the best agent output by using a central coordinator that applies metric or LLM-based evaluation to rank the parallel results. After identifying the winner, the coordinator executes a final merge into the repository.

Do I need a specific git repository setup to run parallel agents in worktrees?

Yes, you need a git repository with worktree support to run parallel agents. The worktrees provide the isolated environments required for each agent to experiment independently before the coordinator evaluates and merges the winning result.

What is the best way to automate research exploration using multiple AI agents?

The best way to automate research exploration with multiple AI agents is to use a coordinator workflow that spawns agents in parallel isolated worktrees, ranks their outputs through metric or LLM-based evaluation, and merges the top result.

Can I use LLM-based evaluation to rank parallel agent outputs before merging?

Yes, you can use LLM-based evaluation to rank parallel agent outputs. The central coordinator supports both metric and LLM-based evaluation methods to identify the best result before executing the final merge.