# GitHub Copilot CLI

> Source: https://theagentsindex.com/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.

Vendor's price

Free

From [github.com/features/copilot/plans](https://github.com/features/copilot/plans), checked 24 October 2026

- MCP server Yes
- API Yes
- Open source Not stated
- Self-host No

What we checked

- Pages last read: 24 October 2026
- Facts checked: 28 facts From 5 sources
- AI answers: Named in 1 of 151 Our October check

[How we check](https://theagentsindex.com/methodology) [Editorial policy](https://theagentsindex.com/editorial-policy#not-for-sale)

[Visit GitHub Copilot CLI](https://theagentsindex.com/go/copilot-cli) [Compare](https://theagentsindex.com/compare?cat=terminal-coding-agents&products=copilot-cli) [Alternatives](https://theagentsindex.com/copilot-cli/alternatives)

## What we checked on GitHub Copilot CLI

Yes Partly No

What it does Yes

### 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.

Use cases for GitHub Copilot CLI, Local tasks list [docs.github.com/en/copilot/concepts/cop…](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) Checked 24 October 2026

What it does Yes

### 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.

Introduction, first paragraph [docs.github.com/en/copilot/concepts/cop…](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) Checked 24 October 2026

What it does Yes

### 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.

Use cases, Tasks involving GitHub.com list [docs.github.com/en/copilot/concepts/cop…](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) Checked 24 October 2026

What it does Yes

### 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

FAQ, 'What types of development tasks work best with Copilot CLI?' [github.com/features/copilot/cli](https://github.com/features/copilot/cli) Checked 24 October 2026

What it does Yes

### 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.

Use cases, Tasks involving GitHub.com [docs.github.com/en/copilot/concepts/cop…](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) Checked 24 October 2026

How much it does unattended Partly

### 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.

FAQ, 'How does file modification and command execution work?' [github.com/features/copilot/cli](https://github.com/features/copilot/cli) Checked 24 October 2026

How much it does unattended Yes

### 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

FAQ, 'Does Copilot CLI support subagents or multi-agent workflows?' [github.com/features/copilot/cli](https://github.com/features/copilot/cli) Checked 24 October 2026

How much it does unattended Yes

### 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…

Security considerations, Allowing tools to be used without manual approval [docs.github.com/en/copilot/concepts/cop…](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) Checked 24 October 2026

Which models it runs on Yes

### 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

README, Using the CLI [github.com/github/copilot-cli](https://github.com/github/copilot-cli) Checked 24 October 2026

Which models it runs on Yes

### 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.

README, Using the CLI [github.com/github/copilot-cli](https://github.com/github/copilot-cli) Checked 24 October 2026

Which models it runs on Yes

### 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.

FAQ, 'Which models can I access with Copilot CLI?' [github.com/features/copilot/cli](https://github.com/features/copilot/cli) Checked 24 October 2026

Which models it runs on Yes

### 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.

Feature section, 'Use any /model, parallelize with /fleet' [github.com/features/copilot/cli](https://github.com/features/copilot/cli) Checked 24 October 2026

Where you use it Yes

### 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.

FAQ, 'Will Copilot CLI integrate directly into VS Code?' [github.com/features/copilot/cli](https://github.com/features/copilot/cli) Checked 24 October 2026

Where you use it Yes

### 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.

Introduction, first sentence [docs.github.com/en/copilot/concepts/cop…](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) Checked 24 October 2026

Where you use it Yes

### 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.

Modes of use, Programmatic interface [docs.github.com/en/copilot/concepts/cop…](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) Checked 24 October 2026

Where you use it No

### 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.

Modes of use, opening sentence [docs.github.com/en/copilot/concepts/cop…](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) Checked 24 October 2026

Whose machine it runs on No

### 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.

GitHub Copilot plans, note below the plan descriptions [docs.github.com/en/copilot/get-started/…](https://docs.github.com/en/copilot/get-started/plans) Checked 24 October 2026

What it costs to run Yes

### 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.

FAQ, 'What are GitHub AI Credits?' [github.com/features/copilot/plans](https://github.com/features/copilot/plans) Checked 24 October 2026

What it costs to run Yes

### Free tier

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).

FAQ, 'Who can access GitHub Copilot CLI?' [github.com/features/copilot/cli](https://github.com/features/copilot/cli) Checked 24 October 2026

What it costs to run Yes

### 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.

Modes of use, Programmatic interface [docs.github.com/en/copilot/concepts/cop…](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) Checked 24 October 2026

What it costs to run Yes

### 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

README, Introduction and Overview, MCP-powered extensibility bullet [github.com/github/copilot-cli](https://github.com/github/copilot-cli) Checked 24 October 2026

Buying it for a team Yes

### 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.

FAQ, 'I have a Copilot Business or Enterprise license. Will I have access to Copilot CLI?' [github.com/features/copilot/cli](https://github.com/features/copilot/cli) Checked 24 October 2026

Buying it for a team Yes

### 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

Copilot plans overview table, Copilot Business row, Pricing column [docs.github.com/en/copilot/get-started/…](https://docs.github.com/en/copilot/get-started/plans) Checked 24 October 2026

Buying it for a team Partly

### 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.

Comparison table, GitHub AI Credits section, Pooled usage row [github.com/features/copilot/plans](https://github.com/features/copilot/plans) Checked 24 October 2026

Buying it for a team Yes

### 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.

FAQ, 'How do I install and set up Copilot CLI?' [github.com/features/copilot/cli](https://github.com/features/copilot/cli) Checked 24 October 2026

Buying it for a team Partly

### 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

Comparison table, SAML SSO authentication row [github.com/features/copilot/plans](https://github.com/features/copilot/plans) Checked 24 October 2026

What happens to your code Yes

### 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

FAQ, 'How does GitHub use the Copilot data from Individual Subscribers?' [github.com/features/copilot/plans](https://github.com/features/copilot/plans) Checked 24 October 2026

What happens to your code Yes

### 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.

FAQ, 'Does GitHub Copilot support compliance with the GDPR and other data protection laws?' [github.com/features/copilot/plans](https://github.com/features/copilot/plans) Checked 24 October 2026

## GitHub Copilot CLI price and terms

### Terms

- Free plan: Yes · 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.

### What needs a higher plan

- Copilot Business: Pooled budget

## For AI agents

- MCP server: Yes
- API: Yes

[![GitHub Copilot CLI](https://theagentsindex.com/img/1024/screenshots/copilot-cli/pricing.webp)](https://theagentsindex.com/img/1920/screenshots/copilot-cli/pricing.webp)

Pricing page, captured 25 October 2026

[github.com/features/copilot/plans](https://github.com/features/copilot/plans), checked 24 October 2026

## GitHub Copilot CLI alternatives

[All 8 alternatives](https://theagentsindex.com/copilot-cli/alternatives)

- [OpenCode](https://theagentsindex.com/opencode) · Open source AI coding agent for the terminal, desktop, IDE and browser, with any LLM provider. · Free, paid from $10 a month · Checked 21 October 2026 · [Visit](https://theagentsindex.com/go/opencode)
  - Price: Free, paid from $10 a month
- [Google Antigravity CLI](https://theagentsindex.com/antigravity-cli) · Google's terminal client for Antigravity agents, with subagents, sandboxed commands and a headless mode for CI. · Free, paid from $30 a seat a month · Checked 5 November 2026 · [Visit](https://theagentsindex.com/go/antigravity-cli)
  - Price: Free, paid from $30 a seat a month
- 6 more alternatives · All 8 publish a price. · [See all 8](https://theagentsindex.com/copilot-cli/alternatives)
  - [Gemini CLI](https://theagentsindex.com/gemini-cli) Free Open-source Apache-2.0 terminal agent that runs Google's Gemini models against your local codebase.
  - [Aider](https://theagentsindex.com/aider) Free AI pair programming in your terminal that maps your codebase and commits each LLM change to git, for developers.
  - [Codex CLI](https://theagentsindex.com/codex-cli) From $20 a month OpenAI's command-line agent that edits repos inside an OS-enforced sandbox and runs unattended in CI via codex exec.
  - [Muse Code](https://theagentsindex.com/muse-code) From $5 a month Meta's multi-agent terminal coding agent, co-trained with its own Muse models and sandboxed by default.

## 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.

[How we check every listing](https://theagentsindex.com/methodology)

## Sources and changes

Last changed 24 October 2026

Sources 5

- Read 24 October 2026 · [docs.github.com](https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-cli) /en/copilot/concepts/copilot-surfaces/copilot-cli
- Read 24 October 2026 · [github.com](https://github.com/features/copilot/cli) /features/copilot/cli
- Read 24 October 2026 · [github.com](https://github.com/features/copilot/plans) /features/copilot/plans
- Read 24 October 2026 · [github.com](https://github.com/github/copilot-cli) /github/copilot-cli
- Read 24 October 2026 · [docs.github.com](https://docs.github.com/en/copilot/get-started/plans) /en/copilot/get-started/plans

## Similar to GitHub Copilot CLI

[See all in Terminal coding agents](https://theagentsindex.com/category/terminal-coding-agents)

- [OpenHands](https://theagentsindex.com/openhands) Open-source software engineering agent with GUI, CLI, SDK and an enterprise control plane. Free plan, then $0.10 per 1m input tokens
- [Cline](https://theagentsindex.com/cline) Open-source coding agent for VS Code, JetBrains, the terminal and CI, running on whichever model you bring. Free plan
- [Junie](https://theagentsindex.com/junie) JetBrains coding agent for the terminal, JetBrains IDEs and CI, running on hosted or your own model keys. Free plan, then about $11 a seat a month
- [Letta](https://theagentsindex.com/letta) Stateful agent harness, cloud and SDK for agents with persistent, git-versioned memory. Free plan, then $20 a month

## From our research

[All research](https://theagentsindex.com/data)

- [Buyer's guide](https://theagentsindex.com/blog/aissist-pricing-use-cases-alternatives) 24 Oct 2026 Aissist.io review (2026): pricing, pros and cons Aissist.io runs AI agents inside your existing helpdesk for small and mid-sized teams, starts free, then meters each interaction so cost tracks volume.
- [Buyer's guide](https://theagentsindex.com/blog/best-ai-agent-agencies-how-to-choose-a-build-partner) 20 Oct 2026 Best AI agent agencies: how to choose a build partner Choose an AI agent build partner by how it bills, whether its agents act alone, what it logs and whether you can take the system with you.
- [Buyer's guide](https://theagentsindex.com/blog/blits-ai-agentic-ai-for-the-enterprise-pricing-use-cases-alternatives) 13 Oct 2026 Blits.ai Agentic AI: pricing, use cases and alternatives Why Blits.ai Agentic AI suits banks and regulated enterprises: where it runs, its model choice, how its plans are priced and how it compares.

## Is this yours?

Claiming is free. You get this page's reader numbers and the verified owner mark.

[Claim this listing](https://theagentsindex.com/claim/copilot-cli?from=owner-line) [Get Featured](https://theagentsindex.com/claim/copilot-cli?from=owner-line&next=featured)

[Report an error](mailto:hello@theagentsindex.com?subject=Report%20an%20error%3A%20GitHub%20Copilot%20CLI%20(copilot-cli)&body=What%20is%20wrong%20on%20the%20page%2C%20and%20where%20on%20the%20product) if a fact is wrong.
