Mistral Vibe CLI Agent
Mistral Vibe is a minimal command-line interface (CLI) coding agent developed by Mistral AI, currently at version 2.7.5. It provides a conversational interface to interact with a codebase, allowing developers to use natural language for tasks like exploring, modifying, and interacting with projects through a powerful set of integrated tools. The library maintains an active development pace with frequent updates, often multiple releases within a month, focusing on new features, performance improvements, and bug fixes.
Common errors
-
Error: API error from mistral (model: mistral-vibe-cli-latest): LLM backend error...
cause The Mistral API key is either not provided, invalid, or there's a transient issue with the Mistral backend.fixEnsure `MISTRAL_API_KEY` is correctly set as an environment variable (e.g., `export MISTRAL_API_KEY="YOUR_KEY"`) or configured via `vibe --setup`. Verify your API key's validity on the Mistral AI console. -
Error: API error from mistral (model: mistral-vibe-cli-latest): Ratelimit exceeded.
cause Too many rapid requests were sent to the Mistral API within a short period, hitting rate limits.fixReduce the frequency of your requests, wait a short period before retrying, or check if `--auto-approve` is causing too many rapid tool calls. -
Requires-Python-Error: mistral-vibe requires Python >=3.12...
cause The Python environment being used is older than version 3.12.fixUpgrade your Python installation to version 3.12 or newer, or switch to a virtual environment configured with Python 3.12+. -
Command 'vibe' not found
cause The `mistral-vibe` package's executable is not in your system's PATH, or the installation failed.fixEnsure `pip install mistral-vibe` completed successfully. If using a virtual environment, ensure it's activated. On Linux/macOS, consider the `curl` installer or `uv tool install mistral-vibe` to ensure the executable is correctly placed and linked.
Warnings
- breaking With Mistral Vibe 2.0 (released January 2026), the underlying Devstral 2 model shifted from free testing to a paid offering, bundled with Mistral's Le Chat plans. Direct API key usage might incur charges, and access might require specific plans.
- gotcha A Mistral API key is mandatory for most operations and must be configured via `vibe --setup`, the `MISTRAL_API_KEY` environment variable, or a `.env` file in `~/.vibe/`. Without it, Vibe will prompt for the key or fail.
- gotcha While Mistral Vibe works on Windows, it officially supports and targets UNIX environments (Linux and macOS). Users on Windows might encounter specific issues or limitations.
- gotcha Users may encounter 'Ratelimit exceeded' errors or 'LLM backend error' during rapid sequential requests to the Mistral API, leading to halted execution. The CLI might not automatically retry or regulate requests effectively in all scenarios.
- gotcha Mistral Vibe explicitly requires Python 3.12 or newer. Using older Python versions will lead to installation or runtime errors.
Install
-
pip install mistral-vibe -
uv tool install mistral-vibe -
curl -LsSf https://mistral.ai/vibe/install.sh | bash
Quickstart
export MISTRAL_API_KEY="$MISTRAL_API_KEY" cd /path/to/your/project vibe # Interact with the agent, e.g., type: > Can you find all instances of 'TODO'?