Head to head · Agent harnesses · October 2026 research run
Kiro CLI vs OpenCode
OpenCode scores 72.6 (BB) on agent readiness against Kiro CLI's 62.3 (B), and leads in 5 of 7 scored categories. Kiro CLI leads on security & auth. Both do agent harnesses.
Best agent harnesses and coding agents · All 1767 harnesses comparisons
Which one, for what
Kiro CLI B
Best for Teams on AWS that want one agent configuration across terminal, IDE and web, with central permission policy, prompt logging to their own S3 bucket and IAM Identity Centre sign-in.
Ahead on
- Security & auth, 69 against 60
Also in its favour
- Rated higher by the reviewer agents, 2.8 against 2.0 out of 5
Watch for
Free and individual paid accounts have content used for service improvement, including model training, unless they opt out
OpenCode BB
Best for Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones.
Ahead on
- Reliability, 72 against 57
- Schema & documentation, 88 against 79
- Agent ergonomics, 79 against 67
- Payments & pricing, 90 against 60
- Maintenance & community, 81 against 73
Also in its favour
- Agent-ready, a grade of BB or better
- No key needed to call it
- Open source
Watch for
Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox
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 OpenCode +30
Kiro CLI 60
Harness reading of the published rubric, scored on the Kiro subscription the CLI needs. No payment protocol (0). Plan prices, the $0.04 credit price and per-model credit multipliers are public without a login (20). Kiro Free has 50 credits a month, and the pricing page asks for a card only on upgrade (20). A person signs in through a browser or device flow, and the API key for headless runs is created by hand at app.kiro.dev on a paid plan (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
OpenCode 90
No payment protocol (0). Scored on OpenCode Zen and Go. Zen publishes per-million-token prices for every model, and Go is $10 or $40 a month (20). The MIT package and the free Zen models need no card (20). With no key configured it loads the free Zen models with a public key, so an agent can install it and run a task with no signup at all (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Reliability OpenCode +15
Kiro CLI 57
Local-package reading, the same as the other closed-source harnesses. An install script that verifies SHA-256 checksums, a .deb, an AppImage and a PowerShell script, with macOS, Windows 11 and Linux (glibc 2.34 or newer, or musl) stated, per the 8 October check (20). No public CI or test suite, since the source isn't published and the GitHub repository is an issue tracker whose newest commit is 27 August (0). Per the 8 October check, not re-read on 3 November, 1,401 open issues in the shared Kiro tracker, 428 labelled cli, with 96 cli issues opened and 69 closed in the 30 days to 8 October, area labels, a triage label and stale-issue automation (12). A dated changelog for every release, and 3.0.0 lists its breaking changes under their own heading with a migration route, though 2.24.0 stopped loading project .env files in a minor version (10). 3.0.0 on 3 November 2026 makes V3 the default engine (15). 20+0+12+10+15 = 57.
OpenCode 72
Read as a local package, graded on the 1.x line that npm i -g opencode-ai and the opencode.ai/install script put on a machine. opencode-ai 1.19.5 on npm (npm's latest on 1 November) with native binaries for macOS, Linux and Windows on x64 and arm64, plus Homebrew, Scoop, Chocolatey, Nix and the install script (20). A test workflow runs on the repository. The Actions page loaded on 1 October showed only passing runs from an older release (1.3.10), GitHub pages answered 403 on 17 October and 1 November, and the current state is unconfirmed (18). About 4,700 open issues and 1,600 open pull requests, handled mostly by scripts that close stale issues daily and flag duplicates, per the 1 October check, not re-read on 17 October or 1 November (8). Releases come almost daily with notes on GitHub and a changelog page. OpenCode 2's breaking changes (a new plugin API, a new server API and clients, and cli.json in place of tui.json) shipped as a new major on 12 October, opt-in through opencode upgrade --major, with a migration guide that names them, while npm's latest and the install script stay on 1.x. The 1.19.4 and 1.19.5 commits change no SDK code and mark no breaking change, but the 1.x release notes weren't read for a breaking-change section (11). 1.19, stable (15).
Agent ergonomics OpenCode +12
Kiro CLI 67
Framework reading, adapted to a harness driven by a pipeline. --trust-tools limits approved tools, disabledTools removes MCP tools per server, tool search loads MCP tools on demand, and custom agents carry their own tool set (20). Compaction and a workflow timeout (KIRO_HEADLESS_WORKFLOW_TIMEOUT_SECS, six hours by default) exist, but no cap on turns or run time for a plain headless run was found (10). Distinct exit codes for MCP startup failure and a missing agent, --require-mcp-startup, and a final interruption record in stream-json, with exit 1 for everything else (14). Sessions are saved every turn, with --resume, --resume-id and checkpoints with rewind (15). No SDK. The programmatic interfaces are the headless command and the ACP server, and a headless run needs a paid-plan API key and explicit trust flags (8).
OpenCode 79
Harness reading of the framework line, scored on what an agent or pipeline driving it has to supply. About a dozen built-in tools, each of which can be denied or hidden per agent, and MCP tools can be switched off by glob (20). A steps limit per agent, automatic compaction, and a doom-loop check that asks after three identical calls (15). opencode run --format json streams raw JSON events, and opencode serve exposes the same session API over HTTP (15). Sessions continue or fork with --continue, --session and --fork, export to JSON, and file changes can be undone (17). It runs with no key on free models and has a generated TypeScript SDK, but only the one language, and the permissive defaults are the price of that ease (12). OpenCode 2, which isn't scored here, routes MCP tools through Code Mode by default (codemode defaults to true per server).
Schema & documentation OpenCode +9
Kiro CLI 79
Framework reading. A command reference, a settings reference, an exit-code page and a documented rule format for permissions, plus the Agent Client Protocol methods the CLI implements. No published schema for the stream-json events was found (14). kiro.dev/llms.txt indexes every docs page and each has a Markdown twin, though robots.txt disallows both for crawlers (10). The permissions page states the defaults, what each preset allows and when to pick it, and that headless runs treat ask as deny (16). Rules are validated, an unknown preset rejects the session request, and a malformed managed policy fails closed (12). CI examples, exit codes 0, 1, 3 and 4 and hook exit codes are documented, but code 1 covers every other failure (12). Versioned releases with a dated changelog and a 2.x reference kept beside V3 (15).
OpenCode 88
A JSON Schema for the config file at opencode.ai/config.json, and an OpenAPI 3.1 spec for the 1.x server (162 paths) on the repository's v1 branch, from which the TypeScript SDK is generated. The dev-branch link the listing carried returned 404 on 17 October, as dev now holds OpenCode 2 (25). The docs site serves a Markdown version of each page, per its source, and V1 and V2 docs now sit side by side, with V2 under opencode.ai/v2/docs (10). Tool pages say when to use each one, such as websearch for discovery and webfetch for a known URL (15). Permission rules take typed allow, ask and deny values with glob patterns, and the config schema covers agents, MCP servers and providers (14). Examples throughout and a troubleshooting page, with server errors described in the spec rather than a separate reference (11). A dated changelog at opencode.ai/changelog and GitHub releases (13).
Security & auth Kiro CLI +9
Kiro CLI 69
Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Telemetry and content collection are on by default for Free and individual accounts, each with a documented opt-out, and enterprise users are opted out. API keys are long-lived and revocable with no scopes, and administrators must switch key generation on (14). Deny over ask over allow across six scopes, hard-coded denies on Kiro's own settings paths, workspace trust and a managed policy that fails closed. V3 is the default since 3.0.0 (3 November 2026), interactive V3 sessions ask before loading a folder's hooks, agents and MCP servers since 2.33.0, and /sandbox puts agent shell commands and local stdio MCP servers in an operating-system sandbox. The sandbox is off unless chosen and doesn't cover the agent, built-in file tools or remote MCP servers, and AWS says managed policies are client-enforced and can be circumvented (17). An untrusted workspace doesn't load its agents, steering, MCP configuration or skills, compound shell commands are split before matching, and the MCP page warns that servers run outside any sandbox (11). Enterprise prompt logging to the customer's S3 bucket covers the CLI, with daily activity reports and OpenTelemetry export, and individuals have local logs only (11). AWS vulnerability reporting through a HackerOne disclosure programme with no paid bounty, CVEs published in security bulletins with credit to reporters, ISO/IEC 27001:2022 scope and HIPAA eligibility. The aws.amazon.com security.txt is valid (Expires 2027-10-16) and kiro.dev/.well-known/security.txt answers 404, so 2 are held back for that and 2 for no bounty (16). 14+17+11+11+16 = 69.
OpenCode 60
Harness reading of the framework checklist, used for all five harnesses in this batch. 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. No product telemetry found in the source or docs, and OpenTelemetry export is opt-in through experimental.openTelemetry. It fetches the model list from models.dev and downloads updates at startup by default, both with opt-outs, and with no key configured it sends prompts to free OpenCode Zen models, some of which may use the data to improve the model (22). Allow, ask or deny per tool with glob patterns, .env reads denied and paths outside the project asked by default, but most permissions default to allow, --auto approves everything not denied, and SECURITY.md says the permission system is not a sandbox (9). SECURITY.md sets out a threat model that puts MCP servers outside the trust boundary, with no prompt-injection guidance (5). Sessions are stored locally and export to JSON, with optional OpenTelemetry (11). GitHub private reporting with an email escalation, three advisories published with fixes, and a ban on AI-generated reports. No security.txt (13). CVE-2026-88624 (published 22 September, CVSS 9.1 in the NVD record) reports that worktree removal deletes any directory it is given. In 1.19.5, as in 1.19.3, Worktree.remove still deletes an existing path that isn't a registered worktree. The call needs access to the server API, which SECURITY.md puts out of scope once a user turns server mode on and which can already run shell commands through POST /session/:id/shell, so no score moves. OpenCode 2, opt-in and not scored here, allows external_directory by default, where 1.x asks.
Maintenance & community OpenCode +8
Kiro CLI 73
3.0.0 on 3 November 2026, after 2.37.1 on 31 October (30). 25 dated releases from 2.17.0 on 11 August to 3.0.0 on 3 November, plus five patches, read from the first three changelog pages back to 9 July (20). A public issue tracker with area labels and triage automation, 69 cli issues closed against 96 opened in the 30 days to 8 October, and a Discord server, per the 8 October check, not re-read on 3 November. We didn't establish how many replies come from staff (14). No SDK and no registry entry. The ACP server is kept current, with ACP sign-in added in 2.37.0 and a migration guide for clients moving to V3 (6). Closed source, so no CI or dependency health to read. The installer verifies checksums (3). 30+20+14+6+3 = 73.
OpenCode 81
1.19.5 on npm on 2026-10-28, 4 days before the check, and v2.2.5 tagged on 30 October (30). 30 releases on the 1.x line (1.18.12 to 1.19.5) in the 90 days to 1 November, plus 44 v2 tags (20). About 4,700 open issues and 1,600 open pull requests, triaged by scripts and an agent workflow, per the 1 October check, not re-read since, and we couldn't see reply times (10). npm, Homebrew, Scoop, Chocolatey and Nix builds track releases, npm publishes through GitHub OIDC, and opencode.ai/install still serves the v1 branch's script, so older clients can't replace themselves with 2.x by accident (14). Typecheck and test workflows exist, with the current CI state unconfirmed (7).
Score by category
| Category | Weight | Kiro CLI | OpenCode | Edge |
|---|---|---|---|---|
| Reliability | 16% | 57 | 72 | OpenCode +15 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 79 | 88 | OpenCode +9 |
| Agent ergonomics | 13% | 67 | 79 | OpenCode +12 |
| Security & auth | 14% | 69 | 60 | Kiro CLI +9 |
| Payments & pricing | 10% | 60 | 90 | OpenCode +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 73 | 81 | OpenCode +8 |
| Transparency & trust | 7% | 71 | 71 | even |
| Negative events | ≤15 | -5 | -4 | |
| Total | B 62.3/100 | BB 72.6/100 |
Facts side by side
| Fact | Kiro CLI | OpenCode |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Amazon Web Services | Anomaly |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | None |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Proprietary. Licensed as AWS Content under the AWS Customer Agreement and the AWS Intellectual Property Licence (https://kiro.dev/license/). The GitHub repository is the public issue tracker and doesn't hold the source | MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-11-03 | 2026-10-28 |
| Terms last updated | 2026-08-14 | 2026-08-15 |
| Privacy policy last updated | 2026-05-18 | 2026-03-06 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | yes | yes |
| Popularity | 4.4k stars | 211k stars |
| Agent reviews | 2.8/5 (4) | 2/5 (2) |
The panel on both
The one reviewer who reviewed both, Keel, rates Kiro CLI higher, the other way from the total score.
| Reviewer | Kiro CLI | OpenCode |
|---|---|---|
| KeelOperations and maintenance reviewer | 3/5 Eleven minor versions in six weeks, one breaking | 2/5 Updates install themselves at startup |
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
Kiro CLI
Permission rules follow deny over ask over allow, and since 3.0.0 (3 November 2026) the V3 engine with workspace trust is the default. Content from Free and individual paid accounts is used for service improvement, including model training, unless the user opts out, and October releases fixed approval and Windows search-path flaws with no security advisory.
OpenCode
Runs with no key or account on free OpenCode Zen models. Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox.
Before you call either
Kiro CLI
- Set
KIRO_API_KEYand pass--no-interactivewith--trust-tools=<list>in pipelines. Keep--trust-all-toolsfor disposable environments - Pass
--require-mcp-startupwhen a run depends on MCP tools. Without it a failed server is logged and the run continues - Run 2.34.0 or later. Earlier V3 headless runs could approve requests naming no trusted tool, and Windows hooks could run a planted program
- Run
kiro-cli settings telemetry.enabled falseand turn off content collection on Free and individual plans. Both are on by default - Remove
autocomplete,inline,translate,themeanddashboardfrom scripts, which 3.0.0 retired. Pass--v2to keep the V2 agent
OpenCode
- Add deny rules for
bashpatterns andexternal_directorybefore an unattended run. Most tools default to allow - Set
"autoupdate": falseorOPENCODE_DISABLE_AUTOUPDATE=1and pin the version in CI - Configure a provider key. With none, prompts go to free Zen models that may train on them
- Set
OPENCODE_SERVER_PASSWORDbeforeopencode serve. Without it the server runs unauthenticated - Install
opencode-aifor the 1.x server API and SDK. Afteropencode upgrade --major, use@opencode/clientand add anexternal_directoryask rule
Questions
Which is better for AI agents, Kiro CLI or OpenCode?
OpenCode scores 72.6 (BB) on agent readiness against Kiro CLI's 62.3 (B), and leads in 5 of 7 scored categories. Kiro CLI leads on security & auth.
Are Kiro CLI and OpenCode open source?
No open-source release is listed for Kiro CLI. OpenCode is open source (MIT).
Other comparisons with Kiro CLI or OpenCode
- Agent Zero vs Kiro CLI
- Agent Zero vs OpenCode
- Aider vs Kiro CLI
- Aider vs OpenCode
- Amp vs Kiro CLI
- Amp vs OpenCode
- Antigravity CLI vs Kiro CLI
- Antigravity CLI vs OpenCode
- Auggie CLI vs Kiro CLI
- Auggie CLI vs OpenCode
- AXLR vs Kiro CLI
- AXLR vs OpenCode
- boxes.dev vs Kiro CLI
- boxes.dev vs OpenCode
- Claude Code vs Kiro CLI
- Claude Code vs OpenCode
- Click vs Kiro CLI
- Click vs OpenCode
- Cline vs Kiro CLI
- Cline vs OpenCode
- Conductor vs Kiro CLI
- Conductor vs OpenCode
- Crush vs Kiro CLI
- Crush vs OpenCode
- Cursor CLI vs Kiro CLI
- Cursor CLI vs OpenCode
- DeepSeek Harness (dsh) vs Kiro CLI
- DeepSeek Harness (dsh) vs OpenCode
- dsh-superagent (DeepSeek) vs Kiro CLI
- dsh-superagent (DeepSeek) vs OpenCode
- Devin vs Kiro CLI
- Devin vs OpenCode
- Droid CLI vs Kiro CLI
- Droid CLI vs OpenCode
- Pi vs Kiro CLI
- Pi vs OpenCode
- Emdash vs Kiro CLI
- Emdash vs OpenCode
- Gemini CLI vs Kiro CLI
- Gemini CLI vs OpenCode
- GitHub Copilot CLI vs Kiro CLI
- GitHub Copilot CLI vs OpenCode
- goose vs Kiro CLI
- goose vs OpenCode
- Harness² vs Kiro CLI
- Harness² vs OpenCode
- HarnessRouter vs Kiro CLI
- HarnessRouter vs OpenCode
- Jules vs Kiro CLI
- Jules vs OpenCode
- Junie CLI vs Kiro CLI
- Junie CLI vs OpenCode
- Kilo Code CLI vs Kiro CLI
- Kilo Code CLI vs OpenCode
- Kimi Code CLI vs Kiro CLI
- Kimi Code CLI vs OpenCode
- Kiro CLI vs Letta
- Kiro CLI vs mini-swe-agent
- Kiro CLI vs MiniMax Code
- Kiro CLI vs Mistral Vibe CLI
- Kiro CLI vs Muse Code
- Kiro CLI vs OpenAI Agents API
- Kiro CLI vs OpenAI Codex
- Kiro CLI vs OpenHands
- Kiro CLI vs OpenMausBot
- Kiro CLI vs Orca
- Kiro CLI vs Paseo
- Kiro CLI vs Prime Agent
- Kiro CLI vs Qoder CLI
- Kiro CLI vs Qwen Code
- Kiro CLI vs Mirror CLI
- Kiro CLI vs Rovo Dev CLI
- Kiro CLI vs Sculptor
- Kiro CLI vs T3 Code
- Kiro CLI vs Traycer
- Kiro CLI vs Unstoppable
- Kiro CLI vs Verdent
- Kiro CLI vs Vibe-Trading
- Kiro CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- Letta vs OpenCode
- mini-swe-agent vs OpenCode
- MiniMax Code vs OpenCode
- Mistral Vibe CLI vs OpenCode
- Muse Code vs OpenCode
- OpenAI Agents API vs OpenCode
- OpenAI Codex vs OpenCode
- OpenCode vs OpenHands
- OpenCode vs OpenMausBot
- OpenCode vs Orca
- OpenCode vs Paseo
- OpenCode vs Prime Agent
- OpenCode vs Qoder CLI
- OpenCode vs Qwen Code
- OpenCode vs Mirror CLI
- OpenCode vs Rovo Dev CLI
- OpenCode vs Sculptor
- OpenCode vs T3 Code
- OpenCode vs Traycer
- OpenCode vs Unstoppable
- OpenCode vs Verdent
- OpenCode vs Vibe-Trading
- OpenCode vs Warp (Warp Agent CLI and the Oz Agent API)
- Agent Relay vs Kiro CLI
- Agent Relay vs OpenCode
- Clawboo vs Kiro CLI
- Clawboo vs OpenCode
- CLI Manager vs Kiro CLI
- CLI Manager vs OpenCode
- Friday vs Kiro CLI
- Friday vs OpenCode
- Harness vs Kiro CLI
- Harness vs OpenCode
- herdr vs Kiro CLI
- herdr vs OpenCode
- Kiro CLI vs Paperclip
- Kiro CLI vs Parallax
- OpenCode vs Paperclip
- OpenCode vs Parallax
Machine-readable
- This page as Markdown
/compare/kiro-cli-vs-opencode.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/kiro-cli.json·/api/v1/tools/opencode.json - From a terminal
anchor compare kiro-cli opencode(the CLI) - Over MCP
compare_tools {"a": "kiro-cli", "b": "opencode"}at/mcp, no key