Mistral AI for GitHub Copilot Chat
Integrate Mistral AI's powerful language models directly into GitHub Copilot Chat
🌐 Mistral AI •
📖 API Docs •
🔑 Get API Key
✨ Features
- 🚀 Agentic Coding Models - Devstral 2 and Devstral Small 2 optimized for software engineering
- 🧠 Flagship AI Models - Access Mistral Large 3 (675B MoE) and Mistral Medium 3.1
- 💬 Native Integration - Works seamlessly with VS Code's GitHub Copilot Chat
- 🔧 Tool Calling - Function calling support for agentic workflows
- 🔒 Secure - API key stored using VS Code's encrypted secrets API
- ⚡ Streaming - Real-time response streaming for faster interactions
- 📦 256k Context - Process entire codebases with massive context windows
📦 Available Models
| Model |
Context |
Description |
Best For |
| Devstral Small 2 |
256k tokens |
Compact agentic coding model |
Local deployment, efficient coding |
| Devstral 2 |
256k tokens |
Frontier agentic coding model |
Complex software engineering tasks |
| Mistral Large 3 |
256k tokens |
675B MoE flagship multimodal |
General-purpose, vision, reasoning |
🚀 Installation
- Install from VS Code Marketplace (or install the
.vsix file)
- Open Command Palette (
Ctrl+Shift+P / Cmd+Shift+P)
- Run:
Mistral: Manage API Key
- Enter your API key from console.mistral.ai
🔑 Getting Your API Key
- Go to Mistral AI Console
- Sign up or log in with your account
- Navigate to API Keys section
- Click Create new key
- Copy the key and paste it into VS Code when prompted
💡 Tip: Devstral models are currently free during the introductory period!
💬 Usage
- Open GitHub Copilot Chat panel in VS Code
- Click the model selector dropdown
- Choose a Mistral AI model:
Devstral 2 for complex coding tasks
Devstral Small 2 for efficient coding
Mistral Large 3 for general-purpose tasks
Mistral Medium 3.1 for balanced performance
- Start chatting!
Example Prompts
@workspace Explain the architecture of this project
Help me refactor this function to be more efficient
Write unit tests for the selected code
🔧 Requirements
- VS Code 1.104.0 or higher
- GitHub Copilot Chat extension installed
- A valid Mistral AI API key
🛡️ Privacy & Security
- Your API key is stored securely using VS Code's encrypted secrets API
- No data is stored by this extension - all requests go directly to Mistral AI
- See Mistral AI Privacy Policy for details
📚 Resources
📝 Changelog
0.1.0 (December 2025)
- Initial release with Devstral 2 and Devstral Small 2 models
- Added Mistral Large 3
- Implemented streaming chat completions
- Added tool calling support
- Secured API key storage
📄 License
MIT License - See LICENSE for details.
Made with ❤️ for developers by OEvortex (@OEvortex)
| |