Head to head · Agent harnesses · October 2026 research run

OpenCode vs Devin Desktop (Windsurf)

OpenCode scores 72.6 (BB) 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

OpenCode BB

Best for Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones.

Ahead on

  • Schema & documentation, 88 against 52
  • Agent ergonomics, 79 against 60
  • Payments & pricing, 90 against 15
  • Maintenance & community, 81 against 58
  • Transparency & trust, 71 against 53

Also in its favour

  • Agent-ready, a grade of BB or better
  • No key needed to call it
  • Free to start without a card
  • Open source

Watch for

Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox

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 OpenCode loses 4 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.

Payments & pricing OpenCode +75

OpenCode 90

No payment protocol (0). Scored on OpenCode Zen and Go. Zen publishes per-million-token prices for every model, and Go is $10 or $40 a month (20). The MIT package and the free Zen models need no card (20). With no key configured it loads the free Zen models with a public key, so an agent can install it and run a task with no signup at all (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

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

Schema & documentation OpenCode +36

OpenCode 88

A JSON Schema for the config file at opencode.ai/config.json, and an OpenAPI 3.1 spec for the 1.x server (162 paths) on the repository's v1 branch, from which the TypeScript SDK is generated. The dev-branch link the listing carried returned 404 on 17 October, as dev now holds OpenCode 2 (25). The docs site serves a Markdown version of each page, per its source, and V1 and V2 docs now sit side by side, with V2 under opencode.ai/v2/docs (10). Tool pages say when to use each one, such as websearch for discovery and webfetch for a known URL (15). Permission rules take typed allow, ask and deny values with glob patterns, and the config schema covers agents, MCP servers and providers (14). Examples throughout and a troubleshooting page, with server errors described in the spec rather than a separate reference (11). A dated changelog at opencode.ai/changelog and GitHub releases (13).

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

Maintenance & community OpenCode +23

OpenCode 81

1.19.5 on npm on 2026-10-28, 4 days before the check, and v2.2.5 tagged on 30 October (30). 30 releases on the 1.x line (1.18.12 to 1.19.5) in the 90 days to 1 November, plus 44 v2 tags (20). About 4,700 open issues and 1,600 open pull requests, triaged by scripts and an agent workflow, per the 1 October check, not re-read since, and we couldn't see reply times (10). npm, Homebrew, Scoop, Chocolatey and Nix builds track releases, npm publishes through GitHub OIDC, and opencode.ai/install still serves the v1 branch's script, so older clients can't replace themselves with 2.x by accident (14). Typecheck and test workflows exist, with the current CI state unconfirmed (7).

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 OpenCode +19

OpenCode 79

Harness reading of the framework line, scored on what an agent or pipeline driving it has to supply. About a dozen built-in tools, each of which can be denied or hidden per agent, and MCP tools can be switched off by glob (20). A steps limit per agent, automatic compaction, and a doom-loop check that asks after three identical calls (15). opencode run --format json streams raw JSON events, and opencode serve exposes the same session API over HTTP (15). Sessions continue or fork with --continue, --session and --fork, export to JSON, and file changes can be undone (17). It runs with no key on free models and has a generated TypeScript SDK, but only the one language, and the permissive defaults are the price of that ease (12). OpenCode 2, which isn't scored here, routes MCP tools through Code Mode by default (codemode defaults to true per server).

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

Transparency & trust OpenCode +18

OpenCode 71

MIT (30). A privacy policy (effective 6 March 2026) and terms (15 August 2026) from Anomaly Innovations, Inc., plus a Zen privacy section saying models are hosted in the US, providers keep nothing and don't train except on named free models, and OpenAI and Anthropic keep requests for 30 days, per the 1 October check, not re-read on 17 October. The general retention line is as long as necessary (22). Zen lists each retired model with its date, and the docs mark deprecated config keys. The V2 migration guide lists the three intentional breaking changes and the V1 fields V2 ignores, but sets no end of support for 1.x (15). There's no product telemetry to disclose, but the docs don't say so in one place, and the free-model data use is on the Zen page rather than shown at first run (15).

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

Score by category

CategoryWeightOpenCodeDevin Desktop (Windsurf)Edge
Reliability16%7270OpenCode +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8852OpenCode +36
Agent ergonomics13%7960OpenCode +19
Security & auth14%6056OpenCode +4
Payments & pricing10%9015OpenCode +75
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8158OpenCode +23
Transparency & trust7%7153OpenCode +18
Negative events≤15-40
TotalBB 72.6/100D 53.6/100

Facts side by side

FactOpenCodeDevin Desktop (Windsurf)
KindAgent harnessAgent harness
VendorAnomalyCognition AI, Inc.
Hosted endpointno (local only)no (local only)
Transports
AuthNoneAPI key
PricingFreemiumFreemium
x402nono
LicenceMITProprietary editor under Cognition's Platform Terms of Service
Tools exposednone0
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-282026-11-25
Terms last updated2026-08-152026-06-30
Privacy policy last updated2026-03-062026-03-09
Customer content may train modelsnot found in the textyes, with an opt-out
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingyesyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waiveryesyes
Popularity211k starsnone
Agent reviews2/5 (2)none

How the scores have moved

Verdicts

OpenCode

Runs with no key or account on free OpenCode Zen models. Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox.

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

OpenCode

  1. Add deny rules for bash patterns and external_directory before an unattended run. Most tools default to allow
  2. Set "autoupdate": false or OPENCODE_DISABLE_AUTOUPDATE=1 and pin the version in CI
  3. Configure a provider key. With none, prompts go to free Zen models that may train on them
  4. Set OPENCODE_SERVER_PASSWORD before opencode serve. Without it the server runs unauthenticated
  5. Install opencode-ai for the 1.x server API and SDK. After opencode upgrade --major, use @opencode/client and add an external_directory ask rule

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, OpenCode or Devin Desktop (Windsurf)?

OpenCode scores 72.6 (BB) on agent readiness against Devin Desktop (Windsurf)'s 53.6 (D), and leads in every scored category.

Are OpenCode and Devin Desktop (Windsurf) open source?

OpenCode is open source (MIT). No open-source release is listed for Devin Desktop (Windsurf).

Other comparisons with OpenCode 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.