Codex is OpenAI’s official AI coding agent for the desktop.
Install Codex
You can skip Codex CLI installation when using the one-click setup wizard below. If it cannot find thecodex command, it offers to install the official @openai/codex npm package.
Download and install the Codex desktop app from the OpenAI Codex page.
Configure MiniMax API
- Option 1: One-click setup wizard
- Option 2: Manual setup
Run:Select Codex. If Codex CLI is missing, keep Codex selected in the second multi-select. The wizard installs the official npm package, verifies its version, configures
~/.codex/config.toml, and creates ~/.codex/mmx-model-catalog.json with the MiniMax model capabilities.Restart Codex after setup. See One-click setup wizard for command options and backup behavior.Configure Model Capabilities (Optional)
Skip this section if you used the one-click setup wizard above. Codex can use a custom model catalog to recognize MiniMax-M3 capabilities such as multimodal input, reasoning effort as the thinking switch, system prompt instructions, tool type, and other detailed model parameters. After this is configured, type/model in Codex CLI to see MiniMax-M3 and its available reasoning levels in the model list.
Add the following line to ~/.codex/config.toml:
~/.codex/model-catalogs/custom-catalog.json with the detailed model configuration:
slug/display_name: The model identifier and display name used in Codex config and the/modellist. Keep this aligned with the model name used by the API.default_reasoning_level: The default reasoning effort. For MiniMax-M3, any non-nonevalue enables Adaptive Thinking; the value does not tune reasoning depth.supported_reasoning_levels: Reasoning options users can switch between in/model.noneturns thinking off;highenables Adaptive Thinking.base_instructions: Base system prompt Codex adds when using this model. Use it to describe the model identity and collaboration style.supports_reasoning_summaries: Enables Codex’s Responses API reasoning path for this model. Set this totrueso Codex sendsreasoning.effort; otherwise Codex omits thereasoningfield even whendefault_reasoning_levelis configured. In this example,default_reasoning_summaryis set tononeso Codex does not request a separate reasoning summary.shell_type: Declares the shell tool-call type supported by the model. This example usesshell_command.visibility/supported_in_api/priority: Control whether the model appears in the list, whether it is available through the API, and its ordering priority in the model list.supports_parallel_tool_calls: Indicates that the model supports parallel tool calls, allowing Codex to handle multiple tool requests.experimental_supported_tools: Reserved list for experimental tool capabilities. Leave it as an empty array when no extra tools are needed.input_modalities: Supported input modalities.["text", "image"]means text and image input are supported.truncation_policy: Controls truncation behavior for retained context or tool output. This example limits retained content by bytes.