Tutto.Download for your AI (.md)Praxis
Setup guide

VS Code with Claude and Mistral

From a fresh install to your first task with two AI agents. Six steps, each with the screen you should see.

Updated
October 2026
Time needed
About 30 minutes
Step 01

Install VS Code

VS Code is a free editor from Microsoft. It is where Claude and Mistral will read and write your files.

  1. Go to code.visualstudio.com/download.
  2. Windows: download the User Installer and run it. Accept the licence, keep the default folder, leave Add to PATH ticked, then click Install and Finish. No admin rights needed.
  3. Mac: download the Universal build, open the .zip and drag Visual Studio Code into Applications.
  4. Open VS Code. You should see the empty window in Fig. 1.
Step 02

Find your way around the screen

Three areas matter: the file navigator on the left, your files in the middle, and the AI panel on the right. Four buttons in the top-right corner show and hide them.

Empty VS Code window with the four layout buttons in the top-right corner 1
Fig. 1 A fresh window. Nothing is open yet.
  1. 1The layout buttons, left to right: customise layout, left side bar (files), bottom panel (terminal), right side bar (AI chat). Click one to show it; click again to hide it.

The left side bar holds the Explorer, your file navigator. Open a working folder before you start, so the agents know where to work.

Explorer open in the left side bar with an Open Folder button 123
Fig. 2 Explorer open, no folder chosen yet.
  1. 1Explorer icon. Click to open the file navigator; click again to minimise it.
  2. 2Open Folder. Pick or create a working folder for the session.
  3. 3The left side bar button does the same as the Explorer icon. Shortcut ⌘B / Ctrl+B.

Use a practice folder. Create an empty folder such as Desktop/New for training. Keep real case files out of it until the team is comfortable with how the agents behave.

Step 03

Install the Claude and Mistral extensions

Both agents are free extensions. Many look-alikes exist, so check the publisher before you click Install.

Extensions view open with its search box at the top 12
Fig. 3 The Extensions view. Shortcut ⇧⌘X / Ctrl+Shift+X.
  1. 1Extensions icon in the left-hand bar.
  2. 2Search box. Type the extension name here.
Search results for claude with Claude Code for VS Code by Anthropic selected 123
Fig. 4 Search for claude and pick the official extension.
  1. 1Claude Code for VS Code, published by Anthropic with a verified tick. Click Install.
  2. 2Publisher: Anthropic, anthropic.com.
  3. 3Identifier: anthropic.claude-code. Anything else is not the official extension.
Search results for mistral with Mistral Vibe VS Code by Mistral AI selected 123
Fig. 5 Search for mistral and pick Mistral Vibe.
  1. 1Mistral Vibe VS Code, published by Mistral AI. Click Install.
  2. 2Mistral Code is the older extension, shown struck through. Skip it.
  3. 3Identifier: mistralai.mistral-vibe-code.
ExtensionPublisherIdentifierSign-in
Claude Code for VS CodeAnthropicanthropic.claude-codePaid Claude plan (Pro, Max, Team or Enterprise) or Claude Console account
Mistral Vibe VS CodeMistral AImistralai.mistral-vibe-codeMistral API key, pasted once during setup
Step 04

Open the AI panel on the right

Keep the agents in the right side bar. Files stay on the left and you can watch both at once.

First, trust the folder that holds your work

VS Code opens any folder it doesn't know in Restricted Mode, and in Restricted Mode your extensions are switched off, so Claude and Mistral won't show up. Trust works on the parent folder: trust the folder that holds all your working folders and every folder inside it is trusted too, so the agents are there each time you open a new window.

VS Code window with a Restricted Mode banner across the top and no agent tabs in the right side bar 12
Fig. 6 A folder opened in Restricted Mode. The right side bar only has the built-in Chat.
  1. 1The Restricted Mode banner. If you see it, your extensions are off in this window.
  2. 2Click Manage to open the Workspace Trust page.
Workspace Trust page: You are in Restricted Mode, with a Trust button and a list of trusted folders below 123
Fig. 7 The Workspace Trust page.
  1. 1What Restricted Mode costs you: here 23 extensions are off, the agents among them.
  2. 2Trust switches everything on for the folder you have open.
  3. 3Trusted Folders & Workspaces. Scroll down, click Add Folder and pick the parent folder, the one that holds all your working folders. Every folder inside it is then trusted too.
Same window after trusting the folder: no banner, and Claude Code, Mistral Vibe and Codex tabs in the right side bar 12
Fig. 8 Trusted. The banner has gone and the agents are back.
  1. 1Claude Code and Mistral Vibe tabs in the right side bar.
  2. 2The extension icons are back in the left-hand bar too.

Pick the parent with care. Everything under a trusted folder can run tasks and extensions without asking. Trust the folder you keep your own work in, such as Desktop if your practice folder is Desktop/New. Don't trust Downloads or your whole home folder, because files from other people land there.

Open the panel

Right side bar open with Chat, Claude Code, Mistral Vibe and Codex tabs; Claude Code selected 12
Fig. 9 The right side bar with one tab per agent.
  1. 1Right side bar button. Click to open or minimise the AI panel. Shortcut ⌥⌘B / Ctrl+Alt+B.
  2. 2One tab per agent. Click Claude Code or Mistral Vibe to switch between them.
