Invite a friend, get 1 month of Pro freeHow it works

How to use Mistral Vibe: a step-by-step guide to the Vibe CLI

How to use Mistral Vibe, Mistral’s terminal coding agent: install with uv, sign in or add a key, pick approval policies, run vibe -p headless, resume sessions, add MCP.

Solviera Teknoloji 7 min read

To use Mistral Vibe, you install it with curl -LsSf https://mistral.ai/vibe/install.sh | bash (or uv tool install mistral-vibe on Windows), run vibe inside a project, sign in with a Mistral plan or paste an API key, then describe the task. Since version 3.1.3 the default model is Mistral Large 4, not Devstral, and by default Vibe accepts file edits without asking but asks before other tools.

This guide covers Mistral Vibe as of November 2026 (version 3.1.4): install, sign-in, models, the interface, approval policies, headless runs, sessions, configuration, AGENTS.md, skills, MCP and costs.

What Mistral Vibe is

Mistral Vibe is Mistral AI’s coding agent for the terminal. It is written in Python, has a Rust-based terminal interface since version 3.0, and is licensed Apache-2.0. Mistral releases often: 3.1.4 shipped on 20 November 2026, together with the announcement of a desktop app for macOS and Windows.

Vibe is built around Mistral’s own models but works with any OpenAI-compatible provider and with local models.

Step 1: install

curl -LsSf https://mistral.ai/vibe/install.sh | bash    # macOS and Linux
uv tool install --python 3.14 mistral-vibe              # Windows, or any OS with uv

The script installs uv if needed, then vibe and vibe-acp (the editor integration). Vibe needs Python 3.12 or newer. Avoid Python 3.15 and free-threaded builds for now; if the install picked one, run uv tool install --force --python 3.14 mistral-vibe. Update later with vibe update.

Step 2: sign in or add a key

cd my-project
vibe

The first run opens a setup wizard: sign in through the browser with a Mistral plan, or paste an API key from the Mistral console. Run vibe --setup to see it again. Vibe looks for the key in this order: MISTRAL_API_KEY in your shell, ~/.vibe/.env, then the system keyring. Inside a session, /status and /whoami show which one it is using.

Step 3: pick a model

The default is Mistral Large 4 (mistral-large-4-0) and Mistral Medium 3.5 is built in. Switch with /model in a session, --model <alias> on the command line or active_model in the config.

For other providers or a local model, add a provider and a model to config.toml. Vibe speaks the OpenAI-compatible API, so OpenRouter, vLLM, llama.cpp, LM Studio and Ollama all work; there is also a ready llamacpp preset for a server on 127.0.0.1:8080.

Many guides from early 2026 still say Vibe runs on Devstral. That changed: the devstral-2 alias now points to Mistral Medium 3.5.

Step 4: work in a session

Describe the task in plain words. The basics:

  • @file attaches a file; !command runs a shell command yourself; / opens the command picker.
  • /model, /config and /thinking change the setup; /compact shortens a long conversation and /context shows what fills it.
  • /resume opens a past session, /branch forks the current one and /rewind (or Esc Esc) steps back.
  • /mcp, /skills, /loop and /pr manage servers, skills, repeated tasks and pull requests.
  • Ctrl+O shows or hides tool output, Ctrl+G opens your editor, Ctrl+R searches your history.

Step 5: approval policies

Vibe has four approval policies, and Shift+Tab cycles through them:

PolicyWhat it does
askAsks before every tool call
accept-edits (default)Edits files without asking, asks before other tools
smart-approveA classifier decides which calls are safe
auto-approveRuns everything (--auto-approve or --yolo)

smart-approve is a classifier, not a sandbox, so do not treat it as protection on a machine you care about. For finer control, set a permission per tool in the config, keep bash allow and deny lists, and stop Vibe from touching files outside the project:

[tools.bash]
permission = "ask"
denylist = ["rm -rf", "git push"]

The outside_workdir = "deny" setting keeps Vibe inside the project folder.

Version 3.1.4 separated agents from approval policies: safety and permission settings inside custom agent files are now ignored, and some docs pages still describe the old behaviour.

Step 6: headless runs

vibe -p "add a unit test for the price formatter" --output json
git diff | vibe -p "review this diff for bugs"
vibe -p "update the changelog" --max-turns 10 --max-price 0.50 --auto-approve

--output takes text, json or streaming. Useful limits are --max-turns, --max-price, --max-tokens and --time-limit. In headless mode, any tool call that would need approval is denied unless you pass --auto-approve, and the project’s .vibe/config.toml is loaded only with --trust.

Step 7: sessions and configuration

vibe -c continues the last session and vibe --resume <id> opens a specific one. Sessions are saved under ~/.vibe/logs/session.

Settings live in ~/.vibe/config.toml, plus .vibe/config.toml in the project, which Vibe loads only in folders you have marked as trusted. VIBE_HOME moves the whole ~/.vibe folder, and any key can be overridden with a VIBE_<KEY> environment variable.

