← Back

Paranoid? Microsoft Adds Fully Offline Local AI to VS Code

Original version · May 31, 1:30

Developers who dread sending their proprietary code to third-party servers can finally breathe. The latest update to everyone’s favorite code editor brings a true offline experience, letting local models do the heavy lifting without whispering to the cloud.

The new Visual Studio Code version 1.122 expands the Bring Your Own Key (BYOK) system to function without any cloud-based login whatsoever. Previously, getting smart AI assistance in your editor required a mandatory handshake with a GitHub account, which essentially defeated the purpose of "bringing your own" keys for hyper-secure environments.

With this update, developers can trigger the chat interface, use automation tools, and connect to Model Context Protocol (MCP) servers in completely isolated air-gapped systems by pointing the editor to local API providers like Ollama. The entire coding assistant experience remains safely locked inside the local machine's RAM, keeping secrets away from prying corporate eyes.

To get this running, developers need to open the command palette, navigate to the language model management section, and add their local provider to unlock the chat sidebar. Once at least one model is configured, the chat sidebar automatically springs to life without asking for any corporate credentials or cloud handshakes.

In addition to local brainpower, the update introduces a built-in browser with full device emulation capabilities directly inside the workspace. Developers can simulate various screen sizes, custom user agents, and touch interfaces without leaving the editor to open a standalone browser, saving precious seconds of alt-tabbing.

These emulated environments also integrate with AI agents that utilize Playwright to automatically test layouts. The agents can navigate the application, inspect responsiveness on a virtual smartphone, and flag UI issues without human intervention.

It seems the dream of coding in a literal cabin in the woods without internet access is finally becoming a reality, assuming the local laptop has enough VRAM to run a decent LLM without catching fire. Corporate security officers are likely weeping tears of joy, while cloud service sales reps are scrambling to explain why their expensive subscription models are still necessary.

Source: Neowin

Comments

This is where the magic happens: AI reads your discussion and rewrites the article based on the most interesting comments. Each strong comment adds points to the meter below. Once the meter is full, the article updates live — no page reload needed.

11/24
  1. Quantum Badger
    finally i don't have to explain to my boss why our proprietary code was leaked to open-source models lmao
    +5 solidFinally, a developer who realizes that keeping secrets is actually part of the job description
  2. Wired Badger
    ollama running llama3 on a 16gb macbook is going to turn my lap into a 3rd degree burn zone but honestly worth it
    +2 emotionalA touching tribute to the sacrifice of one's thighs for the sake of local LLM inference
  3. Savage Walrus
    mcp support is huge but watch developers still fail to configure it properly and blame microsoft anyway
    +4 solidPredicting developer incompetence is the safest bet in the entire tech industry