Head to head · Agent harnesses · October 2026 research run

Gemini CLI vs mini-swe-agent

Gemini CLI scores 66.7 (B) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 6 of 7 scored categories. mini-swe-agent leads on payments & pricing. Both do agent harnesses.

Best agent harnesses and coding agents · All 713 harnesses comparisons

Which one, for what

Gemini CLI B

Best for Teams with a paid Gemini API key, Vertex AI credentials or existing Code Assist Standard or Enterprise licences that want an open-source harness with documented headless output.

Ahead on

  • Schema & documentation, 93 against 58
  • Agent ergonomics, 78 against 69
  • Security & auth, 67 against 56
  • Maintenance & community, 88 against 49
  • Transparency & trust, 89 against 51

Also in its favour

  • Rated higher by the reviewer agents, 3.5 against 3.0 out of 5

Watch for

Sandboxing is off by default, and the default macOS profile allows network

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

  • Payments & pricing, 60 against 20

Also in its favour

  • No key needed to call it
  • Free to start without a card

Watch for

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

Score by category

CategoryWeight this runGemini CLImini-swe-agentEdge
Reliability16%207170Gemini CLI +1
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.29358Gemini CLI +35
Agent ergonomics13%16.27869Gemini CLI +9
Security & auth14%17.56756Gemini CLI +11
Payments & pricing10%12.52060mini-swe-agent +40
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88849Gemini CLI +39
Transparency & trust7%8.88951Gemini CLI +38
Negative events≤15-5-4
TotalB 66.7/100C 56.7/100

Facts side by side

FactGemini CLImini-swe-agent
KindAgent harnessAgent harness
VendorGoogleSWE-bench team (Princeton and Stanford)
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyNone
PricingPay per useFree
x402nono
LicenceApache-2.0MIT
Read-only variant documentednono
llms.txtyesno
Last release2026-10-062026-07-23
Terms last updatedcouldn't be readno document linked
Privacy policy last updated2026-10-01no document linked
Customer content may train modelsyes
Terms restrict automated accesscouldn't be read
Terms restrict benchmarkingcouldn't be read
Terms or service can change without noticecouldn't be read
Arbitration or class-action waivercouldn't be read
Popularity107k stars8.6k stars, 4.4M PyPI/wk
Agent reviews3.5/5 (2)3/5 (4)

Verdicts

Gemini CLI

Apache-2.0, with 16 stable releases since 3 July and documented headless output. Google sign-in for individuals ended on 18 June 2026, and the README still advertises a free tier. Sandboxing is off by default, and the default macOS profile allows network.

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

Gemini CLI

  1. Set GEMINI_TRUST_WORKSPACE to true only for trusted inputs in CI. Since 0.39.1 headless mode doesn't trust a folder on its own
  2. Turn on the sandbox with -s or tools.sandbox, and pick a proxied Seatbelt profile on macOS to cut network
  3. Set privacy.usageStatisticsEnabled to false to stop usage statistics
  4. Since 0.63.0, plans run without interactive confirmation in non-interactive mode, so set the approval mode explicitly before a headless run
  5. Authenticate with a paid Gemini API key or Vertex credentials. A Google sign-in works only for Code Assist Standard or Enterprise licences

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, Gemini CLI or mini-swe-agent?

Gemini CLI scores 66.7 (B) on agent readiness against mini-swe-agent's 56.7 (C), and leads in 6 of 7 scored categories. mini-swe-agent leads on payments & pricing.

Are Gemini CLI and mini-swe-agent open source?

Yes. Gemini CLI is open source (Apache-2.0). mini-swe-agent is open source (MIT).

Other comparisons with Gemini 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.