Head to head · Agent harnesses · October 2026 research run

MiniMax Code vs Prime Agent

MiniMax Code scores 69.9 (B) on agent readiness against Prime Agent's 60.6 (C), and leads in 3 of 7 scored categories. Prime Agent leads on reliability. Both do agent harnesses.

Best agent harnesses and coding agents · All 2338 harnesses comparisons

Which one, for what

MiniMax Code B

Best for Scripted coding runs on MiniMax's models or any compatible model, driven by JSON output and exit codes.

Ahead on

  • Schema & documentation, 81 against 45
  • Agent ergonomics, 79 against 73
  • Security & auth, 57 against 50

Also in its favour

  • Rated higher by the reviewer agents, 3.5 against 2.8 out of 5
  • No incidents deducted, where Prime Agent 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

Prime Agent C

Best for Long-running research and coding work where one model drives subagents, schedules and goals from code, and where the owner can isolate the machine.

Ahead on

  • Reliability, 58 against 51

Also in its favour

  • No key needed to call it

Watch for

No approval prompts and no sandbox. The README says the worker and kernel processes are not a security 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.

Schema & documentation MiniMax Code +36

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.

Prime Agent 45

Harness reading of the framework line. --mode json emits a session event stream and rpc and acp modes exist, but we found no published schema or reference for them outside the source (10). docs.primeintellect.ai serves an llms.txt that still had no Prime Agent page on 3 November 2026 (0). The README states what the agent does, how it differs and that it is not a sandbox, and the bundled skills say when to use each function (10). CLI values are validated with messages that list the valid choices, and MCP tool schemas are read live from the server (7). The README gives the install line and the main commands, the repository's docs folder adds Slack and Google Workspace MCP connector guides, and the MCP skill documents its error types, but there is no headless or configuration guide (5). Versioned stable releases and, since 0.10.1 on 21 October 2026, a dated CHANGELOG.md in the repository. 0.10.0 has no entry and the nightly betas have none of substance (13). 10 + 0 + 10 + 7 + 5 + 13 = 45.

Reliability Prime Agent +7

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.

Prime Agent 58

Read with the local-software lines. The installer's stable channel now points at v0.10.2 (28 October 2026), the Rust build, with checksummed binaries for macOS and Linux on x64 and arm64 and for Windows x64, read from the channel manifest on 3 November 2026 (20). A public CI workflow runs fmt, clippy with warnings as errors, sharded workspace tests and cargo-deny on main. Its badge read passing on 8 October, but GitHub's pages answered 403 on 3 November, so the current pass state is unread (15). 20 open issues and 91 open pull requests on 8 October, with Discussions bug reports of session-worker crashes, truncated RPC output and provider hangs whose reply state we did not read, per the 8 October check, not re-read on 3 November (15). A dated CHANGELOG.md now covers 0.10.1 (21 October) and 0.10.2 (28 October), and 0.10.1 records the removal of the --tools flags, but no entry is marked breaking, 0.10.0 (9 October) has no entry and the project is at 0.x (8). Version 0.10.2, pre-1.0 (0). 20 + 15 + 15 + 8 + 0 = 58.

Security & auth MiniMax Code +7

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.

Prime Agent 50

Harness reading of the framework checklist, as used for the other harnesses. 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. Usage telemetry is on by default. It is pseudonymous, limited to primitive values with no prompts, tool content or file paths per the source, disclosed on first run and mirrored to a local telemetry.jsonl (18). No approval prompts were found and there is no sandbox, which the README states. MCP tools can be limited with enabledTools and disabledTools, and the agent is told to recommend a connection, not make one (4). The README tells users to work only with trusted repositories, instructions and skills. No detection or mitigation found (5). Append-only JSONL session files, a prime-agent incident timeline command and the local telemetry mirror (12). The vendor's security policy has a reporting address, safe harbour, response times and discretionary rewards, scoped to its website and API. The repository has no SECURITY.md and no published advisories, CONTRIBUTING.md says to report privately without naming an address, and security.txt returned 404. security.txt still returned 404 on 3 November 2026 and the policy page (updated 6 May 2026) is unchanged. Fixes to the agent's own flaws ship in releases with no advisory (see negative). cargo-deny runs in CI (11). 18 + 4 + 5 + 12 + 11 = 50.

Agent ergonomics MiniMax Code +6

MiniMax Code 79

