Skip to content
Mistral Vibe

Coding agents

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/v1 Endpoint: /v1/chat/completions
Every snippet below follows your choice.

Set it up

  1. Install Vibe

    Shell
    uv tool install mistral-vibe
  2. Add Shannon in config.toml

    Edit ~/.vibe/config.toml. The provider names the variable that holds the key; the model's alias is what active_model and --model refer to.

    ~/.vibe/config.toml
    active_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
  3. Export the key and run Vibe

    vibe opens a session. vibe -p runs one prompt and exits; --auto-approve lets it use tools without asking.

    Shell
    export SHANNON_API_KEY=YOUR_API_KEY
    vibe -p "Run the tests, fix what fails, then run them again." --auto-approve
    Mistral Vibe in a terminal on the Shannon model shannon-coder-1: it reports both cat_feeder.py fixes and the tests pass
    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 idContext windowMax outputImage 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.

SettingValueWhy
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

  1. --max-turns, --max-tokens and --max-price cap a headless run.
  2. enable_subagents = false in the config turns off the task tool, so a run makes one request at a time.
  3. --enabled-tools and --disabled-tools choose tools per run; vibe config schema prints every config key.
  4. --output json prints a machine-readable result for scripts.

Troubleshooting

SymptomCauseFix
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.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical