GuidesHosting choices

Mistral Vibe CLI: install, sign-in, models and config (2026)

Mistral Vibe, Mistral's terminal coding agent: install with uv, sign in or use MISTRAL_API_KEY, plans, Mistral Large 4 default, local models, approvals, -p.

November 30, 2026The Everpod team
The short answer

Mistral Vibe (the vibe command) is Mistral AI’s open-source coding agent for the terminal, Apache 2.0. As of November 30, 2026 the current version is 3.1.5, released November 24. Install it with uv tool install --python 3.14 mistral-vibe (it needs Python 3.12 or later) or Mistral’s one-line installer, then run vibe in your project. Sign in with a Mistral account or set MISTRAL_API_KEY; the Free plan has limited coding sessions and Pro, at $14.99 a month before tax, is the plan Mistral sells for all-day coding. Since 3.1.3 the default model is Mistral Large 4. On a server over SSH, use the API key: the browser sign-in opens a browser on the machine Vibe runs on.

What Vibe is now

The repository describes it as “an open-source coding agent for your terminal”: it reads your code, edits files and runs commands, asking before the risky ones. The code is Apache 2.0, though the README says Mistral does not accept pull requests. It moves quickly: 3.0.0 reached PyPI on October 19, 2026, and ten releases followed in five weeks.

The name now covers more than the CLI. Mistral’s product page calls Vibe “Mistral’s AI chat assistant and agent for work and code”, and says “Le Chat is now Vibe”: the chat assistant and the coding agent now share one name and one plan. Vibe runs in the browser, in a desktop app, in VS Code (and in JetBrains and Zed over ACP), as remote agents, and in the terminal. This page is about the terminal one.

Installing it

The PyPI package is mistral-vibe, it requires Python 3.12 or later, and the commands it installs are vibe and vibe-acp. The install docs give two routes, both through uv:

# macOS and Linux: the installer (runs whatever the URL serves)
curl -LsSf https://mistral.ai/vibe/install.sh | bash

# any platform with uv; on Windows, install uv first
uv tool install --python 3.14 mistral-vibe
Copied

The installer URL redirects to scripts/install.sh in the repository, so that is the file to read before piping it to a shell. It never calls sudo. If uv is missing it fetches Astral’s installer pinned to one version and refuses to run it unless the SHA-256 matches; then it installs Vibe on CPython 3.14 and, if uv’s bin directory is not on your PATH, prints the export line to add rather than editing your shell profile. Run again, it upgrades an existing uv or Homebrew install.

Two catches from the README. Vibe needs a Python build with the GIL; if uv picks a free-threaded one, install the ordinary build and point at it explicitly. And if vibe is not found afterwards, uv’s tool directory is not on your PATH:

uv python install cpython-3.14
uv tool install --python cpython-3.14+gil mistral-vibe

uv tool update-shell    # then open a new terminal
Copied

Plain pip is not a route the docs or the README give. To update, run vibe update (or vibe --check-upgrade).

Signing in, and what it costs

The first run of vibe (or vibe --setup later) offers two ways in. Launch browser signs in with your Mistral account, and coding then counts against that account’s plan. Use an API key takes a key generated under Code > Vibe CLI at chat.mistral.ai/code/extensions, or a key from another compatible provider. The API key docs say a Mistral key “works in Free mode, with a paid plan, or with pay-as-you-go enabled”, that Vibe draws on the plan’s allowance before any pay-as-you-go charges, and that pay-as-you-go is off by default. Since 3.1.3, a box under the start banner says so when the key in use does not draw on your Pro plan, and /whoami explains it too.

The plans, from Mistral’s pricing page as of November 30, 2026, in US dollars a month before tax, with Pro and Team subject to fair-usage limits:

PlanPriceCoding with Vibe
Free
FreeLimited coding sessions
Pro
$14.99 ($5.99 for verified students)“Full access to Vibe for all-day coding and long-running tasks”
Team
$24.99 per userNot itemised on the pricing page
Enterprise
Contact salesNot itemised on the pricing page

Past the plan’s limit, pay-as-you-go continues “at API rate” once you turn it on. A key from another provider, or a local model, is billed by that provider or by nobody.

