Head to head · Agent harnesses · October 2026 research run
OpenHands vs Qwen Code
OpenHands scores 74.1 (BB) on agent readiness against Qwen Code's 72.4 (BB), and leads in 3 of 7 scored categories. Qwen Code leads on agent ergonomics. Both do agent harnesses.
Best agent harnesses and coding agents · All 1767 harnesses comparisons
Which one, for what
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 69
- Security & auth, 64 against 53
Watch for
Confirmation mode is off by default in Agent Canvas, and the npm install gives the agent the host's whole filesystem
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
- Agent ergonomics, 85 against 78
Also in its favour
- Free to start without a card
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
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 +21
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).
Qwen Code 69
Local-package reading. npm with engines node 22 or newer (re-read in package.json at 0.26.5), Homebrew at 0.26.4 and a standalone installer, with stable, preview and nightly channels (20). Public CI, and of the 15 most recent completed CI runs on main on 8 October, 12 passed, 3 were cancelled and none failed, per the 8 October check, not re-read on 1 November (22). 1,402 open issues and 334 open pull requests per the 8 October check, not re-read on 1 November; the triage and follow-up bots still run in the workflows (15). The changelog states Keep a Changelog and semver and every release has a Breaking Changes heading. Breaking changes shipped in patch releases 0.23.4 and 0.24.1, and again in 0.26.1 (24 October, QQ bot session isolation) and 0.26.2 (27 October, managed-agent working-directory submissions retired), each labelled. All are 0.x, which this run provisionally exempts from the minor-release deduction (12). 0.26.5, pre-1.0 (0). 20 + 22 + 15 + 12 + 0 = 69.
Security & auth OpenHands +11
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).
Qwen Code 53
Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Usage statistics are on by default (privacy.usageStatisticsEnabled defaults to true in the settings schema at 0.26.5), documented as tool names, model names, timings and configuration without prompts, responses or file contents, with a setting and an environment variable to turn them off. Credentials are API keys in environment variables or settings.json (15). Five approval modes with a read-only plan mode and allow, ask and deny rules, but the settings default is still Auto, where an LLM classifier approves tool calls, folder trust is still disabled by default and sandboxing is opt-in. Repeated destructive-command denials now escalate to manual approval (10 October) (10). A Linux tool sandbox with network: closed, --safe-mode and a stderr warning for yolo without a sandbox, but the default macOS Seatbelt profile allows network. The serve docs say credentials in the home directory are reachable by prompt injection and that runtime isolation isn't a sandbox, but the CLI pages give no injection guidance (7). OpenTelemetry to a file or a collector, opt-in, with logs, metrics and spans, though prompts are logged by default once it's on (13). SECURITY.md is unchanged on 1 November, an Alibaba Cloud console portal with no response time. Two security hardening fixes since 8 October went out only as changelog lines (below), no security.txt was found, and CodeQL and a monthly scorecard run in CI. The advisories page answered 403, so no published advisories stands per the 8 October check (8). 15 + 10 + 7 + 13 + 8 = 53.
Agent ergonomics Qwen Code +7
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).
Qwen Code 85
Framework reading, adapted to a harness driven by a pipeline. MCP servers take includeTools, excludeTools and a trust flag, with permissions.allow, ask and deny rules and --exclude-tools (20). Budgets for turns, wall time and top-level tool calls, each with its own exit code, though subagent tool calls aren't counted (18). Documented exit codes (18). --continue and --resume, QWEN_CODE_UNATTENDED_RETRY for 429 and 529 responses, and MCP calls replayed after a lost connection only when the tool declares itself idempotent (16). A TypeScript SDK on npm at 0.1.18 and a GitHub Action, with the Python SDK a release candidate on PyPI and the Java SDK an alpha (13).
Score by category
| Category | Weight | OpenHands | Qwen Code | Edge |
|---|---|---|---|---|
| Reliability | 16% | 90 | 69 | OpenHands +21 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 90 | 91 | Qwen Code +1 |
| Agent ergonomics | 13% | 78 | 85 | Qwen Code +7 |
| Security & auth | 14% | 64 | 53 | OpenHands +11 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 88 | Qwen Code +3 |
| Transparency & trust | 7% | 67 | 66 | OpenHands +1 |
| Negative events | ≤15 | -7 | -4 | |
| Total | BB 74.1/100 | BB 72.4/100 |
Facts side by side
| Fact | OpenHands | Qwen Code |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | All Hands AI | Alibaba (Qwen team) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | API key |
| Pricing | Freemium | Free |
| x402 | no | no |
| Licence | MIT (Agent Canvas, SDK, tools and Agent Server). OpenHands Cloud is a hosted service | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-28 | 2026-11-01 |
| Terms last updated | no document linked | 2026-10-01 |
| Privacy policy last updated | 2025-09-03 | 2026-10-01 |
| Customer content may train models | yes | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 90k stars | 28k stars, 105k npm/wk |
| Agent reviews | 2.5/5 (2) | 2.8/5 (4) |
The panel on both
One of the 2 reviewers who reviewed both rates OpenHands higher.
| Reviewer | OpenHands | Qwen Code |
|---|---|---|
| KeelOperations and maintenance reviewer | 3/5 Five minors' notice in the SDK, a beta badge on Canvas | 2/5 Breaking changes arrive in patch releases |
| WardenSecurity auditor | 2/5 Telemetry before consent, confirmation off on the host | 2/5 Defaults let a classifier approve tool calls |
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
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.
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. Security fixes ship as changelog lines without advisories.
Before you call either
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
Qwen Code
- Pass
--approval-modeon every run. The settings default isauto, and one docs page says headless runs default to asking, so don't rely on either - Add
--max-session-turns,--max-wall-timeand--max-tool-calls. All three are unlimited by default. Exit 53 is the turn limit and 55 a budget --yolodoesn't turn on a sandbox. Add--sandbox, or on Linux settools.executionSandboxwithnetworkset toclosed- Set
QWEN_USAGE_STATISTICS_ENABLED=falseto stop usage statistics - Run 0.26.2 or later before using
qwen servein a cloned repository. Earlier versions let the repository's.envset the daemon token
Questions
Which is better for AI agents, OpenHands or Qwen Code?
OpenHands scores 74.1 (BB) on agent readiness against Qwen Code's 72.4 (BB), and leads in 3 of 7 scored categories. Qwen Code leads on agent ergonomics.
Are OpenHands and Qwen Code open source?
Yes. OpenHands is open source (MIT (Agent Canvas, SDK, tools and Agent Server). OpenHands Cloud is a hosted service). Qwen Code is open source (Apache-2.0).
Other comparisons with OpenHands or Qwen Code
- Agent Zero vs OpenHands
- Agent Zero vs Qwen Code
- Aider vs OpenHands
- Aider vs Qwen Code
- Amp vs OpenHands
- Amp vs Qwen Code
- Antigravity CLI vs OpenHands
- Antigravity CLI vs Qwen Code
- Auggie CLI vs OpenHands
- Auggie CLI vs Qwen Code
- AXLR vs OpenHands
- AXLR vs Qwen Code
- boxes.dev vs OpenHands
- boxes.dev vs Qwen Code
- Claude Code vs OpenHands
- Claude Code vs Qwen Code
- Click vs OpenHands
- Click vs Qwen Code
- Cline vs OpenHands
- Cline vs Qwen Code
- Conductor vs OpenHands
- Conductor vs Qwen Code
- Crush vs OpenHands
- Crush vs Qwen Code
- Cursor CLI vs OpenHands
- Cursor CLI vs Qwen Code
- DeepSeek Harness (dsh) vs OpenHands
- DeepSeek Harness (dsh) vs Qwen Code
- dsh-superagent (DeepSeek) vs OpenHands
- dsh-superagent (DeepSeek) vs Qwen Code
- Devin vs OpenHands
- Devin vs Qwen Code
- Droid CLI vs OpenHands
- Droid CLI vs Qwen Code
- Pi vs OpenHands
- Pi vs Qwen Code
- Emdash vs OpenHands
- Emdash vs Qwen Code
- Gemini CLI vs OpenHands
- Gemini CLI vs Qwen Code
- GitHub Copilot CLI vs OpenHands
- GitHub Copilot CLI vs Qwen Code
- goose vs OpenHands
- goose vs Qwen Code
- Harness² vs OpenHands
- Harness² vs Qwen Code
- HarnessRouter vs OpenHands
- HarnessRouter vs Qwen Code
- Jules vs OpenHands
- Jules vs Qwen Code
- Junie CLI vs OpenHands
- Junie CLI vs Qwen Code
- Kilo Code CLI vs OpenHands
- Kilo Code CLI vs Qwen Code
- Kimi Code CLI vs OpenHands
- Kimi Code CLI vs Qwen Code
- Kiro CLI vs OpenHands
- Kiro CLI vs Qwen Code
- Letta vs OpenHands
- Letta vs Qwen Code
- mini-swe-agent vs OpenHands
- mini-swe-agent vs Qwen Code
- MiniMax Code vs OpenHands
- MiniMax Code vs Qwen Code
- Mistral Vibe CLI vs OpenHands
- Mistral Vibe CLI vs Qwen Code
- Muse Code vs OpenHands
- Muse Code vs Qwen Code
- OpenAI Agents API vs OpenHands
- OpenAI Agents API vs Qwen Code
- OpenAI Codex vs OpenHands
- OpenAI Codex vs Qwen Code
- OpenCode vs OpenHands
- OpenCode vs Qwen Code
- OpenHands vs OpenMausBot
- OpenHands vs Orca
- OpenHands vs Paseo
- OpenHands vs Prime Agent
- OpenHands vs Qoder CLI
- OpenHands vs Mirror CLI
- OpenHands vs Rovo Dev CLI
- OpenHands vs Sculptor
- OpenHands vs T3 Code
- OpenHands vs Traycer
- OpenHands vs Unstoppable
- OpenHands vs Verdent
- OpenHands vs Vibe-Trading
- OpenHands vs Warp (Warp Agent CLI and the Oz Agent API)
- Orca vs Qwen Code
- Paseo vs Qwen Code
- Prime Agent vs Qwen Code
- Qoder CLI vs Qwen Code
- Qwen Code vs Mirror CLI
- Qwen Code vs Rovo Dev CLI
- Qwen Code vs Sculptor
- Qwen Code vs T3 Code
- Qwen Code vs Traycer
- Qwen Code vs Unstoppable
- Qwen Code vs Verdent
- Qwen Code vs Vibe-Trading
- Qwen Code vs Warp (Warp Agent CLI and the Oz Agent API)
- Agent Relay vs OpenHands
- Agent Relay vs Qwen Code
- Clawboo vs OpenHands
- Clawboo vs Qwen Code
- CLI Manager vs OpenHands
- CLI Manager vs Qwen Code
- Friday vs OpenHands
- Friday vs Qwen Code
- Harness vs OpenHands
- Harness vs Qwen Code
- herdr vs OpenHands
- herdr vs Qwen Code
- OpenHands vs Paperclip
- OpenHands vs Parallax
- OpenMausBot vs Qwen Code
- Paperclip vs Qwen Code
- Parallax vs Qwen Code
Machine-readable
- This page as Markdown
/compare/openhands-vs-qwen-code.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/openhands.json·/api/v1/tools/qwen-code.json - From a terminal
anchor compare openhands qwen-code(the CLI) - Over MCP
compare_tools {"a": "openhands", "b": "qwen-code"}at/mcp, no key