Skip to content

Installation

RequirementVersion
Node.jsLatest LTS (v22+)
GitHub CopilotBusiness or Enterprise subscription
gh CLIOptional — for GitHub issue input
pnpmOptional — for monorepo development
Terminal window
npm install -g @copilot-swarm/core

After installation, the swarm binary is available globally:

Terminal window
swarm --version
swarm --help

Copilot Swarm uses the GitHub Copilot SDK, which requires an active Copilot subscription.

The Copilot SDK authenticates through your existing GitHub Copilot setup. If you can use Copilot in VS Code, you’re good to go.

For automation, you need a Copilot CLI token:

  1. Go to Organization SettingsDeveloper SettingsPersonal Access Tokens (Classic)
  2. Select the copilot scope (specifically copilot:cli if visible)
  3. Add the token as a repository secret named COPILOT_CLI_TOKEN
- uses: urbanisierung/copilot-swarm/action@main
env:
COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }}
with:
command: run
prompt: "Add dark mode toggle"
Terminal window
# Check version
swarm --version
# Run a simple task
swarm task "Add a hello world endpoint to the API"

The TUI dashboard should appear showing agent progress. If you see errors about authentication, ensure your Copilot subscription is active.