On a server over SSH

The browser sign-in opens the sign-in page with the browser of the machine Vibe is running on, then waits for it to complete. On a headless server there is none, and the sign-in code gives up with “Failed to open browser for sign-in.” The docs describe no sign-in for a machine without a browser, so on a server the key is the route. A server usually has no OS keyring either, and then Vibe keeps the key in ~/.vibe/.env, which the docs say is readable only by you. You can write that file yourself without the key landing in your shell history:

mkdir -p ~/.vibe
read -rsp 'Mistral API key: ' k; echo
(umask 077; printf 'MISTRAL_API_KEY=%s\n' "$k" >> ~/.vibe/.env); unset k
chmod 600 ~/.vibe/.env   # appends: delete any older MISTRAL_API_KEY line first
Copied

Vibe looks for the key in the shell environment first, then ~/.vibe/.env, then the keyring, so a stale MISTRAL_API_KEY exported in your shell profile beats the file. Install Vibe as the ordinary user who will run it; nothing in the install needs root. An interactive session ends when the SSH connection drops, so start it inside tmux and reattach later; for choosing the machine itself, see picking a VPS for a coding agent.

Which model it runs

The 3.1.3 release of November 18 made Mistral Large 4 the default. To stay on the previous default, set the built-in alias in ~/.vibe/config.toml:

active_model = "mistral-medium-3.5"
Copied

Mistral’s own pages do not agree on this yet: the pricing page still describes the Vibe CLI as powered by Devstral, while the release notes and the configuration docs name Mistral Large 4 as the default. Since 3.1.5, /model lists the models Mistral offers on your plan; for one run, --model takes an alias without changing your saved choice.

Other providers are added as a [[providers]] and a [[models]] entry. The docs’ example reaches Mistral Large 4 through OpenRouter, with the key in OPENROUTER_API_KEY (the OpenRouter key guide covers making one):

active_model = "ml4-openrouter"

[[providers]]
name = "openrouter"
api_base = "https://openrouter.ai/api/v1"
api_key_env_var = "OPENROUTER_API_KEY"
api_style = "openai"
backend = "generic"

[[models]]
name = "mistralai/mistral-large-4-0"
provider = "openrouter"
alias = "ml4-openrouter"
Copied

One requirement trips third-party and self-hosted servers: since 3.0.3, a reply that carries no token usage fails the turn, so the server must report usage in streamed replies (stream_options.include_usage). For a model Vibe does not know, set max_context_length in its [[models]] entry.

Local models

Vibe runs fully offline against any OpenAI-compatible local server, and needs no Mistral account to do it. The offline models page recommends vLLM and also lists llama.cpp, LM Studio and Ollama. A built-in preset named llamacpp already points at http://127.0.0.1:8080/v1 with no key, so a server on that port needs only a model entry. The docs’ example for Devstral Small 2:

active_model = "devstral-local"   # keep this above the first [[...]] table

[[providers]]
name = "local"
api_base = "http://localhost:8080/v1"
api_style = "openai"
backend = "generic"

[[models]]
name = "mistralai/Devstral-Small-2-24B-Instruct-2512"
provider = "local"
alias = "devstral-local"
Copied

The two models it suggests are Devstral Small 2, a dense 24B model tuned for agentic and code tasks, and Mistral Small 4, a 119B mixture of experts with 6.5B active parameters. For Devstral Small 2 the docs suggest an H100 or A100 at FP8 with about 128k of context, or a 24 GB card such as an RTX 4090 at 4-bit with 32k; Mistral Small 4 needs at least one 80 GB H100. To stop all outside calls, also set enable_telemetry = false and enable_update_checks = false.

Where the files are

Everything per user lives in ~/.vibe/; set VIBE_HOME to move it.

PathWhat it holds
~/.vibe/config.toml
Your settings, providers and models
.vibe/config.toml
A project’s settings: the closest one walking up from where you run Vibe, loaded only if the folder is trusted
~/.vibe/.env
API keys, when there is no OS keyring
~/.vibe/trusted_folders.toml
The folders you have trusted
~/.vibe/AGENTS.md
Your instructions for every project
~/.vibe/agents/
Custom agents, one .toml file each
~/.vibe/logs/
Logs

