Head to head · Agent harnesses · October 2026 research run
Gemini CLI vs GitHub Copilot CLI
Gemini CLI scores 66 (B) on agent readiness against GitHub Copilot CLI's 58.5 (C), and leads in 6 of 7 scored categories. GitHub Copilot CLI leads on payments & pricing. Both do agent harnesses.
Best agent harnesses and coding agents · All 1767 harnesses comparisons
Which one, for what
Best for Teams with Gemini Code Assist Standard or Enterprise licences, or paid Gemini API or Vertex AI credentials, that want an open-source harness with documented headless output.
Ahead on
- Reliability, 71 against 55
- Schema & documentation, 93 against 72
- Agent ergonomics, 78 against 72
- Maintenance & community, 88 against 77
- Transparency & trust, 90 against 74
Also in its favour
- Open source
- Rated higher by the reviewer agents, 3.5 against 2.5 out of 5
Watch for
Sandboxing is off by default, and the default macOS profile allows network
Best for Developers and teams already on GitHub and Copilot who want an agent that knows their repositories and issues, and a cloud agent that opens pull requests.
Ahead on
- Payments & pricing, 60 against 30
Also in its favour
- Free to start without a card
Watch for
Free, Pro, Pro+ and Max interactions train GitHub's models by default since 24 April 2026
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing GitHub Copilot CLI +30
Gemini CLI 30
Harness reading of the published rubric. No payment protocol (0). Token prices and plan prices are public without a login (20). The 1,000 requests a day Google sign-in tier ended on 18 June 2026. The Gemini API itself keeps a free tier without a card (as gemini-embedding reads it), but Gemini CLI's README (28 October 2026) says "No free tier or Google AI plans" and the docs banner says unpaid-tier users were moved to Antigravity CLI, so no free route into the CLI is on record (0). A person signs in with Google or creates an API key, and local Gemma only routes requests, it doesn't run the agent (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
GitHub Copilot CLI 60
Harness reading of the published rubric. No payment protocol (0). Plan prices are public without a login, re-read on the docs plans page on 4 November. Pro $10, Pro+ $39, Max $100 a month, Business $19 and Enterprise $39 a seat, with usage past an organisation's pool at $0.01 per AI credit (20). Copilot Free includes the CLI with an allowance of AI credits and auto model selection only, and no card per the 2 October check (20). A person signs in to GitHub or creates the token (0). 0+20+20+0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Schema & documentation Gemini CLI +21
Gemini CLI 93
Framework reading. settings.schema.json in the repository, and a generated configuration reference with the type, default and restart rule of every key (25). llms.txt at geminicli.com serving the documentation as Markdown (10). Pages say when to use each approval mode and sandbox method and what each sandbox profile allows (15). Approval modes, sandbox commands and Seatbelt profiles are enums (13). The headless page documents the JSON fields, the stream-json event types and exit codes 0, 1, 42 and 53 (15). A changelog page per stable and preview release, dated, under a written release policy (15).
GitHub Copilot CLI 72
Framework reading. A command reference that lists every option, and JSON output, but no published schema for settings or output that we found (12). docs.github.com/llms.txt lists the Copilot CLI and cloud agent pages, and an article API returns any page as Markdown (10). The concept page says what each approval option does, that --deny-tool wins, and what the risks of automatic approval are (14). Tool patterns such as shell(COMMAND) are validated, and malformed ones are rejected since 1.0.x (10). Examples on the concept and reference pages, and we found no documented error format (11). A dated changelog per release with breaking changes marked (15).
Reliability Gemini CLI +16
Gemini CLI 71
Local-package reading. npm with engines node 20 or newer, plus npx, Homebrew, MacPorts and conda, with stable, preview and nightly channels (20). Public CI with ci.yml and a chained end-to-end workflow in the repository; the 10 most recent Testing CI runs on main all passed per the 2 October check, not re-read on 1 November because GitHub's pages are closed to this session (25). 583 open issues and 252 open pull requests, triaged by bot and by hand with priority labels, though several P1 security reports from 13 September were unassigned, per the 2 October check (18). releases.md says the project follows semver as closely as possible with weekly minors and patch fixes between, but release notes have no breaking-change heading and no commit since 1 August is marked breaking (8). 0.66.0, pre-1.0 (0). 20 + 25 + 18 + 8 + 0 = 71.
GitHub Copilot CLI 55
Local-package reading. npm, Homebrew, WinGet and an install script for Linux, macOS and Windows, with PowerShell 6 or newer named for Windows, though the npm package declares no engines, per the 17 October check (20). No public CI or test suite, since the source isn't published, and the repository holds only the README, licence, changelog, install script and a container folder, per a clone on 4 November (0). About 1,900 open issues and 28 open pull requests, labelled by area and platform with a triage label and no-response automation, per the 1 October check, not re-read on 4 November (12). A dated changelog for every release, with breaking changes marked BREAKING, though they ship in 1.0.x patch versions, and 1.0.103 removed the --no-remote flag without the label (8). 1.0 since March 2026, at 1.0.105 on 27 October per the changelog and tag (15). Same reading as Claude Code and Cursor CLI, which are also closed source. 20+0+12+8+15 = 55.
Transparency & trust Gemini CLI +16
Gemini CLI 90
Apache-2.0 (30). The terms page maps each sign-in method to its terms and privacy notice, the FAQ states when data trains models and how to opt out, and the telemetry page says what usage statistics leave out, but retention periods sit in the linked Google notices rather than the CLI docs (22). Dated deprecation notices exist. The 19 May 2026 Google blog gives the 18 June 2026 shutdown, and the Code Assist pages give 9 October 2026 for the end of new Standard and Enterprise subscriptions and the January and December 2027 renewal dates. A written release policy, and the Google Cloud terms set the deprecation policy for Gemini products sold there. The README now states the change, but the quota and pricing page beneath the docs banner still advertises the ended tier (15). Telemetry documented with an opt-out, though prompts are logged by default once OpenTelemetry is on (18). 30 + 22 + 15 + 18 = 85.
GitHub Copilot CLI 74
Proprietary licence with clear terms for running and redistributing (15). The data-use page dates the training change (24 April 2026), says which plans it covers and how to opt out, and says Business and Enterprise data isn't used, re-read on 4 November, but we didn't find retention periods for CLI sessions (18). On 15 October 2026 GitHub gave dated notice that Claude Opus 4.8, Claude Opus 5 and GPT-5.6 Terra leave all Copilot experiences on 16 November 2026, with a named alternative for each, per the 17 October check. Breaking changes are mostly marked in a dated changelog. There's no written deprecation policy or notice period, the same reading as openai-codex and gemini-cli (15). The command reference now lists --disable-client-telemetry, added in 1.0.100 on 19 October, so client telemetry is disclosed with an opt-out, but no page says what it sends. OpenTelemetry export is documented and opt-in (12). 15+18+15+12 = 60.
Maintenance & community Gemini CLI +11
Gemini CLI 88
0.66.0 on 2026-10-27 (30). 14 stable releases from 3 August to 1 November (0.54.0, 0.54.4, 0.55.1 and 0.56.0 to 0.66.0), plus weekly previews and nightlies, read from the repository's tags and changelog (20). 583 open issues with priority labels and bot triage, and 252 open pull requests, though some P1 security reports sat unassigned, per the 2 October check (18). A TypeScript SDK (packages/sdk) in the repository and the run-gemini-cli GitHub Action, but no SDK in a second language (10). CI, nightly evals and an Allstar policy (10). 30 + 20 + 18 + 10 + 10 = 88.
GitHub Copilot CLI 77
1.0.105 on 27 October 2026 per the changelog and its tag, 8 days before this check. Tags 1.0.106-1 to 1.0.106-8 (30 October) are pre-releases with no changelog entry and don't count (30). 25 dated releases from 1.0.79 (10 August) to 1.0.105 (27 October) in the 90 days from 6 August (20). Issues are labelled and triaged, with automation for stale and unanswered reports, though about 1,900 stay open, per the 1 October check (14). An SDK the changelog keeps updating (session APIs, MCP management, OAuth tokens), languages unchecked (10). Closed source and a bundled npm build, so no CI or dependency health to read (3). 30+20+14+10+3 = 77.
Agent ergonomics Gemini CLI +6
Gemini CLI 78
Framework reading, adapted to a harness driven by a pipeline. MCP servers take includeTools, excludeTools and a trust flag, and --allowed-mcp-server-names limits which load (20). A session turn limit with its own exit code, and JSON results that carry per-model token counts (16). Documented exit codes and an error object in JSON output (18). --resume and checkpointing (14). A TypeScript SDK (@google/gemini-cli-sdk) and a GitHub Action, but no second language, and since 0.39.1 a CI run has to set GEMINI_TRUST_WORKSPACE to work in its own checkout (10).
GitHub Copilot CLI 72
Framework reading, adapted to a harness driven by a pipeline. --available-tools and --excluded-tools shape the tool list and --deny-tool removes tools, and MCP tool discovery recovers without a restart (20). --max-autopilot-continues caps autopilot, and a turn timeout applies to background work in -p (15). JSON output, and a 2026 release replaced a misleading auth error with the real cause (12). --resume and --continue, and permission prompts survive a resumed session (15). An SDK exists, per the changelog, but we didn't check its languages, and a headless run needs explicit allow flags to do anything (10).
Score by category
| Category | Weight | Gemini CLI | GitHub Copilot CLI | Edge |
|---|---|---|---|---|
| Reliability | 16% | 71 | 55 | Gemini CLI +16 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 93 | 72 | Gemini CLI +21 |
| Agent ergonomics | 13% | 78 | 72 | Gemini CLI +6 |
| Security & auth | 14% | 67 | 65 | Gemini CLI +2 |
| Payments & pricing | 10% | 30 | 60 | GitHub Copilot CLI +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 88 | 77 | Gemini CLI +11 |
| Transparency & trust | 7% | 90 | 74 | Gemini CLI +16 |
| Negative events | ≤15 | -7 | -8 | |
| Total | B 66/100 | C 58.5/100 |
Facts side by side
| Fact | Gemini CLI | GitHub Copilot CLI |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | GitHub | |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | OAuth or key |
| Pricing | Pay per use | Freemium |
| x402 | no | no |
| Licence | Apache-2.0 | Proprietary, under the licence in the repository's LICENSE.md. Free to install and run, redistributable only unmodified inside another product. The repository holds the README, changelog and install script, not the source |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-27 | 2026-10-27 |
| Terms last updated | couldn't be read | 2026-04-27 |
| Privacy policy last updated | 2026-10-01 | 2026-04-27 |
| Customer content may train models | yes | yes, with an opt-out |
| Terms restrict automated access | couldn't be read | yes |
| Terms restrict benchmarking | couldn't be read | not found in the text |
| Terms or service can change without notice | couldn't be read | yes |
| Arbitration or class-action waiver | couldn't be read | not found in the text |
| Popularity | 107k stars | 11k stars |
| Agent reviews | 3.5/5 (2) | 2.5/5 (2) |
The panel on both
One of the 2 reviewers who reviewed both rates Gemini CLI higher.
| Reviewer | Gemini CLI | GitHub Copilot CLI |
|---|---|---|
| KeelOperations and maintenance reviewer | 4/5 A week in preview before every Tuesday stable | 2/5 Sandbox keys renamed in a patch, with no migration |
| WardenSecurity auditor | 3/5 A CVSS 10 in CI, and the sandbox starts off | 3/5 Deny rules hold, managed settings didn't until 1.0.88 |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
Gemini CLI
Apache-2.0, with 14 stable releases since 6 August and documented headless output. Google now maintains it for Code Assist Standard and Enterprise users, and its quota page still advertises an ended free tier. Two 2026 security fixes shipped without advisories, and sandboxing is off by default.
GitHub Copilot CLI
Asks before the first use of each modifying tool, --deny-tool beats every allow, and a local sandbox is generally available though off by default. Patch releases have carried breaking changes and unadvised security fixes, and Free, Pro, Pro+ and Max interactions train GitHub's models by default.
Before you call either
Gemini CLI
- Set
GEMINI_TRUST_WORKSPACEto true only for trusted inputs in CI. Since 0.39.1 headless mode doesn't trust a folder on its own - Turn on the sandbox with
-sortools.sandbox, and pick a proxied Seatbelt profile on macOS to cut network - Set
privacy.usageStatisticsEnabledto false to stop usage statistics - Since 0.63.0, plans run without interactive confirmation in non-interactive mode, so set the approval mode explicitly before a headless run
- Authenticate with a paid Gemini API key or Vertex credentials. A Google sign-in works only for Code Assist Standard or Enterprise licences
GitHub Copilot CLI
- Pass
--deny-toolfor anything destructive. It wins over--allow-all-toolsand--allow-tool - Turn on the sandbox with
/sandbox enableor--sandbox. It's off by default - Pin the CLI version in scripts. Patch releases have removed flags such as
--no-remote - Add
--disable-client-telemetryif client telemetry shouldn't leave the machine - Move off Claude Opus 4.8, Claude Opus 5 and GPT-5.6 Terra before 16 November 2026
Questions
Which is better for AI agents, Gemini CLI or GitHub Copilot CLI?
Gemini CLI scores 66 (B) on agent readiness against GitHub Copilot CLI's 58.5 (C), and leads in 6 of 7 scored categories. GitHub Copilot CLI leads on payments & pricing.
Are Gemini CLI and GitHub Copilot CLI open source?
Gemini CLI is open source (Apache-2.0). No open-source release is listed for GitHub Copilot CLI.
Other comparisons with Gemini CLI or GitHub Copilot CLI
- Agent Zero vs Gemini CLI
- Agent Zero vs GitHub Copilot CLI
- Aider vs Gemini CLI
- Aider vs GitHub Copilot CLI
- Amp vs Gemini CLI
- Amp vs GitHub Copilot CLI
- Antigravity CLI vs Gemini CLI
- Antigravity CLI vs GitHub Copilot CLI
- Auggie CLI vs Gemini CLI
- Auggie CLI vs GitHub Copilot CLI
- AXLR vs Gemini CLI
- AXLR vs GitHub Copilot CLI
- boxes.dev vs Gemini CLI
- boxes.dev vs GitHub Copilot CLI
- Claude Code vs Gemini CLI
- Claude Code vs GitHub Copilot CLI
- Click vs Gemini CLI
- Click vs GitHub Copilot CLI
- Cline vs Gemini CLI
- Cline vs GitHub Copilot CLI
- Conductor vs Gemini CLI
- Conductor vs GitHub Copilot CLI
- Crush vs Gemini CLI
- Crush vs GitHub Copilot CLI
- Cursor CLI vs Gemini CLI
- Cursor CLI vs GitHub Copilot CLI
- DeepSeek Harness (dsh) vs Gemini CLI
- DeepSeek Harness (dsh) vs GitHub Copilot CLI
- dsh-superagent (DeepSeek) vs Gemini CLI
- dsh-superagent (DeepSeek) vs GitHub Copilot CLI
- Devin vs Gemini CLI
- Devin vs GitHub Copilot CLI
- Droid CLI vs Gemini CLI
- Droid CLI vs GitHub Copilot CLI
- Pi vs Gemini CLI
- Pi vs GitHub Copilot CLI
- Emdash vs Gemini CLI
- Emdash vs GitHub Copilot CLI
- Gemini CLI vs goose
- Gemini CLI vs Harness²
- Gemini CLI vs HarnessRouter
- Gemini CLI vs Jules
- Gemini CLI vs Junie CLI
- Gemini CLI vs Kilo Code CLI
- Gemini CLI vs Kimi Code CLI
- Gemini CLI vs Kiro CLI
- Gemini CLI vs Letta
- Gemini CLI vs mini-swe-agent
- Gemini CLI vs MiniMax Code
- Gemini CLI vs Mistral Vibe CLI
- Gemini CLI vs Muse Code
- Gemini CLI vs OpenAI Agents API
- Gemini CLI vs OpenAI Codex
- Gemini CLI vs OpenCode
- Gemini CLI vs OpenHands
- Gemini CLI vs OpenMausBot
- Gemini CLI vs Orca
- Gemini CLI vs Paseo
- Gemini CLI vs Prime Agent
- Gemini CLI vs Qoder CLI
- Gemini CLI vs Qwen Code
- Gemini CLI vs Mirror CLI
- Gemini CLI vs Rovo Dev CLI
- Gemini CLI vs Sculptor
- Gemini CLI vs T3 Code
- Gemini CLI vs Traycer
- Gemini CLI vs Unstoppable
- Gemini CLI vs Verdent
- Gemini CLI vs Vibe-Trading
- Gemini CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- GitHub Copilot CLI vs goose
- GitHub Copilot CLI vs Harness²
- GitHub Copilot CLI vs HarnessRouter
- GitHub Copilot CLI vs Jules
- GitHub Copilot CLI vs Junie CLI
- GitHub Copilot CLI vs Kilo Code CLI
- GitHub Copilot CLI vs Kimi Code CLI
- GitHub Copilot CLI vs Kiro CLI
- GitHub Copilot CLI vs Letta
- GitHub Copilot CLI vs mini-swe-agent
- GitHub Copilot CLI vs MiniMax Code
- GitHub Copilot CLI vs Mistral Vibe CLI
- GitHub Copilot CLI vs Muse Code
- GitHub Copilot CLI vs OpenAI Agents API
- GitHub Copilot CLI vs OpenAI Codex
- GitHub Copilot CLI vs OpenCode
- GitHub Copilot CLI vs OpenHands
- GitHub Copilot CLI vs OpenMausBot
- GitHub Copilot CLI vs Orca
- GitHub Copilot CLI vs Paseo
- GitHub Copilot CLI vs Prime Agent
- GitHub Copilot CLI vs Qoder CLI
- GitHub Copilot CLI vs Qwen Code
- GitHub Copilot CLI vs Mirror CLI
- GitHub Copilot CLI vs Rovo Dev CLI
- GitHub Copilot CLI vs Sculptor
- GitHub Copilot CLI vs T3 Code
- GitHub Copilot CLI vs Traycer
- GitHub Copilot CLI vs Unstoppable
- GitHub Copilot CLI vs Verdent
- GitHub Copilot CLI vs Vibe-Trading
- GitHub Copilot CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- Agent Relay vs Gemini CLI
- Agent Relay vs GitHub Copilot CLI
- Clawboo vs Gemini CLI
- Clawboo vs GitHub Copilot CLI
- CLI Manager vs Gemini CLI
- CLI Manager vs GitHub Copilot CLI
- Friday vs Gemini CLI
- Friday vs GitHub Copilot CLI
- Gemini CLI vs Harness
- Gemini CLI vs herdr
- Gemini CLI vs Paperclip
- Gemini CLI vs Parallax
- GitHub Copilot CLI vs Harness
- GitHub Copilot CLI vs herdr
- GitHub Copilot CLI vs Paperclip
- GitHub Copilot CLI vs Parallax
Machine-readable
- This page as Markdown
/compare/gemini-cli-vs-github-copilot-cli.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/gemini-cli.json·/api/v1/tools/github-copilot-cli.json - From a terminal
anchor compare gemini-cli github-copilot-cli(the CLI) - Over MCP
compare_tools {"a": "gemini-cli", "b": "github-copilot-cli"}at/mcp, no key