Head to head · Agent harnesses · October 2026 research run

OpenAI Codex vs Devin Desktop (Windsurf)

OpenAI Codex scores 77.3 (BB) on agent readiness against Devin Desktop (Windsurf)'s 53.6 (D), and leads in 6 of 7 scored categories. Devin Desktop (Windsurf) leads on reliability. Both do agent harnesses.

Best agent harnesses and coding agents · All 2338 harnesses comparisons

Which one, for what

OpenAI Codex BB

Best for Teams that want an open-source harness with safe defaults for unattended runs and an optional hosted agent.

Ahead on

  • Schema & documentation, 90 against 52
  • Agent ergonomics, 80 against 60
  • Security & auth, 82 against 56
  • Payments & pricing, 90 against 15
  • Maintenance & community, 87 against 58
  • Transparency & trust, 85 against 53

Also in its favour

  • Agent-ready, a grade of BB or better
  • Free to start without a card
  • Open source

Watch for

Pre-1.0 at 0.166.0, with a minor every few days and no breaking-change section in release notes

Devin Desktop (Windsurf) D

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

Ahead on

  • Reliability, 70 against 55

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 OpenAI Codex +75

OpenAI Codex 90

Harness reading of the published rubric. No payment protocol (0). Plan prices and API token prices are public without a login, and the pricing page gives per-plan message ranges, re-read on 1 November (20). ChatGPT Free and Go include Codex, and Free needs no card (20). --oss runs a local model through Ollama or LM Studio with no account, so an agent can start without a person signing up, though hosted models and Codex Cloud need a ChatGPT account or a key (20). 0 + 20 + 20 + 20 = 60. 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 OpenAI Codex +38

OpenAI Codex 90

Framework reading. A JSON Schema for config.toml in the repository (codex-rs/core/config.schema.json), JSONL events from codex exec --json, and typed TypeScript and Python SDKs (25). llms.txt at learn.chatgpt.com with a Markdown twin for every page, re-read on 1 November (10). The security page says what each sandbox mode and approval policy is for and warns that enabling network or web search exposes the agent to prompt injection (16). Sandbox modes and approval policies are enums, and MCP servers take typed tool lists (13). Examples throughout, and --output-schema validates the final message. The non-interactive page names the event types, turn.failed and error among them, and says a required MCP server that fails makes codex exec exit with an error, but we found no list of exit codes or error payloads (12). Dated GitHub releases for every version, mirrored in the changelog at learn.chatgpt.com, which runs to 0.166.0 on 29 October (14). 25 + 10 + 16 + 13 + 12 + 14 = 90.

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 OpenAI Codex +32

OpenAI Codex 85

Apache-2.0 for the CLI and SDKs (30). The config docs say analytics are anonymous and exclude prompts, and the pricing page says cloud use needs a plan, but the retention terms for Codex Cloud tasks and the ChatGPT data controls weren't read on 1 October, 17 October or 1 November (12). The changelog at learn.chatgpt.com dates model retirements ahead of time with replacements (GPT-5.4 and GPT-5.4 mini announced on 31 July for 31 August, GPT-5.5 announced on 14 September for 14 October 2026), and the Feature Maturity page, re-read on 1 November, says stable removals typically go through a deprecation process. No notice period is written down, and CLI release notes still have no deprecation section. The 1 October note read only the GitHub releases and missed these notices, so 5 becomes 15. Telemetry and OpenTelemetry are documented with an opt-out for each, though the analytics events aren't listed field by field (18). 30 + 12 + 15 + 18 = 75.

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 OpenAI Codex +29

OpenAI Codex 87

0.166.0 on 29 October 2026 (30). 36 stable release tags between 5 August and 29 October, from 0.146.1 to 0.166.0 (20). Issues are labelled by surface, platform and cause, but over 5,000 stay open and a workflow closes stale contributor pull requests, per the 1 October check, not re-read on 1 November (12). TypeScript and Python SDKs are in the same repository and built in CI (15). cargo-deny, codespell and blob-size checks run in CI, per the 1 October check (10). 30 + 20 + 12 + 15 + 10 = 87.

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

Security & auth OpenAI Codex +26

