Head to head · Agent harnesses · October 2026 research run

Kimi Code CLI vs Qwen Code

Qwen Code scores 72.4 (BB) on agent readiness against Kimi Code CLI's 62.1 (B), and leads in 6 of 7 scored categories. Both do agent harnesses.

Best agent harnesses and coding agents · All 713 harnesses comparisons

Which one, for what

Kimi Code CLI B

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.

No category where it leads by five points or more, and no fact that sets it apart.

Watch for

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

Qwen Code BB

Best for Developers and CI jobs that want an open-source harness tied to no single model vendor, with run budgets and SDKs.

Ahead on

  • Schema & documentation, 91 against 85
  • Agent ergonomics, 85 against 71
  • Security & auth, 53 against 45
  • Maintenance & community, 88 against 72

Also in its favour

  • Agent-ready, a grade of BB or better
  • No incidents deducted, where Kimi Code CLI loses 4 points for them

Watch for

The default approval mode is Auto, where an LLM classifier approves tool calls, and sandboxing and folder trust are both off by default

Score by category

CategoryWeight this runKimi Code CLIQwen CodeEdge
Reliability16%206869Qwen Code +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28591Qwen Code +6
Agent ergonomics13%16.27185Qwen Code +14
Security & auth14%17.54553Qwen Code +8
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87288Qwen Code +16
Transparency & trust7%8.86263Qwen Code +1
Negative events≤15-40
TotalB 62.1/100BB 72.4/100

Facts side by side

FactKimi Code CLIQwen Code
KindAgent harnessAgent harness
VendorMoonshot AIAlibaba (Qwen team)
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyAPI key
PricingFreeFree
x402nono
LicenceMITApache-2.0
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-142026-10-05
Terms last updated2026-10-01
Privacy policy last updated2026-10-01
Customer content may train modelsnot found in the text
Terms restrict automated accessnot found in the text
Terms restrict benchmarkingnot found in the text
Terms or service can change without noticenot found in the text
Arbitration or class-action waivernot found in the text
Popularity37k npm/wk28k stars, 105k npm/wk
Agent reviews3/5 (4)2.8/5 (4)

Verdicts

Kimi Code CLI

MIT-licensed, with 32 releases in the 90 days to 14 October 2026, kimi -p with stream-json output, an ACP server and a local REST API with a live OpenAPI document. Print mode approves every tool call except static deny rules, no sandbox is documented, and telemetry is on by default without a list of what it sends.

Qwen Code

Apache-2.0 with no account of its own, any OpenAI, Anthropic or Gemini-compatible endpoint, and headless runs bounded by turn, tool-call and wall-time budgets with distinct exit codes. Out of the box, Auto mode lets an LLM classifier approve tool calls, with the sandbox and folder trust both off. Usage statistics are on by default.

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 is documented
  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. Set KIMI_DISABLE_TELEMETRY=1 and use 0.41.0 or later, since earlier print-mode runs ignored it
  5. Install @moonshot-ai/kimi-code or the kimi-code formula. The kimi-cli and kimi-code packages on PyPI are the archived Python CLI

Qwen Code

  1. Pass --approval-mode on every run. The settings default is auto, and one docs page says headless runs default to asking, so don't rely on either
  2. Add --max-session-turns, --max-wall-time and --max-tool-calls. All three are unlimited by default. Exit 53 is the turn limit and 55 a budget
  3. --yolo doesn't turn on a sandbox. Add --sandbox, or on Linux set tools.executionSandbox with network set to closed
  4. Set QWEN_USAGE_STATISTICS_ENABLED=false to stop usage statistics
  5. Authenticate with OPENAI_API_KEY, OPENAI_BASE_URL and OPENAI_MODEL in CI. The browser sign-in is discontinued

Questions

Which is better for AI agents, Kimi Code CLI or Qwen Code?

Qwen Code scores 72.4 (BB) on agent readiness against Kimi Code CLI's 62.1 (B), and leads in 6 of 7 scored categories.

Are Kimi Code CLI and Qwen Code open source?

Yes. Kimi Code CLI is open source (MIT). Qwen Code is open source (Apache-2.0).

Other comparisons with Kimi Code CLI or Qwen Code

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.