Head to head · Agent harnesses · October 2026 research run

Gemini CLI vs Zed

Zed scores 67.3 (B) on agent readiness against Gemini CLI's 66 (B), and leads in 2 of 7 scored categories. Gemini CLI leads on schema & documentation, agent ergonomics, security & auth, maintenance & community and transparency & trust. Both do agent harnesses.

Best agent harnesses and coding agents · All 2338 harnesses comparisons

Which one, for what

Gemini CLI B

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

  • Schema & documentation, 93 against 72
  • Agent ergonomics, 78 against 58
  • Security & auth, 67 against 55
  • Maintenance & community, 88 against 80
  • Transparency & trust, 90 against 66

Watch for

Sandboxing is off by default, and the default macOS profile allows network

Zed B

Best for A developer who wants a fast editor that hosts several agents behind one review surface and one MCP configuration.

Ahead on

  • Payments & pricing, 70 against 30

Also in its favour

  • Free to start without a card
  • No incidents deducted, where Gemini CLI loses 7 points for them

Watch for

No headless or scripted agent mode found. The zed CLI documents opening files and windows

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 Zed +40

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.

Zed 70

No payment protocol (0). Pricing is public without a login for Personal ($0), Pro ($10 a month with $5 of tokens, then API list price plus 10 per cent) and Business ($30 a seat a month). Per-model prices sit on a page we did not read (25 of 30). Personal is free with your own keys or external agents, and the 14-day Pro trial needs no card (30). Using your own key or an external agent needs no Zed account per the pricing page, but we did not confirm an account is never prompted for, and a person installs the app (15 of 30). 0 + 25 + 30 + 15 = 70.

Transparency & trust Gemini CLI +24

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.

Zed 66

The source is GPL-3.0-or-later with Apache-2.0 components where marked, per the README, and the licence of the collaboration server was not found (28 of 30). The privacy policy (updated 18 November 2026), the AI privacy page, the feedback and training-data page and a subprocessor list dated 2 March 2026 agree that prompts are not retained by default, and the repository's legal folder was read from the main branch, not the live pages (26 of 30). Breaking changes are named in dated release notes, with no written deprecation policy (12 of 20). The telemetry page names Sentry, Snowflake, Hex and Amplitude, says client telemetry can be disabled and says server-side data is needed for hosted services (16 of 20). 28 + 26 + 12 + 16 = 82.

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

Zed 72

Docs read as a harness. Docs are a set of Markdown pages indexed at zed.dev/docs/llms.txt (10). The only machine-readable contract found is the Agent Client Protocol's published schema, which sits in ACP's own docs and which we saw only in its navigation, plus JSON settings with documented keys (12 of 25). Each tool page states what the tool does with an example, and the tool-permissions page says when to use each setting (14 of 20). Settings use typed keys such as agent.tool_permissions.default with three allowed values and regex patterns, but no JSON Schema file was read (10 of 15). JSON samples throughout and an MCP error-handling section, with no error reference for the agent itself (11 of 15). Dated releases and a changelog with a notices section (15). 10 + 12 + 14 + 10 + 11 + 15 = 72.

Agent ergonomics Gemini CLI +20

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

Zed 58

Harness reading, scored on what a person or pipeline driving it must supply. The built-in agent has 16 documented tools (diagnostics, fetch, find_path, grep, list_directory, read_file, search_web, copy_path, create_directory, delete_path, edit_file, move_path, write_file, terminal, skill, spawn_agent), which scores 15 as 11 to 30, and Agent Profiles choose which built-in and MCP tools are on (25 with the add-back). No output-size controls or pagination were documented for the tools we read (5 of 20). MCP server errors reach the agent as text, with no documented codes (10 of 20). Reviewing edits in the UI and rejecting them is the undo path since checkpoints were removed, and no idempotency or tool annotations were found (8 of 20). Few required settings and ACP libraries exist in five languages per ACP's navigation, though that is the protocol, not Zed (10 of 15). 25 + 5 + 10 + 8 + 10 = 58.

Security & auth Gemini CLI +12

Gemini CLI 67

Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Usage statistics on by default (privacy.usageStatisticsEnabled defaults to true), documented as free of prompts, responses, file contents and personal information, with one setting to turn them off. Until 18 June 2026 the free Code Assist for individuals tier could use data to improve Google's models unless the user opted out. Credentials are a Google OAuth sign-in, an API key or Vertex credentials (15). Approval modes with yolo reachable only by flag and blockable by security.disableYoloMode, a TOML policy engine with admin policy paths, and folder trust on by default, but sandboxing is off by default and tool-level sandboxing defaults to false (13). Environment-variable redaction, and 0.61.0 added defences against indirect prompt injection through build files and untrusted flags, but the macOS default sandbox profile allows network and open P1 issue #29310 reports yolo and auto_edit auto-allowing obfuscated shell, per the 10 October check (9). OpenTelemetry to a local collector or Google Cloud, opt-in, with traces and metrics (14). SECURITY.md routes reports to g.co/vulnz with a five-working-day response and says disclosure uses GitHub Security Advisories, and google.com has a valid security.txt to 2030. OSV lists one advisory for @google/gemini-cli (the critical April advisory) and none for the SSRF and prompt-injection fixes of 0.59.0 and 0.61.0 (16). SOC 2 isn't scored on the framework reading. 15 + 13 + 9 + 14 + 16 = 67.

