Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

mistral-vibe

> 编程语言
Open source

Minimal CLI coding agent by Mistral

4.8K stars0 likes0 views
WebsiteGitHub

About

Minimal CLI coding agent by Mistral

Mistral Vibe

██████████████████░░
██████████████████░░
████  ██████  ████░░
████    ██    ████░░
████          ████░░
████  ██  ██  ████░░
██      ██      ██░░
██████████████████░░
██████████████████░░

Mistral's open-source CLI coding assistant.

Mistral Vibe is a command-line coding assistant powered by Mistral's models. It provides a conversational interface to your codebase, allowing you to use natural language to explore, modify, and interact with your projects through a powerful set of tools.

[!WARNING] Mistral Vibe works on Windows, but we officially support and target UNIX environments.

One-line install (recommended)

Linux and macOS

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

Windows

First, install uv

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Then, use uv command below.

Using uv

uv tool install mistral-vibe

Using pip

pip install mistral-vibe

Table of Contents

  • Features
    • Built-in Agents
    • Subagents and Task Delegation
    • Interactive User Questions
  • Terminal Requirements
  • Quick Start
  • Usage
    • Interactive Mode
    • Trust Folder System
    • Programmatic Mode
  • Voice Mode
  • Slash Commands
    • Built-in Slash Commands
    • Custom Slash Commands via Skills
  • Skills System
    • Creating Skills
    • Skill Discovery
    • Managing Skills
  • Configuration
    • Configuration File Location
    • API Key Configuration
    • OpenTelemetry Tracing
    • Custom System Prompts
    • Custom Agent Configurations
    • Tool Management
    • MCP Server Configuration
    • Session Management
    • Update Settings
    • Custom Vibe Home Directory
  • Editors/IDEs
  • Resources
  • Data collection & usage
  • License

Features

  • Interactive Chat: A conversational AI agent that understands your requests and breaks down complex tasks.
  • Powerful Toolset: A suite of tools for file manipulation, code searching, version control, and command execution, right from the chat prompt.
    • Read, write, and patch files (read, write_file, edit).
    • Execute shell commands, with managed shell sessions, polling, and stdin helpers available during rollout.
    • Recursively search code with grep (with ripgrep support).
    • Manage a todo list to track the agent's work.
    • Ask interactive questions to gather user input (ask_user_question).
    • Delegate tasks to subagents for parallel work (task).
  • Project-Aware Context: Vibe automatically scans your project's file structure and Git status to provide relevant context to the agent, improving its understanding of your codebase.
  • Advanced CLI Experience: Built with modern libraries for a smooth and efficient workflow.
    • Autocompletion for slash commands (/) and file paths (@).
    • Image attachments via @ mentions — .png, .jpg, .jpeg, .gif, .webp files are sent to vision-capable models (e.g. Mistral Medium 3.5) as native multimodal content.
    • Persistent command history.
    • Beautiful Themes.
  • Highly Configurable: Customize models, providers, tool permissions, and UI preferences through a simple config.toml file.
  • Safety First: Features tool execution approval.
  • Multiple Built-in Agents: Choose from different agent profiles tailored for specific workflows.

Built-in Agents

Vibe comes with several built-in agent profiles, each designed for different use cases:

  • ask: Requires approval for tool executions.
  • plan: Read-only agent for exploration and planning. Auto-approves safe tools like grep and read.
  • accept-edits: The default agent. Auto-approves file edits only (write_file, edit). Useful for code refactoring.
  • auto-approve: Auto-approves all tool executions. Use with caution.

Use the --agent flag to select a different agent:

vibe --agent plan

To change the default agent used when --agent is not passed, set default_agent in your config.toml:

default_agent = "plan"

Valid values are ask, plan, accept-edits, auto-approve, lean (only when listed in installed_agents), or the name of any custom agent file in ~/.vibe/agents/ or the project's .vibe/agents/ directory. Subagents such as explore are not accepted.

Note: default_agent applies in both interactive and programmatic (-p / --prompt) sessions. Pass --auto-approve or --yolo with any agent when a run should approve all tool calls without prompting.

Subagents and Task Delegation

Vibe supports subagents for delegating tasks. Subagents run independently and can perform specialized work without user interaction, preventing the context from being overloaded.

The task tool allows the agent to delegate work to subagents:

> Can you explore the codebase structure while I work on something else?

 I'll use the task tool to delegate this to the explore subagent.

> task(task="Analyze the project structure and architecture", agent="explore")

Create custom subagents by adding agent_type = "subagent" to your agent configuration. Vibe comes with a built-in subagent called explore, a read-only subagent for codebase exploration and skill loading used internally for delegation.

Interactive User Questions

The ask_user_question tool allows the agent to ask you clarifying questions during its work. This enables more interactive and collaborative workflows.

> Can you help me refactor this function?

 I need to understand your requirements better before proceeding.

