Skip to main content
MiniMax provides AI models through an OpenAI-compatible API. docker-agent includes built-in support for MiniMax as an alias provider.

Setup

  1. Get an API key from minimaxi.com.
  2. Set the environment variable:
export MINIMAX_API_KEY="your-api-key"

Configuration

agents:
  root:
    model: minimax/MiniMax-M2.5
    description: Assistant using MiniMax
    instruction: You are a helpful assistant.

Available models

Check the MiniMax documentation for the current model catalog.
ModelDescription
MiniMax-M2.5Peak performance, 204K context
MiniMax-M2.5-highspeedSame capability as M2.5, ~100 tps
MiniMax-M2.1Multi-language programming capabilities
MiniMax-M2.1-highspeedFaster variant of M2.1, ~100 tps
MiniMax-M2Agentic capabilities, advanced reasoning

How it works

MiniMax is a built-in alias provider:
  • API type: openai_chatcompletions
  • Base URL: https://api.minimax.io/v1
  • Token variable: MINIMAX_API_KEY

Example: code assistant

agents:
  coder:
    model: minimax/MiniMax-M2.5
    description: Code assistant using MiniMax
    instruction: |
      You are an expert programmer using MiniMax M2.5.
      Write clean, well-documented code.
      Follow best practices for the language being used.
    toolsets:
      - type: filesystem
      - type: shell
      - type: think

Build docs developers (and LLMs) love