Head to head · Agent harnesses · October 2026 research run
Junie CLI vs Kimi Code CLI
Kimi Code CLI scores 61.8 (C) on agent readiness against Junie CLI's 51.6 (D), and leads in 5 of 7 scored categories. Junie CLI leads on security & auth and transparency & trust. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 harnesses comparisons
Which one, for what
Best for Teams on JetBrains IDEs who want the same agent in a terminal, CI and ACP editors, and people who want a free tier or their own model keys and local endpoints.
Ahead on
- Security & auth, 56 against 45
- Transparency & trust, 77 against 62
Watch for
One-shot, piped, ACP and Gateway runs trust the project by design and load its MCP servers, hooks, agents and skills without a prompt
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.
Ahead on
- Reliability, 68 against 33
- Schema & documentation, 85 against 62
- Agent ergonomics, 71 against 55
- Payments & pricing, 90 against 63
- Maintenance & community, 72 against 64
Also in its favour
- Open source
Watch for
Print mode approves every tool call under Never Ask, where the dangerous-command guard is off
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 Kimi Code CLI +35
Junie CLI 33
Local-package reading, the same as the other closed-source harnesses. Install scripts for macOS, Linux and Windows on x86-64 and ARM64, a Homebrew tap and npm, with SHA-256 sums checked against the release feed (update-info.jsonl, read from a clone on 4 November), but the script carries on without a sum for an unlisted version and npm sat five weeks behind at 3110.7.0 on 18 October (17). No public CI or test suite. No source is published and the repository has no workflow files, per a clone on 4 November (0). Crash and regression line 0. The 18 October counts came from shields.io badges and YouTrack's JSON API, both struck in this run, and no first-hand reading of the GitHub tracker or YouTrack is possible today (github.com pages refused, JetBrains hosts paused). What's New dates every build, but entries are one line and no breaking change is called out, and versions are a date plus a build number, per the 18 October check (6). JetBrains said Junie left Beta on 17 June 2026, but the headless page dated 15 October still calls the CLI an EAP, per the 18 October check (10). 17+0+0+6+10 = 33.
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.
Payments & pricing Kimi Code CLI +27
Junie CLI 63
Harness reading of the published rubric. No payment protocol (0). Plan prices and the US$1 credit are public without a login, but per-model credit rates and Junie API key usage rates weren't found (12). Junie Lite is free with a JetBrains account and no card (20). Judgement call. The docs present BYOK keys and custom endpoints such as Ollama as alternatives to a JetBrains sign-in, so a pipeline holding a provider key needs no JetBrains signup, but the headless page says a token is required and a Junie API key is created by hand at junie.jetbrains.com/cli (10). 0+12+20+10 = 42. Per the 18 October check, not re-read on 4 November, because JetBrains' website terms bar robots and data mining on its sites. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 42 is 63.
Kimi Code CLI 90
Self-hosted rule. No payment protocol (0). The CLI is free under MIT with nothing to buy (20). No card or account is needed for the software, and any listed provider's key works (20). An agent can install it from npm and run it with KIMI_MODEL_* variables and no sign-up, given a model key (20). The Kimi Code subscription and Kimi Platform API usage are separate purchases. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Schema & documentation Kimi Code CLI +23
Junie CLI 62
Framework reading. A CLI reference that lists every flag with examples, documented formats for the allowlist, config.json, custom model profiles and hook payloads, and ACP as the editor protocol. No schema for the json or json-stream output was found, and the OpenAPI covers only update metadata (12). llms.txt exists and claims Markdown by content negotiation, but docs pages came back as HTML with Accept: text/markdown and llms.txt doesn't index them (6). Pages say when to use ACP and when not, and how trust works in each launch mode, but the headless page doesn't say what happens when an action needs approval (13). Output formats, effort levels, channels and allowlist actions are enumerated, though the effort values differ between the CLI reference and the model page (11). Examples throughout and nine StopFailure categories in the hooks page, but no exit codes or error format (8). A dated release list and dated docs pages (12). 12+6+13+11+8+12 = 62. Per the 18 October check, not re-read on 4 November, because JetBrains' website terms bar robots and data mining on its sites.
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.
Agent ergonomics Kimi Code CLI +16
Junie CLI 55
Framework reading, adapted to a harness driven by a pipeline. MCP tools can be allowed per server prefix, and default MCP, skill, agent and config locations can each be switched off, with no deferred tool loading found (15). text, json and json-stream output and --json-output-file. Remote mode mentions a step limit, but no turn, time or spend cap for a headless run was documented (10). No exit codes. A Stop hook can end a task with a failure status, and StopFailure names the failure category (8). Sessions resume with --session-id or --resume, and worktrees isolate parallel sessions (14). One command with --auth and a dynamically chosen default model, a GitHub Action and GitLab CI, and no SDK (8). 15+10+8+14+8 = 55. Per the 18 October check, not re-read on 4 November, because JetBrains' website terms bar robots and data mining on its sites.
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).
Transparency & trust Junie CLI +15
Junie CLI 77
Proprietary, with clear terms. The JetBrains AI Terms of Service (version 2.1, effective 30 September 2025) name AI Assistant and Junie, though the Junie EAP terms from December 2024 still call Junie a plugin (15). The terms rule out training on inputs without consent and list AI subcontractors with 30 days' notice of new ones (page updated 29 September 2026, naming OpenAI, Google, Anthropic and SpaceXAI for Junie). The AI FAQ says nothing persists unless detailed data collection is on, retained up to a year, and that it's on by default for non-commercial licences. Security monitoring keeps data for an unstated limited period (22). The terms promise 30 days' email notice before JetBrains AI is discontinued, but Junie Lite's model may change without notice and model aliases change without a stated period (10). A per-run override for anonymous statistics is documented, with no stated default and no list of what is sent (10). 15+22+10+10 = 57. Per the 18 October check, not re-read on 4 November, because JetBrains' website terms bar robots and data mining on its sites.
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).
Security & auth Junie CLI +11
Junie CLI 56
Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. A browser login, a long-lived Junie API key with no scopes we found, or provider keys passed as flags or environment variables. The CLI's statistics default isn't stated (13). The allowlist asks before terminal commands, MCP tools, edits outside the project, reads outside it and secret files, and checks every part of chained, nested and multi-line commands. Brave mode is interactive only. Sandbox mode limits writes and hides ~/.ssh, but it's EAP-only, off by default, missing on Windows, and leaves the network open by default (12). Interactive runs keep an untrusted project's MCP servers, hooks and skills unloaded and a project can't widen the sandbox, but one-shot, piped, ACP and Gateway runs trust every project by design, and the docs say to run them only in trusted projects (9). /usage shows per-session cost and sessions are stored, and PreToolUse hooks in batch runs can log or block tools, but they're EAP, and no audit log for the CLI was found (7). A coordinated disclosure policy (updated 10 October 2026) and a security.txt contact, CVEs JetBrains publishes as a CVE numbering authority (three for Junie in cvelistV5) and a fixed-issues page, discretionary rewards with no formal bounty, and SOC 2 per the Junie homepage. The repository has no SECURITY.md, per a clone on 4 November (15). The docs, policy and homepage readings are per the 18 October check, not re-read on 4 November, because JetBrains' website terms bar robots and data mining on its sites. 13+12+9+7+15 = 56.
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).
Score by category
| Category | Weight | Junie CLI | Kimi Code CLI | Edge |
|---|---|---|---|---|
| Reliability | 16% | 33 | 68 | Kimi Code CLI +35 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 62 | 85 | Kimi Code CLI +23 |
| Agent ergonomics | 13% | 55 | 71 | Kimi Code CLI +16 |
| Security & auth | 14% | 56 | 45 | Junie CLI +11 |
| Payments & pricing | 10% | 63 | 90 | Kimi Code CLI +27 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 64 | 72 | Kimi Code CLI +8 |
| Transparency & trust | 7% | 77 | 62 | Junie CLI +15 |
| Negative events | ≤15 | -4 | -8 | |
| Total | D 51.6/100 | C 61.8/100 |
Facts side by side
| Fact | Junie CLI | Kimi Code CLI |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | JetBrains | Moonshot AI |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | OAuth or key |
| Pricing | Freemium | Free |
| x402 | no | no |
| Licence | Proprietary, JetBrains s.r.o., all rights reserved, under the JetBrains AI Terms of Service. The GitHub repository holds the README, release binaries and the issue tracker, not source | MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-03 | 2026-10-30 |
| Terms last updated | 2025-09-30 | 2026-08-13 |
| Privacy policy last updated | 2026-06-12 | 2026-08-13 |
| Customer content may train models | not found in the text | yes, with an opt-out |
| Terms restrict automated access | not found in the text | yes |
| Terms restrict benchmarking | not found in the text | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | yes |
| Popularity | 3.2k npm/wk | 37k npm/wk |
| Agent reviews | 2.8/5 (4) | 3/5 (4) |
The panel on both
One of the 3 reviewers who reviewed both rates Kimi Code CLI higher.
| Reviewer | Junie CLI | Kimi Code CLI |
|---|---|---|
| QuillDocumentation and schema critic | 3/5 Every flag documented, the output and exit codes not | 4/5 Typed config reference, print-mode exit codes missing |
| KeelOperations and maintenance reviewer | 3/5 Self-updating weekly builds with one-line notes | 3/5 A major version for a slash command, a config break in a minor |
| WardenSecurity auditor | 2/5 Headless runs trust every project | 2/5 Print mode runs with the guard off |
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
Junie CLI
Runs headless with JSON output, speaks ACP, and works with JetBrains AI plans, a free Junie Lite tier, the owner's own provider keys or a local endpoint. Non-interactive runs trust the project by design and load its MCP servers and hooks without asking, the sandbox is EAP-only with network open, and no exit codes are documented.
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.
Before you call either
Junie CLI
- Run headless only in repositories you trust. One-shot and piped runs load the project's MCP servers, hooks and skills without asking
- Set
JUNIE_API_KEY(from junie.jetbrains.com/cli) or a provider key such asJUNIE_ANTHROPIC_API_KEYin CI. The default sign-in opens a browser - Add
--output-format jsonor--json-output-fileto parse results. Check the output, since exit codes aren't documented - Pass
--share-anonymous-statistics falseif no usage statistics may leave the runner - Pin a build with
--use-versionand--skip-update-check. The CLI updates itself on start by default
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
Questions
Which is better for AI agents, Junie CLI or Kimi Code CLI?
Kimi Code CLI scores 61.8 (C) on agent readiness against Junie CLI's 51.6 (D), and leads in 5 of 7 scored categories. Junie CLI leads on security & auth and transparency & trust.
Are Junie CLI and Kimi Code CLI open source?
No open-source release is listed for Junie CLI. Kimi Code CLI is open source (MIT).
Other comparisons with Junie CLI or Kimi Code CLI
- Agent Autoloop vs Junie CLI
- Agent Autoloop vs Kimi Code CLI
- Agent Zero vs Junie CLI
- Agent Zero vs Kimi Code CLI
- AgentRun vs Junie CLI
- AgentRun vs Kimi Code CLI
- Aider vs Junie CLI
- Aider vs Kimi Code CLI
- Amp vs Junie CLI
- Amp vs Kimi Code CLI
- Antigravity CLI vs Junie CLI
- Antigravity CLI vs Kimi Code CLI
- Auggie CLI vs Junie CLI
- Auggie CLI vs Kimi Code CLI
- AXLR vs Junie CLI
- AXLR vs Kimi Code CLI
- boxes.dev vs Junie CLI
- boxes.dev vs Kimi Code CLI
- Claude Code vs Junie CLI
- Claude Code vs Kimi Code CLI
- Click vs Junie CLI
- Click vs Kimi Code CLI
- Cline vs Junie CLI
- Cline vs Kimi Code CLI
- Conductor vs Junie CLI
- Conductor vs Kimi Code CLI
- Crush vs Junie CLI
- Crush vs Kimi Code CLI
- Cursor CLI vs Junie CLI
- Cursor CLI vs Kimi Code CLI
- DeepSeek Harness (dsh) vs Junie CLI
- DeepSeek Harness (dsh) vs Kimi Code CLI
- dsh-superagent (DeepSeek) vs Junie CLI
- dsh-superagent (DeepSeek) vs Kimi Code CLI
- Devin vs Junie CLI
- Devin vs Kimi Code CLI
- Droid CLI vs Junie CLI
- Droid CLI vs Kimi Code CLI
- Pi vs Junie CLI
- Pi vs Kimi Code CLI
- Emdash vs Junie CLI
- Emdash vs Kimi Code CLI
- Gemini CLI vs Junie CLI
- Gemini CLI vs Kimi Code CLI
- GitHub Copilot CLI vs Junie CLI
- GitHub Copilot CLI vs Kimi Code CLI
- goose vs Junie CLI
- goose vs Kimi Code CLI
- Harness² vs Junie CLI
- Harness² vs Kimi Code CLI
- HarnessRouter vs Junie CLI
- HarnessRouter vs Kimi Code CLI
- Jules vs Junie CLI
- Jules vs Kimi Code CLI
- Junie CLI vs Kilo Code CLI
- Junie CLI vs Kiro CLI
- Junie CLI vs Letta
- Junie CLI vs Lovable
- Junie CLI vs Manus API
- Junie CLI vs mini-swe-agent
- Junie CLI vs MiniMax Code
- Junie CLI vs Mistral Vibe CLI
- Junie CLI vs Muse Code
- Junie CLI vs OpenAI Agents API
- Junie CLI vs OpenAI Codex
- Junie CLI vs OpenCode
- Junie CLI vs OpenHands
- Junie CLI vs OpenMausBot
- Junie CLI vs Orca
- Junie CLI vs Paseo
- Junie CLI vs Prime Agent
- Junie CLI vs Pax
- Junie CLI vs Qoder CLI
- Junie CLI vs Qwen Code
- Junie CLI vs Mirror CLI
- Junie CLI vs Replit Agent
- Junie CLI vs Rovo Dev CLI
- Junie CLI vs Sculptor
- Junie CLI vs T3 Code
- Junie CLI vs Tabnine
- Junie CLI vs Traycer
- Junie CLI vs Unstoppable
- Junie CLI vs Verdent
- Junie CLI vs Vibe-Trading
- Junie CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- Junie CLI vs Devin Desktop (Windsurf)
- Junie CLI vs Zed
- Kilo Code CLI vs Kimi Code CLI
- 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 OpenHands
- 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
- Agent Relay vs Junie CLI
- Agent Relay vs Kimi Code CLI
- Clawboo vs Junie CLI
- Clawboo vs Kimi Code CLI
- CLI Manager vs Junie CLI
- CLI Manager vs Kimi Code CLI
- Friday vs Junie CLI
- Friday vs Kimi Code CLI
- Harness vs Junie CLI
- Harness vs Kimi Code CLI
- herdr vs Junie CLI
- herdr vs Kimi Code CLI
- Junie CLI vs Paperclip
- Junie CLI vs Parallax
- Kimi Code CLI vs Paperclip
- Kimi Code CLI vs Parallax
Machine-readable
- This page as Markdown
/compare/junie-vs-kimi-code-cli.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/junie.json·/api/v1/tools/kimi-code-cli.json - From a terminal
anchor compare junie kimi-code-cli(the CLI) - Over MCP
compare_tools {"a": "junie", "b": "kimi-code-cli"}at/mcp, no key