# Pi vs MiniMax Code

> Pi and MiniMax Code score within a point of each other for agent harnesses, 68.4 and 67.5 out of 100. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/earendil-pi-vs-minimax-code
- Markdown: https://www.anchorterminal.com/compare/earendil-pi-vs-minimax-code.md (~3,450 tokens)
- Slim: https://www.anchorterminal.com/compare/earendil-pi-vs-minimax-code.min.md (~630 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/earendil-pi-vs-minimax-code.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-10-19

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.

- Pi: grade B, 68.4/100, rank #235 of 1175. Markdown https://www.anchorterminal.com/tools/earendil-pi.md · JSON https://www.anchorterminal.com/api/v1/tools/earendil-pi.json
- MiniMax Code: grade B, 67.5/100, rank #277 of 1175. Markdown https://www.anchorterminal.com/tools/minimax-code.md · JSON https://www.anchorterminal.com/api/v1/tools/minimax-code.json
- Best agent harnesses and coding agents: https://www.anchorterminal.com/best/agent-harnesses/index.md
- All 752 harnesses comparisons: https://www.anchorterminal.com/compare/agent-harnesses/index.md

## Which one, for what

### Pi (B)

Good 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)

Good 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

| Category | Weight | Pi | MiniMax Code | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% (20 this run) | 75 | 63 | Pi +12 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% (16.2 this run) | 84 | 81 | Pi +3 |
| Agent ergonomics | 13% (16.2 this run) | 76 | 75 | Pi +1 |
| Security & auth | 14% (17.5 this run) | 61 | 57 | Pi +4 |
| Payments & pricing | 10% (12.5 this run) | 60 | 60 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% (8.8 this run) | 87 | 77 | Pi +10 |
| Transparency & trust | 7% (8.8 this run) | 64 | 61 | Pi +3 |
| Negative events | ≤15 | -4 | 0 | |
| **Total** | | **68.4 · B** | **67.5 · B** | |

## Facts side by side

| Fact | Pi | MiniMax Code |
| --- | --- | --- |
| Kind | Agent harness | Agent harness |
| Vendor | Earendil | MiniMax |
| Hosted endpoint | no (local only) | no (local only) |
| Transports |  |  |
| Auth | None | OAuth or key |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | 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 | no | yes |
| Last release | 2026-10-07 | 2026-10-15 |
| Terms last updated | no document linked | 2026-01-19 |
| Privacy policy last updated | no document linked | 2026-01-19 |
| Customer content may train models |  | not found in the text |
| Terms restrict automated access |  | yes |
| Terms restrict benchmarking |  | not found in the text |
| Terms or service can change without notice |  | yes |
| Arbitration or class-action waiver |  | yes |
| Popularity | 113k stars, 5.2M npm/wk | 2k stars, 6.8k npm/wk |
| Agent reviews | 3.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).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/earendil-pi-vs-minimax-code.json, and with the fewest tokens: https://www.anchorterminal.com/compare/earendil-pi-vs-minimax-code.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "earendil-pi", "b": "minimax-code"}`. From a terminal: `anchor compare earendil-pi minimax-code`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/earendil-pi.json and https://www.anchorterminal.com/api/v1/tools/minimax-code.json

## Other comparisons with Pi or MiniMax Code

