Skip to main content
Watchfire
AgentsFirst-class

GitHub Copilot CLI

GitHub Copilot from the command line, running in yolo mode behind the sandbox.

github.com/github/copilot-cli

What is GitHub Copilot CLI?

GitHub Copilot CLI is GitHub's command-line Copilot agent. It signs in via `gh` or its own flow and stores config, MCP setup, and session history under `~/.copilot/`.

GitHub Copilot CLI + Watchfire

Watchfire gives each Copilot session its own `COPILOT_HOME`, symlinks your real `~/.copilot/{config.json,mcp-config.json,session-store.db}` into it, and points Copilot at a Watchfire-generated `AGENTS.md` via `COPILOT_CUSTOM_INSTRUCTIONS_DIRS`. Sessions run in yolo mode (`--allow-all`) — the Watchfire sandbox is the boundary, not Copilot's prompt gate.

  • Sessions run in yolo mode — Watchfire sandbox is the boundary
  • Symlinks `~/.copilot/{config.json,mcp-config.json,session-store.db}` into the session home
  • Uses `COPILOT_CUSTOM_INSTRUCTIONS_DIRS` to load the per-session `AGENTS.md`

Setup

Install Watchfire and initialise a project that defaults to GitHub Copilot CLI. Make sure the agent CLI itself is installed and signed in first.

watchfire init --agent copilot
Ready to go

Get started with Watchfire

Install in seconds. Define tasks. Let agents ship code for you.

Download for macOS

Available for macOS, Linux, and Windows

install
# Install via Homebrew (macOS)
$brew tap watchfire-io/tap
$brew install --cask watchfire-io/tap/watchfire
# Set up your project and go
$watchfire init
$watchfire task add "Build the login page"
$watchfire start --all

Includes GUI, CLI, and daemon. Also available via Homebrew.