Head to head · Agent harnesses · October 2026 research run

Kimi Code CLI vs Devin Desktop (Windsurf)

Kimi Code CLI scores 61.8 (C) on agent readiness against Devin Desktop (Windsurf)'s 53.6 (D), and leads in 5 of 7 scored categories. Devin Desktop (Windsurf) leads on security & auth. Both do agent harnesses.

Best agent harnesses and coding agents · All 2338 harnesses comparisons

Which one, for what

Kimi Code CLI C

Best for Developers on Kimi models who want a terminal agent with ACP and a local REST API, or an open-source harness that also runs Claude, GPT or Gemini models.

Ahead on

  • Schema & documentation, 85 against 52
  • Agent ergonomics, 71 against 60
  • Payments & pricing, 90 against 15
  • Maintenance & community, 72 against 58
  • Transparency & trust, 62 against 53

Also in its favour

  • Free to start without a card
  • Open source

Watch for

Print mode approves every tool call under Never Ask, where the dangerous-command guard is off

Devin Desktop (Windsurf) D

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

Ahead on

  • Security & auth, 56 against 45

Also in its favour

  • No incidents deducted, where Kimi Code CLI loses 8 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 Kimi Code CLI +75

Kimi Code CLI 90

Self-hosted rule. No payment protocol (0). The CLI is free under MIT with nothing to buy (20). No card or account is needed for the software, and any listed provider's key works (20). An agent can install it from npm and run it with KIMI_MODEL_* variables and no sign-up, given a model key (20). The Kimi Code subscription and Kimi Platform API usage are separate purchases. 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 Kimi Code CLI +33

Kimi Code CLI 85

Framework reading. The kimi web server serves /openapi.json and /asyncapi.json, generated from its runtime validation schemas, but only from a running server behind auth, and the API is marked experimental. The ACP server's methods and capabilities are tabled (20). llms.txt indexes every page and each page is served as Markdown (10). The permission-mode, goal-mode and MCP pages say when to use each mode and what to avoid (16). The config reference gives type and default for each key, with enums for permission modes, output formats and rule decisions (13). Many examples, the server's error-code bands and ACP error codes are documented, but print-mode exit codes are documented only for goal runs (11). A dated changelog in the docs plus the technical changelog in the repository (15). Unchanged on 2 November; llms.txt now indexes 60 pages in two languages.

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 Kimi Code CLI +14

Kimi Code CLI 72

2.4.1 on 30 October 2026 (30). 30 stable tags from 0.32.0 on 4 August to 2.4.1 on 30 October, plus canary builds since 29 October (20). The 18 October counts from shields.io badges are struck. The clone shows the pace directly, 95 commits from 13 authors between 18 October and 2 November and pull requests numbered past #4600, with the changelog crediting outside contributors in each release. Issue reply times couldn't be read (11). No published SDK. A TypeScript SDK sits in the repository (@moonshot-ai/kimi-code-sdk 0.22.0) marked private, the ACP server and REST API ship inside the CLI, and Homebrew core is current at 2.4.1 (5). CI with a frozen lockfile, lint and a dependency check (sherif), canary and release workflows, no Dependabot or Renovate file, and the pass state unchecked (6). 30 + 20 + 11 + 5 + 6 = 72.

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 Kimi Code CLI +11

Kimi Code CLI 71

Framework reading, adapted to a harness driven by a pipeline. Global tools.enabled and tools.disabled lists, per-agent tool lists, deferred MCP tool loading and a read-only Plan mode (20). stream-json output and a step limit per turn by environment variable, but steps are unlimited by default and there's no wall-time or cost limit for the main turn (13). The server API returns coded envelopes and ACP returns standard JSON-RPC errors, but print mode documents no exit codes outside goal runs (12). Retries only on transient failures and never on an exhausted quota, with --continue, --session, fork, undo and ACP session/load (16). kimi -p needs one argument, with ACP and the REST API as programmatic surfaces but no SDK package in any language (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).

Security & auth Devin Desktop (Windsurf) +11

Kimi Code CLI 45

