Use Mistral Vibe with Shannon
Add Shannon as a provider and a model alias in Vibe's config.toml, then run Vibe on Shannon models.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 3 min
About Mistral Vibe
Mistral Vibe is Mistral AI's command-line coding agent. It reads and edits files, runs shell commands and searches the code base, with permission modes from ask to auto-approve. Its config takes any OpenAI-compatible provider, so it runs on Shannon models next to Mistral's own.
What you need
- A Shannon API key
- Keys & usage
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Install Vibe
Shelluv tool install mistral-vibe -
Add Shannon in config.toml
Edit
~/.vibe/config.toml. The provider names the variable that holds the key; the model'saliasis whatactive_modeland--modelrefer to.~/.vibe/config.tomlactive_model = "Kimi-K3-uncensored-NVFP4" [[providers]] name = "shannon" api_base = "https://api.shannon-ai.com/v1" api_key_env_var = "SHANNON_API_KEY" [[models]] name = "Kimi-K3-uncensored-NVFP4" provider = "shannon" alias = "Kimi-K3-uncensored-NVFP4" max_context_length = 1022976 max_output_tokens = 262144 supports_images = true -
Export the key and run Vibe
vibeopens a session.vibe -pruns one prompt and exits;--auto-approvelets it use tools without asking.Shellexport SHANNON_API_KEY=YOUR_API_KEY vibe -p "Run the tests, fix what fails, then run them again." --auto-approve
A real run on Mistral Vibe 3.1.0 in headless mode: both bugs fixed, all tests passing.
Check that it works
Send: What does this project do?
You should see: Vibe reads your files and answers with the Shannon model you set as active_model.
Models that fit Mistral Vibe
Every id below meets what Mistral Vibe needs. The first one is the default in the snippets.
| Model id | Context window | Max output | Image input |
|---|---|---|---|
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
shannon-coder-1 | 131,072 | 65,536 | No |
Kimi-K3.1-Pro-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
shannon-3 | 196,608 | 65,536 | Yes |
Model settings
Mistral Vibe asks for these values. They follow the model you picked.
| Setting | Value | Why |
|---|---|---|
max_context_length | 1022976 | The model's window; Vibe compacts before it. |
max_output_tokens | 262144 | The longest answer. |
Good to know
--model <alias>works only in headless mode (-p) and only for new sessions; in a session use the model picker.- In the interactive CLI, Vibe writes session titles with a background request to the active model.
[utility_models] title = "<alias>"points it at a cheaper model. - Vibe prints "Reading API keys from the system keyring" at start even when the variable is set; the key still comes from
SHANNON_API_KEY.
Tips
--max-turns,--max-tokensand--max-pricecap a headless run.enable_subagents = falsein the config turns off thetasktool, so a run makes one request at a time.--enabled-toolsand--disabled-toolschoose tools per run;vibe config schemaprints every config key.--output jsonprints a machine-readable result for scripts.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
401 | SHANNON_API_KEY is not set in the shell that starts Vibe. | Export it, or check that api_key_env_var names the right variable. |
| "Unknown model alias" | active_model or --model does not match an alias in [[models]]. | Use the alias exactly as written in the model block. |
404 Not Found | api_base lacks /v1. | Use https://api.shannon-ai.com/v1. |
401 Unauthorized | The key is missing, mistyped or rotated. | Copy the key again from Keys & usage; it starts with sk-. |
context_length_exceeded / "prompt is too long" | The conversation is longer than the model's window. | Start a new chat, let the tool compact it, or pick a model with a larger window. |
insufficient_quota | Your balance cannot pay for the request. | Top up or change plan; the request is not retried by itself. |
Questions
Does Mistral Vibe work with Shannon?
Yes, as a custom provider with the base URL https://api.shannon-ai.com/v1 and a model alias.
Can I keep Mistral's models too?
Yes: add Shannon as another [[providers]] entry and switch with active_model or the model picker.