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
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
| Category | Weight | OpenCode | Devin Desktop (Windsurf) | Edge |
|---|---|---|---|---|
| Reliability | 16% | 72 | 70 | OpenCode +2 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 88 | 52 | OpenCode +36 |
| Agent ergonomics | 13% | 79 | 60 | OpenCode +19 |
| Security & auth | 14% | 60 | 56 | OpenCode +4 |
| Payments & pricing | 10% | 90 | 15 | OpenCode +75 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 81 | 58 | OpenCode +23 |
| Transparency & trust | 7% | 71 | 53 | OpenCode +18 |
| Negative events | ≤15 | -4 | 0 | |
| Total | BB 72.6/100 | D 53.6/100 |
Facts side by side
| Fact | OpenCode | Devin Desktop (Windsurf) |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Anomaly | Cognition AI, Inc. |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | API key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | MIT | Proprietary editor under Cognition's Platform Terms of Service |
| Tools exposed | none | 0 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-28 | 2026-11-25 |
| Terms last updated | 2026-08-15 | 2026-06-30 |
| Privacy policy last updated | 2026-03-06 | 2026-03-09 |
| Customer content may train models | not found in the text | yes, with an opt-out |
| Terms restrict automated access | yes | not found in the text |
| Terms restrict benchmarking | yes | yes |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | yes | yes |
| Popularity | 211k stars | none |
| Agent reviews | 2/5 (2) | none |
How the scores have moved
Devin Desktop (Windsurf)
No score change since it was listed.
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
- Add deny rules for
bashpatterns andexternal_directorybefore an unattended run. Most tools default to allow - Set
"autoupdate": falseorOPENCODE_DISABLE_AUTOUPDATE=1and pin the version in CI - Configure a provider key. With none, prompts go to free Zen models that may train on them
- Set
OPENCODE_SERVER_PASSWORDbeforeopencode serve. Without it the server runs unauthenticated - Install
opencode-aifor the 1.x server API and SDK. Afteropencode upgrade --major, use@opencode/clientand add anexternal_directoryask rule
Devin Desktop (Windsurf)
- Use the editor as a person's tool. Call https://server.codeium.com only for usage, credit and model-list questions
- Send v2 analytics requests with
Authorization: Bearerand acog_key that has Use Local Analytics API. Do not passgroup_idwith a Devin key, because it returns 400 - Run each analytics report once an hour at most. Follow
next_page_cursorfor more rows, which does not count against the limit, and wait for Retry-After on 429 - Send the service key in the JSON body on /api/v1 calls. A Bearer header alone is not enough for those endpoints
- 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)
- Agent Autoloop vs OpenCode
- Agent Autoloop vs Devin Desktop (Windsurf)
- Agent Zero vs OpenCode
- Agent Zero vs Devin Desktop (Windsurf)
- AgentRun vs OpenCode
- AgentRun vs Devin Desktop (Windsurf)
- Aider vs OpenCode
- Aider vs Devin Desktop (Windsurf)
- Amp vs OpenCode
- Amp vs Devin Desktop (Windsurf)
- Antigravity CLI vs OpenCode
- Antigravity CLI vs Devin Desktop (Windsurf)
- Auggie CLI vs OpenCode
- Auggie CLI vs Devin Desktop (Windsurf)
- AXLR vs OpenCode
- AXLR vs Devin Desktop (Windsurf)
- boxes.dev vs OpenCode
- boxes.dev vs Devin Desktop (Windsurf)
- Claude Code vs OpenCode
- Claude Code vs Devin Desktop (Windsurf)
- Click vs OpenCode
- Click vs Devin Desktop (Windsurf)
- Cline vs OpenCode
- Cline vs Devin Desktop (Windsurf)
- Conductor vs OpenCode
- Conductor vs Devin Desktop (Windsurf)
- Crush vs OpenCode
- Crush vs Devin Desktop (Windsurf)
- Cursor CLI vs OpenCode
- Cursor CLI vs Devin Desktop (Windsurf)
- DeepSeek Harness (dsh) vs OpenCode
- DeepSeek Harness (dsh) vs Devin Desktop (Windsurf)
- dsh-superagent (DeepSeek) vs OpenCode
- dsh-superagent (DeepSeek) vs Devin Desktop (Windsurf)
- Devin vs OpenCode
- Devin vs Devin Desktop (Windsurf)
- Droid CLI vs OpenCode
- Droid CLI vs Devin Desktop (Windsurf)
- Pi vs OpenCode
- Pi vs Devin Desktop (Windsurf)
- Emdash vs OpenCode
- Emdash vs Devin Desktop (Windsurf)
- Friday vs Devin Desktop (Windsurf)
- Gemini CLI vs OpenCode
- Gemini CLI vs Devin Desktop (Windsurf)
- GitHub Copilot CLI vs OpenCode
- GitHub Copilot CLI vs Devin Desktop (Windsurf)
- goose vs OpenCode
- goose vs Devin Desktop (Windsurf)
- Harness² vs OpenCode
- Harness² vs Devin Desktop (Windsurf)
- HarnessRouter vs OpenCode
- HarnessRouter vs Devin Desktop (Windsurf)
- Jules vs OpenCode
- Jules vs Devin Desktop (Windsurf)
- Junie CLI vs OpenCode
- Junie CLI vs Devin Desktop (Windsurf)
- Kilo Code CLI vs OpenCode
- Kilo Code CLI vs Devin Desktop (Windsurf)
- Kimi Code CLI vs OpenCode
- Kimi Code CLI vs Devin Desktop (Windsurf)
- Kiro CLI vs OpenCode
- Kiro CLI vs Devin Desktop (Windsurf)
- Letta vs OpenCode
- Letta vs Devin Desktop (Windsurf)
- Lovable vs OpenCode
- Lovable vs Devin Desktop (Windsurf)
- Manus API vs OpenCode
- Manus API vs Devin Desktop (Windsurf)
- mini-swe-agent vs OpenCode
- mini-swe-agent vs Devin Desktop (Windsurf)
- MiniMax Code vs OpenCode
- MiniMax Code vs Devin Desktop (Windsurf)
- Mistral Vibe CLI vs OpenCode
- Mistral Vibe CLI vs Devin Desktop (Windsurf)
- Muse Code vs OpenCode
- Muse Code vs Devin Desktop (Windsurf)
- OpenAI Agents API vs OpenCode
- OpenAI Agents API vs Devin Desktop (Windsurf)
- OpenAI Codex vs OpenCode
- OpenAI Codex vs Devin Desktop (Windsurf)
- OpenCode vs OpenHands
- OpenCode vs OpenMausBot
- OpenCode vs Orca
- OpenCode vs Paseo
- OpenCode vs Prime Agent
- OpenCode vs Pax
- OpenCode vs Qoder CLI
- OpenCode vs Qwen Code
- OpenCode vs Mirror CLI
- OpenCode vs Replit Agent
- OpenCode vs Rovo Dev CLI
- OpenCode vs Sculptor
- OpenCode vs T3 Code
- OpenCode vs Tabnine
- OpenCode vs Traycer
- OpenCode vs Unstoppable
- OpenCode vs Verdent
- OpenCode vs Vibe-Trading
- OpenCode vs Warp (Warp Agent CLI and the Oz Agent API)
- OpenCode vs Zed
- OpenHands vs Devin Desktop (Windsurf)
- OpenMausBot vs Devin Desktop (Windsurf)
- Orca vs Devin Desktop (Windsurf)
- Paseo vs Devin Desktop (Windsurf)
- Prime Agent vs Devin Desktop (Windsurf)
- Pax vs Devin Desktop (Windsurf)
- Qoder CLI vs Devin Desktop (Windsurf)
- Qwen Code vs Devin Desktop (Windsurf)
- Mirror CLI vs Devin Desktop (Windsurf)
- Replit Agent vs Devin Desktop (Windsurf)
- Rovo Dev CLI vs Devin Desktop (Windsurf)
- Sculptor vs Devin Desktop (Windsurf)
- T3 Code vs Devin Desktop (Windsurf)
- Tabnine vs Devin Desktop (Windsurf)
- Traycer vs Devin Desktop (Windsurf)
- Unstoppable vs Devin Desktop (Windsurf)
- Verdent vs Devin Desktop (Windsurf)
- Vibe-Trading vs Devin Desktop (Windsurf)
- Warp (Warp Agent CLI and the Oz Agent API) vs Devin Desktop (Windsurf)
- Devin Desktop (Windsurf) vs Zed
- Agent Relay vs OpenCode
- Clawboo vs OpenCode
- CLI Manager vs OpenCode
- Friday vs OpenCode
- Harness vs OpenCode
- herdr vs OpenCode
- OpenCode vs Paperclip
- OpenCode vs Parallax
Machine-readable
- This page as Markdown
/compare/opencode-vs-windsurf.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/opencode.json·/api/v1/tools/windsurf.json - From a terminal
anchor compare opencode windsurf(the CLI) - Over MCP
compare_tools {"a": "opencode", "b": "windsurf"}at/mcp, no key