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

URL: https://agentvera.dev/en/blog/how-to-use-mistral-vibe/ · Published: 2026-11-21

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.

**In short:**

- Install with curl -LsSf https://mistral.ai/vibe/install.sh | bash (or uv tool install mistral-vibe), run vibe in a project, then sign in with a Mistral plan or paste an API key in the setup wizard.
- Since version 3.1.3 the default model is Mistral Large 4. Shift+Tab cycles the approval policy (ask, accept-edits, smart-approve, auto-approve); accept-edits is the default.
- vibe -p runs one task headless with text, json or streaming output; -c and --resume reopen sessions. Settings live in ~/.vibe/config.toml, rules in AGENTS.md, MCP servers under [[mcp_servers]].

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](https://github.com/mistralai/mistral-vibe "Mistral Vibe on GitHub") 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

```bash
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](https://docs.astral.sh/uv/ "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

```bash
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:

| Policy | What it does |
|---|---|
| `ask` | Asks before every tool call |
| `accept-edits` (default) | Edits files without asking, asks before other tools |
| `smart-approve` | A classifier decides which calls are safe |
| `auto-approve` | Runs 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:

```toml
[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

```bash
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](/en/blog/claude-md-agents-md/ "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)

| Option | Price | Notes |
|---|---|---|
| Vibe CLI | Free | Apache-2.0 |
| Mistral Free | $0 | Limited coding sessions |
| Mistral Pro | $14.99/month | Usage shared across Vibe, Studio and the API |
| Mistral Team | $24.99/user/month | Admin and billing for teams |
| API | Mistral Large 4: $0.70 in / $2.10 out per million tokens | Prepaid pay-as-you-go |

Prices exclude tax. Check [Mistral’s pricing page](https://mistral.ai/pricing "Mistral pricing") 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](/en/ "AgentVera") is a desktop app that runs these CLIs side by side in real terminals, with your own installs and keys. [Mistral Vibe support](/en/agents/mistral-vibe/ "Mistral Vibe in AgentVera") 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](/en/features/mcp-manager/ "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](/en/features/workspace/ "Workspace") grid next to other agents and check their changes with [code review](/en/features/code-review/ "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](/en/download/ "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](https://github.com/mistralai/mistral-vibe "Mistral Vibe README"), [changelog](https://github.com/mistralai/mistral-vibe/blob/main/CHANGELOG.md "Mistral Vibe changelog"), [install and setup](https://docs.mistral.ai/vibe/code/cli/install-setup "Vibe install"), [configuration](https://docs.mistral.ai/vibe/code/cli/configuration "Vibe configuration"), [approvals and permissions](https://docs.mistral.ai/vibe/code/safety-approvals-permissions "Vibe permissions"), [programmatic mode](https://github.com/mistralai/mistral-vibe/blob/main/docs/programmatic-mode.md "Vibe programmatic mode"), [MCP servers](https://docs.mistral.ai/vibe/code/cli/mcp-servers "Vibe MCP"), [Mistral pricing](https://mistral.ai/pricing "Mistral pricing").

## Frequently asked 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.

---

**About AgentVera.** AgentVera is a desktop app for macOS, Windows and Linux, built by Solviera Teknoloji. It runs 18 AI coding agents (Claude Code, Codex, Gemini CLI, Copilot, Cursor, Antigravity, opencode, Hermes, Qwen Code, Kimi Code, Kiro, Amp, Droid, Goose, Vibe, Crush, Aider, Cline) side by side, per project, in real terminals with the user's own CLI installs and logins. The free plan runs 2 agents at once. Download: https://agentvera.dev/en/download/ · Pricing: https://agentvera.dev/en/pricing/
