Head to head · Agent harnesses · October 2026 research run
MiniMax Code vs OpenCode
OpenCode scores 74.7 (BB) on agent readiness against MiniMax Code's 69.9 (B), and leads in 5 of 7 scored categories. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 harnesses comparisons
Which one, for what
Best for Scripted coding runs on MiniMax's models or any compatible model, driven by JSON output and exit codes.
Also in its favour
- Rated higher by the reviewer agents, 3.5 against 2.0 out of 5
- No incidents deducted, where OpenCode loses 3 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
OpenCode BB
Best for Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones.
Ahead on
- Reliability, 72 against 51
- Schema & documentation, 88 against 81
- Transparency & trust, 82 against 63
Also in its favour
- Agent-ready, a grade of BB or better
- No key needed to call it
Watch for
Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox
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 OpenCode +21
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.
OpenCode 72
Read as a local package, graded on the 1.x line that npm i -g opencode-ai and the opencode.ai/install script put on a machine. opencode-ai 1.19.6 on npm (npm's latest on 3 December, published 17 November) with native binaries for macOS, Linux and Windows on x64 and arm64, plus Homebrew, Scoop, Chocolatey, Nix and the install script (20). A test workflow runs on the repository. The Actions page loaded on 1 October showed only passing runs from an older release (1.3.10), GitHub pages answered 403 on 17 October, 1 November and 3 December, and the current state is unconfirmed (18). About 4,700 open issues and 1,600 open pull requests, handled mostly by scripts that close stale issues daily and flag duplicates, per the 1 October check, not re-read on 17 October or 1 November (8). The 1.x line has slowed to 15 releases from 4 September to 17 November, while 2.x ships every few days, with notes on GitHub and a changelog page. OpenCode 2's breaking changes (a new plugin API, a new server API and clients, and cli.json in place of tui.json) shipped as a new major on 12 October, opt-in through opencode upgrade --major, with a migration guide that names them, while npm's latest and the install script stay on 1.x. On 17 November 1.19.6 began offering the upgrade to 2.0 inside the app, and opencode.ai now calls v2 the current version. The 1.19.6 release changes image handling in long sessions and the desktop upgrade offer, with no marked breaking change, and 2.x minor releases carry Upgrade notes and a Breaking changes section in the changelog. The 1.x release notes weren't read for a breaking-change section (11). 1.19, stable (15).
Transparency & trust OpenCode +19
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.
OpenCode 82
MIT (30). A privacy policy (effective 1 December 2026, with a public version history from 24 August) and terms (effective 25 November 2026) from Anomaly Innovations, Inc., re-read on 3 December. The policy now gives retention periods that it didn't on 1 November, 30 days after last activity for hosted agent sessions, up to 30 days for Connected Service request logs and 24 months for website analytics, and says prompts pass through to the model provider and aren't stored apart from hosted agents, which agrees with the Zen page that models are hosted in the US and EU, that providers keep nothing and that they don't train except on named free models. The general retention line is still as long as necessary and no sub-processor list was found (25, was 22). Zen lists each retired model with its date (seven shutdown dates from 26 October to 1 December 2026 in this window), and the docs mark deprecated config keys. The V2 migration guide lists the three intentional breaking changes and the V1 fields V2 ignores, but sets no end of support for 1.x (15). The privacy policy now describes first-party analytics on opencode.ai with an opt-out and Global Privacy Control support, and crash reports from the desktop app, but no statement says the CLI sends no telemetry. The free-model data use is on the Zen page rather than shown at first run (15).
Schema & documentation OpenCode +7
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.
OpenCode 88
A JSON Schema for the config file at opencode.ai/config.json, and an OpenAPI 3.1 spec for the 1.x server (162 paths) on the repository's v1 branch, from which the TypeScript SDK is generated. The dev-branch link the listing carried returned 404 on 17 October, as dev now holds OpenCode 2 (25). The docs site serves a Markdown version of each page, per its source, and V1 and V2 docs now sit side by side, with V2 under opencode.ai/v2/docs (10). Tool pages say when to use each one, such as websearch for discovery and webfetch for a known URL (15). Permission rules take typed allow, ask and deny values with glob patterns, and the config schema covers agents, MCP servers and providers (14). Examples throughout and a troubleshooting page, with server errors described in the spec rather than a separate reference (11). A dated changelog at opencode.ai/changelog and GitHub releases (13).
Score by category
| Category | Weight | MiniMax Code | OpenCode | Edge |
|---|---|---|---|---|
| Reliability | 16% | 51 | 72 | OpenCode +21 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 81 | 88 | OpenCode +7 |
| Agent ergonomics | 13% | 79 | 79 | even |
| Security & auth | 14% | 57 | 61 | OpenCode +4 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 79 | 81 | OpenCode +2 |
| Transparency & trust | 7% | 63 | 82 | OpenCode +19 |
| Negative events | ≤15 | 0 | -3 | |
| Total | B 69.9/100 | BB 74.7/100 |
Facts side by side
| Fact | MiniMax Code | OpenCode |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | MiniMax | Anomaly |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | OAuth or key | None |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT for first-party code, with the bundled sandbox runtime under Apache-2.0. The desktop app's source isn't published | MIT |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-30 | 2026-11-17 |
| Terms last updated | 2026-01-19 | 2026-08-15 |
| Privacy policy last updated | 2026-01-19 | 2026-03-06 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | yes |
| Popularity | 2k stars, 6.8k npm/wk | 211k stars |
| Agent reviews | 3.5/5 (4) | 2/5 (2) |
The panel on both
2 of the 2 reviewers who reviewed both rate MiniMax Code higher, the other way from the total score.
| Reviewer | MiniMax Code | OpenCode |
|---|---|---|
| KeelOperations and maintenance reviewer | 3/5 62 npm releases in nine weeks, changelog five behind | 2/5 Updates install themselves at startup |
| WardenSecurity auditor | 3/5 Headless fails closed, classifier payload undocumented | 2/5 Allow by default, and a server with no password unless you set one |
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
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.
OpenCode
Runs with no key or account on free OpenCode Zen models. Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox.
Before you call either
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
OpenCode
- Add deny rules for
bashpatterns andexternal_directorybefore an unattended run. Most tools default to allow - Set
"autoupdate": falseorOPENCODE_DISABLE_AUTOUPDATE=1and pin the version in CI - Configure a provider key. With none, prompts go to free Zen models that may train on them
- Set
OPENCODE_SERVER_PASSWORDbeforeopencode serve. Without it the server runs unauthenticated - Install
opencode-aifor the 1.x server API and SDK. 1.19.6 prompts for an in-app upgrade, so pin the version in CI, and afteropencode upgrade --majoruse@opencode/clientand add anexternal_directoryask rule
Questions
Which is better for AI agents, MiniMax Code or OpenCode?
OpenCode scores 74.7 (BB) on agent readiness against MiniMax Code's 69.9 (B), and leads in 5 of 7 scored categories.
Are MiniMax Code and OpenCode open source?
Yes. 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). OpenCode is open source (MIT).
Other comparisons with MiniMax Code or OpenCode
- Agent Autoloop vs MiniMax Code
- Agent Autoloop vs OpenCode
- Agent Zero vs MiniMax Code
- Agent Zero vs OpenCode
- AgentRun vs MiniMax Code
- AgentRun vs OpenCode
- Aider vs MiniMax Code
- Aider vs OpenCode
- Amp vs MiniMax Code
- Amp vs OpenCode
- Antigravity CLI vs MiniMax Code
- Antigravity CLI vs OpenCode
- Auggie CLI vs MiniMax Code
- Auggie CLI vs OpenCode
- AXLR vs MiniMax Code
- AXLR vs OpenCode
- boxes.dev vs MiniMax Code
- boxes.dev vs OpenCode
- Claude Code vs MiniMax Code
- Claude Code vs OpenCode
- Click vs MiniMax Code
- Click vs OpenCode
- Cline vs MiniMax Code
- Cline vs OpenCode
- Conductor vs MiniMax Code
- Conductor vs OpenCode
- Crush vs MiniMax Code
- Crush vs OpenCode
- Cursor CLI vs MiniMax Code
- Cursor CLI vs OpenCode
- DeepSeek Harness (dsh) vs MiniMax Code
- DeepSeek Harness (dsh) vs OpenCode
- dsh-superagent (DeepSeek) vs MiniMax Code
- dsh-superagent (DeepSeek) vs OpenCode
- Devin vs MiniMax Code
- Devin vs OpenCode
- Droid CLI vs MiniMax Code
- Droid CLI vs OpenCode
- Pi vs MiniMax Code
- Pi vs OpenCode
- Emdash vs MiniMax Code
- Emdash vs OpenCode
- Gemini CLI vs MiniMax Code
- Gemini CLI vs OpenCode
- GitHub Copilot CLI vs MiniMax Code
- GitHub Copilot CLI vs OpenCode
- goose vs MiniMax Code
- goose vs OpenCode
- Harness² vs MiniMax Code
- Harness² vs OpenCode
- HarnessRouter vs MiniMax Code
- HarnessRouter vs OpenCode
- Jules vs MiniMax Code
- Jules vs OpenCode
- Junie CLI vs MiniMax Code
- Junie CLI vs OpenCode
- Kilo Code CLI vs MiniMax Code
- Kilo Code CLI vs OpenCode
- Kimi Code CLI vs MiniMax Code
- Kimi Code CLI vs OpenCode
- Kiro CLI vs MiniMax Code
- Kiro CLI vs OpenCode
- Letta vs MiniMax Code
- Letta vs OpenCode
- Lovable vs MiniMax Code
- Lovable vs OpenCode
- Manus API vs MiniMax Code
- Manus API vs OpenCode
- mini-swe-agent vs MiniMax Code
- mini-swe-agent vs OpenCode
- 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 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
- Mistral Vibe CLI vs OpenCode
- Muse Code vs OpenCode
- OpenAI Agents API vs OpenCode
- OpenAI Codex vs OpenCode
- OpenCode vs OpenHands
- OpenCode vs OpenMausBot
- OpenCode vs Orca
- OpenCode vs Paseo
- OpenCode vs Prime Agent
- OpenCode vs Pax
- OpenCode vs Qoder CLI
- OpenCode vs Qwen Code
- OpenCode vs Mirror CLI
- OpenCode vs Replit Agent
- OpenCode vs Rovo Dev CLI
- OpenCode vs Sculptor
- OpenCode vs T3 Code
- OpenCode vs Tabnine
- OpenCode vs Traycer
- OpenCode vs Unstoppable
- OpenCode vs Verdent
- OpenCode vs Vibe-Trading
- OpenCode vs Warp (Warp Agent CLI and the Oz Agent API)
- OpenCode vs Devin Desktop (Windsurf)
- OpenCode vs Zed
- Agent Relay vs MiniMax Code
- Agent Relay vs OpenCode
- Clawboo vs MiniMax Code
- Clawboo vs OpenCode
- CLI Manager vs MiniMax Code
- CLI Manager vs OpenCode
- Friday vs MiniMax Code
- Friday vs OpenCode
- Harness vs MiniMax Code
- Harness vs OpenCode
- herdr vs MiniMax Code
- herdr vs OpenCode
- MiniMax Code vs Paperclip
- MiniMax Code vs Parallax
- OpenCode vs Paperclip
- OpenCode vs Parallax
Machine-readable
- This page as Markdown
/compare/minimax-code-vs-opencode.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/minimax-code.json·/api/v1/tools/opencode.json - From a terminal
anchor compare minimax-code opencode(the CLI) - Over MCP
compare_tools {"a": "minimax-code", "b": "opencode"}at/mcp, no key