MiniMax Code logo

MiniMax Code

Visit

MiniMax Code is an MIT terminal coding agent you run as mcode, with MiniMax login or your own OpenAI-compatible API.

Share:
View alternatives

MiniMax Code is a terminal coding agent that reads a repo, edits files, and runs tests. The first-party CLI is mcode. The repo MiniMax-AI/minimax-code is TypeScript, created 2026-06-01. The root license is MIT; third_party/sandbox-runtime stays Apache-2.0. On 2026-09-19 GitHub listed 754 stars and 82 forks. 754 stars is a heat signal, not traffic. r/LocalLLaMA posted the open-source drop on 2026-09-19.

It sits next to Claude Code and OpenCode. Pair it with MiniMax M3 if you stay on MiniMax models.

Key Features

  • Install paths: macOS/Linux/WSL curl -fsSL https://filecdn.minimax.chat/public/install.sh | bash. Windows PowerShell irm https://filecdn.minimax.chat/public/install.ps1 | iex. npm @minimax-ai/code needs Node.js 22.19+, 24.2+, 25, or 26.
  • Sign-in or BYOK: mcode login (China) or mcode login --region global. BYOK sets MCODE_PROVIDER_API_KEY and mcode provider add with openai-completions, openai-responses, or anthropic-messages.
  • Three entry points: interactive TUI mcode [prompt], headless mcode exec [prompt], ACP mcode acp for editors.
  • Project memory: mcode init . writes AGENTS.md. Resume with mcode --continue or mcode --session.
  • Local state: Token Plan data lives in ~/.minimax-code by default.

Limitation: the one-command installer does not support Alpine / musl Linux. Token Plan needs an account with credits. The MIT root license does not relicense bundled third-party code.

Use Cases

  • Terminal agents that should use MiniMax or a local OpenAI-compatible server.
  • CI / scripts via mcode exec.
  • Skip if you wanted a GUI IDE. Use Cursor.

Pricing

Piece Price Notes from first-party pages 2026-09-19
Source / CLI $0 to install MIT default. About 754 stars.
Token Plan MiniMax credits Needs a signed-in account with available credits.
BYOK Your provider bill No MiniMax login.

Getting Started

  1. Run the installer, reopen the terminal, then mcode --version.
  2. mcode login or add a BYOK provider.
  3. cd into a repo and mcode "Find a failing test, fix it, and run the tests."
  4. mcode init . if you want AGENTS.md.

First-party start: the quick start.

Frequently Asked Questions

Does open source mean every file is MIT?

No. First-party default is MIT. Sandbox Runtime stays Apache-2.0. See LICENSE-STATUS.md.

Can I point it at a local model?

Yes. mcode provider add with your base URL and --context-limit / --output-limit for local servers.

Why did the installer fail on Alpine?

The README says Alpine / musl is not supported by the one-command installer.

Alternatives

Tips

  1. /status and /provider inside the TUI before a long run.
  2. Keep secrets out of ~/.minimax-code.
  3. Use mcode exec in CI so the TUI is not required.

Conclusion

MiniMax Code is a MIT-licensed mcode agent for people who want MiniMax or BYOK models in the terminal. Install it, log in or add a provider, then start in a real repo. It is not a GUI IDE, and the installer will not save Alpine boxes.

Comments

No comments yet. Be the first to comment!