Head to head · Agent harnesses · October 2026 research run

Gemini CLI vs Devin Desktop (Windsurf)

Gemini CLI scores 66 (B) on agent readiness against Devin Desktop (Windsurf)'s 53.6 (D), and leads in every scored category. 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 52
  • Agent ergonomics, 78 against 60
  • Security & auth, 67 against 56
  • Payments & pricing, 30 against 15
  • Maintenance & community, 88 against 58
  • Transparency & trust, 90 against 53

Also in its favour

  • Open source

Watch for

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

Devin Desktop (Windsurf) D

Best for An admin who wants usage, credit and model-allowlist data from Devin Desktop in a script.

Also in its favour

  • No incidents deducted, where Gemini CLI loses 7 points for them

Watch for

The editor and its agent cannot be started or steered by an outside agent. The CLI that can is a separate product

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.

Schema & documentation Gemini CLI +41

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

Devin Desktop (Windsurf) 52

No OpenAPI or other machine-readable contract was linked from the docs pages read, so none is scored (0). docs.devin.ai/llms.txt and a Markdown copy of each page exist (10). Each endpoint page says what it returns and which permission it needs, though not when to use it or not (12). Parameters are typed, with enum values such as QUERY_DATA_SOURCE_USER_DATA and QUERY_AGGREGATION_SUM, but selections and filters are nested objects (10). Request examples in several languages and an error page with causes and fixes (12). Versions v1, v2alpha and v2beta are visible in the paths and the old v2alpha analytics paths still work, but no API-specific changelog was found, only the editor's (8).

Transparency & trust Gemini CLI +37

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.

Devin Desktop (Windsurf) 53

Closed source, with platform terms dated 16 November 2026 (15). The terms allow model training on customer data with a paid opt-out and zero data retention, and the privacy policy and the data processing agreement of 12 November 2026 agree on the opt-out, though the privacy policy's wording is conditional (18). The Cascade agent has a stated end date of 1 July 2026 and a successor, and the old v2alpha paths continue, with no general deprecation policy (6). A subprocessor list is in Appendix C of the data processing agreement, which was not read in full, and no client telemetry statement was read (8).

Maintenance & community Gemini CLI +30

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.

Devin Desktop (Windsurf) 58

The editor shipped 3.15.14 on 25 November 2026, four days before this check (30). The changelog lists at least nine releases in November and more than three in the last 90 days (20). A public changelog, a support page and a Reddit community exist, and no issue tracker for the API is public, so reply times were not judged (8). There is no official SDK and no MCP registry entry for this surface (0). Package health does not apply to a closed editor (0).

Agent ergonomics Gemini CLI +18

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

Devin Desktop (Windsurf) 60

Graded as an API. Custom Analytics takes field selections, filters and aggregations, and v2 has grouping and granularity, so a response can be sized (15). v2 uses cursor pagination with a 24-hour cursor, and filters on dates, users and groups (18). The error page lists messages, causes and fixes for bad data sources, mixed aggregations and distinct fields (14). v2 endpoints are GET reads, which are safe to repeat, and the usage cap endpoint sets a value. No idempotency guidance or tool annotations were found (8). Defaults are few, but v1 and v2 differ in transport and credentials, and no official SDK was found (5).

Payments & pricing Gemini CLI +15

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.

Devin Desktop (Windsurf) 15

No machine payment protocol (0). Plan prices are public, with no per-call price for the admin API (15). A Free plan exists for the editor, but v1 is Enterprise-only, so no free route to the API was found (0). A person must create the service key in the web app (0).

Security & auth Gemini CLI +11

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.

Devin Desktop (Windsurf) 56

Service keys carry named permissions, can be scoped to a group, and a Devin service-user key is accepted on v2 with a named permission (22, since rotation and expiry were not found). Billing Read and Billing Write are separate, and v1 keys must be sent in the request body, which is not a URL (14). The API returns usage data with user emails and no untrusted content (10). No audit log for API calls was found (0). security@windsurf.com takes encrypted reports with a coordinated disclosure policy and safe harbour. No security.txt, bug bounty or certification page was read (10).

Score by category

CategoryWeightGemini CLIDevin Desktop (Windsurf)Edge
Reliability16%7170Gemini CLI +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9352Gemini CLI +41
Agent ergonomics13%7860Gemini CLI +18
Security & auth14%6756Gemini CLI +11
Payments & pricing10%3015Gemini CLI +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8858Gemini CLI +30
Transparency & trust7%9053Gemini CLI +37
Negative events≤15-70
TotalB 66/100D 53.6/100

Facts side by side

FactGemini CLIDevin Desktop (Windsurf)
KindAgent harnessAgent harness
VendorGoogleCognition AI, Inc.
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyAPI key
PricingPay per useFreemium
x402nono
LicenceApache-2.0Proprietary editor under Cognition's Platform Terms of Service
Tools exposednone0
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-272026-11-25
Terms last updatedcouldn't be read2026-06-30
Privacy policy last updated2026-10-012026-03-09
Customer content may train modelsyesyes, with an opt-out
Terms restrict automated accesscouldn't be readnot found in the text
Terms restrict benchmarkingcouldn't be readyes
Terms or service can change without noticecouldn't be readnot found in the text
Arbitration or class-action waivercouldn't be readyes
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.

Devin Desktop (Windsurf)

No interface starts the editor's agent, so an outside agent can use only the enterprise admin API for usage, spend caps and model lists. It is documented per endpoint, with 429 and Retry-After on v2. The v1 API is Enterprise-only, v2 is in beta, and no OpenAPI file or SDK was found.

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

Devin Desktop (Windsurf)

  1. Use the editor as a person's tool. Call https://server.codeium.com only for usage, credit and model-list questions
  2. Send v2 analytics requests with Authorization: Bearer and a cog_ key that has Use Local Analytics API. Do not pass group_id with a Devin key, because it returns 400
  3. Run each analytics report once an hour at most. Follow next_page_cursor for more rows, which does not count against the limit, and wait for Retry-After on 429
  4. Send the service key in the JSON body on /api/v1 calls. A Bearer header alone is not enough for those endpoints
  5. Expect the names to change. Docs, paths and keys still say Windsurf and Codeium although the product is Devin Desktop

Questions

Which is better for AI agents, Gemini CLI or Devin Desktop (Windsurf)?

Gemini CLI scores 66 (B) on agent readiness against Devin Desktop (Windsurf)'s 53.6 (D), and leads in every scored category.

Are Gemini CLI and Devin Desktop (Windsurf) open source?

Gemini CLI is open source (Apache-2.0). No open-source release is listed for Devin Desktop (Windsurf).

Other comparisons with Gemini CLI or Devin Desktop (Windsurf)

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.