The copilot provider dispatches tasks to GitHub Copilot using the Agent Client Protocol (ACP) over stdio. The Bridge spawns the @github/copilot CLI with the task prompt, streams output via ACP events, and writes structured output files on completion.
Provider name: copilot
Copilot requires a GitHub fine-grained Personal Access Token (PAT) with the Copilot Requests permission.
Important: The
Copilot Requestspermission is only available on personal account fine-grained PATs — it is not available on organisation tokens.
- Go to https://github.com/settings/personal-access-tokens/new
- Set an expiration date
- Under Permissions → Repository permissions, enable Copilot Requests (read & write)
- Click Generate token and copy it
COPILOT_GITHUB_TOKEN=github_pat_...npm install -g @github/copilot
copilot loginThis stores an OAuth session in your local config. Once logged in you can omit COPILOT_GITHUB_TOKEN — the CLI picks up the cached session automatically.
Linux / macOS
npm install -g @github/copilot
# verify
copilot --versionWindows (PowerShell)
npm install -g @github/copilot
copilot --version| Variable | Required | Default | Description |
|---|---|---|---|
COPILOT_GITHUB_TOKEN |
if no CLI login | — | GitHub fine-grained PAT with Copilot Requests permission |
COPILOT_TIMEOUT_MINUTES |
no | 10 |
Hard timeout per task |
AGENTS_FOLDER |
no | ~ |
Root directory where agent workspace folders are created |
Linux / macOS — PAT token
PAIRING_TOKEN=your_pairing_token \
PROVIDERS=copilot \
COPILOT_GITHUB_TOKEN=github_pat_... \
./ctrlnode-bridge-linux-x64Linux / macOS — CLI login
# Login once interactively
copilot login
# Then run the Bridge
PAIRING_TOKEN=your_pairing_token \
PROVIDERS=copilot \
./ctrlnode-bridge-linux-x64Windows (PowerShell)
$env:PAIRING_TOKEN = "your_pairing_token"
$env:PROVIDERS = "copilot"
$env:COPILOT_GITHUB_TOKEN = "github_pat_..."
.\ctrlnode-bridge.exe.env file
PAIRING_TOKEN=your_pairing_token
PROVIDERS=copilot
COPILOT_GITHUB_TOKEN=github_pat_...
AGENTS_FOLDER=/home/ubuntu- When a task is dispatched to a Copilot agent, the Bridge spawns the
@github/copilotCLI as an ACP subprocess. - The agent's configured description (instructions) is prepended to the task prompt so Copilot acts according to its role.
- ACP events are forwarded to CTRL NODE in real time.
- On completion the Bridge writes an output markdown file and reports the final status.
Note: The Copilot ACP provider does not maintain persistent sessions across tasks — each dispatch opens a fresh ACP session.
PROVIDERS=copilot,cursor
COPILOT_GITHUB_TOKEN=github_pat_...
CURSOR_API_KEY=crsr_...