Mistral Vibe tab selected in the right side bar, ready for a prompt 12
Fig. 10 Mistral Vibe in the same panel.
  1. 1Mistral Vibe tab.
  2. 2Prompt box. Type your request here.

If an agent opens on the left or as a tab in the middle, drag its tab into the right side bar. VS Code remembers the position next time. The first time you open each agent, it asks you to sign in (Claude) or paste your API key (Mistral).

Sign in to Claude

You do this once. VS Code hands you over to your browser, you log in to your Claude account and approve the connection, then you come back to VS Code.

Claude Code tab asking how you want to log in: Claude.ai Subscription, Anthropic Console or Bedrock, Foundry or Vertex 12
Fig. 11 The first time you open the Claude Code tab.
  1. 1Claude.ai Subscription. Pick this if you have a Pro, Max, Team or Enterprise plan.
  2. 2Anthropic Console. Only if your organisation pays for Claude by API usage.
VS Code asking whether to open the claude.com sign-in page, with the Continue in browser panel behind it 12
Fig. 12 VS Code asks before it opens your browser.
  1. 1Click Open. The address starts with claude.com.
  2. 2If the browser doesn't open, copy the link from here into your browser. If the browser then shows you a code, paste it into the box below and click Continue.
Claude log-in page in the browser with Google, Apple and email options 1
Fig. 13 Log in to Claude in your browser.
  1. 1Use the same account you use for Claude every day, the one with your plan. If you're already logged in, you go straight to Fig. 14.
Claude Code would like to connect to your Claude chat account, with Authorize and Decline buttons 12
Fig. 14 Let Claude Code use your account.
  1. 1Click Authorize. Claude Code then works from your plan, and your privacy settings apply to it too.
  2. 2Check the account shown here. Wrong one? Click Switch account.
Browser page saying you're all set up for Claude Code and can close the window 1
Fig. 15 Done. Close the tab and go back to VS Code.
  1. 1This page means the sign-in worked. The Claude Code tab in VS Code is now ready for a prompt.
Step 05

Run a first task with Claude

Give Claude a task and watch the Explorer. New files appear on the left as Claude creates them.

Empty folder named New open in the Explorer; Claude Code mode menu showing Manual, Edit automatically, Plan and Auto 12
Fig. 16 Before the task: an empty folder, and Claude's mode menu.
  1. 1The open folder, still empty.
  2. 2Modes. Manual asks before each edit; Plan explores first and shows a plan; Auto approves actions that pass a safety check. Switch with ⇧Tab.
Claude Code working on a prompt while the Explorer still shows an empty folder 12
Fig. 17 The prompt goes in. Claude starts checking the folder.
  1. 1The request: a demo kit with a CLAUDE.md, a script and a basic tool for an investigator.
  2. 2The Explorer is still empty while Claude plans.
New files cases, sample_evidence, casekit.py, CLAUDE.md and demo.sh appear in the Explorer; CLAUDE.md open with the view menu 12
Fig. 18 Seconds later the files appear in the navigator.
  1. 1New in the Explorer: cases, sample_evidence, casekit.py, CLAUDE.md and demo.sh. Click any file to open it.
  2. 2Markdown files open as raw text. Switch to Markdown Preview to read them formatted.
CLAUDE.md shown as a formatted preview; Claude summarises what it built 1
Fig. 19 CLAUDE.md formatted, and Claude's summary of what it built.
  1. 1Claude reports what it made, what each file does and that it ran the demo end to end.
Explorer expanded to show the case folder, evidence files, custody log and report 1
Fig. 20 Expand the folders to see everything the run produced.
  1. 1A case folder with evidence files, a case record, a custody log and a report, all created by the task.

CLAUDE.md is the briefing file. Claude reads it at the start of every session in that folder. Here it holds the commands and the rules: evidence goes in only through the tool, the custody log is append-only, and the kit is for lawful work only. Edit it to brief Claude on how your team works.

Step 06

Run a task with Mistral Vibe

Mistral works on the same folder. Switch tabs and give it a task; here it builds a reusable skill from what Claude produced.

Mistral Vibe working on a prompt about the same folder 12
Fig. 21 Mistral reads the folder before it acts.
  1. 1The request: assess the folder and create a skill for repeat work.
  2. 2The live status line shows each command Mistral runs.
Mistral Vibe plus menu with Add context, Attach image, Commands and Loop 1
Fig. 22 The + menu.
  1. 1Add context (point to a file), attach an image, run a command, or loop a task.
Mistral Vibe approval menu with Ask, Accept Edits, Smart Approve and Auto Approve 12
Fig. 23 Mistral's approval modes.
  1. 1Ask requires approval for every action; Accept Edits approves file edits only; Smart Approve prompts only for risky actions; Auto Approve runs everything.
  2. 2The current mode. Click to change it.

Choose the approval mode on purpose. In these screenshots both agents run in Auto. That is fine in a practice folder. With real case material, use Manual in Claude and Ask in Mistral until you trust the workflow, so every command waits for your approval. In Fig. 21, Mistral reads files outside the open folder; agents can reach anything your user account can.

Reference

Quick reference

ActionMacWindows
Show / hide file Explorer (left)⌘BCtrl+B
Show / hide AI panel (right)⌥⌘BCtrl+Alt+B
Open Extensions⇧⌘XCtrl+Shift+X
Search every command⇧⌘PCtrl+Shift+P
Switch Claude's mode⇧TabShift+Tab

If something is missing

Sources