Dev & Engineering ✓ GitHub · Official terminalclicode-assistantgithub-integrationmcplsp

GitHub Copilot CLI

Bring the power of GitHub Copilot coding agent to your terminal for natural language coding, debugging, and understanding.

Stars
★ 11k
Last updated
1d ago v1.0.119
FARS reviewed
Nov 08, 2026 +12 new
License
NOASSERTION
Primary language
Python

At a glance

How it runs
CLI
Works with
Platform-specificChatGPT · Claude Code
Cost
Needs a paid subscription or licence
Setup effort
Low · running in minutes
You'll need
PowerShell v6+ (Windows)GitHub Copilot subscriptiongh CLI (for auth)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A developer wants quick code explanations without leaving the terminal.
Not a fit if
  • Individuals or teams without a paid GitHub Copilot subscription
  • Users whose organization or enterprise has disabled Copilot CLI
  • Teams that need fully offline operation with no data leaving the machine
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v1.0.119 (2026-12-02)+4.1 ★/day over 7 days

What does this agent do, and when should you use it?

GitHub Copilot CLI is a command-line tool that brings GitHub Copilot's coding agent capabilities directly to your terminal. It leverages the same agentic harness as GitHub's Copilot coding agent, enabling it to understand your codebase and GitHub context (repos, issues, pull requests) and execute complex multi-step tasks. The tool supports natural language conversations for building, editing, debugging, and refactoring code. It integrates natively with GitHub's MCP server and supports custom MCP servers for extensibility. It is available on Windows, macOS, and Linux, and requires an active GitHub Copilot subscription to function.

It launches an interactive session in the terminal where users interact with an AI agent via natural language prompts. It uses GitHub integration to access repositories, issues, and pull requests, and can perform code edits, debugging, and refactoring. It supports extension via MCP servers, with GitHub's MCP server bundled by default. It provides code intelligence through LSP servers, offering go-to-definition, hover info, and diagnostics. It requires user approval before executing actions, with previews of each action. It supports multiple models (e.g., Claude Sonnet 4.5, GPT-5) and includes experimental features like Autopilot mode.

  1. A developer wants quick code explanations without leaving the terminal.
  2. A developer needs to write or modify code based on natural language instructions.
  3. A developer wants to debug code with AI-driven diagnostics and suggestions.
  4. A developer wants to refactor a codebase with AI assistance for planning and execution.
  5. A developer wants to manage GitHub issues or pull requests directly from the terminal.
  6. A developer wants to extend the coding agent with custom MCP servers for specialized workflows.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://gh.io/copilot-install | bash
  • wget -qO- https://gh.io/copilot-install | bash
  • brew install copilot-cli
  • winget install GitHub.Copilot
Environment variables
GH_TOKEN GITHUB_TOKEN
Config files
~/.copilot/lsp-config.json .github/lsp.json
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

  1. Ensure you have an active GitHub Copilot subscription. 2. For macOS/Linux, use the install script: curl -fsSL https://gh.io/copilot-install | bash or wget -qO- https://gh.io/copilot-install | bash. 3. For macOS via Homebrew: brew install copilot-cli. 4. For Windows via WinGet: winget install GitHub.Copilot. 5. Or via npm: npm install -g @github/copilot.

How do you use this agent?

Run copilot in a directory containing code to launch the CLI. On first launch, use the /login slash command to authenticate with your GitHub account, or set the environment variable GH_TOKEN or GITHUB_TOKEN with a fine-grained PAT that has 'Copilot Requests' permission. After authentication, start a conversation by typing natural language prompts. Use /model to select models, /experimental for experimental features, and /feedback for feedback. You can also configure LSP servers via ~/.copilot/lsp-config.json or .github/lsp.json.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • Deep GitHub integration for repos, issues, and PRs.
  • Agentic capabilities for planning and executing complex tasks.
  • Extensible via MCP servers.
  • LSP support for enhanced code intelligence.
  • Cross-platform support (Windows, macOS, Linux).
Limitations
  • Requires a paid GitHub Copilot subscription.
  • May be disabled by organization or enterprise policies.
  • Tied to GitHub authentication and cloud service.
  • LSP servers must be installed separately and configured.
  • Frequent updates may require regular upkeep.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
GitHub Copilot CLI This agent 46 · Major gaps CLIPaid ★ 11k 1d ago Python ChatGPT · Claude Code
Deep Code CLI 50 · Major gaps CLIFree + model costs ★ 2.2k 8d ago TypeScript —
Amazon Q CLI (deprecated, migrate to Kiro CLI) 44 · Major gaps CLIFree + model costs ★ 2k 7mo ago Rust —
Jean Desktop AI Development Assistant 68 · Some gaps Desktop appFree + model costs ★ 1.4k 1d ago TypeScript Codex · Claude Code · OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
46/ 100 5-point scale 2.3 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 12 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 10/29
Reliability 5/14
Adaptability 10/18
Convention 11/18
Effectiveness 6/13
Verifiability 4/8
Why each dimension lost points
Trust10 / 29 · 1.7/5

