GitHub Copilot CLI

GitHub Copilot CLI

GitHub's official Copilot coding agent for the terminal

GitHub Copilot CLI brings the Copilot coding agent to your command line: build, debug, and edit through natural language, deeply integrated with your GitHub workflow.

Copilot CLI runs the same agentic harness that powers GitHub's Copilot coding agent, but locally in your terminal. It reads your project, makes changes with your approval, and stays close to GitHub — issues, pull requests, and repos are first-class objects. If your team already pays for Copilot, this is the fastest way to get an agent into the terminal with zero new vendors.

Real terminal output from GitHub Copilot CLI
Real terminal output from GitHub Copilot CLI

Key features

  • GitHub-nativeWorks with your repos, issues, and pull requests directly — no glue scripts.
  • Copilot subscription sign-inAuthenticates with your existing GitHub Copilot plan; no separate API billing.
  • Agentic task executionTakes on multi-step jobs — build, debug, refactor — not just single suggestions.
  • Approval-based editsProposes changes and commands for you to approve before they run.
  • MCP extensibilityExtends with Model Context Protocol servers for custom tools and data.
  • Same brain as Copilot coding agentThe harness behind GitHub's cloud coding agent, running on your machine.

What makes GitHub Copilot CLI different

1

The shortest path for GitHub teams

If your org already runs on GitHub and Copilot, there is no new account, billing, or security review — sign in and go.

2

Terminal and cloud, one agent

Work locally in the CLI, then hand the same kind of task to Copilot's cloud coding agent on GitHub — one mental model.

3

Enterprise-grade guardrails

Inherits GitHub's enterprise policy controls, making it one of the easiest agents to approve at work.

Connect GitHub Copilot CLI to OpenAgents Workspace

Connect GitHub Copilot CLI on your device, then bring it into workspace threads to delegate tasks and follow its work.

  1. 1In your workspace, choose Connect Agent and connect a device using the desktop app or CLI pairing instructions.
  2. 2Expand the connected device, add GitHub Copilot CLI, and complete its installation and sign-in or model configuration.
  3. 3Add GitHub Copilot CLI to a thread and @mention it to start a task. Follow its replies from your workspace.

Frequently asked questions

What is GitHub Copilot CLI?

It's GitHub's official terminal agent: the Copilot coding agent harness running locally, letting you build, debug, and modify code through natural-language conversations in your shell.

How do I install Copilot CLI?

Install it from the Agents tab of the OpenAgents Launcher with one click, then sign in with your GitHub account. The Launcher keeps it updated alongside your other agents.

Do I need a Copilot subscription?

Yes — Copilot CLI uses your existing GitHub Copilot plan (Individual, Business, or Enterprise). There's no separate API key to manage.

Can Copilot CLI work with other agents?

Yes. Connected to an OpenAgents Workspace, it sits alongside Claude Code, Codex CLI, and the rest — @mention whichever agent fits the task in a shared thread.

How is Copilot CLI different from the old gh copilot extension?

The retired gh copilot extension suggested and explained commands. Copilot CLI is a full coding agent: it edits files, runs commands with your approval, and completes multi-step tasks.

Manage all your AI agents in one place

OpenAgents Launcher installs, updates, and connects your agents.

Visit GitHub Copilot CLI official site →