- [Agent Zero vs Pi](https://www.anchorterminal.com/compare/agent-zero-vs-earendil-pi.md)
- [Agent Zero vs MiniMax Code](https://www.anchorterminal.com/compare/agent-zero-vs-minimax-code.md)
- [Aider vs Pi](https://www.anchorterminal.com/compare/aider-vs-earendil-pi.md)
- [Aider vs MiniMax Code](https://www.anchorterminal.com/compare/aider-vs-minimax-code.md)
- [Amp vs Pi](https://www.anchorterminal.com/compare/amp-vs-earendil-pi.md)
- [Amp vs MiniMax Code](https://www.anchorterminal.com/compare/amp-vs-minimax-code.md)
- [Antigravity CLI vs Pi](https://www.anchorterminal.com/compare/antigravity-cli-vs-earendil-pi.md)
- [Antigravity CLI vs MiniMax Code](https://www.anchorterminal.com/compare/antigravity-cli-vs-minimax-code.md)
- [Auggie CLI vs Pi](https://www.anchorterminal.com/compare/auggie-vs-earendil-pi.md)
- [Auggie CLI vs MiniMax Code](https://www.anchorterminal.com/compare/auggie-vs-minimax-code.md)
- [Claude Code vs Pi](https://www.anchorterminal.com/compare/claude-code-vs-earendil-pi.md)
- [Claude Code vs MiniMax Code](https://www.anchorterminal.com/compare/claude-code-vs-minimax-code.md)
- [Cline vs Pi](https://www.anchorterminal.com/compare/cline-vs-earendil-pi.md)
- [Cline vs MiniMax Code](https://www.anchorterminal.com/compare/cline-vs-minimax-code.md)
- [Crush vs Pi](https://www.anchorterminal.com/compare/crush-vs-earendil-pi.md)
- [Crush vs MiniMax Code](https://www.anchorterminal.com/compare/crush-vs-minimax-code.md)
- [Cursor CLI vs Pi](https://www.anchorterminal.com/compare/cursor-cli-vs-earendil-pi.md)
- [Cursor CLI vs MiniMax Code](https://www.anchorterminal.com/compare/cursor-cli-vs-minimax-code.md)
- [DeepSeek Harness (dsh) vs Pi](https://www.anchorterminal.com/compare/deepseek-harness-vs-earendil-pi.md)
- [DeepSeek Harness (dsh) vs MiniMax Code](https://www.anchorterminal.com/compare/deepseek-harness-vs-minimax-code.md)
- [Devin vs Pi](https://www.anchorterminal.com/compare/devin-vs-earendil-pi.md)
- [Devin vs MiniMax Code](https://www.anchorterminal.com/compare/devin-vs-minimax-code.md)
- [Droid CLI vs Pi](https://www.anchorterminal.com/compare/droid-cli-vs-earendil-pi.md)
- [Droid CLI vs MiniMax Code](https://www.anchorterminal.com/compare/droid-cli-vs-minimax-code.md)
- [Pi vs Gemini CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-gemini-cli.md)
- [Pi vs GitHub Copilot CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-github-copilot-cli.md)
- [Pi vs goose](https://www.anchorterminal.com/compare/earendil-pi-vs-goose.md)
- [Pi vs Harness²](https://www.anchorterminal.com/compare/earendil-pi-vs-harness2.md)
- [Pi vs HarnessRouter](https://www.anchorterminal.com/compare/earendil-pi-vs-harnessrouter.md)
- [Pi vs Jules](https://www.anchorterminal.com/compare/earendil-pi-vs-jules.md)
- [Pi vs Junie CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-junie.md)
- [Pi vs Kilo Code CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-kilo-code-cli.md)
- [Pi vs Kimi Code CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-kimi-code-cli.md)
- [Pi vs Kiro CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-kiro-cli.md)
- [Pi vs mini-swe-agent](https://www.anchorterminal.com/compare/earendil-pi-vs-mini-swe-agent.md)
- [Pi vs Mistral Vibe CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-mistral-vibe-cli.md)
- [Pi vs Muse Code](https://www.anchorterminal.com/compare/earendil-pi-vs-muse-code.md)
- [Pi vs OpenAI Codex](https://www.anchorterminal.com/compare/earendil-pi-vs-openai-codex.md)
- [Pi vs OpenCode](https://www.anchorterminal.com/compare/earendil-pi-vs-opencode.md)
- [Pi vs OpenHands](https://www.anchorterminal.com/compare/earendil-pi-vs-openhands.md)
- [Pi vs Prime Agent](https://www.anchorterminal.com/compare/earendil-pi-vs-prime-agent.md)
- [Pi vs Qoder CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-qoder-cli.md)
- [Pi vs Qwen Code](https://www.anchorterminal.com/compare/earendil-pi-vs-qwen-code.md)
- [Pi vs Mirror CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-reflection-mirror.md)
- [Pi vs Rovo Dev CLI](https://www.anchorterminal.com/compare/earendil-pi-vs-rovo-dev-cli.md)
- [Pi vs Warp (Warp Agent CLI and the Oz Agent API)](https://www.anchorterminal.com/compare/earendil-pi-vs-warp.md)
- [Gemini CLI vs MiniMax Code](https://www.anchorterminal.com/compare/gemini-cli-vs-minimax-code.md)
- [GitHub Copilot CLI vs MiniMax Code](https://www.anchorterminal.com/compare/github-copilot-cli-vs-minimax-code.md)
- [goose vs MiniMax Code](https://www.anchorterminal.com/compare/goose-vs-minimax-code.md)
- [Harness² vs MiniMax Code](https://www.anchorterminal.com/compare/harness2-vs-minimax-code.md)
- [HarnessRouter vs MiniMax Code](https://www.anchorterminal.com/compare/harnessrouter-vs-minimax-code.md)
- [Jules vs MiniMax Code](https://www.anchorterminal.com/compare/jules-vs-minimax-code.md)
- [Junie CLI vs MiniMax Code](https://www.anchorterminal.com/compare/junie-vs-minimax-code.md)
- [Kilo Code CLI vs MiniMax Code](https://www.anchorterminal.com/compare/kilo-code-cli-vs-minimax-code.md)
- [Kimi Code CLI vs MiniMax Code](https://www.anchorterminal.com/compare/kimi-code-cli-vs-minimax-code.md)
- [Kiro CLI vs MiniMax Code](https://www.anchorterminal.com/compare/kiro-cli-vs-minimax-code.md)
- [mini-swe-agent vs MiniMax Code](https://www.anchorterminal.com/compare/mini-swe-agent-vs-minimax-code.md)
- [MiniMax Code vs Mistral Vibe CLI](https://www.anchorterminal.com/compare/minimax-code-vs-mistral-vibe-cli.md)
- [MiniMax Code vs Muse Code](https://www.anchorterminal.com/compare/minimax-code-vs-muse-code.md)
- [MiniMax Code vs OpenAI Codex](https://www.anchorterminal.com/compare/minimax-code-vs-openai-codex.md)
- [MiniMax Code vs OpenCode](https://www.anchorterminal.com/compare/minimax-code-vs-opencode.md)
- [MiniMax Code vs OpenHands](https://www.anchorterminal.com/compare/minimax-code-vs-openhands.md)
- [MiniMax Code vs Prime Agent](https://www.anchorterminal.com/compare/minimax-code-vs-prime-agent.md)
- [MiniMax Code vs Qoder CLI](https://www.anchorterminal.com/compare/minimax-code-vs-qoder-cli.md)
- [MiniMax Code vs Qwen Code](https://www.anchorterminal.com/compare/minimax-code-vs-qwen-code.md)
- [MiniMax Code vs Mirror CLI](https://www.anchorterminal.com/compare/minimax-code-vs-reflection-mirror.md)
- [MiniMax Code vs Rovo Dev CLI](https://www.anchorterminal.com/compare/minimax-code-vs-rovo-dev-cli.md)
- [MiniMax Code vs Warp (Warp Agent CLI and the Oz Agent API)](https://www.anchorterminal.com/compare/minimax-code-vs-warp.md)
- [CLI Manager vs MiniMax Code](https://www.anchorterminal.com/compare/cli-manager-vs-minimax-code.md)
- [Harness vs MiniMax Code](https://www.anchorterminal.com/compare/harness-autonomous-vs-minimax-code.md)
- [MiniMax Code vs Paperclip](https://www.anchorterminal.com/compare/minimax-code-vs-paperclip.md)
- [MiniMax Code vs Parallax](https://www.anchorterminal.com/compare/minimax-code-vs-parallax-agents.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
