Open-source CLI agent for developers who maintain real codebases

Devstral 2

Built for refactoring and understanding large repositories — not toy examples. Use open-source AI models through a native CLI workflow to make real changes across real codebases.

Top-tier performance on real-world coding benchmarks, with strong results on multi-file refactors and repo-level reasoning.

Install the Vibe CLI and start refactoring a real repo in minutes.

$ vibe
> Describe your change:
Refactor this repo to remove blocking I/O
Running...

Why developers choose Devstral

Built for real codebases

Devstral models are designed to understand and modify large, multi-file projects. They reason across architecture, dependencies, and long-term context — not just single snippets.

Native CLI workflow

Describe the change you want to make to your repo in natural language. The agent handles execution across files.

Open-source, permissive, and transparent

Both Devstral 2 and Devstral Small 2 are released under permissive licenses. Run them locally, deploy on-prem, or integrate them into your own workflows without lock-in.

Efficient by design

Devstral models achieve strong coding performance with significantly fewer parameters. Lower compute costs, faster iteration, and practical deployment on real hardware.

Install and start in minutes

Install Mistral Vibe

If you're comfortable with a terminal, you're ready to start. Run the following command to install the Vibe CLI:

curl -LsSf https://mistral.ai/vibe/install.sh | bash

The CLI works on macOS and Linux. No account required to get started.

Why safe?View script
What the script does (high level)
  • Downloads the Vibe CLI binary for your platform
  • Installs it to a standard location and updates PATH guidance
  • Does not require an account to get started
Your first command

Once installed, start an interactive session:

vibe

This opens an interactive coding session, not a one-off command.

Choose the model that fits your workflow

Devstral 2 (123B)

Default choice for serious repositories.

  • Deep reasoning across complex codebases
  • Strong performance on real-world coding benchmarks
  • Designed for enterprise and high-end deployments

For those working with large repositories, complex systems, or multi-team codebases.

Devstral Small 2 (24B)

For local-first workflows and experimentation.

  • Runs on consumer hardware
  • Ideal for experimentation and local automation
  • Strong performance relative to its size

For running models locally or prototyping quickly.

What you actually use Devstral for

Explore unfamiliar codebases and understand architecture
Refactor logic across multiple files consistently
Automatically fix bugs and modernize legacy code
Generate tests and improve code quality
Automate repetitive engineering tasks from the CLI

More coming soon

Step-by-step tutorials
Coming soon

Guided lessons showing how to use Devstral and Vibe CLI in real projects. From first steps to advanced workflows.

Learn more
API documentation
Coming soon

Detailed API references, examples, and SDK usage for integrating Devstral models into your applications.

Learn more
Model downloads and deployment guides
Coming soon

Instructions for downloading, deploying, and running Devstral models locally or on your infrastructure.

Learn more