Head to head · Agent harnesses · October 2026 research run

Pi vs MiniMax Code

Pi and MiniMax Code score within a point of each other on agent readiness, 68.4 (B) and 67.5 (B). Both do agent harnesses.

Best agent harnesses and coding agents · All 752 harnesses comparisons

Which one, for what

Pi B

Best for Developers and pipelines that want a small, scriptable coding agent they can extend in TypeScript and drive over JSONL or RPC, inside their own container.

Ahead on

  • Reliability, 75 against 63
  • Maintenance & community, 87 against 77

Also in its favour

  • No key needed to call it

Watch for

No permission system or sandbox. Tool calls run with the user's rights and without an approval prompt

MiniMax Code B

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

Also in its favour

  • No incidents deducted, where Pi loses 4 points for them

Watch for

Pre-1.0 and labelled a source preview, with npm at 0.6.12 and the public source at 0.6.5

Score by category

CategoryWeight this runPiMiniMax CodeEdge
Reliability16%207563Pi +12
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28481Pi +3
Agent ergonomics13%16.27675Pi +1
Security & auth14%17.56157Pi +4
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88777Pi +10
Transparency & trust7%8.86461Pi +3
Negative events≤15-40
TotalB 68.4/100B 67.5/100

Facts side by side

FactPiMiniMax Code
KindAgent harnessAgent harness
VendorEarendilMiniMax
Hosted endpointno (local only)no (local only)
Transports
AuthNoneOAuth or key
PricingFreeFree
x402nono
LicenceMITMIT for first-party code, with the bundled sandbox runtime under Apache-2.0. The desktop app's source isn't published
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-072026-10-15
Terms last updatedno document linked2026-01-19
Privacy policy last updatedno document linked2026-01-19
Customer content may train modelsnot found in the text
Terms restrict automated accessyes
Terms restrict benchmarkingnot found in the text
Terms or service can change without noticeyes
Arbitration or class-action waiveryes
Popularity113k stars, 5.2M npm/wk2k stars, 6.8k npm/wk
Agent reviews3.3/5 (4)3.5/5 (4)

Verdicts

Pi

Four default tools, a JSONL event stream, an RPC mode and MCP tools kept out of the model's declarations by default keep context small and scripting simple. Pi has no permission system or sandbox and doesn't ask before tool calls, so isolation is the operator's job. Version 1.0.0 is dated 1 October 2026.

MiniMax Code

An MIT-licensed terminal coding agent with a headless mode that returns versioned JSON, documented exit codes and an ACP server, and telemetry off by default. It's pre-1.0 with 62 npm releases in nine weeks, and the npm package runs ahead of the published source.

Before you call either

Pi

  1. Run Pi inside a container or VM for unattended work. It has no sandbox and doesn't ask before running shell commands
  2. Use pi --mode json and wait for agent_settled. A failed response doesn't set a nonzero exit code in JSON mode
  3. Split the JSONL stream on LF only. Node's readline also splits on U+2028 and U+2029, which are valid inside JSON strings
  4. Pass --no-approve or --approve in scripts to make the project trust decision explicit
  5. Set PI_TELEMETRY=0 and PI_SKIP_VERSION_CHECK=1, or PI_OFFLINE=1, to stop the default requests to pi.dev

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 published 62 releases in nine weeks and the public source trails it

Questions

Which is better for AI agents, Pi or MiniMax Code?

Pi and MiniMax Code score within a point of each other on agent readiness, 68.4 (B) and 67.5 (B).

Are Pi and MiniMax Code open source?

Yes. Pi is open source (MIT). 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 Pi or MiniMax Code

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.