Skip to content
The Agents Index

GitHub Copilot CLI

GitHub's agentic coding CLI that plans, edits, runs code and works with issues and pull requests.

GitHub Copilot CLI is a terminal agent that reads, writes and runs code in your local repository. It authenticates with your GitHub account and works directly with issues and pull requests through GitHub's MCP server.

Best for
Developers who live in the terminal and track work in GitHub issues and PRs
Not for
Teams that must run it on their own servers. It only works against GitHub's hosted Copilot, not GitHub Enterprise Server.

What we checked

Pages last read
Facts checked
28 factsFrom 5 sources
AI answers
Named in 1 of 151Alternatives questions, October 2026

What we checked on GitHub Copilot CLI

YesPartlyNo

What it doesYes

Writes code

The agent writes new code from a plain-language prompt, including scaffolding a whole application from scratch in a new project directory.

Ask Copilot to create an application from scratch—for example, as a proof of concept.

docs.github.com/en/copilot/concepts/cop…Checked

What it doesYes

Debugs and fixes

GitHub documents debugging as a core use: you can ask it why a change it made is failing and tell it to fix the problem.

You can use it to answer questions, write and debug code, and interact with GitHub.com.

docs.github.com/en/copilot/concepts/cop…Checked

What it doesYes

Reviews code

It can be pointed at an existing pull request and report problems in that diff, answering in the terminal rather than as a PR review.

Ask Copilot to check the code changes in a pull request.

docs.github.com/en/copilot/concepts/cop…Checked

What it doesYes

Whole-codebase work

GitHub positions it for legacy codebase navigation and multi-step implementations, with auto-compaction so long sessions survive the token limit.

Copilot CLI excels at legacy codebase navigation, new repository creation, cross-platform development setup, and multi-step implementations

github.com/features/copilot/cliChecked

What it doesYes

Ships it

It goes past the diff: it commits locally, opens pull requests on GitHub.com on your behalf, and can merge or close them.

Copilot creates a pull request on GitHub.com, on your behalf. You are marked as the pull request author.

docs.github.com/en/copilot/concepts/cop…Checked

How much it does unattendedPartly

Runs autonomously

By default every file change and command needs your approval; autopilot mode and the blanket allow flag remove that, so unattended running is opt-in.

Every file change and command execution requires your explicit approval before being applied.

github.com/features/copilot/cliChecked

How much it does unattendedYes

Multi-agent

The /fleet command runs one task across several subagents in parallel, optionally on different models, and converges the results.

Copilot CLI supports subagents and multi‑agent workflows. With /fleet, you can run the same task across multiple subagents in parallel

github.com/features/copilot/cliChecked

How much it does unattendedYes

Agent permissions

Permissions are per tool and configurable: approve once, approve for the session, or pass allow and deny flags, with deny taking precedence.

There are three command-line options that you can use, in either interactive or programmatic sessions, to determine tools that Copilot can use…

docs.github.com/en/copilot/concepts/cop…Checked

Which models it runs onYes

Claude

Claude is the default model in the CLI and further Claude versions are selectable with the /model command.

By default, copilot utilizes Claude Sonnet 4.5. Run the /model slash command to choose from other available models

github.com/github/copilot-cliChecked

Which models it runs onYes

GPT

OpenAI GPT models are offered alongside Claude in the model picker, and GitHub names OpenAI as one of its providers.

Run the /model slash command to choose from other available models, including Claude Sonnet 4 and GPT-5.

github.com/github/copilot-cliChecked

Which models it runs onYes

Gemini

Google is named as one of the foundation model providers behind the CLI, and Gemini models appear in the per-plan model table.

Copilot CLI supports models from multiple foundation model providers, such as Anthropic, Google, and OpenAI.

github.com/features/copilot/cliChecked

Which models it runs onYes

Model choice

You pick the model yourself per task with /model, and can run several models on one task through /fleet.

Use /model to switch, then /fleet to execute in parallel or run multiple models at once.

github.com/features/copilot/cliChecked

Where you use itYes

In your editor

Besides any terminal, it runs inside the VS Code integrated terminal and the VS Code chat panel; other editors just see the files it changes.

Yes, you can interact with Copilot CLI in the VS Code integrated terminal and in the VS Code chat panel.

github.com/features/copilot/cliChecked

Where you use itYes

On the command line

The terminal is the product: an interactive session on macOS, Linux and Windows PowerShell or WSL, installed via npm, Homebrew or WinGet.

The command-line interface (CLI) for GitHub Copilot allows you to use Copilot directly from your terminal.

docs.github.com/en/copilot/concepts/cop…Checked

Where you use itYes

In your pipeline

Programmatic mode takes a single prompt and exits, so it can be scripted, and it acts on pull requests directly including merging and closing them.

You can also pass the CLI a single prompt directly on the command line. The CLI completes the task and then exits.

docs.github.com/en/copilot/concepts/cop…Checked

Where you use itNo

In a browser

The CLI itself has only the two terminal interfaces; the hosted web experience is a separate Copilot surface, not this product.

GitHub Copilot CLI has two user interfaces: interactive and programmatic.

docs.github.com/en/copilot/concepts/cop…Checked

