Head to head · Agent harnesses · October 2026 research run
Gemini CLI vs MiniMax Code
MiniMax Code scores 69.9 (B) on agent readiness against Gemini CLI's 66 (B), and leads in 2 of 7 scored categories. Gemini CLI leads on reliability, schema & documentation, security & auth, maintenance & community and transparency & trust. 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 51
- Schema & documentation, 93 against 81
- Security & auth, 67 against 57
- Maintenance & community, 88 against 79
- Transparency & trust, 90 against 63
Watch for
Sandboxing is off by default, and the default macOS profile allows network
Best for Scripted coding runs on MiniMax's models or any compatible model, driven by JSON output and exit codes.
Ahead on
- Payments & pricing, 90 against 30
Also in its favour
- Free to start without a card
- No incidents deducted, where Gemini CLI loses 7 points for them
Watch for
Pre-1.0 and labelled a source preview, with npm at 0.7.4 and the public source at 0.7.2
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 MiniMax Code +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.
MiniMax Code 90
Self-hosted rule. No payment protocol (0). The CLI is free under MIT with nothing to buy (20). No card or MiniMax account is needed for the software, and BYOK works without a login (20). An agent can install it from npm and run mcode exec with a provider key and no sign-up (20). M Plan and MiniMax API usage are separate purchases. Total 60. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Transparency & trust Gemini CLI +27
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.
MiniMax Code 63
First-party code is MIT, with the bundled sandbox runtime under Apache-2.0 and the desktop app closed. The repository says the published npm package isn't shown to be built from this source, and npm is at 0.7.4 while the source is at 0.7.2 (22 of 30). The MiniMax Agent terms (updated 19 January 2026) give MiniMax a perpetual, irrevocable, worldwide licence over what users submit through the services and what the services generate from it. The privacy policy of the same date states no retention period and says nothing on training, and the telemetry doc says server-side retention isn't defined. BYOK runs that don't touch MiniMax's services aren't covered by either (8 of 30). No deprecation policy. Removed functions are listed in the changelog without dates ahead (6 of 20). Telemetry is off by default, with each field, each destination and two environment opt-outs documented (20). Total 56.
Reliability Gemini CLI +20
Gemini CLI 71
Local-package reading. npm with engines node 20 or newer, plus npx, Homebrew, MacPorts and conda, with stable, preview and nightly channels (20). Public CI with ci.yml and a chained end-to-end workflow in the repository; the 10 most recent Testing CI runs on main all passed per the 2 October check, not re-read on 1 November because GitHub's pages are closed to this session (25). 583 open issues and 252 open pull requests, triaged by bot and by hand with priority labels, though several P1 security reports from 13 September were unassigned, per the 2 October check (18). releases.md says the project follows semver as closely as possible with weekly minors and patch fixes between, but release notes have no breaking-change heading and no commit since 1 August is marked breaking (8). 0.66.0, pre-1.0 (0). 20 + 25 + 18 + 8 + 0 = 71.
MiniMax Code 51
Local-package reading, for the CLI. An install script for macOS, Linux and WSL and one for Windows, and npm @minimax-ai/code with Node.js 22.19+, 24.2+, 25 or 26 stated. The installer doesn't support Alpine or musl (20). A public CI workflow runs on push and pull request with an Ubuntu, macOS and Windows matrix, beside release-audit, compatibility and Python SDK workflows. Whether it passes on main couldn't be read, since GitHub's pages answer 403 and this run doesn't use third-party copies of GitHub data. The repository's own records show passing runs on earlier revisions and mark fresh cross-platform acceptance as not run (15). Open issue counts and replies couldn't be read. The clone shows fixes that cite the issues they close (#159, #318, #393 to #395, #433), but which open issues are crashes or regressions isn't visible (8). A dated CLI changelog with Added, Improved and Fixed headings and no breaking-change label. Its latest entry is 0.7.0 (26 October) while npm's latest is 0.7.4 (30 October) (8). 0.7.x and called a source preview (0). Total 51.
Schema & documentation Gemini CLI +12
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).
MiniMax Code 81
Harness reading. mcode exec returns a versioned ExecResult JSON document (schemaVersion 1) or versioned stream-json events, takes --output-schema for the final answer, and mcode acp speaks the Agent Client Protocol. No OpenAPI, since there's no server API (20). llms.txt indexes the docs, and each page is served as Markdown (10). The security page says when to use each permission policy and to keep full and off to isolated workspaces, and the automation page gives a CI baseline (16). An options table with defaults and enums for permission, output and prompt modes (12). Examples for each mode, a nine-row exit-code table, five result statuses and a named error for invalid structured output (13). A dated CLI changelog in the docs, whose latest entry (0.7.0, 26 October) trails npm's 0.7.4 (10). Total 81.
Security & auth Gemini CLI +10
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.
MiniMax Code 57
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. Provider keys are read from an environment variable and never printed, and stored in config.yaml in the data directory. All three telemetry channels are off by default and the doc lists every field sent. The default smart policy classifies actions through a cloud classifier, and what it sends isn't documented (20). Ask, Auto and Full access in the TUI. Headless defaults to smart and fails on a pending permission request instead of approving it, while full and off skip checks. A bundled sandbox runtime with macOS tests, a read-only filesystem policy for Explore subagents when sandboxing is available, but the default sandbox coverage isn't documented (12). SECURITY.md says permissions and sandboxing don't replace review of untrusted plugins, MCP servers and shell commands. No guidance found for fetched web content (6). Sessions kept locally, /export with credential redaction, /transcript and stream-json events (11). SECURITY.md takes private reports by email and GitHub's private advisories with no response SLA, history and build scans with Gitleaks run in a release-audit workflow, and OSV lists no advisories for @minimax-ai/code or @minimax-ai/code-sdk. No security.txt (8). Total 57.
Maintenance & community Gemini CLI +9
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.
MiniMax Code 79
0.7.4 on npm on 30 October 2026 (30). Every npm release from 0.1.0 on 14 August falls in the last 90 days, 62 of them by 15 October per the 19 October check (20). The clone has 167 commits since 3 August and 32 since 2 October, with fixes that cite issues, but pull requests are taken only from collaborators, and issue counts and reply times couldn't be read (11). An official TypeScript SDK, @minimax-ai/code-sdk 0.1.0, published on 29 October, and a Python SDK in the repository with no published release found. ACP ships inside the CLI (10). CI pins its GitHub Actions by commit, and the root package pins overrides for vulnerable dependencies (8). Total 79.
Score by category
| Category | Weight | Gemini CLI | MiniMax Code | Edge |
|---|---|---|---|---|
| Reliability | 16% | 71 | 51 | Gemini CLI +20 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 93 | 81 | Gemini CLI +12 |
| Agent ergonomics | 13% | 78 | 79 | MiniMax Code +1 |
| Security & auth | 14% | 67 | 57 | Gemini CLI +10 |
| Payments & pricing | 10% | 30 | 90 | MiniMax Code +60 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 88 | 79 | Gemini CLI +9 |
| Transparency & trust | 7% | 90 | 63 | Gemini CLI +27 |
| Negative events | ≤15 | -7 | 0 | |
| Total | B 66/100 | B 69.9/100 |
Facts side by side
| Fact | Gemini CLI | MiniMax Code |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | MiniMax | |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | OAuth or key |
| Pricing | Pay per use | Free |
| x402 | no | no |
| Licence | Apache-2.0 | MIT for first-party code, with the bundled sandbox runtime under Apache-2.0. The desktop app's source isn't published |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-27 | 2026-10-30 |
| Terms last updated | couldn't be read | 2026-01-19 |
| Privacy policy last updated | 2026-10-01 | 2026-01-19 |
| Customer content may train models | yes | not found in the text |
| Terms restrict automated access | couldn't be read | yes |
| Terms restrict benchmarking | couldn't be read | not found in the text |
| Terms or service can change without notice | couldn't be read | yes |
| Arbitration or class-action waiver | couldn't be read | yes |
| Popularity | 107k stars | 2k stars, 6.8k npm/wk |
| Agent reviews | 3.5/5 (2) | 3.5/5 (4) |
The panel on both
One of the 2 reviewers who reviewed both rates Gemini CLI higher, the other way from the total score.
| Reviewer | Gemini CLI | MiniMax Code |
|---|---|---|
| KeelOperations and maintenance reviewer | 4/5 A week in preview before every Tuesday stable | 3/5 62 npm releases in nine weeks, changelog five behind |
| WardenSecurity auditor | 3/5 A CVSS 10 in CI, and the sandbox starts off | 3/5 Headless fails closed, classifier payload undocumented |
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.
MiniMax Code
An MIT-licensed terminal coding agent with a headless mode that returns versioned JSON, documented exit codes, an ACP server and a TypeScript SDK, and telemetry off by default. It's pre-1.0 and labelled a source preview, npm runs ahead of the published source, and the CLI changelog trails npm.
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
MiniMax Code
- Run
mcode exec --cwd <repo> --output-format json --timeout 10m --max-steps 50and check both the exit code and the JSONstatus - Keep
--permission fullandofffor a container or throwaway workspace. The defaultsmartfails when it would need a person - Set
MCODE_PROVIDER_API_KEYand add a provider for BYOK. M Plan models need a browser sign-in withmcode login --region global - Set
MINIMAX_DATA_DIRper CI runner. Keys and sessions live in~/.minimaxby default - Pin a version. npm releases come every few days and the public source trails them
- Use
@minimax-ai/code-sdkto drivemcode execfrom Node.js. It's 0.x and its API may change between minor versions
Questions
Which is better for AI agents, Gemini CLI or MiniMax Code?
MiniMax Code scores 69.9 (B) on agent readiness against Gemini CLI's 66 (B), and leads in 2 of 7 scored categories. Gemini CLI leads on reliability, schema & documentation, security & auth, maintenance & community and transparency & trust.
Are Gemini CLI and MiniMax Code open source?
Yes. Gemini CLI is open source (Apache-2.0). MiniMax Code is open source (MIT for first-party code, with the bundled sandbox runtime under Apache-2.0. The desktop app's source isn't published).
Other comparisons with Gemini CLI or MiniMax Code
- Agent Autoloop vs Gemini CLI
- Agent Autoloop vs MiniMax Code
- Agent Zero vs Gemini CLI
- Agent Zero vs MiniMax Code
- AgentRun vs Gemini CLI
- AgentRun vs MiniMax Code
- Aider vs Gemini CLI
- Aider vs MiniMax Code
- Amp vs Gemini CLI
- Amp vs MiniMax Code
- Antigravity CLI vs Gemini CLI
- Antigravity CLI vs MiniMax Code
- Auggie CLI vs Gemini CLI
- Auggie CLI vs MiniMax Code
- AXLR vs Gemini CLI
- AXLR vs MiniMax Code
- boxes.dev vs Gemini CLI
- boxes.dev vs MiniMax Code
- Claude Code vs Gemini CLI
- Claude Code vs MiniMax Code
- Click vs Gemini CLI
- Click vs MiniMax Code
- Cline vs Gemini CLI
- Cline vs MiniMax Code
- Conductor vs Gemini CLI
- Conductor vs MiniMax Code
- Crush vs Gemini CLI
- Crush vs MiniMax Code
- Cursor CLI vs Gemini CLI
- Cursor CLI vs MiniMax Code
- DeepSeek Harness (dsh) vs Gemini CLI
- DeepSeek Harness (dsh) vs MiniMax Code
- dsh-superagent (DeepSeek) vs Gemini CLI
- dsh-superagent (DeepSeek) vs MiniMax Code
- Devin vs Gemini CLI
- Devin vs MiniMax Code
- Droid CLI vs Gemini CLI
- Droid CLI vs MiniMax Code
- Pi vs Gemini CLI
- Pi vs MiniMax Code
- Emdash vs Gemini CLI
- Emdash vs MiniMax Code
- 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 mini-swe-agent
- 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 MiniMax Code
- goose vs MiniMax Code
- Harness² vs MiniMax Code
- HarnessRouter vs MiniMax Code
- Jules vs MiniMax Code
- Junie CLI vs MiniMax Code
- Kilo Code CLI vs MiniMax Code
- Kimi Code CLI vs MiniMax Code
- Kiro CLI vs MiniMax Code
- Letta vs MiniMax Code
- Lovable vs MiniMax Code
- Manus API vs MiniMax Code
- mini-swe-agent vs MiniMax Code
- MiniMax Code vs Mistral Vibe CLI
- MiniMax Code vs Muse Code
- MiniMax Code vs OpenAI Agents API
- MiniMax Code vs OpenAI Codex
- MiniMax Code vs OpenCode
- MiniMax Code vs OpenHands
- MiniMax Code vs OpenMausBot
- MiniMax Code vs Orca
- MiniMax Code vs Paseo
- MiniMax Code vs Prime Agent
- MiniMax Code vs Pax
- MiniMax Code vs Qoder CLI
- MiniMax Code vs Qwen Code
- MiniMax Code vs Mirror CLI
- MiniMax Code vs Replit Agent
- MiniMax Code vs Rovo Dev CLI
- MiniMax Code vs Sculptor
- MiniMax Code vs T3 Code
- MiniMax Code vs Tabnine
- MiniMax Code vs Traycer
- MiniMax Code vs Unstoppable
- MiniMax Code vs Verdent
- MiniMax Code vs Vibe-Trading
- MiniMax Code vs Warp (Warp Agent CLI and the Oz Agent API)
- MiniMax Code vs Devin Desktop (Windsurf)
- MiniMax Code vs Zed
- Agent Relay vs Gemini CLI
- Agent Relay vs MiniMax Code
- Clawboo vs Gemini CLI
- Clawboo vs MiniMax Code
- CLI Manager vs Gemini CLI
- CLI Manager vs MiniMax Code
- Friday vs Gemini CLI
- Friday vs MiniMax Code
- Gemini CLI vs Harness
- Gemini CLI vs herdr
- Gemini CLI vs Paperclip
- Gemini CLI vs Parallax
- Harness vs MiniMax Code
- herdr vs MiniMax Code
- MiniMax Code vs Paperclip
- MiniMax Code vs Parallax
Machine-readable
- This page as Markdown
/compare/gemini-cli-vs-minimax-code.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/gemini-cli.json·/api/v1/tools/minimax-code.json - From a terminal
anchor compare gemini-cli minimax-code(the CLI) - Over MCP
compare_tools {"a": "gemini-cli", "b": "minimax-code"}at/mcp, no key