Vibe CLI provider for Hermes — setup guide
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.shis the recommended route in its upstream setup guide. The generichermes plugins installroute 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.
- 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.gitcd vibecli-hermes-plugin - 02
Install into Hermes
The repository installer creates the model-provider path and refuses to overwrite an existing installation.
./install.shUse
./install.sh --copyif you do not want an active symlink back to the clone. - 03
Choose one key route
Recommended: use the official CLI once.
vibe --setupOr use the Vibe API key from Code → Extensions → Advanced. Add it locally to
~/.hermes/.envasVIBE_API_KEY=…; never paste it into a command, chat, or repository. - 04
Start fresh and select it
Provider discovery happens at Hermes startup. Start a new process, then choose the Vibe provider.
hermes modelhermes doctor
Then choose a model such as mistral-medium-latest or zai-glm-5-3.
What you need
- A working Hermes Agent installation.
- A Mistral Vibe plan with coding included.
- 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
Option A: official Vibe CLI — recommended
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
- Go to Mistral Code → Extensions.
- Open Advanced on the Vibe CLI card.
- Copy the Vibe API Key. That area also shows Vibe usage and supports key rotation.
- On the machine that runs Hermes, open its secret file locally:
${EDITOR:-nano} ~/.hermes/.env
- Add this line in the local editor, replacing the placeholder only on your own machine:
VIBE_API_KEY=PASTE_YOUR_VIBE_KEY_HERE
- 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:
| Model | Context window | Reasoning effort |
|---|---|---|
mistral-large-4 | 1M | none, high |
mistral-medium-latest | 256K | none, high |
mistral-small-latest | 256K | none, high |
zai-glm-5-3 | 1M | low, high, max |
codestral-latest | 256K | Not 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.yamland__init__.pyexist beneath:
${HERMES_HOME:-~/.hermes}/plugins/model-providers/vibe-cli-provider/
- Check that
plugin.yamlcontainskind: model-provider. - If you prefer the managed command, use
hermes plugins install zan-keith/vibecli-hermes-pluginonly on a Hermes version that supports model-provider install routing. The repository setup guide keeps./install.shas 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/.envcontainsVIBE_API_KEY. - If the Vibe CLI uses a different env-file location, set
VIBE_ENV_FILEfor 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
401usually means the key was rejected, rotated, or not loaded. Generate/rotate the Vibe key in Code → Extensions → Advanced, then update your local secret.402can 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
- Upstream setup guide
- Vibe CLI provider repository
- Hermes model configuration
- Hermes security guide
- Mistral Vibe
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.