> ask_user_question(questions=[{
    "question": "What's the main goal of this refactoring?",
    "options": [
        {"label": "Performance", "description": "Make it run faster"},
        {"label": "Readability", "description": "Make it easier to understand"},
        {"label": "Maintainability", "description": "Make it easier to modify"}
    ]
}])

The agent can ask multiple questions at once, displayed as tabs. Each question supports 2-4 options plus an automatic "Other" option for free text responses.

Terminal Requirements

Vibe's interactive interface requires a modern terminal emulator. Recommended terminal emulators include:

  • WezTerm (cross-platform)
  • Alacritty (cross-platform)
  • Ghostty (Linux and macOS)
  • Kitty (Linux and macOS)

Most modern terminals should work, but older or minimal terminal emulators may have display issues.

Quick Start

  1. Navigate to your project's root directory:

    cd /path/to/your/project
    
  2. Run Vibe:

    vibe
    
  3. If this is your first time running Vibe, it will:

    • Use built-in defaults without creating a configuration file until you save a setting
    • Prompt you to enter your API key if it's not already configured
    • Save your API key to ~/.vibe/.env for future use

    Alternatively, you can configure your API key separately using vibe --setup.

  4. Start interacting with the agent!

    > Can you find all instances of the word "TODO" in the project?
    
     The user wants to find all instances of "TODO". The `grep` tool is perfect for this. I will use it to search the current directory.
    
    > grep(pattern="TODO", path=".")
    
    ... (grep tool output) ...
    
     I found the following "TODO" comments in your project.
    

Usage

Interactive Mode

Simply run vibe to enter the interactive chat loop.

  • Multi-line Input: Press Ctrl+J or Shift+Enter for select terminals to insert a newline.
  • File Paths: Reference files in your prompt using the @ symbol for smart autocompletion (e.g., > Read the file @src/agent.py). A bare @ quickly lists immediate non-hidden entries; after a path character, Git workspaces suggest tracked and non-ignored files. Pasting a standalone existing absolute or home-relative file or folder also creates a mention.
  • Shell Commands: Prefix any command with ! to execute it directly in your shell, bypassing the agent (e.g., > !ls -l).
  • External Editor: Press Ctrl+G to edit your current input in an external editor.
  • Tool Output Toggle: Press Ctrl+O to toggle the tool output view.
  • Todo View Toggle: Press Ctrl+T to toggle the todo list view.
  • Debug Console: Press Ctrl+\ to toggle the debug console.
  • Agent Selection: Press Shift+Tab to cycle through agents (ask, plan, ...).
  • Queueing: Prompts submitted while the agent is working are queued by the app server. Empty Enter or Ctrl+Enter steers the queued prompts into the active turn; on Unified Harness sessions, this atomically consumes the stored queue item. Ctrl+C removes the newest queued prompt. Escape interrupts the active turn and pauses remaining prompts, and Enter resumes a paused queue. Shell commands and non-side-channel slash commands require an idle session.
  • Exit: Type /exit, exit, quit, :q, or :quit in the input box, or press Ctrl+C / Ctrl+D twice within ~1 second. Set ask_confirmation_on_exit = false (or toggle it in /config) to make Ctrl+D quit on the first press; Ctrl+C always requires confirmation.

Copying & Text Selection

  • Copy: Use Ctrl+Y or Ctrl+Shift+C to copy the current selection to clipboard. With autocopy enabled (default via autocopy_to_clipboard = true), mouse selection automatically copies on release and shows a brief confirmation.
  • Multi-click selection: Double-click selects a word, triple-click selects the paragraph. Dragging extends the selection at the same granularity.

You can start Vibe with a prompt using the following command:

vibe "Refactor the main function in cli/main.py to be more modular."

Trust Folder System

Vibe includes a trust folder system to ensure you only run the agent in directories you trust. When you first run Vibe in a new directory which contains a .vibe subfolder, it may ask you to confirm whether you trust the folder.

Trusted folders are remembered for future sessions. You can manage trusted folders through its configuration file ~/.vibe/trusted_folders.toml.

This safety feature helps prevent accidental execution in sensitive directories.

Programmatic Mode

You can run Vibe non-interactively by piping input or using the --prompt flag. This is useful for scripting.

vibe --prompt "Refactor the main function in cli/main.py to be more modular."

By default, it uses your configured default_agent (accept-edits unless changed). To approve all tool calls without prompting, pass --auto-approve or --yolo (also available for interactive sessions):

vibe --prompt "Refactor the main function in cli/main.py to be more modular." --auto-approve

Programmatic Mode Options

When using --prompt, you can specify additional options:

  • --max-turns N: Limit the maximum number of assistant turns. The session will stop after N turns.
  • --max-price DOLLARS: Set a maximum cost limit in dollars. The session will be interrupted if the cost exceeds this limit.
  • --max-tokens N: Set a maximum cumulative LLM token budget for the session, counting both prompt and completion tokens. The session will be interrupted if usage exceeds this limit.
  • --agent NAME: Se

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言