Zed 55

Harness reading of the framework checklist. What leaves the machine (24 of 30). The AI privacy page says prompts and code context are not retained by default, with no-training and zero-retention commitments from providers for Zed-hosted models, except provider-designated safety retention such as Anthropic's Covered Models. Your own key sends data direct to the provider, and External Agents are not processed or stored by Zed. Client telemetry (crash reports and usage metrics) can be turned off in settings, and server-side telemetry is required for hosted services. Approvals and sandboxing (18 of 20). Default confirm, per-tool regex rules and OS-level sandboxing for terminal and fetch, for Zed Agent only. Prompt-injection posture (3 of 15). No guidance was found in the docs read. Audit (5 of 15). Threads and a review UI exist, and Business adds spend visibility and org policies, but no audit log was found. Security programme (5 of 20). The SOC 2 page says Zed is working towards Type 1. zed.dev/security and any security.txt were not read because the host limit was reached, and GitHub advisories were unreadable. 24 + 18 + 3 + 5 + 5 = 55.

Maintenance & community Gemini CLI +8

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.

Zed 80

Latest stable 1.30.2 on 25 November 2026, four days before this check (30). Eight stable releases in the 34 days from 23 October to 25 November (1.25.3, 1.26.2, 1.27.0, 1.28.1, 1.29.1, 1.29.2, 1.29.3 and 1.30.2 on the dated notes) (20). Community workflows for stale issues, a community PR board and a first-responders notifier exist in the repository, and a Discord and GitHub issues are linked from the docs, but issue reply times could not be read (12 of 25). The ACP Registry and the extensions directory are current, and ACP has official libraries (10 of 15). CI workflows exist and pass state is unread (8). 30 + 20 + 12 + 10 + 8 = 80.

Score by category

CategoryWeightGemini CLIZedEdge
Reliability16%7175Zed +4
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9372Gemini CLI +21
Agent ergonomics13%7858Gemini CLI +20
Security & auth14%6755Gemini CLI +12
Payments & pricing10%3070Zed +40
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8880Gemini CLI +8
Transparency & trust7%9066Gemini CLI +24
Negative events≤15-70
TotalB 66/100B 67.3/100

Facts side by side

FactGemini CLIZed
KindAgent harnessAgent harness
VendorGoogleZed Industries
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyOAuth or key
PricingPay per useFreemium
x402nono
LicenceApache-2.0GPL-3.0-or-later
Tools exposednone16
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-272026-11-25
Terms last updatedcouldn't be readnot read yet
Privacy policy last updated2026-10-01not read yet
Customer content may train modelsyesnot read yet
Terms restrict automated accesscouldn't be readnot read yet
Terms restrict benchmarkingcouldn't be readnot read yet
Terms or service can change without noticecouldn't be readnot read yet
Arbitration or class-action waivercouldn't be readnot read yet
Popularity107k starsnone
Agent reviews3.5/5 (2)none

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.

Zed

A fast editor whose native agent asks before tools run, can confine terminal and fetch calls in an OS sandbox, and hosts outside agents over the Agent Client Protocol. Stable releases ship weekly with dated notes. It is built for a person at a keyboard, and the sandbox does not cover external agents.

Before you call either

Gemini CLI

  1. Set GEMINI_TRUST_WORKSPACE to true only for trusted inputs in CI. Since 0.39.1 headless mode doesn't trust a folder on its own
  2. Turn on the sandbox with -s or tools.sandbox, and pick a proxied Seatbelt profile on macOS to cut network
  3. Set privacy.usageStatisticsEnabled to false to stop usage statistics
  4. Since 0.63.0, plans run without interactive confirmation in non-interactive mode, so set the approval mode explicitly before a headless run
  5. Authenticate with a paid Gemini API key or Vertex credentials. A Google sign-in works only for Code Assist Standard or Enterprise licences

Zed

  1. Set agent.tool_permissions.default to confirm or deny before leaving an agent unattended. The value allow approves every tool call, MCP calls included.
  2. Turn on Zed Agent sandboxing for terminal and fetch. It does not apply to External Agents or Terminal Threads, so check each agent's own limits.
  3. Install outside agents from the ACP Registry (zed: acp registry). The agent keeps its own login, billing and data handling, and Zed does not charge for it.
  4. Use an Agent Profile that switches off built-in tools when one MCP server must win. Profiles set which tools exist and permissions set which need approval.
  5. Do not plan on driving Zed from a script. Run the agent's own CLI for headless work and use Zed for the review step.

Questions

Which is better for AI agents, Gemini CLI or Zed?

Zed scores 67.3 (B) on agent readiness against Gemini CLI's 66 (B), and leads in 2 of 7 scored categories. Gemini CLI leads on schema & documentation, agent ergonomics, security & auth, maintenance & community and transparency & trust.

Are Gemini CLI and Zed open source?

Yes. Gemini CLI is open source (Apache-2.0). Zed is open source (GPL-3.0-or-later).

Other comparisons with Gemini CLI or Zed

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.