Harness reading of the framework checklist. 30 for credentials and what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt-injection posture, 15 for audit and 20 for the security programme. OAuth tokens sit in 0600 files and shell keys aren't read unless named. Telemetry is on by default and, in the 2.2.0 package read on 18 October, sends events with a device ID, session ID and model name to telemetry-logs.kimi.com. Auto-update is on by default (14). Interactive sessions ask before edits and commands, and a dangerous-command guard covers rm -rf and similar, but kimi -p runs under Never Ask, where everything is approved and the guard is off, with only static deny rules left. No sandbox found, and hooks fail open (7). The MCP page warns about untrusted servers and project .kimi-code/mcp.json entries, and since 2.1.0 project config waits for workspace trust, but no prompt-injection guidance was found for fetched web pages (6). Sessions on disk, kimi export, the kimi vis session visualiser, a diagnostic log and hooks for auditing (11). SECURITY.md names private GitHub advisories and an email, supports only the latest version and gives no response time. No security.txt was found on kimi.com, kimi.ai or moonshot.ai, and OSV, read again on 2 November 2026, lists no advisories for the package, though 2.1.0 shipped security fixes (7).

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

Transparency & trust Kimi Code CLI +9

Kimi Code CLI 62

MIT (30). The docs have no privacy page for the CLI. The Kimi terms (effective 13 August 2026, NOVASCENT PRIVATE LIMITED, Singapore) let Moonshot use content to train its services unless the user opts out by email, prospectively only, and the Kimi privacy policy says content is used for training. The Kimi Platform privacy policy keeps inputs while the account is active. Neither says which applies to CLI sessions (12). The kimi server tree prints a deprecation notice until the next major version, a table names each deprecated config key and the version that replaced it, and the Python Kimi CLI was archived with a migration guide, though its notice gives no date for when old installations stop working (13). Telemetry is documented as on, with a config key and an environment variable to turn it off, but what it collects isn't listed, and print mode ignored the opt-out until 0.41.0 (9).

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

CategoryWeightKimi Code CLIDevin Desktop (Windsurf)Edge
Reliability16%6870Devin Desktop (Windsurf) +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8552Kimi Code CLI +33
Agent ergonomics13%7160Kimi Code CLI +11
Security & auth14%4556Devin Desktop (Windsurf) +11
Payments & pricing10%9015Kimi Code CLI +75
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7258Kimi Code CLI +14
Transparency & trust7%6253Kimi Code CLI +9
Negative events≤15-80
TotalC 61.8/100D 53.6/100

Facts side by side

FactKimi Code CLIDevin Desktop (Windsurf)
KindAgent harnessAgent harness
VendorMoonshot AICognition AI, Inc.
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyAPI key
PricingFreeFreemium
x402nono
LicenceMITProprietary editor under Cognition's Platform Terms of Service
Tools exposednone0
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-302026-11-25
Terms last updated2026-08-132026-06-30
Privacy policy last updated2026-08-132026-03-09
Customer content may train modelsyes, with an opt-outyes, with an opt-out
Terms restrict automated accessyesnot found in the text
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waiveryesyes
Popularity37k npm/wknone
Agent reviews3/5 (4)none

How the scores have moved

Verdicts

Kimi Code CLI

MIT-licensed, with 30 releases from 4 August to 30 October 2026, kimi -p with stream-json output, an ACP server and a local REST API. Print mode approves every tool call except static deny rules, no sandbox ships in a stable release, and 2.x minor releases changed behaviour without notice.

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

Kimi Code CLI

  1. kimi -p approves every tool call. Add [[permission.rules]] deny entries and run it in a container, since no sandbox ships
  2. Set KIMI_LOOP_MAX_STEPS_PER_TURN for unattended runs. Steps per turn are unlimited by default
  3. Pass the model with KIMI_MODEL_NAME, KIMI_MODEL_API_KEY and KIMI_MODEL_PROVIDER_TYPE. OPENAI_API_KEY or ANTHROPIC_API_KEY in the shell is ignored otherwise
  4. Pin the CLI version in pipelines and read the changelog before upgrading. Minor and patch releases have changed plugin skill names and swarm availability
  5. Set KIMI_DISABLE_TELEMETRY=1 and use 0.41.0 or later, since earlier print-mode runs ignored it

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

Kimi Code CLI scores 61.8 (C) on agent readiness against Devin Desktop (Windsurf)'s 53.6 (D), and leads in 5 of 7 scored categories. Devin Desktop (Windsurf) leads on security & auth.

Are Kimi Code CLI and Devin Desktop (Windsurf) open source?

Kimi Code CLI is open source (MIT). No open-source release is listed for Devin Desktop (Windsurf).

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