Provider id:Documentation Index
Fetch the complete documentation index at: https://docs.ctrlnode.ai/llms.txt
Use this file to discover all available pages before exploring further.
copilot · CtrlNode agent type: Copilot
Spawns the @github/copilot CLI and speaks ACP over stdio. Each dispatch opens a fresh ACP session.
When to use it
- You have GitHub Copilot access and want Copilot to execute coding tasks from CtrlNode
- You already use
copilotin the terminal on the Bridge machine
Prerequisites
- Node.js 22+
- Copilot CLI:
Authentication
Option A — fine-grained PAT- Create a token at GitHub fine-grained PAT settings
- Enable Copilot Requests (read & write) — available on personal tokens
- Set:
COPILOT_GITHUB_TOKEN when the CLI session is cached.
Environment variables
| Variable | Default | Description |
|---|---|---|
COPILOT_GITHUB_TOKEN | — | PAT with Copilot Requests permission |
COPILOT_TIMEOUT_MINUTES | 10 | Task timeout |
AGENTS_FOLDER | Home | Workspace root |
Example .env
CtrlNode setup
- Project agent type Copilot
- Register agents in Team
- Assign tasks; agent instructions are prepended to the prompt
Troubleshooting
| Issue | Fix |
|---|---|
| Copilot permission missing on PAT | Use personal fine-grained token with Copilot Requests |
copilot not found | npm install -g @github/copilot; fix PATH |
| 401 on dispatch | Re-run copilot login or rotate PAT |
| Org token fails | Copilot Requests not available on org tokens — use personal PAT |