OpenAI Codex 82

Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Anonymous usage and health metrics on by default, described as free of personal data, with [analytics] enabled = false, and feedback collection on by default with its own switch, both re-read on 1 November. Credentials are a ChatGPT login or an API key (20). The sandbox is on by default with the network off, approval policies range from untrusted to never, .git, .agents and .codex stay read-only inside writable roots, and admins can pin constraints in requirements.toml (19). Network off by default locally. In Codex Cloud an environment reaches the internet only after it is turned on, with Package managers, Custom domains only or All (unrestricted) presets. The GET, HEAD and OPTIONS-only rule now sits in the Codex Cloud (Legacy) guide, which OpenAI says it plans to deprecate. The docs keep a worked example of prompt-injection exfiltration (14). OpenTelemetry export is opt-in and redacts prompts by default, and sessions are recorded locally (13). Bugcrowd programme, SECURITY.md and a signed security.txt on openai.com, per the 1 October check, not re-read on 1 November. As on the openai-api and openai-agents-sdk listings, that security.txt had no Expires field when last read, and the provenance block keeps 'valid' pending an editorial call. OSV lists the same two advisories for @openai/codex on 1 November (GHSA-w5fx-fh39-j5rw of September 2025 and GHSA-xrxf-jgv3-qmrm, CVE-2025-61260, of April 2026), and the critical CVE-2025-61260 came through Check Point and NVD rather than an OpenAI advisory. 0.165.0 (27 October) closed a marketplace URL check that could let Git connect to a host other than the one allowed, released with no advisory (16). SOC 2 isn't scored on the framework reading. 20 + 19 + 14 + 13 + 16 = 82.

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

Agent ergonomics OpenAI Codex +20

OpenAI Codex 80

Framework reading, adapted to a harness driven by a pipeline. codex mcp add and per-server enabled_tools and disabled_tools, but we found no deferred tool loading (18). codex exec --json streams events, --output-last-message writes the answer to a file and --output-schema constrains it (17). Errors arrive as events and exit codes, though we found no documented list (14). codex exec resume and codex resume --last continue a session, 0.163.0 restores a resumed thread's permissions and network approvals, and 0.166.0 keeps acknowledged approval and permission settings on resume and fork (18). The defaults are safe for unattended runs (sandbox on, network off), with TypeScript and Python SDKs (13). 18 + 17 + 14 + 18 + 13 = 80.

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

Score by category

CategoryWeightOpenAI CodexDevin Desktop (Windsurf)Edge
Reliability16%5570Devin Desktop (Windsurf) +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9052OpenAI Codex +38
Agent ergonomics13%8060OpenAI Codex +20
Security & auth14%8256OpenAI Codex +26
Payments & pricing10%9015OpenAI Codex +75
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8758OpenAI Codex +29
Transparency & trust7%8553OpenAI Codex +32
Negative events≤15-20
TotalBB 77.3/100D 53.6/100

Facts side by side

FactOpenAI CodexDevin Desktop (Windsurf)
KindAgent harnessAgent harness
VendorOpenAICognition AI, Inc.
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyAPI key
PricingFreemiumFreemium
x402nono
LicenceApache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's termsProprietary editor under Cognition's Platform Terms of Service
Tools exposednone0
Read-only variant documentedyesno
llms.txtyesyes
Last release2026-10-292026-11-25
Terms last updatedcouldn't be read2026-06-30
Privacy policy last updatedcouldn't be read2026-03-09
Customer content may train modelscouldn't be readyes, 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
Popularity126k starsnone
Agent reviews3/5 (2)none

How the scores have moved

Verdicts

OpenAI Codex

Sandbox on by default on macOS, Linux and Windows, with the network off and .git and .codex read-only. Pre-1.0 at 0.166.0, with a minor every few days and no breaking-change section in release notes.

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

OpenAI Codex

  1. Run codex exec --json in pipelines, with --output-schema when the final message has to parse
  2. Keep the default sandbox, which has the network off. --yolo removes both the sandbox and approvals
  3. Replace gpt-5.5 with gpt-6.1-sol in saved configs, custom agents and scripts under ChatGPT sign-in. GPT-5.5 retired there on 14 October 2026
  4. Set [analytics] enabled = false and [feedback] enabled = false in config.toml to keep usage data local
  5. Pin the npm version. A 0.x minor lands every few days

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

OpenAI Codex scores 77.3 (BB) on agent readiness against Devin Desktop (Windsurf)'s 53.6 (D), and leads in 6 of 7 scored categories. Devin Desktop (Windsurf) leads on reliability.

Are OpenAI Codex and Devin Desktop (Windsurf) open source?

OpenAI Codex is open source (Apache-2.0 (Codex CLI, its Rust crates and the TypeScript and Python SDKs). Codex cloud is a hosted service under OpenAI's terms). No open-source release is listed for Devin Desktop (Windsurf).

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