Vibe CLI provider for Hermes — setup guide

  • hermes
  • vibe-cli
  • mistral
  • plugins
  • setup

The Vibe CLI provider plugin adds Mistral Vibe CLI (Vibe plan quota) to Hermes. It sends requests directly to Mistral’s API using the plan key created by Vibe, with no proxy or extra background service in between.

If your Mistral Vibe plan includes coding, the plugin is designed to use that plan’s quota rather than a separately configured pay-as-you-go Studio key. Mistral controls the plan, quota, supported models, and terms — check your own account for the current limits.

Before you start

  • This is a community plugin. Read its source before trusting it with a credential.
  • Prompts and approved context are sent to https://api.mistral.ai/v1. Do not use it for data you are not comfortable sending to Mistral.
  • Keep the Vibe key private. Never paste it into Telegram, Git, screenshots, shell history, or a proxy exposed to the internet.
  • The plugin’s install.sh is the recommended route in its upstream setup guide. The generic hermes plugins install route is only an alternative for Hermes versions with the model-provider install-routing fix.

The short version

Official repository setup path

Four calm steps

This follows the plugin’s own docs/SETUP.md: install it as a model provider, authenticate once, restart Hermes, then pick the provider.

  1. 01

    Clone the plugin

    Keep a local clone if you use the default symlink installation.

    git clone https://github.com/zan-keith/vibecli-hermes-plugin.git
    cd vibecli-hermes-plugin
  2. 02

    Install into Hermes

    The repository installer creates the model-provider path and refuses to overwrite an existing installation.

    ./install.sh

    Use ./install.sh --copy if you do not want an active symlink back to the clone.

  3. 03

    Choose one key route

    Recommended: use the official CLI once.

    vibe --setup

    Or use the Vibe API key from Code → Extensions → Advanced. Add it locally to ~/.hermes/.env as VIBE_API_KEY=…; never paste it into a command, chat, or repository.

  4. 04

    Start fresh and select it

    Provider discovery happens at Hermes startup. Start a new process, then choose the Vibe provider.

    hermes model
    hermes doctor
Pick “Mistral Vibe CLI (Vibe plan quota)”

Then choose a model such as mistral-medium-latest or zai-glm-5-3.

What you need

  1. A working Hermes Agent installation.
  2. A Mistral Vibe plan with coding included.
  3. One authentication route:
    • the official Vibe CLI, signed in once; or
    • a Vibe API key from Mistral Code → Extensions → Advanced.

Run this before changing anything if you want to confirm Hermes itself is healthy:

hermes doctor

Step 1: get and install the plugin

git clone https://github.com/zan-keith/vibecli-hermes-plugin.git
cd vibecli-hermes-plugin
./install.sh

The installer creates ${HERMES_HOME:-~/.hermes}/plugins/model-providers/ if necessary and symlinks the clone as vibe-cli-provider. It refuses to overwrite an existing installation at that path.

Installation variants

Copy the two plugin files instead of using a symlink:

./install.sh --copy

Use a non-default Hermes home:

HERMES_HOME=/custom/path ./install.sh

The symlink route is convenient for development, but it means a later git pull changes the code Hermes will use after its next restart. If you prefer a stable snapshot, use --copy after reviewing the clone at the commit you want.

Step 2: give the provider a Vibe plan key

Install Vibe if needed, then log in once:

vibe --setup

Choose browser login and complete the Mistral sign-in flow. The CLI stores the plan key in ~/.vibe/.env; the plugin reads it automatically at startup. Nothing needs to be copied into Hermes.

If you do not have the Vibe CLI yet, use Mistral’s official installation flow from the Vibe CLI repository.

Option B: Vibe API key from Advanced — no CLI required

  1. Go to Mistral Code → Extensions.
  2. Open Advanced on the Vibe CLI card.
  3. Copy the Vibe API Key. That area also shows Vibe usage and supports key rotation.
  4. On the machine that runs Hermes, open its secret file locally:
${EDITOR:-nano} ~/.hermes/.env
  1. Add this line in the local editor, replacing the placeholder only on your own machine:
VIBE_API_KEY=PASTE_YOUR_VIBE_KEY_HERE
  1. Save and close the editor. Do not commit that file.

VIBE_API_KEY takes priority over the Vibe CLI file. The plugin also accepts MISTRAL_VIBE_API_KEY; use only one key source unless you deliberately need an override.

Step 3: start a fresh Hermes process and choose the provider

Plugin discovery runs when Hermes starts, so a process that was already open before installation will not see it.

Start a new Hermes process and open the model picker:

hermes model

Choose Mistral Vibe CLI (Vibe plan quota), then choose a model. Good first choices are:

ModelContext windowReasoning effort
mistral-large-41Mnone, high
mistral-medium-latest256Knone, high
mistral-small-latest256Knone, high
zai-glm-5-31Mlow, high, max
codestral-latest256KNot applicable

The plugin also provides short aliases: vibe, fast, and glm.

If you use Hermes through a gateway, restart it after installing the provider:

hermes gateway restart

Step 4: verify the setup

hermes doctor

A healthy configuration should report the vibe-cli provider as configured with the VIBE_API_KEY key source. Then make a small, non-sensitive request in a new Hermes session before using it for real work.

Troubleshooting

The provider does not appear in hermes model

  • Fully restart Hermes; providers are discovered at startup.
  • Check that plugin.yaml and __init__.py exist beneath:
${HERMES_HOME:-~/.hermes}/plugins/model-providers/vibe-cli-provider/
  • Check that plugin.yaml contains kind: model-provider.
  • If you prefer the managed command, use hermes plugins install zan-keith/vibecli-hermes-plugin only on a Hermes version that supports model-provider install routing. The repository setup guide keeps ./install.sh as the dependable route.

The provider appears but no key is found

  • Re-run vibe --setup; make sure the same OS user starts Hermes.
  • Or use the Advanced key route and make sure ~/.hermes/.env contains VIBE_API_KEY.
  • If the Vibe CLI uses a different env-file location, set VIBE_ENV_FILE for the Hermes process.

A model returns HTTP 400

Update the plugin. Model families accept different reasoning-effort values; recent plugin versions map them before sending the request.

A model returns HTTP 401 or 402

  • 401 usually means the key was rejected, rotated, or not loaded. Generate/rotate the Vibe key in Code → Extensions → Advanced, then update your local secret.
  • 402 can mean the plan budget is exhausted. Check the Vibe plan and usage information in Mistral before retrying.

Updating and removing

For a symlink install:

cd vibecli-hermes-plugin
git pull

Review changes before pulling them, because the next Hermes restart picks up the updated code.

Remove the plugin with:

./uninstall.sh

Extra reading

The sensible default: use the plugin’s own install path, keep your key in a local secret file, restart Hermes after installation, and make the first request non-sensitive.