The README claims every action is previewed and requires explicit approval, offering limited evidence of confirmation; the sample does not show the CLI's permission controls or confirmation implementation. PATs are placed in environment variables, and the container requires connection and GitHub tokens; credential storage, transmission, and sensitive-data handling are not described. The sample provides no dependency audit or rollback guidance, so those areas score low. Workflows restrict permissions and validate workflow-run and PR metadata, supporting limited least-privilege and external-effect controls. Repository and official-documentation references make product attribution clear.

Reliability5 / 14 · 1.8/5

The README points to installation, container, and LSP guidance and says LSP servers must be installed separately, but the sample is insufficient to verify consistency across those paths. Workflows include metadata checks and readable skip messages, but there is no evidence of runtime failure handling in the product. Installer scripts and package managers are identifiable external dependencies; the sample shows no availability or fallback evidence, so these criteria do not earn high scores.

Adaptability10 / 18 · 2.8/5

The materials cover local terminal development, GitHub workflows, MCP extension, a container SDK server, and LSP, across multiple scenarios and platforms. The container is explicitly described as for SDK clients rather than interactive terminal use, and separate LSP installation is explained. Product boundaries are partly stated, but autopilot remains experimental and details on authorization, approval, and trigger scope are limited.

Convention11 / 18 · 3.1/5

The README is organized into getting started, installation, use, container, experimental features, and LSP, with install commands, a configuration example, and links to documentation and a changelog. LICENSE.md clearly sets out use and limited redistribution terms, though metadata is NOASSERTION and the license restricts modification and standalone redistribution. Version-specific installation, stable and prerelease channels, a changelog link, and feedback routes support version and maintenance information. Known limitations remain incomplete, and the sample has no FAQ or comprehensive limitations list.

Effectiveness6 / 13 · 2.3/5

The CLI is described as helping users build, debug, understand, and refactor code through natural language while using GitHub context, indicating clear potential value; the sample provides no concrete evidence about output format, quality, or workflow efficiency. Each prompt reduces the monthly premium-request quota, and use requires an active subscription with possible additional LSP installation, while cost-benefit guidance is limited.

Verifiability4 / 8 · 2.5/5

The README gives checkable details about platforms, installation, credential variables, quota, LSP configuration, and container purpose; the license and workflow files corroborate some related facts. The sample contains only a few sources, so it does not provide broad cross-checking between implementation and documentation. The README distinguishes current functionality from experimental Autopilot and limits the stated container use to SDK serving; however, key safety claims such as approval for every action appear only as README assertions in this sample.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • This safety review is limited to the supplied static sample; the claim that every action requires explicit approval is not supported by implementation evidence here.
  • Use requires GitHub credentials, and prompts consume premium-request quota; the sample does not explain credential handling or data flows.
  • LICENSE.md restricts modification and standalone redistribution, while license metadata is NOASSERTION; check applicable terms before use or redistribution.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 2e935d3612dc New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/copilot-cli.svg)](https://followagents.com/en/agents/copilot-cli)
<a href="https://followagents.com/en/agents/copilot-cli"><img src="https://followagents.com/badge/copilot-cli.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v1.0.119 1.0.119
    Release notes excerpt
    2026-12-02 - Enable the Change session directory tool in Settings to let the agent move the session's tools to another existing directory mid-session without reloading project configuration. - Automatically resume saved local Copilot CLI sessions when a terminal that supports the Program Resume Protocol (OSC 7577) restarts. - Plugin updates report which plugins changed and which are already up to date, without reinstalling unchanged plugins. - Prevent request failures when Auto selects a model that isn't listed in the current session and requires a different API endpoint. …
    View on GitHub ↗
  2. v1.0.118 1.0.118
  3. v1.0.117 1.0.117

FAQ

Do I need a GitHub Copilot subscription?
Yes, an active Copilot subscription is required. If you access via an organization, an admin may disable it.
What programming languages are supported?
It supports various languages via LSP configuration. You need to install LSP servers manually, e.g., typescript-language-server for TypeScript.
How are premium requests counted?
Each prompt you submit consumes one premium request from your monthly quota.
Can I use custom models?
You can choose from available models like Claude Sonnet 4.5, Claude Sonnet 4, and GPT-5 via the /model command, depending on your subscription.
How does it ensure safe actions?
It requires explicit approval before executing any action, with previews of each step.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts