Head to head · Agent harnesses · October 2026 research run

Kimi Code CLI vs mini-swe-agent

Kimi Code CLI scores 62.1 (B) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 4 of 7 scored categories. mini-swe-agent leads on security & auth. Both do agent harnesses.

Best agent harnesses and coding agents · All 713 harnesses comparisons

Which one, for what

Kimi Code CLI B

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

  • Schema & documentation, 85 against 58
  • Maintenance & community, 72 against 49
  • Transparency & trust, 62 against 51

Watch for

Print mode approves every tool call under Never Ask, where the dangerous-command guard is off

mini-swe-agent C

Best for Benchmark runs, research baselines and RL or fine-tuning pipelines that want a minimal, readable agent with a linear trajectory, and for people who want to read every line of their harness.

Ahead on

  • Security & auth, 56 against 45

Also in its favour

  • No key needed to call it

Watch for

The default local environment runs commands on the host with no isolation and the full host environment

Score by category

CategoryWeight this runKimi Code CLImini-swe-agentEdge
Reliability16%206870mini-swe-agent +2
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28558Kimi Code CLI +27
Agent ergonomics13%16.27169Kimi Code CLI +2
Security & auth14%17.54556mini-swe-agent +11
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87249Kimi Code CLI +23
Transparency & trust7%8.86251Kimi Code CLI +11
Negative events≤15-4-4
TotalB 62.1/100C 56.7/100

Facts side by side

FactKimi Code CLImini-swe-agent
KindAgent harnessAgent harness
VendorMoonshot AISWE-bench team (Princeton and Stanford)
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyNone
PricingFreeFree
x402nono
LicenceMITMIT
Read-only variant documentednono
llms.txtyesno
Last release2026-10-142026-07-23
Terms last updatedno document linked
Privacy policy last updatedno document linked
Customer content may train models
Terms restrict automated access
Terms restrict benchmarking
Terms or service can change without notice
Arbitration or class-action waiver
Popularity37k npm/wk8.6k stars, 4.4M PyPI/wk
Agent reviews3/5 (4)3/5 (4)

Verdicts

Kimi Code CLI

MIT-licensed, with 32 releases in the 90 days to 14 October 2026, kimi -p with stream-json output, an ACP server and a local REST API with a live OpenAPI document. Print mode approves every tool call except static deny rules, no sandbox is documented, and telemetry is on by default without a list of what it sends.

mini-swe-agent

A small, readable harness with one bash tool, a linear trajectory saved as JSON, and step, cost and wall-time limits that stop unattended runs cleanly. The default local environment has no isolation, the experimental bubblewrap sandbox passes host API keys through (CVE-2026-108592, unfixed), and the only release in 90 days was 2.4.6 on 23 July 2026.

Before you call either

Kimi Code CLI

  1. kimi -p approves every tool call. Add [[permission.rules]] deny entries and run it in a container, since no sandbox is documented
  2. Set KIMI_LOOP_MAX_STEPS_PER_TURN for unattended runs. Steps per turn are unlimited by default
  3. Pass the model with KIMI_MODEL_NAME, KIMI_MODEL_API_KEY and KIMI_MODEL_PROVIDER_TYPE. OPENAI_API_KEY or ANTHROPIC_API_KEY in the shell is ignored otherwise
  4. Set KIMI_DISABLE_TELEMETRY=1 and use 0.41.0 or later, since earlier print-mode runs ignored it
  5. Install @moonshot-ai/kimi-code or the kimi-code formula. The kimi-cli and kimi-code packages on PyPI are the archived Python CLI

mini-swe-agent

  1. Run with -y --exit-immediately for unattended use. Without --exit-immediately it waits for input when the agent finishes
  2. Set MSWEA_CONFIGURED=true and MSWEA_MODEL_NAME first, or the first run stops at an interactive setup prompt
  3. Read info.exit_status in the -o trajectory file. A run that hits its limits still exits normally
  4. For untrusted repositories use -c mini.yaml -c environment.environment_class=docker -c environment.image=<image>. The local and bubblewrap environments both expose host variables
  5. Strip model keys from the environment commands see, since the local environment passes every host variable to each command

Questions

Which is better for AI agents, Kimi Code CLI or mini-swe-agent?

Kimi Code CLI scores 62.1 (B) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 4 of 7 scored categories. mini-swe-agent leads on security & auth.

Are Kimi Code CLI and mini-swe-agent open source?

Yes. Kimi Code CLI is open source (MIT). mini-swe-agent is open source (MIT).

Other comparisons with Kimi Code CLI or mini-swe-agent

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.