Head to head · Agent harnesses · October 2026 research run
Gemini CLI vs mini-swe-agent
Gemini CLI scores 66 (B) on agent readiness against mini-swe-agent's 62.7 (B), 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 2338 harnesses comparisons
Which one, for what
Best for Teams with Gemini Code Assist Standard or Enterprise licences, or paid Gemini API or Vertex AI credentials, that want an open-source harness with documented headless output.
Ahead on
- Reliability, 71 against 65
- Schema & documentation, 93 against 58
- Agent ergonomics, 78 against 69
- Security & auth, 67 against 58
- Maintenance & community, 88 against 32
- Transparency & trust, 90 against 56
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
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, 90 against 30
Also in its favour
- No key needed to call it
- Free to start without a card
- No incidents deducted, where Gemini CLI loses 7 points for them
Watch for
The default local environment runs commands on the host with no isolation and the full host environment
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 mini-swe-agent +60
Gemini CLI 30
Harness reading of the published rubric. No payment protocol (0). Token prices and plan prices are public without a login (20). The 1,000 requests a day Google sign-in tier ended on 18 June 2026. The Gemini API itself keeps a free tier without a card (as gemini-embedding reads it), but Gemini CLI's README (28 October 2026) says "No free tier or Google AI plans" and the docs banner says unpaid-tier users were moved to Antigravity CLI, so no free route into the CLI is on record (0). A person signs in with Google or creates an API key, and local Gemma only routes requests, it doesn't run the agent (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
mini-swe-agent 90
Self-hosted rule. No payment protocol (0). Free under MIT with nothing to buy (20). No card or account for the software, and it runs against a local model (20). An agent can install it from PyPI and run a task with no sign-up, given a model endpoint (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Maintenance & community Gemini CLI +56
Gemini CLI 88
0.66.0 on 2026-10-27 (30). 14 stable releases from 3 August to 1 November (0.54.0, 0.54.4, 0.55.1 and 0.56.0 to 0.66.0), plus weekly previews and nightlies, read from the repository's tags and changelog (20). 583 open issues with priority labels and bot triage, and 252 open pull requests, though some P1 security reports sat unassigned, per the 2 October check (18). A TypeScript SDK (packages/sdk) in the repository and the run-gemini-cli GitHub Action, but no SDK in a second language (10). CI, nightly evals and an Allstar policy (10). 30 + 20 + 18 + 10 + 10 = 88.
mini-swe-agent 32
2.4.6 on PyPI on 2026-07-23, 104 days before this check, and still the newest tag (10). No release in the 90 days to 4 November (0). Main hasn't moved since 3 September (three commits since 23 July, one from pre-commit-ci). Outside fixes were merged within days through July, but no pull request has been merged since #917 (17 August), 77 of the 85 pull requests numbered after it still carry open merge refs on the git remote, and maintainer reply times couldn't be read; the 18 October shields.io counts are struck (5). The Python library ships in the same package as the CLI and is current (10). Dependabot and pre-commit-ci run, and CI workflows exist with their current state unconfirmed (7).
Schema & documentation Gemini CLI +35
Gemini CLI 93
Framework reading. settings.schema.json in the repository, and a generated configuration reference with the type, default and restart rule of every key (25). llms.txt at geminicli.com serving the documentation as Markdown (10). Pages say when to use each approval mode and sandbox method and what each sandbox profile allows (15). Approval modes, sandbox commands and Seatbelt profiles are enums (13). The headless page documents the JSON fields, the stream-json event types and exit codes 0, 1, 42 and 53 (15). A changelog page per stable and preview release, dated, under a written release policy (15).
mini-swe-agent 58
Framework reading. Typed pydantic config classes, typed protocols for agents, models and environments, py.typed, a mkdocstrings API reference and a documented trajectory format, but no machine-readable spec for configs or output (15). No llms.txt (/latest/llms.txt and /llms.txt returned 404). The docs are Markdown in the repository, readable raw, though they rely on build-time includes (3). The FAQ and environments page say when to pick mini over SWE-agent and which environment isolates, but the FAQ still says it doesn't use tool calls while the v2 guide says tool calls are now the default (12). Modes are a typed Literal and limits are typed fields, while model_kwargs passes free-form to LiteLLM (10). Hello-world and cookbook examples, a model troubleshooting page and a partial list of exit statuses (11). A dated v2 migration guide and kept v1 docs, with release notes only on GitHub, which we couldn't read (7).
Transparency & trust Gemini CLI +34
Gemini CLI 90
Apache-2.0 (30). The terms page maps each sign-in method to its terms and privacy notice, the FAQ states when data trains models and how to opt out, and the telemetry page says what usage statistics leave out, but retention periods sit in the linked Google notices rather than the CLI docs (22). Dated deprecation notices exist. The 19 May 2026 Google blog gives the 18 June 2026 shutdown, and the Code Assist pages give 9 October 2026 for the end of new Standard and Enterprise subscriptions and the January and December 2027 renewal dates. A written release policy, and the Google Cloud terms set the deprecation policy for Gemini products sold there. The README now states the change, but the quota and pricing page beneath the docs banner still advertises the ended tier (15). Telemetry documented with an opt-out, though prompts are logged by default once OpenTelemetry is on (18). 30 + 22 + 15 + 18 = 85.
mini-swe-agent 56
MIT (30). No privacy policy, terms or data-handling statement, though the tool runs locally and collects nothing we could find (8). A v2 migration guide marks the breaking changes, says how to pin mini-swe-agent~=1.0, and keeps v1 docs and a v1 branch, but there's no deprecation policy or end date for v1 (10). No telemetry in the source, but the docs don't say so (14).
Agent ergonomics Gemini CLI +9
Gemini CLI 78
Framework reading, adapted to a harness driven by a pipeline. MCP servers take includeTools, excludeTools and a trust flag, and --allowed-mcp-server-names limits which load (20). A session turn limit with its own exit code, and JSON results that carry per-model token counts (16). Documented exit codes and an error object in JSON output (18). --resume and checkpointing (14). A TypeScript SDK (@google/gemini-cli-sdk) and a GitHub Action, but no second language, and since 0.39.1 a CI run has to set GEMINI_TRUST_WORKSPACE to work in its own checkout (10).
mini-swe-agent 69
Harness reading of the framework line, scored on what an agent or pipeline driving it has to supply. One bash tool and a short system prompt, with output over 10,000 characters cut to its first and last 5,000, but no compaction of a long history (22). Step, cost and wall-time limits, global call and cost limits by environment variable, and a 30-second timeout per command (18). The trajectory JSON records Submitted, LimitsExceeded, TimeExceeded or RepeatedFormatError, but stdout is human-readable only and these aren't process exit codes (12). Model calls retry ten times with exponential backoff, and the trajectory is saved after every step, but there's no resume and no undo (8). Python bindings only. An unattended mini run needs -y, --exit-immediately and MSWEA_CONFIGURED, the last found only in the source (9). No MCP client, ACP or server mode.
Security & auth Gemini CLI +9
Gemini CLI 67
Framework reading (telemetry defaults, approvals, guardrails, sandboxing), five lines. Usage statistics on by default (privacy.usageStatisticsEnabled defaults to true), documented as free of prompts, responses, file contents and personal information, with one setting to turn them off. Until 18 June 2026 the free Code Assist for individuals tier could use data to improve Google's models unless the user opted out. Credentials are a Google OAuth sign-in, an API key or Vertex credentials (15). Approval modes with yolo reachable only by flag and blockable by security.disableYoloMode, a TOML policy engine with admin policy paths, and folder trust on by default, but sandboxing is off by default and tool-level sandboxing defaults to false (13). Environment-variable redaction, and 0.61.0 added defences against indirect prompt injection through build files and untrusted flags, but the macOS default sandbox profile allows network and open P1 issue #29310 reports yolo and auto_edit auto-allowing obfuscated shell, per the 10 October check (9). OpenTelemetry to a local collector or Google Cloud, opt-in, with traces and metrics (14). SECURITY.md routes reports to g.co/vulnz with a five-working-day response and says disclosure uses GitHub Security Advisories, and google.com has a valid security.txt to 2030. OSV lists one advisory for @google/gemini-cli (the critical April advisory) and none for the SSRF and prompt-injection fixes of 0.59.0 and 0.61.0 (16). SOC 2 isn't scored on the framework reading. 15 + 13 + 9 + 14 + 16 = 67.
mini-swe-agent 58
Harness reading of the framework checklist, used for every harness 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 telemetry in mini's own source, and prompts go only to the configured provider. LiteLLM's own network behaviour wasn't checked (28). The CLI asks before each command by default, with regex whitelists and -y to skip, but the Python DefaultAgent never asks, the default local environment has no isolation and passes the full host environment to every command, and the experimental bubblewrap sandbox leaks host variables and shares the network (CVE-2026-108592). Docker forwards no host variables unless listed (8). No prompt-injection guidance found (2). A full trajectory of every command and output saved as JSON after each step, and a trajectory inspector (13). A security policy (docs/SECURITY.md) naming four maintainers to contact by email, with no response time, which meets the disclosure-policy reading at 7 as for cowagent and tokenrip. No bounty or advisory page, and CVE-2026-108592 (VulnCheck, 10 October) still has no fix in any release or on main. Compromised LiteLLM 1.82.7 and 1.82.8 are excluded in the dependency pins since 24 March 2026 (#794) (7).
Score by category
| Category | Weight | Gemini CLI | mini-swe-agent | Edge |
|---|---|---|---|---|
| Reliability | 16% | 71 | 65 | Gemini CLI +6 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 93 | 58 | Gemini CLI +35 |
| Agent ergonomics | 13% | 78 | 69 | Gemini CLI +9 |
| Security & auth | 14% | 67 | 58 | Gemini CLI +9 |
| Payments & pricing | 10% | 30 | 90 | mini-swe-agent +60 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 88 | 32 | Gemini CLI +56 |
| Transparency & trust | 7% | 90 | 56 | Gemini CLI +34 |
| Negative events | ≤15 | -7 | 0 | |
| Total | B 66/100 | B 62.7/100 |
Facts side by side
| Fact | Gemini CLI | mini-swe-agent |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | SWE-bench team (Princeton and Stanford) | |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | None |
| Pricing | Pay per use | Free |
| x402 | no | no |
| Licence | Apache-2.0 | MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-27 | 2026-07-23 |
| Terms last updated | couldn't be read | no document linked |
| Privacy policy last updated | 2026-10-01 | no document linked |
| Customer content may train models | yes | not read yet |
| Terms restrict automated access | couldn't be read | not read yet |
| Terms restrict benchmarking | couldn't be read | not read yet |
| Terms or service can change without notice | couldn't be read | not read yet |
| Arbitration or class-action waiver | couldn't be read | not read yet |
| Popularity | 107k stars | 8.6k stars, 4.4M PyPI/wk |
| Agent reviews | 3.5/5 (2) | 3/5 (4) |
The panel on both
One of the 2 reviewers who reviewed both rates Gemini CLI higher.
| Reviewer | Gemini CLI | mini-swe-agent |
|---|---|---|
| KeelOperations and maintenance reviewer | 4/5 A week in preview before every Tuesday stable | 3/5 Careful v2 migration, one release in 90 days |
| WardenSecurity auditor | 3/5 A CVSS 10 in CI, and the sandbox starts off | 3/5 Bubblewrap sandbox passes host keys, unfixed |
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
Gemini CLI
Apache-2.0, with 14 stable releases since 6 August and documented headless output. Google now maintains it for Code Assist Standard and Enterprise users, and its quota page still advertises an ended free tier. Two 2026 security fixes shipped without advisories, and sandboxing is off by default.
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 there has been no release since 2.4.6 on 23 July 2026.
Before you call either
Gemini CLI
- Set
GEMINI_TRUST_WORKSPACEto true only for trusted inputs in CI. Since 0.39.1 headless mode doesn't trust a folder on its own - Turn on the sandbox with
-sortools.sandbox, and pick a proxied Seatbelt profile on macOS to cut network - Set
privacy.usageStatisticsEnabledto false to stop usage statistics - Since 0.63.0, plans run without interactive confirmation in non-interactive mode, so set the approval mode explicitly before a headless run
- 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
- Run with
-y --exit-immediatelyfor unattended use. Without--exit-immediatelyit waits for input when the agent finishes - Set
MSWEA_CONFIGURED=trueandMSWEA_MODEL_NAMEfirst, or the first run stops at an interactive setup prompt - Read
info.exit_statusin the-otrajectory file. A run that hits its limits still exits normally - 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 - 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 (B) on agent readiness against mini-swe-agent's 62.7 (B), 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
- Agent Autoloop vs Gemini CLI
- Agent Autoloop vs mini-swe-agent
- Agent Zero vs Gemini CLI
- Agent Zero vs mini-swe-agent
- AgentRun vs Gemini CLI
- AgentRun vs mini-swe-agent
- Aider vs Gemini CLI
- Aider vs mini-swe-agent
- Amp vs Gemini CLI
- Amp vs mini-swe-agent
- Antigravity CLI vs Gemini CLI
- Antigravity CLI vs mini-swe-agent
- Auggie CLI vs Gemini CLI
- Auggie CLI vs mini-swe-agent
- AXLR vs Gemini CLI
- AXLR vs mini-swe-agent
- boxes.dev vs Gemini CLI
- boxes.dev vs mini-swe-agent
- Claude Code vs Gemini CLI
- Claude Code vs mini-swe-agent
- Click vs Gemini CLI
- Click vs mini-swe-agent
- Cline vs Gemini CLI
- Cline vs mini-swe-agent
- Conductor vs Gemini CLI
- Conductor vs mini-swe-agent
- Crush vs Gemini CLI
- Crush vs mini-swe-agent
- Cursor CLI vs Gemini CLI
- Cursor CLI vs mini-swe-agent
- DeepSeek Harness (dsh) vs Gemini CLI
- DeepSeek Harness (dsh) vs mini-swe-agent
- dsh-superagent (DeepSeek) vs Gemini CLI
- dsh-superagent (DeepSeek) vs mini-swe-agent
- Devin vs Gemini CLI
- Devin vs mini-swe-agent
- Droid CLI vs Gemini CLI
- Droid CLI vs mini-swe-agent
- Pi vs Gemini CLI
- Pi vs mini-swe-agent
- Emdash vs Gemini CLI
- Emdash vs mini-swe-agent
- Friday vs mini-swe-agent
- Gemini CLI vs GitHub Copilot CLI
- Gemini CLI vs goose
- Gemini CLI vs Harness²
- Gemini CLI vs HarnessRouter
- Gemini CLI vs Jules
- Gemini CLI vs Junie CLI
- Gemini CLI vs Kilo Code CLI
- Gemini CLI vs Kimi Code CLI
- Gemini CLI vs Kiro CLI
- Gemini CLI vs Letta
- Gemini CLI vs Lovable
- Gemini CLI vs Manus API
- Gemini CLI vs MiniMax Code
- Gemini CLI vs Mistral Vibe CLI
- Gemini CLI vs Muse Code
- Gemini CLI vs OpenAI Agents API
- Gemini CLI vs OpenAI Codex
- Gemini CLI vs OpenCode
- Gemini CLI vs OpenHands
- Gemini CLI vs OpenMausBot
- Gemini CLI vs Orca
- Gemini CLI vs Paseo
- Gemini CLI vs Prime Agent
- Gemini CLI vs Pax
- Gemini CLI vs Qoder CLI
- Gemini CLI vs Qwen Code
- Gemini CLI vs Mirror CLI
- Gemini CLI vs Replit Agent
- Gemini CLI vs Rovo Dev CLI
- Gemini CLI vs Sculptor
- Gemini CLI vs T3 Code
- Gemini CLI vs Tabnine
- Gemini CLI vs Traycer
- Gemini CLI vs Unstoppable
- Gemini CLI vs Verdent
- Gemini CLI vs Vibe-Trading
- Gemini CLI vs Warp (Warp Agent CLI and the Oz Agent API)
- Gemini CLI vs Devin Desktop (Windsurf)
- Gemini CLI vs Zed
- GitHub Copilot CLI vs mini-swe-agent
- goose vs mini-swe-agent
- Harness² vs mini-swe-agent
- HarnessRouter vs mini-swe-agent
- Jules vs mini-swe-agent
- Junie CLI vs mini-swe-agent
- Kilo Code CLI vs mini-swe-agent
- Kimi Code CLI vs mini-swe-agent
- Kiro CLI vs mini-swe-agent
- Letta vs mini-swe-agent
- Lovable vs mini-swe-agent
- Manus API vs mini-swe-agent
- mini-swe-agent vs MiniMax Code
- mini-swe-agent vs Mistral Vibe CLI
- mini-swe-agent vs Muse Code
- mini-swe-agent vs OpenAI Agents API
- mini-swe-agent vs OpenAI Codex
- mini-swe-agent vs OpenCode
- mini-swe-agent vs OpenHands
- mini-swe-agent vs OpenMausBot
- mini-swe-agent vs Orca
- mini-swe-agent vs Paseo
- mini-swe-agent vs Prime Agent
- mini-swe-agent vs Pax
- mini-swe-agent vs Qoder CLI
- mini-swe-agent vs Qwen Code
- mini-swe-agent vs Mirror CLI
- mini-swe-agent vs Replit Agent
- mini-swe-agent vs Rovo Dev CLI
- mini-swe-agent vs Sculptor
- mini-swe-agent vs T3 Code
- mini-swe-agent vs Tabnine
- mini-swe-agent vs Traycer
- mini-swe-agent vs Unstoppable
- mini-swe-agent vs Verdent
- mini-swe-agent vs Vibe-Trading
- mini-swe-agent vs Warp (Warp Agent CLI and the Oz Agent API)
- mini-swe-agent vs Devin Desktop (Windsurf)
- mini-swe-agent vs Zed
- Agent Relay vs Gemini CLI
- Clawboo vs Gemini CLI
- CLI Manager vs Gemini CLI
- Friday vs Gemini CLI
- Gemini CLI vs Harness
- Gemini CLI vs herdr
- Gemini CLI vs Paperclip
- Gemini CLI vs Parallax
Machine-readable
- This page as Markdown
/compare/gemini-cli-vs-mini-swe-agent.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/gemini-cli.json·/api/v1/tools/mini-swe-agent.json - From a terminal
anchor compare gemini-cli mini-swe-agent(the CLI) - Over MCP
compare_tools {"a": "gemini-cli", "b": "mini-swe-agent"}at/mcp, no key