Mistral Vibe: Missing MISTRAL_API_KEY environment variable for mistral provider

Mistral Vibe's default mistral provider needs MISTRAL_API_KEY, and Vibe found it neither in the environment nor in the system keyring. The exact message, why Mistral Vibe prints it, and the fix.

Updated November 23, 2026 · Checked against Mistral Vibe 2.x to 3.0.2 (2026)., reproduced in EnvHaven 1.9.0

The message

Missing MISTRAL_API_KEY environment variable for mistral provider

What it means

Mistral Vibe’s default mistral provider needs MISTRAL_API_KEY, and Vibe found it neither in the environment nor in the system keyring.

Fix

  1. Create an API key on Mistral’s Vibe CLI page (chat.mistral.ai/code/extensions) and export MISTRAL_API_KEY=....
  2. Or run vibe interactively once and go through setup so it stores the key.
  3. If you use a local or self-hosted provider, update Vibe; 2.25.5 stopped such providers failing every turn with a missing MISTRAL_API_KEY error.

In an EnvHaven workspace

Yes, until Mistral Vibe is signed in once. Sign in once from the workspace’s Launch menu (Sign in, or Set key for an API key); the sign-in stays on the workspace, across restarts and on every device.

Where this comes from

This message was produced by Mistral Vibe (Mistral Vibe 2.x to 3.0.2 (2026).) itself, in a throwaway EnvHaven 1.9.0 container, on 2026-11-23; the text above is copied from that output.