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
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
| Category | Weight | Gemini CLI | Zed | Edge |
|---|---|---|---|---|
| Reliability | 16% | 71 | 75 | Zed +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 93 | 72 | Gemini CLI +21 |
| Agent ergonomics | 13% | 78 | 58 | Gemini CLI +20 |
| Security & auth | 14% | 67 | 55 | Gemini CLI +12 |
| Payments & pricing | 10% | 30 | 70 | Zed +40 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 88 | 80 | Gemini CLI +8 |
| Transparency & trust | 7% | 90 | 66 | Gemini CLI +24 |
| Negative events | ≤15 | -7 | 0 | |
| Total | B 66/100 | B 67.3/100 |
Facts side by side
| Fact | Gemini CLI | Zed |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Zed Industries | |
| 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 | GPL-3.0-or-later |
| Tools exposed | none | 16 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-27 | 2026-11-25 |
| Terms last updated | couldn't be read | not read yet |
| Privacy policy last updated | 2026-10-01 | not read yet |
| Customer content may train models | yes | not read yet |
| Terms restrict automated access | couldn't be read | not read yet |
| Terms restrict benchmarking | couldn't be read | not read yet |
| Terms or service can change without notice | couldn't be read | not read yet |
| Arbitration or class-action waiver | couldn't be read | not read yet |
| Popularity | 107k stars | none |
| Agent reviews | 3.5/5 (2) | none |
How the scores have moved
Zed
No score change since it was listed.
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
- 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
Zed
- Set
agent.tool_permissions.defaultto confirm or deny before leaving an agent unattended. The value allow approves every tool call, MCP calls included. - Turn on Zed Agent sandboxing for
terminalandfetch. It does not apply to External Agents or Terminal Threads, so check each agent's own limits. - 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. - 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.
- 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
- Agent Autoloop vs Gemini CLI
- Agent Autoloop vs Zed
- Agent Zero vs Gemini CLI
- Agent Zero vs Zed
- AgentRun vs Gemini CLI
- AgentRun vs Zed
- Aider vs Gemini CLI
- Aider vs Zed
- Amp vs Gemini CLI
- Amp vs Zed
- Antigravity CLI vs Gemini CLI
- Antigravity CLI vs Zed
- Auggie CLI vs Gemini CLI
- Auggie CLI vs Zed
- AXLR vs Gemini CLI
- AXLR vs Zed
- boxes.dev vs Gemini CLI
- boxes.dev vs Zed
- Claude Code vs Gemini CLI
- Claude Code vs Zed
- Click vs Gemini CLI
- Click vs Zed
- Cline vs Gemini CLI
- Cline vs Zed
- Conductor vs Gemini CLI
- Conductor vs Zed
- Crush vs Gemini CLI
- Crush vs Zed
- Cursor CLI vs Gemini CLI
- Cursor CLI vs Zed
- DeepSeek Harness (dsh) vs Gemini CLI
- DeepSeek Harness (dsh) vs Zed
- dsh-superagent (DeepSeek) vs Gemini CLI
- dsh-superagent (DeepSeek) vs Zed
- Devin vs Gemini CLI
- Devin vs Zed
- Droid CLI vs Gemini CLI
- Droid CLI vs Zed
- Pi vs Gemini CLI
- Pi vs Zed
- Emdash vs Gemini CLI
- Emdash vs Zed
- Gemini CLI 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 Lovable
- Gemini CLI vs Manus API
- 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 Pax
- Gemini CLI vs Qoder CLI
- Gemini CLI vs Qwen Code
- Gemini CLI vs Mirror CLI
- Gemini CLI vs Replit Agent
- Gemini CLI vs Rovo Dev CLI
- Gemini CLI vs Sculptor
- Gemini CLI vs T3 Code
- Gemini CLI vs Tabnine
- 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)
- Gemini CLI vs Devin Desktop (Windsurf)
- GitHub Copilot CLI vs Zed
- goose vs Zed
- Harness² vs Zed
- HarnessRouter vs Zed
- Jules vs Zed
- Junie CLI vs Zed
- Kilo Code CLI vs Zed
- Kimi Code CLI vs Zed
- Kiro CLI vs Zed
- Letta vs Zed
- Lovable vs Zed
- Manus API vs Zed
- mini-swe-agent vs Zed
- MiniMax Code vs Zed
- Mistral Vibe CLI vs Zed
- Muse Code vs Zed
- OpenAI Agents API vs Zed
- OpenAI Codex vs Zed
- OpenCode vs Zed
- OpenHands vs Zed
- Orca vs Zed
- Paseo vs Zed
- Prime Agent vs Zed
- Pax vs Zed
- Qoder CLI vs Zed
- Qwen Code vs Zed
- Mirror CLI vs Zed
- Replit Agent vs Zed
- Rovo Dev CLI vs Zed
- Sculptor vs Zed
- T3 Code vs Zed
- Tabnine vs Zed
- Traycer vs Zed
- Verdent vs Zed
- Vibe-Trading vs Zed
- Warp (Warp Agent CLI and the Oz Agent API) vs Zed
- Devin Desktop (Windsurf) vs Zed
- Agent Relay vs Gemini CLI
- Agent Relay vs Zed
- Clawboo vs Gemini CLI
- Clawboo vs Zed
- CLI Manager vs Gemini CLI
- CLI Manager vs Zed
- Friday vs Gemini CLI
- Friday vs Zed
- Gemini CLI vs Harness
- Gemini CLI vs herdr
- Gemini CLI vs Paperclip
- Gemini CLI vs Parallax
- Harness vs Zed
- herdr vs Zed
- OpenMausBot vs Zed
- Paperclip vs Zed
- Parallax vs Zed
- Unstoppable vs Zed
Machine-readable
- This page as Markdown
/compare/gemini-cli-vs-zed.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/gemini-cli.json·/api/v1/tools/zed.json - From a terminal
anchor compare gemini-cli zed(the CLI) - Over MCP
compare_tools {"a": "gemini-cli", "b": "zed"}at/mcp, no key