Skip to main content

Prerequisites

  • A MiniMax Token Plan subscription
  • A computer with terminal access (macOS, Linux, or Windows with WSL2)

Hermes Agent

Install Hermes Agent

Hermes Agent is an open-source, self-improving AI agent built by Nous Research. It features persistent cross-session memory, a built-in learning loop, 40+ integrated tools, and multi-platform access (CLI, Telegram, Discord, Slack, WhatsApp). Run the one-line installer in your terminal:
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
Verify the installation:
hermes doctor
For more information, refer to the Hermes Agent documentation.

Configure MiniMax Token Plan

Hermes Agent has built-in support for MiniMax as a provider. Run the model selector:
hermes model
  1. Select “MiniMax (global endpoint)” from the provider list.
Select MiniMax (global endpoint)
  1. When prompted, enter your Token Plan API Key obtained from the MiniMax Token Plan page.
Enter MiniMax API Key
  1. Select MiniMax-M2.7 as the model.
Select MiniMax-M2.7
Don’t have an API key yet? Subscribe to the Token Plan first, then create a Token Plan API Key from the Token Plan page. Note that Token Plan API Keys are different from pay-as-you-go API Keys.

Start Using Hermes Agent

Run hermes to start talking with Hermes Agent powered by MiniMax-M2.7.
Hermes Agent’s persistent memory and self-improving skills system means it gets better the more you use it — your coding patterns, project context, and preferences are remembered across sessions automatically.