In a project, Vibe reads every AGENTS.md from the working directory up to the root of the trusted folder, and where they conflict the closest one wins (more on the file in what AGENTS.md is). Settings resolve, highest first: admin config, the active agent’s settings, command-line flags and /config changes, VIBE_<KEY> environment variables, the project file, then yours. vibe config schema prints a JSON schema for editor validation, and strict_config = true makes a misspelled key stop Vibe from starting instead of warning. Telemetry is on by default; the docs say “No prompts, file contents, or model outputs are sent,” and enable_telemetry = false turns it off.

Trust and approvals

Two separate gates. The first is the folder: started in an untrusted directory that holds trustable content, such as its own config or AGENTS.md, Vibe asks to Trust folder, Trust full repo or Don’t trust, and an untrusted folder’s .vibe/ config and AGENTS.md are ignored. --trust trusts it for one run without saving.

The second is each tool call. The safety docs describe four built-in modes:

ModeWhat it does without asking
ask
Nothing: asks before every tool
accept-edits (default)
Edits files in the working directory; still asks for shell commands and other sensitive tools
smart-approve
Runs calls a classifier judges safe and asks about the rest; the docs: “Smart approve is a classifier, not a sandbox.”
auto-approve
Everything, shell commands included

Shift+Tab switches mode in a session. Before 3.1.4 the mode came with the agent you picked (--agent, or default_agent in the config, which the docs pages still describe); the 3.1.4 release added --approval-policy and a default_approval_policy setting with the same four values, and says a session now runs that policy whatever its agent. The old settings keep working: a default_agent or --agent that names one of the four now sets the approval policy. The flag that approves everything is --auto-approve, or --yolo, and Mistral’s warning is short:

Pass --auto-approve (or --yolo) to approve every tool call, only in a sandboxed environment.
Copied

In that mode every command runs as your user, with that user’s rights, so the sandbox Mistral asks for is one you provide, such as a container or a throwaway machine. A middle ground is outside_workdir = "deny", which refuses file and shell access outside the working directory instead of asking, plus per-tool permissions in [tools.<name>] blocks. The safety docs add a limit: a shell tool checks only the paths written in the command, not paths a script builds as it runs.

Running it from a script

-p (or --prompt, or --prompt-file, or stdin) runs one task and exits. In that mode, in the docs’ words, “Nobody can answer an approval prompt, so Vibe denies any tool call that needs one,” and it never asks about trust: pass --trust if the project’s own config and AGENTS.md should load.

vibe --trust -p "Run the tests and summarise the failures" \
  --max-turns 20 --max-price 1 --output json

vibe --continue -p "Now fix the first failure"   # carry on the last session here
Copied

--output takes text (the final answer), json (the session’s messages at the end) or streaming (one JSON object per message). --max-turns, --max-tokens and --time-limit bound a run; --max-price caps it in dollars, though the docs call that figure “indicative only, not as a hard budget limit”, and a model with no known price counts as free. --enabled-tools limits the run to the tools you name, and --thinking sets the thinking level for that run only. Exit codes tell a script what happened: 0 finished, 1 could not start, 2 the model API or runtime failed, 3 stopped early on a limit, a stop or a refusal.

Where it sits among the other terminal agents

Vibe is closest in shape to Qwen Code: a model maker’s own open-source terminal agent that also takes keys from other providers and local servers. What sets it apart is the Python toolchain (uv rather than npm), Mistral’s own plan behind the sign-in, and a classifier mode between asking and approving everything. If you already pay for ChatGPT or Claude, that maker’s own agent uses the plan you have; the Claude Code alternatives and OpenCode alternatives guides set the field side by side.

Run Claude Code, Codex, OpenCode, Pi, Hermes or OpenClaw on an always-on developer pod.

A developer pod is a permanent cloud computer (VPS), set up and secured for you, with your pick of Claude Code, Codex, OpenCode, Pi, Hermes and OpenClaw installed. Run more agents at once than your laptop can hold, and keep them working when it’s closed. From $24 a month, built in about ten minutes.