Skip to main content
This page explains how to run models from Modular Cloud on your Hermes Agent.

Before you begin

Make sure you have:

Connect to the Modular provider

The Modular plugin in the Hermes plugin catalog adds Modular Cloud as a provider. It requires Hermes Agent 0.22.5 or later.
  1. Install the Modular plugin:
    When Hermes prompts for MODULAR_API_KEY, paste your API key.
  2. When Hermes asks whether to enable the plugin, enter y.
  3. Start the model setup:
  4. Select Modular Cloud, then press Enter.
  5. Select a Modular Cloud model and a reasoning effort.
The Modular plugin only includes models on shared endpoints. To connect a model from a dedicated deployment, add a custom endpoint.

Connect a dedicated deployment

Each dedicated deployment runs on your organization’s own endpoint, so you need to add it to Hermes as a custom endpoint:
  1. Open your deployment and copy its Dedicated Endpoint and Model ID.
  2. Export your API key as an environment variable:
  3. Open the ~/.hermes/config.yaml config file and update the model section for your deployment:
    config.yaml
    In base_url, paste the dedicated endpoint you copied in step 1 with /v1 at the end. Then replace the model ID with your deployment’s model ID.
  4. Save your API key for the endpoint:
  5. Start Hermes, run the /model command, and select your deployment’s model.
To see the complete list of provider configuration options, see LLM and Model Providers in the Hermes Agent documentation.