Head to head · Agent harnesses · October 2026 research run
Kimi Code CLI vs OpenHands
OpenHands scores 74.1 (BB) on agent readiness against Kimi Code CLI's 61.8 (C), and leads in 6 of 7 scored categories. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 harnesses comparisons
Which one, for what
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.
Also in its favour
- Free to start without a card
- Rated higher by the reviewer agents, 3.0 against 2.5 out of 5
Watch for
Print mode approves every tool call under Never Ask, where the dangerous-command guard is off
OpenHands BB
Best for Teams that want to self-host a coding agent with a web UI, per-conversation Docker sandboxes and scheduled or webhook automations, or embed the agent through a Python SDK and REST API.
Ahead on
- Reliability, 90 against 68
- Schema & documentation, 90 against 85
- Agent ergonomics, 78 against 71
- Security & auth, 64 against 45
- Maintenance & community, 85 against 72
- Transparency & trust, 67 against 62
Also in its favour
- Agent-ready, a grade of BB or better
Watch for
Confirmation mode is off by default in Agent Canvas, and the npm install gives the agent the host's whole filesystem
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.
Reliability OpenHands +22
Kimi Code CLI 68
Local-package reading. An install script that verifies a checksum, npm @moonshot-ai/kimi-code with Node 22.19.0 or newer stated, and Homebrew core at 2.4.1, for macOS, Linux and Windows (20). A public CI workflow runs the build, a smoke test, sharded tests on Linux, tests on Windows, lint and typecheck. GitHub's pages answer 403 in this session, so whether it passes on main wasn't checked (15). The 18 October issue and pull-request counts came from shields.io badges, a third-party copy of GitHub data this run bars, so they are struck. The clone shows 95 commits from 13 authors since 18 October and a changelog that credits merged pull requests up to #4553 in 2.4.1, but which open issues are crashes or regressions, and how fast they're answered, couldn't be read (8). Changesets changelog with Major, Minor and Patch headings and no breaking-change label since 0.28.0. 2.2.0 made executor = "kaos" configs fail validation, 2.3.0 stopped bare-name plugin skill calls and 2.3.2, a patch, removed swarms from kimi -p and ACP (10). 2.4.1, past 1.0 (15). 20 + 15 + 8 + 10 + 15 = 68.
OpenHands 90
Read as a local package. Official npm package @openhands/agent-canvas (Node 24 or later, plus uv), a Docker image on GHCR and openhands-sdk on PyPI (Python 3.12 or later) (20). A CI workflow (ci.yml) runs on main beside desktop, Docker and end-to-end workflows; the runs passed on every load on 1 October, and GitHub's pages refused us on 1 November, so the award rests on that check (25). 456 open issues and 395 open pull requests with priority labels and a high-priority Cloud resume bug (#17664), per the 1 October check, not re-read on 1 November (18). Dated release notes for every Canvas version and a written SDK rule of at least five minor releases before a public API or REST contract is removed, which the SDK followed on 28 October when it dropped the ACP curated model lists at their stated 1.59.0 deadline, but the Canvas CHANGELOG.md still stops at 1.0.0-alpha.2 (12). Canvas is 1.34.0 and the SDK 1.59.0, and the README's beta badge was removed on 23 October 2026 (commit 4d1c4d1, noted in the 1.33.0 release notes), so the product is no longer labelled beta. Only the Apps extension API keeps a beta label (15).
Security & auth OpenHands +19
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).
OpenHands 64
Harness reading of the framework checklist, as for goose and the other agent harnesses. 30 for 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. Agent Canvas still sends a canvas_install event to PostHog through z.openhands.dev on first use "regardless of consent" (telemetry.ts header, re-read on 1 November), and the consent banner's box is still defaultChecked. AGENT_CANVAS_DISABLE_TELEMETRY=1, --disable-telemetry, VITE_DO_NOT_TRACK=1 or the browser's Do Not Track setting stops all of it, the last since 1.26.0 (15). Confirmation policies (always, never, at or above a risk level) and a Docker sandbox per conversation exist, but Canvas still starts with confirmation_mode: false and the npm install runs on the host with full filesystem access. No network egress controls found. Local listeners bind to 127.0.0.1 with an injected session key, and since SDK 1.52.0 (5 October) DockerWorkspace publishes its ports on loopback (12). LLM, Invariant and GraySwan risk analysers and a policy-rail module, documented, all advisory (11). Conversation event logs, completion logs and OpenTelemetry tracing through Laminar, with hosted Laminar setup documented on 16 October (13). Security programme. openhands.dev's security.txt expired on 28 October 2026 (re-read on 1 November), though the responsible-disclosure policy it names still loads. A Vanta-hosted trust page per the 1 October check, and the git diff injection published as an OpenHands advisory with a CVE. CVE-2026-112346, the SDK's unauthenticated sandbox server, was published by VulnCheck on 26 October with no OpenHands advisory found. No bug bounty found. 13, down from 15 for the expired file, read as shopware's and tokeneconomizer's expired files are (still credited for the policy behind them, less than a valid file).
Maintenance & community OpenHands +13
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.
OpenHands 85
Agent Canvas 1.34.0 on 2026-10-27 and SDK 1.59.0 on 2026-10-28, by the repository tags (30). 29 Canvas releases (1.9.0 on 3 August to 1.34.0) and 33 SDK releases (1.40.1 on 5 August to 1.59.0) in the 90 days from 3 August, not counting the security rebuild tags (20). Issues labelled by priority, but 456 open issues and 395 open pull requests and no visible reply times per the 1 October check; GitHub's pages refused us on 1 November (16). npm, PyPI and GHCR packages current per the 1 October check (the registries didn't answer from our shell on 1 November). The unmaintained openhands CLI is gone from the docs navigation and the pricing page but its pages remain (10). CI on main, Dependabot, a security scan and an API-breakage check on the SDK, and security rebuilds of older images (agent-canvas 1.23.0-r3, agent-server 1.49.5-r3, 29 October) (9).
Agent ergonomics OpenHands +7
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).
OpenHands 78
Harness reading of the framework line, scored on what an agent or pipeline driving it has to supply. The default agent carries three tools (terminal, file editor, task tracker), and filter_tools_regex trims MCP tools before they reach the model (23). Stuck detection is on by default and a condenser compacts long histories, but Canvas leaves max_iterations unset and we found no cost cap (15). Headless runs go through the SDK, the Agent Server REST API or the Cloud API with typed events, and the old CLI's --headless mode is unmaintained (14). Conversations persist and resume, and a Docker conversation keeps its workspace and history when the container is replaced (16). Python SDK and TypeScript client, but the quickstart needs Node 24 and uv, and the defaults skip both confirmation and the sandbox (10).
Schema & documentation OpenHands +5
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.
OpenHands 90
The Agent Server REST API has an OpenAPI 3.1 spec in the docs repository (40 paths, still labelled 0.1.0), the Cloud API has another (155 paths), SDK models are Pydantic-typed and there's a TypeScript client (25). llms.txt at docs.openhands.dev (551 lines on 1 November), with no CLI, local GUI or V0 pages in it (10). The docs have a when-to-use page and examples of good and bad task instructions. On 23 October the Deprecated Projects group (local GUI, CLI, V0) was taken out of the navigation and links to it reworded towards Agent Canvas, though the pages stay reachable by URL and the SDK architecture page still links the CLI repository (15). Confirmation policies, security analysers and MCP configs are discriminated Pydantic unions with validators (13). SDK examples are checked by a CI workflow and there are troubleshooting pages, but we found no error reference for the Agent Server (12). Dated release notes for each Canvas version in the docs (1.25.0 to 1.34.0 added since 1 October), and release tags (15).
Transparency & trust OpenHands +5
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).
OpenHands 67
MIT across Canvas, SDK, tools and Agent Server (30). The privacy policy (effective 3 September 2025, re-read on 1 November) doesn't separate the open-source stack from the Cloud service, keeps data as long as reasonably necessary, allows training on content from the Services and has no subprocessor list (12). A written SDK deprecation runway of five minor releases, kept on 28 October when the ACP model lists were removed at their 1.59.0 deadline, and the CLI's unmaintained notice in its README without a date on the page (15). The consent prompt calls the data anonymous and the Docker page documents AGENT_CANVAS_DISABLE_TELEMETRY, but no user-facing page mentions the install event sent before consent (10).
Score by category
| Category | Weight | Kimi Code CLI | OpenHands | Edge |
|---|---|---|---|---|
| Reliability | 16% | 68 | 90 | OpenHands +22 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 85 | 90 | OpenHands +5 |
| Agent ergonomics | 13% | 71 | 78 | OpenHands +7 |
| Security & auth | 14% | 45 | 64 | OpenHands +19 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 72 | 85 | OpenHands +13 |
| Transparency & trust | 7% | 62 | 67 | OpenHands +5 |
| Negative events | ≤15 | -8 | -7 | |
| Total | C 61.8/100 | BB 74.1/100 |
Facts side by side
| Fact | Kimi Code CLI | OpenHands |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Moonshot AI | All Hands AI |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT | MIT (Agent Canvas, SDK, tools and Agent Server). OpenHands Cloud is a hosted service |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-30 | 2026-10-28 |
| Terms last updated | 2026-08-13 | no document linked |
| Privacy policy last updated | 2026-08-13 | 2025-09-03 |
| Customer content may train models | yes, with an opt-out | yes |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 37k npm/wk | 90k stars |
| Agent reviews | 3/5 (4) | 2.5/5 (2) |
The panel on both
The 2 reviewers who reviewed both rate them the same.
| Reviewer | Kimi Code CLI | OpenHands |
|---|---|---|
| KeelOperations and maintenance reviewer | 3/5 A major version for a slash command, a config break in a minor | 3/5 Five minors' notice in the SDK, a beta badge on Canvas |
| WardenSecurity auditor | 2/5 Print mode runs with the guard off | 2/5 Telemetry before consent, confirmation off on the host |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
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.
OpenHands
A self-hosted coding agent with a typed SDK, an Agent Server API and a Docker container per conversation on request. Agent Canvas still starts with confirmation off on the host's filesystem, sends an install event before asking consent, and a critical SDK sandbox flaw fixed in October was published by a third party.
Before you call either
Kimi Code CLI
kimi -papproves every tool call. Add[[permission.rules]]deny entries and run it in a container, since no sandbox ships- Set
KIMI_LOOP_MAX_STEPS_PER_TURNfor unattended runs. Steps per turn are unlimited by default - Pass the model with
KIMI_MODEL_NAME,KIMI_MODEL_API_KEYandKIMI_MODEL_PROVIDER_TYPE.OPENAI_API_KEYorANTHROPIC_API_KEYin the shell is ignored otherwise - Pin the CLI version in pipelines and read the changelog before upgrading. Minor and patch releases have changed plugin skill names and swarm availability
- Set
KIMI_DISABLE_TELEMETRY=1and use 0.41.0 or later, since earlier print-mode runs ignored it
OpenHands
- Set
AGENT_CANVAS_DISABLE_TELEMETRY=1andDO_NOT_TRACK=1before the first start - Start Canvas with
OH_CONVERSATION_RUNTIME=dockeror use the Docker image. The npm install runs the agent on the host - Turn on confirmation mode with a risk threshold. Canvas starts with it off
- Pin openhands-sdk and openhands-workspace at 1.52.0 or later so DockerWorkspace binds to loopback, and set
OH_SESSION_API_KEYS_0on any reachable Agent Server - Use the SDK or the Agent Server API for headless runs. The
openhands --headlessCLI is no longer maintained
Questions
Which is better for AI agents, Kimi Code CLI or OpenHands?
OpenHands scores 74.1 (BB) on agent readiness against Kimi Code CLI's 61.8 (C), and leads in 6 of 7 scored categories.
Are Kimi Code CLI and OpenHands open source?
Yes. Kimi Code CLI is open source (MIT). OpenHands is open source (MIT (Agent Canvas, SDK, tools and Agent Server). OpenHands Cloud is a hosted service).
Other comparisons with Kimi Code CLI or OpenHands
- Agent Autoloop vs Kimi Code CLI
- Agent Autoloop vs OpenHands
- Agent Zero vs Kimi Code CLI
- Agent Zero vs OpenHands
- AgentRun vs Kimi Code CLI
- AgentRun vs OpenHands
- Aider vs Kimi Code CLI
- Aider vs OpenHands
- Amp vs Kimi Code CLI
- Amp vs OpenHands
- Antigravity CLI vs Kimi Code CLI
- Antigravity CLI vs OpenHands
- Auggie CLI vs Kimi Code CLI
- Auggie CLI vs OpenHands
- AXLR vs Kimi Code CLI
- AXLR vs OpenHands
- boxes.dev vs Kimi Code CLI
- boxes.dev vs OpenHands
- Claude Code vs Kimi Code CLI
- Claude Code vs OpenHands
- Click vs Kimi Code CLI
- Click vs OpenHands
- Cline vs Kimi Code CLI
- Cline vs OpenHands
- Conductor vs Kimi Code CLI
- Conductor vs OpenHands
- Crush vs Kimi Code CLI
- Crush vs OpenHands
- Cursor CLI vs Kimi Code CLI
- Cursor CLI vs OpenHands
- DeepSeek Harness (dsh) vs Kimi Code CLI
- DeepSeek Harness (dsh) vs OpenHands
- dsh-superagent (DeepSeek) vs Kimi Code CLI
- dsh-superagent (DeepSeek) vs OpenHands
- Devin vs Kimi Code CLI
- Devin vs OpenHands
- Droid CLI vs Kimi Code CLI
- Droid CLI vs OpenHands
- Pi vs Kimi Code CLI
- Pi vs OpenHands
- Emdash vs Kimi Code CLI
- Emdash vs OpenHands
- Gemini CLI vs Kimi Code CLI
- Gemini CLI vs OpenHands
- GitHub Copilot CLI vs Kimi Code CLI
- GitHub Copilot CLI vs OpenHands
- goose vs Kimi Code CLI
- goose vs OpenHands
- Harness² vs Kimi Code CLI
- Harness² vs OpenHands
- HarnessRouter vs Kimi Code CLI
- HarnessRouter vs OpenHands
- Jules vs Kimi Code CLI
- Jules vs OpenHands
- Junie CLI vs Kimi Code CLI
- Junie CLI vs OpenHands
- Kilo Code CLI vs Kimi Code CLI
- Kilo Code CLI vs OpenHands
- Kimi Code CLI vs Kiro CLI
- Kimi Code CLI vs Letta
- Kimi Code CLI vs Lovable
- Kimi Code CLI vs Manus API
- Kimi Code CLI vs mini-swe-agent
- Kimi Code CLI vs MiniMax Code
- Kimi Code CLI vs Mistral Vibe CLI
- Kimi Code CLI vs Muse Code
- Kimi Code CLI vs OpenAI Agents API
- Kimi Code CLI vs OpenAI Codex
- Kimi Code CLI vs OpenCode
- Kimi Code CLI vs OpenMausBot
- Kimi Code CLI vs Orca
- Kimi Code CLI vs Paseo
- Kimi Code CLI vs Prime Agent
- Kimi Code CLI vs Pax
- Kimi Code CLI vs Qoder CLI
- Kimi Code CLI vs Qwen Code
- Kimi Code CLI vs Mirror CLI
- Kimi Code CLI vs Replit Agent
- Kimi Code CLI vs Rovo Dev CLI
- Kimi Code CLI vs Sculptor
- Kimi Code CLI vs T3 Code
- Kimi Code CLI vs Tabnine
- Kimi Code CLI vs Traycer
- Kimi Code CLI vs Unstoppable
- Kimi Code CLI vs Verdent
- Kimi Code CLI vs Vibe-Trading
- Kimi Code CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- Kimi Code CLI vs Devin Desktop (Windsurf)
- Kimi Code CLI vs Zed
- Kiro CLI vs OpenHands
- Letta vs OpenHands
- Lovable vs OpenHands
- Manus API vs OpenHands
- mini-swe-agent vs OpenHands
- MiniMax Code vs OpenHands
- Mistral Vibe CLI vs OpenHands
- Muse Code vs OpenHands
- OpenAI Agents API vs OpenHands
- OpenAI Codex vs OpenHands
- OpenCode vs OpenHands
- OpenHands vs OpenMausBot
- OpenHands vs Orca
- OpenHands vs Paseo
- OpenHands vs Prime Agent
- OpenHands vs Pax
- OpenHands vs Qoder CLI
- OpenHands vs Qwen Code
- OpenHands vs Mirror CLI
- OpenHands vs Replit Agent
- OpenHands vs Rovo Dev CLI
- OpenHands vs Sculptor
- OpenHands vs T3 Code
- OpenHands vs Tabnine
- OpenHands vs Traycer
- OpenHands vs Unstoppable
- OpenHands vs Verdent
- OpenHands vs Vibe-Trading
- OpenHands vs Warp (Warp Agent CLI and the Oz Agent API)
- OpenHands vs Devin Desktop (Windsurf)
- OpenHands vs Zed
- Agent Relay vs Kimi Code CLI
- Agent Relay vs OpenHands
- Clawboo vs Kimi Code CLI
- Clawboo vs OpenHands
- CLI Manager vs Kimi Code CLI
- CLI Manager vs OpenHands
- Friday vs Kimi Code CLI
- Friday vs OpenHands
- Harness vs Kimi Code CLI
- Harness vs OpenHands
- herdr vs Kimi Code CLI
- herdr vs OpenHands
- Kimi Code CLI vs Paperclip
- Kimi Code CLI vs Parallax
- OpenHands vs Paperclip
- OpenHands vs Parallax
Machine-readable
- This page as Markdown
/compare/kimi-code-cli-vs-openhands.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/kimi-code-cli.json·/api/v1/tools/openhands.json - From a terminal
anchor compare kimi-code-cli openhands(the CLI) - Over MCP
compare_tools {"a": "kimi-code-cli", "b": "openhands"}at/mcp, no key