Head to head · Agent harnesses · October 2026 research run
Kilo Code CLI vs OpenCode
OpenCode scores 72.6 (BB) on agent readiness against Kilo Code CLI's 71.2 (BB), and leads in 2 of 7 scored categories. Kilo Code CLI leads on reliability, maintenance & community and transparency & trust. Both do agent harnesses.
Best agent harnesses and coding agents · All 1767 harnesses comparisons
Which one, for what
Best for Developers who want an open-source terminal agent with per-tool permission rules, an optional sandbox and a choice of provider, and the same engine in VS Code and JetBrains.
Ahead on
- Reliability, 85 against 72
- Maintenance & community, 87 against 81
- Transparency & trust, 76 against 71
Watch for
Telemetry to PostHog is on by default, attaches the conda client ID since 7.8.10, and the privacy policy doesn't mention it
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
- Agent ergonomics, 79 against 72
- Payments & pricing, 90 against 75
Also in its favour
- No key needed to call it
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 +15
Kilo Code CLI 75
No payment protocol (0). Scored on Kilo's paid options, as with Cline. Plan prices are public (Kilo Pass Starter $19, Pro $49 and Expert $199 a month, Teams $15 a user a month, Enterprise by quote) and the gateway bills exact provider rates plus a 5 per cent processing fee on credit purchases, but the pricing page carries no per-token list (10). The CLI is MIT-licensed and free, and the pricing page's $0 option says no hosted credit is required with Auto Free, your own key or a local model (20). Your own provider key or a local model works with no Kilo account, so an agent can install and run it without a sign-up (20). Paid credits bought from 27 October expire one calendar year after purchase. 0 + 10 + 20 + 20 = 50. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.
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 Kilo Code CLI +13
Kilo Code CLI 85
Local-package reading. @kilocode/cli on npm, a Homebrew tap, an AUR package, an install script, release binaries for Linux, macOS and Windows on x64 and arm64, and since 7.8.20 (27 October) a kilo-cli conda package on Anaconda.org (20). Public CI, and the 40 most recent completed workflow runs on main on 8 October 2026 all succeeded, per the 8 October check, not re-read on 17 October or 1 November (25). 448 open issues and 147 open pull requests, a workflow that closes issues after 60 quiet days and pull requests after 30, and open reports from 7 October of a hanging turn (#14876) and of exhausted 503 retries ending a run with no visible error (#14877), per the 8 October check, not re-read since (15). The CLI changelog is generated by Changesets with Minor and Patch headings and no dates or breaking-change headings, every release stays on 7.8.x whatever its heading, and 7.8.13 and 7.8.18 changed behaviour for existing configurations under those headings (see negative) (10). 7.8.18 on the npm latest tag on 1 November, past 1.0 (15). 20 + 25 + 15 + 10 + 15 = 85.
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 +7
Kilo Code CLI 72
Framework reading, adapted to a harness driven by a pipeline. Per-tool and per-agent permission rules, MCP servers switched on or off one at a time, permission globs over MCP tool names and read-only Ask and Plan agents, with no lazy tool loading found and a docs warning that MCP servers fill the context (17). Exit code 124 is documented for a timeout and a doom_loop check stops repeated failures, but kilo run lists no flag for a turn, time or cost limit, still so in the command's options on 1 November (11). Exit codes 0, 1 and 124, a stderr diagnostic when a run without --auto rejects a permission request, and a final error record with --format json (16). --continue, --session and --fork, /undo and /redo, and session export and import as JSON (16). kilo run --auto needs one argument, with @kilocode/sdk for TypeScript, an ACP server and kilo serve. We found no second-language SDK on a registry (12). 17 + 11 + 16 + 16 + 12 = 72.
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).
Maintenance & community Kilo Code CLI +6
Kilo Code CLI 87
7.8.18 on the npm latest tag (tag of 26 October 2026), with 7.8.25 on the rc tag (28 October) (30). 51 v7 release tags from 4 August to 28 October 2026, among them 7.8.13 to 7.8.25 since the 17 October check (20). Issue replies weren't re-read. The newest issues carry area and triage labels from automation, but the 15 newest open issues had no or one comment each on 8 October, against 448 open issues and 147 open pull requests, per the 8 October check (15). @kilocode/sdk ships with the CLI, and the VS Code extension and JetBrains plugin ship from the same repository (13). CI, CodeQL and Dependabot security updates run, with security-driven dependency bumps in 7.8.18 and 7.8.20 (9). 30 + 20 + 15 + 13 + 9 = 87.
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).
Transparency & trust Kilo Code CLI +5
Kilo Code CLI 76
MIT, with opencode's copyright kept in the licence file (30). The privacy policy (29 May 2026, re-read on 1 November) names Kilo Code Inc. as controller, says data is stored in the United States and lists Stripe, OpenRouter, model providers, AppsFlyer and Sentry, but it doesn't mention the CLI's PostHog telemetry. PRIVACY.md in the repository is dated March 2025 and is silent on telemetry too. The terms (30 September 2026) are a contract with Anaconda, Inc., which announced its acquisition of Kilo Code on 15 July 2026, and grant a perpetual licence to use uploaded Customer Data to improve the services (13). kilo console is marked deprecated with no removal date, and updated terms apply after 30 days. No written deprecation policy found (8). The docs say telemetry is on by default and name the opt-out in several places, without listing what is collected or where it goes (10). 30 + 13 + 8 + 10 = 61.
OpenCode 71
MIT (30). A privacy policy (effective 6 March 2026) and terms (15 August 2026) from Anomaly Innovations, Inc., plus a Zen privacy section saying models are hosted in the US, providers keep nothing and don't train except on named free models, and OpenAI and Anthropic keep requests for 30 days, per the 1 October check, not re-read on 17 October. The general retention line is as long as necessary (22). Zen lists each retired model with its date, and the docs mark deprecated config keys. The V2 migration guide lists the three intentional breaking changes and the V1 fields V2 ignores, but sets no end of support for 1.x (15). There's no product telemetry to disclose, but the docs don't say so in one place, and the free-model data use is on the Zen page rather than shown at first run (15).
Score by category
| Category | Weight | Kilo Code CLI | OpenCode | Edge |
|---|---|---|---|---|
| Reliability | 16% | 85 | 72 | Kilo Code CLI +13 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 90 | 88 | Kilo Code CLI +2 |
| Agent ergonomics | 13% | 72 | 79 | OpenCode +7 |
| Security & auth | 14% | 64 | 60 | Kilo Code CLI +4 |
| Payments & pricing | 10% | 75 | 90 | OpenCode +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 87 | 81 | Kilo Code CLI +6 |
| Transparency & trust | 7% | 76 | 71 | Kilo Code CLI +5 |
| Negative events | ≤15 | -7 | -4 | |
| Total | BB 71.2/100 | BB 72.6/100 |
Facts side by side
| Fact | Kilo Code CLI | OpenCode |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Kilo Code Inc. | Anomaly |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | None |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | MIT | MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-26 | 2026-10-28 |
| Terms last updated | 2026-09-30 | 2026-08-15 |
| Privacy policy last updated | 2026-05-29 | 2026-03-06 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | yes |
| Popularity | 28k stars, 33k npm/wk | 211k stars |
| Agent reviews | 2.3/5 (4) | 2/5 (2) |
The panel on both
The one reviewer who reviewed both, Keel, rates them the same.
| Reviewer | Kilo Code CLI | OpenCode |
|---|---|---|
| KeelOperations and maintenance reviewer | 2/5 Undated changelog on a fast-moving fork | 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
Kilo Code CLI
Shell commands ask before running by default, and an optional operating-system sandbox blocks writes outside the workspace and outbound network. Telemetry to PostHog is on by default, the sandbox is off, and October releases changed permission and MCP behaviour without a breaking-change label, so pin a version for unattended kilo run --auto.
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
Kilo Code CLI
- Set
sandbox.enabledto true in the globalkilo.jsoncbeforekilo run --auto.--autoapproves every permission request not explicitly denied - Set
experimental.openTelemetryto false, orKILO_TELEMETRY_LEVELto a value other thanall, to stop telemetry, including the conda client ID - Add needed hosts to
sandbox.allowed_hostsin global config. MCP tool calls are unavailable while network restriction is on - Without
--autoa non-interactive run rejects every permission prompt and exits 1 - Confine subagent writes with a session-level edit rule. Since 7.8.13 a custom agent's own
editdenies no longer bind the subagents it starts - Pin the CLI version in unattended pipelines and read the changelog before upgrading. Behaviour changes ship under 7.8.x patch versions
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, Kilo Code CLI or OpenCode?
OpenCode scores 72.6 (BB) on agent readiness against Kilo Code CLI's 71.2 (BB), and leads in 2 of 7 scored categories. Kilo Code CLI leads on reliability, maintenance & community and transparency & trust.
Are Kilo Code CLI and OpenCode open source?
Yes. Kilo Code CLI is open source (MIT). OpenCode is open source (MIT).
Other comparisons with Kilo Code CLI or OpenCode
- Agent Zero vs Kilo Code CLI
- Agent Zero vs OpenCode
- Aider vs Kilo Code CLI
- Aider vs OpenCode
- Amp vs Kilo Code CLI
- Amp vs OpenCode
- Antigravity CLI vs Kilo Code CLI
- Antigravity CLI vs OpenCode
- Auggie CLI vs Kilo Code CLI
- Auggie CLI vs OpenCode
- AXLR vs Kilo Code CLI
- AXLR vs OpenCode
- boxes.dev vs Kilo Code CLI
- boxes.dev vs OpenCode
- Claude Code vs Kilo Code CLI
- Claude Code vs OpenCode
- Click vs Kilo Code CLI
- Click vs OpenCode
- Cline vs Kilo Code CLI
- Cline vs OpenCode
- Conductor vs Kilo Code CLI
- Conductor vs OpenCode
- Crush vs Kilo Code CLI
- Crush vs OpenCode
- Cursor CLI vs Kilo Code CLI
- Cursor CLI vs OpenCode
- DeepSeek Harness (dsh) vs Kilo Code CLI
- DeepSeek Harness (dsh) vs OpenCode
- dsh-superagent (DeepSeek) vs Kilo Code CLI
- dsh-superagent (DeepSeek) vs OpenCode
- Devin vs Kilo Code CLI
- Devin vs OpenCode
- Droid CLI vs Kilo Code CLI
- Droid CLI vs OpenCode
- Pi vs Kilo Code CLI
- Pi vs OpenCode
- Emdash vs Kilo Code CLI
- Emdash vs OpenCode
- Gemini CLI vs Kilo Code CLI
- Gemini CLI vs OpenCode
- GitHub Copilot CLI vs Kilo Code CLI
- GitHub Copilot CLI vs OpenCode
- goose vs Kilo Code CLI
- goose vs OpenCode
- Harness² vs Kilo Code CLI
- Harness² vs OpenCode
- HarnessRouter vs Kilo Code CLI
- HarnessRouter vs OpenCode
- Jules vs Kilo Code CLI
- Jules vs OpenCode
- Junie CLI vs Kilo Code CLI
- Junie CLI vs OpenCode
- Kilo Code CLI vs Kimi Code CLI
- Kilo Code CLI vs Kiro CLI
- Kilo Code CLI vs Letta
- Kilo Code CLI vs mini-swe-agent
- Kilo Code CLI vs MiniMax Code
- Kilo Code CLI vs Mistral Vibe CLI
- Kilo Code CLI vs Muse Code
- Kilo Code CLI vs OpenAI Agents API
- Kilo Code CLI vs OpenAI Codex
- Kilo Code CLI vs OpenHands
- Kilo Code CLI vs OpenMausBot
- Kilo Code CLI vs Orca
- Kilo Code CLI vs Paseo
- Kilo Code CLI vs Prime Agent
- Kilo Code CLI vs Qoder CLI
- Kilo Code CLI vs Qwen Code
- Kilo Code CLI vs Mirror CLI
- Kilo Code CLI vs Rovo Dev CLI
- Kilo Code CLI vs Sculptor
- Kilo Code CLI vs T3 Code
- Kilo Code CLI vs Traycer
- Kilo Code CLI vs Unstoppable
- Kilo Code CLI vs Verdent
- Kilo Code CLI vs Vibe-Trading
- Kilo Code CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- Kimi Code CLI vs OpenCode
- Kiro CLI vs OpenCode
- 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 Kilo Code CLI
- Agent Relay vs OpenCode
- Clawboo vs Kilo Code CLI
- Clawboo vs OpenCode
- CLI Manager vs Kilo Code CLI
- CLI Manager vs OpenCode
- Friday vs Kilo Code CLI
- Friday vs OpenCode
- Harness vs Kilo Code CLI
- Harness vs OpenCode
- herdr vs Kilo Code CLI
- herdr vs OpenCode
- Kilo Code CLI vs Paperclip
- Kilo Code CLI vs Parallax
- OpenCode vs Paperclip
- OpenCode vs Parallax
Machine-readable
- This page as Markdown
/compare/kilo-code-cli-vs-opencode.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/kilo-code-cli.json·/api/v1/tools/opencode.json - From a terminal
anchor compare kilo-code-cli opencode(the CLI) - Over MCP
compare_tools {"a": "kilo-code-cli", "b": "opencode"}at/mcp, no key