Head to head · Agent harnesses · October 2026 research run

OpenAI Agents API vs Devin Desktop (Windsurf)

OpenAI Agents API scores 75.2 (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 Agents API BB

Best for Teams that want OpenAI to run the agent loop, with sandboxes, MCP tools and subagents, and are fine with a beta API, US-only data residency and no Zero Data Retention.

Ahead on

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

Also in its favour

  • Agent-ready, a grade of BB or better
  • A hosted endpoint, with nothing to install

Watch for

Public beta since 10 September 2026 behind the agents=v1 beta header, with no GA date

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 60

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 OpenAI Agents API +36

OpenAI Agents API 88

The reference is linked from the overview and the SDKs carry beta.agents types; we didn't confirm /agents/sessions in OpenAI's public OpenAPI file, so 15 of 25. llms.txt with every Agents API page and Markdown twins (10). The overview, architecture page and the agents guide that compares the Agents API, Agents SDK and Responses API say when to use it (20). Typed configuration with enumerated container sizes, network modes and environment types (13 of 15). Examples in six languages and an errors page with codes per HTTP status, turn and session (15). Dated changelog entries and a versioned beta header (15). 15 + 10 + 20 + 13 + 15 + 15 = 88.

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 Agents API +32

OpenAI Agents API 85

Closed service with clear terms, Apache-2.0 SDKs (15). Session state retained until deleted, deletable sessions and artifacts, not ZDR-eligible, US residency only, and the data-controls guide agrees; no retention period for artifacts after a sandbox expires (25 of 30). Dated deprecation notices with minimum periods for GA models; a beta API can change faster (15 of 20). Subprocessors and processing countries listed, per the openai-api listing (20). 15 + 25 + 15 + 20 = 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).

Security & auth OpenAI Agents API +31

OpenAI Agents API 87

Project keys with restricted per-endpoint permissions, service accounts and workload identity, per the openai-api listing; we didn't confirm a key can be limited to /v1/agents (27 of 30). Automatic review for approvals, a sandbox network restricted to a host allowlist, vaults for secrets and a sandbox security guide (17 of 20). The agent reads web pages, MCP results and browser content; the sandbox security guide and approval flow are the mitigations, with no prompt-injection guide of its own found (8 of 15). Tracing, observability and usage per session and admin audit logs (15). SOC 2 Type 2, ISO 27001 family, Bugcrowd bounty and a disclosure policy, per the openai-api listing (20). Not ZDR-eligible and US residency only, recorded under transparency. 27 + 17 + 8 + 15 + 20 = 87.

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

Payments & pricing OpenAI Agents API +30

OpenAI Agents API 45

No machine payment protocol (0). Model, tool and container prices published without a login, and no fee for the API itself (20). The Free tier reading of the openai-api listing, half (10). Sign-up in a browser (0). 0 + 20 + 10 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

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

Maintenance & community OpenAI Agents API +29

OpenAI Agents API 87

Closed API. Last dated change 16 October 2026, Ultrafast mode and document skills (30). Four dated changelog entries in the 57 days since release, 10 September, 29 September, 9 October and 16 October (20). Changelog and help centre, as the openai-api listing reads them (12 of 15). Official SDKs carry beta.agents (15). SDK CI, per the openai-api listing (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).

Agent ergonomics OpenAI Agents API +20

OpenAI Agents API 80

Read as an API an agent drives. Context is compacted automatically, and session budgets and streamed events keep output sized (20 of 25). Sessions can be listed, continued and steered, events streamed or sent by webhook, artifacts fetched (15 of 20). Actionable error codes with recovery steps (20). No idempotency key; a documented check-then-retry procedure (10 of 20). One session call with defaults (medium sandbox, network enabled), SDKs in five languages (15). 20 + 15 + 20 + 10 + 15 = 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 Agents APIDevin Desktop (Windsurf)Edge
Reliability16%6070Devin Desktop (Windsurf) +10
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8852OpenAI Agents API +36
Agent ergonomics13%8060OpenAI Agents API +20
Security & auth14%8756OpenAI Agents API +31
Payments & pricing10%4515OpenAI Agents API +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8758OpenAI Agents API +29
Transparency & trust7%8553OpenAI Agents API +32
Negative events≤1500
TotalBB 75.2/100D 53.6/100

Facts side by side

FactOpenAI Agents APIDevin Desktop (Windsurf)
KindHTTP APIAgent harness
VendorOpenAICognition AI, Inc.
Hosted endpointhttps://api.openai.com/v1/agents/sessionsno (local only)
TransportsHTTP
AuthAPI keyAPI key
PricingPay per useFreemium
x402nono
LicenceProprietary hosted API under OpenAI's Services Agreement. The SDKs are Apache 2.0Proprietary editor under Cognition's Platform Terms of Service
Tools exposednone0
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-162026-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

How the scores have moved

Verdicts

OpenAI Agents API

OpenAI's hosted agent runtime, the Codex harness behind one session call, with MCP, functions, web search, computer use, subagents and sandboxes on OpenAI or your own infrastructure. Documentation, errors and SDKs are thorough. It's still public beta, can't use Zero Data Retention and keeps data in the United States only.

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 Agents API

  1. POST https://api.openai.com/v1/agents/sessions with a project key and the header OpenAI-Beta: agents=v1, or use client.beta.agents in the SDKs
  2. Before retrying, retrieve the session and turn and check which actions completed, since there's no idempotency key
  3. Set the sandbox network to restricted with an allowlist of up to 100 hosts when the agent doesn't need the open web
  4. Save files from /workspace/outputs before deleting a session; no retention period is stated for artifacts
  5. Don't send data that needs Zero Data Retention or non-US residency; the Agents API supports neither

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 Agents API or Devin Desktop (Windsurf)?

OpenAI Agents API scores 75.2 (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.

Can an agent call OpenAI Agents API and Devin Desktop (Windsurf) without installing anything?

OpenAI Agents API has a hosted endpoint at https://api.openai.com/v1/agents/sessions. No hosted endpoint is listed for Devin Desktop (Windsurf).

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