This VS Code extension integrates Mistral Vibe CLI directly into your VS Code sidebar, allowing you to interact with Vibe without leaving your editor. The fist version 0.0.1 was based on Claude Code Sidebar by Rudi Wahyudi and was also using node-pty, xcode and xterm.js. Version 0.0.2 changed to use the default VSCode terminal which is a lot more lightweight and straightforward.
- UI Integration: Adds a Mistral Vibe icon above the VS Code editors, allowing you to open a Vibe session with a single click.
- VSCode Terminal: Opens a standard VSCode shell terminal (zsh/bash/etc.) to the right of your current editor and loads the Vibe CLI.
- Auto-start Vibe: Automatically runs the
vibecommand when the terminal opens - Auto Cleanup: Automatically closes the Vibe session when VS Code exits or restarts
Before installing this extension, make sure you have:
- VS Code (v1.85.0 or higher) - Download here
- Mistral Vibe CLI installed and accessible in your PATH
- Install with:
curl -LsSf https://mistral.ai/vibe/install.sh | bash - You can verify this by running
vibe --versionin your terminal - For more information, see Mistral Vibe documentation
- Install with:
Simply install the extension from the VS Code Marketplace or directly from this repository (see below).
git clone https://github.com/proud-commerce/VSCode-Mistral-Vibe-Sidebar
cd VSCode-Mistral-Vibe-Sidebarnpm installnpm run rebuildnpm run compileThis will compile the TypeScript code to JavaScript in the out directory.
There are two ways to install the extension locally:
-
Open the extension folder in VS Code:
code . -
Press
F5or go toRun > Start Debugging -
This will open a new VS Code window with the extension loaded
-
In the new window, you should see the Mistral Vibe icon in the activity bar (sidebar)
-
Install the
vscetool if you haven't already:npm install -g @vscode/vsce
-
Package the extension:
vsce package
This creates a
.vsixfile (e.g.,devstral-vibe-sidebar-0.0.2.vsix) -
Install the packaged extension:
- Open VS Code
- Go to Extensions view (
Ctrl+Shift+XorCmd+Shift+X) - Click the
...menu at the top - Select
Install from VSIX... - Choose the
.vsixfile you just created
-
Reload VS Code when prompted
- Click the Mistral Vibe icon above your current editor window
- A terminal will open in the sidebar (your default shell: zsh, bash, etc.)
- The extension automatically runs
vibecommand for you - You can now interact with Mistral Vibe directly in the terminal
- Windows/Linux:
Ctrl+Alt+V - macOS:
Cmd+Alt+V
- Type directly in the terminal - it's a real terminal with full functionality
- Use all Vibe commands and features as you normally would
- Use slash commands for configuration adjustments
- The terminal supports all standard terminal operations (copy, paste, keyboard shortcuts, etc.)
The terminal and Vibe session will automatically close when:
- You close VS Code
- You reload VS Code window (
Ctrl+RorCmd+R) - The extension is deactivated
You can also manually exit Vibe by typing exit or pressing Ctrl+D, then close the sidebar panel.
- Make sure the extension is installed correctly
- Try reloading VS Code (
Ctrl+RorCmd+R) - Check the Output panel (
View > Output) and select "Mistral Vibe Sidebar" for error messages
- Ensure the
vibecommand is in your system PATH - Try running
vibe --versionin your regular terminal - If it doesn't work, reinstall Vibe CLI:
curl -LsSf https://mistral.ai/vibe/install.sh | bash
- Check if Vibe CLI is working correctly outside VS Code
- Look at the VS Code Developer Console (
Help > Toggle Developer Tools) for error messages - Make sure you have the latest version of Vibe installed
- The extension tries to clean up automatically, but if you notice lingering processes:
- Check running processes:
ps aux | grep vibe - Manually kill if needed:
kill <process-id>
- Check running processes:
The extension supports the following settings:
| Setting | Default | Description |
|---|---|---|
devstralVibeSidebar.command |
vibe |
The command to run in the terminal |
devstralVibeSidebar.additionalArgs |
`` | Additional arguments to pass to the Vibe command |
sidebar-devstral-vibe-vscode-extension/
├── src/
│ └── extension.ts # Main extension code
├── resources/
│ └── devstral-logo.svg # Extension icon
├── out/ # Compiled JavaScript (generated)
├── package.json # Extension manifest
├── tsconfig.json # TypeScript configuration
└── README.md # This file
- Edit the TypeScript files in
src/ - Compile:
npm run compile - Test using
F5(Extension Development Host) - Package and install for production use
For active development, you can use watch mode to automatically recompile on changes:
npm run watchThe extension:
- Creates a webview in the VS Code sidebar
- Launches a new VSCode terminal in the webview
- Automatically sends the
vibecommand to the terminal after it starts - Provides full terminal functionality with proper input/output handling
Mistral Vibe is an open-source command-line coding assistant powered by Mistral / Devstral from Mistral AI. It allows you to explore, modify, and execute changes across your codebase using natural language.
Key features:
- Project Awareness: Automatically scans file structure and Git status
- Smart References: Reference files with
@, execute shell commands with! - Multi-file Orchestration: Understands entire codebases for architecture-level reasoning
- Persistence: Persistent history, autocompletion, and customizable themes
For more information, visit Mistral AI.
MIT
Contributions are welcome! Please feel free to submit issues or pull requests.
If you encounter any issues or have questions:
- Check the Troubleshooting section above
- Open an issue on GitHub
- Check the Devstral Vibe documentation