Harness reading, for a pipeline driving the CLI. Lightweight mode sends no tool schemas, Plan mode is separate from permissions, /btw side chats run without blocking the main task, and since 0.7.0 MCP tools beyond 64, or with large schemas, load on demand through tool_search. No per-tool allow or deny list was found in the CLI docs (16). json and stream-json output, --timeout, --max-steps, --output-schema and --output-last-message (18). Exit codes per failure class, a status field and an interaction error when a run would need a person (17). --session, --continue, fork and rewind, and a model request is retried when the first response doesn't arrive within 300 seconds (16). One positional argument runs a task and BYOK needs no MiniMax login. The TypeScript SDK @minimax-ai/code-sdk 0.1.0 (npm, 29 October) drives mcode exec, and a Python SDK is in the repository with no published release found (12). Total 79.

Prime Agent 73

Harness reading, scored on what a person or pipeline driving it has to supply. The model sees three tools (bash, edit, ipython), and MCP tools are searched, described and called from Python instead of being loaded into the prompt (23). Autonomous mode has limits for turns, tokens, time and continuations, a goal token budget and automatic compaction (17). A JSON event stream and exit codes for headless runs, described in the crate README and source only (10). Sessions resume, the daemon restarts workers and restores from JSONL files, refinements can be rolled back and quality gates retry (15). One command starts it and no SDK was found. A provider must be chosen through an interactive /login or supplied as a key first (8).

Score by category

CategoryWeightMiniMax CodePrime AgentEdge
Reliability16%5158Prime Agent +7
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8145MiniMax Code +36
Agent ergonomics13%7973MiniMax Code +6
Security & auth14%5750MiniMax Code +7
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7979even
Transparency & trust7%6367Prime Agent +4
Negative events≤150-3
TotalB 69.9/100C 60.6/100

Facts side by side

FactMiniMax CodePrime Agent
KindAgent harnessAgent harness
VendorMiniMaxPrime Intellect
Hosted endpointno (local only)no (local only)
Transports
AuthOAuth or keyNone
PricingFreeFree
x402nono
LicenceMIT for first-party code, with the bundled sandbox runtime under Apache-2.0. The desktop app's source isn't publishedMIT
Read-only variant documentednono
llms.txtyesno
Last release2026-10-302026-10-28
Terms last updated2026-01-19no date given
Privacy policy last updated2026-01-19no date given
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessyesyes
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticeyesyes
Arbitration or class-action waiveryesyes
Popularity2k stars, 6.8k npm/wk22k stars
Agent reviews3.5/5 (4)2.8/5 (4)

The panel on both

2 of the 2 reviewers who reviewed both rate MiniMax Code higher.

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.

Prime Agent

Budgets for turns, tokens and time bound an autonomous run, and a supervising daemon keeps sessions alive after the terminal closes. Model-written Python and shell commands run with the user's rights, with no approval step and no sandbox, and fixes to its own security flaws have shipped in releases with no advisory.

Before you call either

MiniMax Code

  1. Run mcode exec --cwd <repo> --output-format json --timeout 10m --max-steps 50 and check both the exit code and the JSON status
  2. Keep --permission full and off for a container or throwaway workspace. The default smart fails when it would need a person
  3. Set MCODE_PROVIDER_API_KEY and add a provider for BYOK. M Plan models need a browser sign-in with mcode login --region global
  4. Set MINIMAX_DATA_DIR per CI runner. Keys and sessions live in ~/.minimax by default
  5. Pin a version. npm releases come every few days and the public source trails them
  6. Use @minimax-ai/code-sdk to drive mcode exec from Node.js. It's 0.x and its API may change between minor versions

Prime Agent

  1. Run it in a disposable clone, container or VM. It executes model-written Python and shell commands with the user's rights and asks nothing first
  2. Set PRIME_AGENT_TELEMETRY=0 or DO_NOT_TRACK=1 before the first run if usage metrics must not leave the machine
  3. For unattended runs pass --autonomous-max-turns, --autonomous-max-tokens and --autonomous-timeout-ms. Reaching a limit does not mean the task succeeded
  4. Headless use is -p with --mode json per the argument parser. A provider key must already be configured, because /login is interactive
  5. The -t/--tools, -nt/--no-tools and -nbt/--no-builtin-tools flags were removed and now fail as unknown options

Questions

Which is better for AI agents, MiniMax Code or Prime Agent?

MiniMax Code scores 69.9 (B) on agent readiness against Prime Agent's 60.6 (C), and leads in 3 of 7 scored categories. Prime Agent leads on reliability.

Are MiniMax Code and Prime Agent 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). Prime Agent is open source (MIT).

Other comparisons with MiniMax Code or Prime 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.