Whose machine it runs onNo

Self-hosted

The agent is a client for GitHub's hosted service and GitHub states Copilot is not available on its self-managed server product.

Copilot is not currently available for GitHub Enterprise Server.

docs.github.com/en/copilot/get-started/…Checked

What it costs to runYes

How it meters

Billing is per GitHub AI Credit on top of the seat price, at one cent a credit, with consumption varying by model and task length.

GitHub AI Credits are how you pay for AI usage in GitHub Copilot. Every plan includes a monthly allowance: 1 AI credit = $0.01 USD.

github.com/features/copilot/plansChecked

What it costs to runYes

Free to use

The free Copilot plan includes the CLI with an allowance of AI credits, so you can install and run it without talking to anyone.

Copilot CLI is included as a core feature of all GitHub Copilot plans (Free, Pro, Pro+, Max, Business, and Enterprise).

github.com/features/copilot/cliChecked

What it costs to runYes

API access

Programmatic mode drives the agent from your own scripts with a single prompt argument, and it can authenticate with a fine-grained personal access token.

To use the CLI programmatically, include the -p or --prompt command-line option in your command.

docs.github.com/en/copilot/concepts/cop…Checked

What it costs to runYes

MCP server

It ships with GitHub's MCP server enabled and connects to custom MCP servers, so it acts as an MCP client rather than a server other agents call.

the coding agent ships with GitHub's MCP server by default and supports custom MCP servers to extend capabilities

github.com/github/copilot-cliChecked

Buying it for a teamYes

A company can buy it

Organisations buy Copilot Business or Enterprise seats and the CLI is included; an admin must switch it on for the organisation.

Copilot CLI works with your existing Copilot Business or Enterprise subscription — no additional billing or setup required.

github.com/features/copilot/cliChecked

Buying it for a teamYes

Seat model

Team plans are priced per granted seat per month, 19 dollars on Business and 39 on Enterprise; no seat floor or ceiling is published.

Copilot Business | $19 USD per granted seat per month

docs.github.com/en/copilot/get-started/…Checked

Buying it for a teamPartly

Pooled budget

Credits are pooled across the organisation only on the team plans; the comparison table marks pooled usage not included on every individual plan.

Pooled usage. Included AI credits are shared org-wide with admin controls for spending.

github.com/features/copilot/plansChecked

Buying it for a teamYes

Admin controls

The CLI inherits organisation Copilot policies, respects content exclusion rules, and an admin can disable it entirely for the organisation.

The CLI automatically inherits your organization's Copilot policies and governance settings.

github.com/features/copilot/cliChecked

Buying it for a teamPartly

Single sign-on

The plan comparison marks SAML SSO authentication as not included on Free, Pro, Pro+ and Max, so it is a team-plan concern rather than an individual one.

SAML SSO authentication. Free plan: Not included. Pro plan: Not included. Pro+ plan: Not included. Max plan: Not included

github.com/features/copilot/plansChecked

What happens to your codeYes

Opt out of training

Individual subscribers can turn off model training on their prompts and suggestions in settings; business and enterprise data is covered by the DPA instead.

Individual subscribers can opt out of having their data used for AI model training at any time through https://github.com/settings/copilot/features

github.com/features/copilot/plansChecked

What happens to your codeYes

Certifications

GitHub states Copilot supports GDPR compliance through a data protection agreement; SOC 2 or ISO 27001 certificates are not named on the pages read.

Yes. GitHub and customers can enter a Data Protection Agreement that supports compliance with the GDPR and similar legislation.

github.com/features/copilot/plansChecked

GitHub Copilot CLI price and terms

Terms

Free plan
YesYes
The terms in full

Copilot Free costs $0 and includes the CLI with an allowance of GitHub AI Credits, auto model selection only, limited agent usage and 2,000 completions per month; pooled usage and purchasing extra credits are not available.

For AI agents

MCP server
Yes
API
Yes

What needs a higher plan

Copilot Business
Pooled budget
GitHub Copilot CLI's pricing page

Pricing page, captured

github.com/features/copilot/plans, checked

GitHub Copilot CLI alternatives

All 8 alternatives

Questions about GitHub Copilot CLI

How much does GitHub Copilot CLI cost?
GitHub Copilot CLI has a free plan. From github.com/features/copilot/plans, checked 24 October 2026.
Does GitHub Copilot CLI have an API or an MCP server?
It has an API. It has an MCP server.
Is GitHub Copilot CLI open source, and can you host it yourself?
You cannot host it yourself.
What have we checked on GitHub Copilot CLI?
28 facts, under these headings: What it does, how much it does unattended, which models it runs on, where you use it, whose machine it runs on, what it costs to run, buying it for a team, what happens to your code.
How do we check GitHub Copilot CLI?
We hold 28 facts on GitHub Copilot CLI, quoted from 5 pages. Facts and price last checked 24 October 2026, when we also found the last change.

How we check every listing

Similar to GitHub Copilot CLI

See all in Terminal coding agents

From our research

All research

Is GitHub Copilot CLI yours?

It costs nothing, and the page gets the verified owner mark. Claim this listing

Report an error if a fact is wrong.