Before you begin
Make sure you have:- A Modular Cloud API key.
- Hermes Agent installed.
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.-
Install the Modular plugin:
When Hermes prompts for
MODULAR_API_KEY, paste your API key. -
When Hermes asks whether to enable the plugin, enter
y. -
Start the model setup:
- Select Modular Cloud, then press Enter.
- Select a Modular Cloud model and a reasoning effort.
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:- Open your deployment and copy its Dedicated Endpoint and Model ID.
-
Export your API key as an environment variable:
-
Open the
~/.hermes/config.yamlconfig file and update themodelsection for your deployment:Inconfig.yamlbase_url, paste the dedicated endpoint you copied in step 1 with/v1at the end. Then replace the model ID with your deployment’s model ID. -
Save your API key for the endpoint:
-
Start Hermes, run the
/modelcommand, and select your deployment’s model.