Step 8: AGENTS.md, skills, agents and MCP

Rules. Vibe reads ~/.vibe/AGENTS.md and every AGENTS.md from the working folder up to the trusted root. A file you already keep for Codex or other agents works as is; our guide to CLAUDE.md and AGENTS.md covers what to put in it.

Skills. Vibe follows the Agent Skills format (SKILL.md) and looks in .vibe/skills, .agents/skills and ~/.vibe/skills.

Custom agents. TOML files in ~/.vibe/agents/ or .vibe/agents/ define agents; agent_type = "subagent" makes one Vibe can hand work to. This is also how you build a read-only planning agent, since there is no plan mode out of the box.

MCP. Add servers with vibe mcp add or under [[mcp_servers]] in the config. Vibe supports stdio, http and streamable-http, with OAuth, but not SSE. Tools appear as server_tool.

What Mistral Vibe costs (as of November 2026)

OptionPriceNotes
Vibe CLIFreeApache-2.0
Mistral Free$0Limited coding sessions
Mistral Pro$14.99/monthUsage shared across Vibe, Studio and the API
Mistral Team$24.99/user/monthAdmin and billing for teams
APIMistral Large 4: $0.70 in / $2.10 out per million tokensPrepaid pay-as-you-go

Prices exclude tax. Check Mistral’s pricing page before you decide.

Common pitfalls

  • Old versions with shell-permission bypasses. Mistral’s advisory MAI-2026-003 lists six ways to get around the shell permission checks, fixed in 2.25.4. Run vibe update if you are behind.
  • Devstral guides. The default model changed twice in 2026; check /model instead of trusting an old tutorial.
  • Wrong Python. Python 3.15 and free-threaded builds break the install; pin 3.14 with uv.
  • Project config ignored. .vibe/config.toml loads only in trusted folders, and in headless runs only with --trust.
  • Linux clipboard. Copy and paste in the interface have an open issue on Linux.

Running Mistral Vibe next to other CLIs in AgentVera

If Vibe is the only agent you use, its own interface may be all you need. It gets harder when Vibe runs next to Claude Code, Codex or Gemini CLI on the same project. AgentVera is a desktop app that runs these CLIs side by side in real terminals, with your own installs and keys. Mistral Vibe support works like this:

  • One session per agent. AgentVera finds the session Vibe saves for the project and reopens it with --resume <id> on later launches, so the conversation survives an app restart.
  • Model and permissions. The model you pick reaches Vibe as its active model, and the full-permission setting starts it with --auto-approve.
  • An account per agent. Each Vibe account in Settings → Accounts gets its own Vibe folder, settings and Mistral key, while session logs stay shared.
  • MCP. Servers from AgentVera’s MCP manager reach Vibe through its config; SSE servers are left out because Vibe does not support them.
  • Panes and review. Run Vibe in the workspace grid next to other agents and check their changes with code review.

The free plan runs 2 agents at once and includes MCP, Git, Docker, SSH, code review and token savings. Pro is $9.99 a month and has no agent limit; you can try Pro free for 7 days; cancel before it ends and you pay nothing. To try it, download AgentVera.

Wrapping up

Mistral Vibe takes two steps to start: install it and run vibe, then sign in or paste a key. The choices that matter come next: pick the approval policy that fits the repository, keep the project’s rules in AGENTS.md, put tool permissions in config.toml, and give headless runs a turn and price limit.

Sources: Mistral Vibe on GitHub, changelog, install and setup, configuration, approvals and permissions, programmatic mode, MCP servers, Mistral pricing.

Questions

Is Mistral Vibe free?

The CLI is free and Apache-2.0 licensed. You pay for the model: a Mistral plan (Free with limited coding sessions, Pro at $14.99 a month, Team at $24.99 per user a month as of November 2026) or API usage, where Mistral Large 4 costs $0.70 per million input tokens and $2.10 per million output tokens. Plan usage is shared between Vibe, Studio and the API.

Which model does Mistral Vibe use?

Mistral Large 4 by default since version 3.1.3, with Mistral Medium 3.5 also built in. Older guides mention Devstral; the devstral-2 alias was moved to Mistral Medium 3.5 in version 2.9.1. Switch with /model or --model.

Can Mistral Vibe use local models or other providers?

Yes. Any OpenAI-compatible API works through [[providers]] and [[models]] blocks in config.toml, including OpenRouter, vLLM, llama.cpp, LM Studio and Ollama. There is also a built-in llamacpp preset for a server on 127.0.0.1:8080.

How do I resume a Mistral Vibe session?

vibe -c (or --continue) reopens the last session, and vibe --resume <id> reopens a specific one. /resume does the same inside a session. Sessions are saved under ~/.vibe/logs/session.

Does Mistral Vibe have a plan mode?

Not built in as of version 3.1.4. You can define your own read-only agent in ~/.vibe/agents/ or .vibe/agents/, or use the ask approval policy so every edit waits for you.

Bring your agents to one desk.

Download AgentVera for free; your installed CLIs are ready to go.

More posts