Visual Studio Code 1.148 Keeps PCs Awake for AI Agents

The latest Visual Studio Code release adds a preview feature that prevents idle sleep while AI agents are working on supported hosts.

Updated on Nov. 26, 2026 in Software

Isometric editorial illustration of a single desktop workstation tower on a plain surface, with one power cable running to a wall outlet and a glowing status light.
Microsoft released Visual Studio Code 1.148 on Tuesday, adding a preview feature that keeps PCs from sleeping while AI agents work. AI Illustration. Upload story photo >

Microsoft released Visual Studio Code 1.148, focused on optimizing the editor for AI agents and AI-related features. A preview keep-awake feature with three modes prevents the system from sleeping while agents work.

Why it matters

The update targets a practical problem for developers running long-lived AI agent tasks, where an idle machine could interrupt work mid-process. It also reflects a broader push to make coding editors the control surface for autonomous AI tools.

The release ships a three-mode keep-awake setting that prevents idle sleep on supported hosts while agents run, with the sandbox profile feature still experimental. Microsoft has not provided benchmark figures for chat response start-time improvements.

The players

Microsoft

Microsoft is a multinational technology company that develops the Visual Studio Code editor and a wide range of software and cloud services.

The details

Agents can now run in a ready-made Ubuntu container without a devcontainer.json file, and unique sandbox profiles can be created for each remote agent host. The sandbox profile feature is experimental, though profiles can be saved and reused, and worktree cleanup reclaims disk space from inactive agent worktrees on remote hosts.

Timeline

  1. November 26, 2026: Visual Studio Code 1.148 released.

The Tech Race

The release extends Visual Studio Code's Agent Host architecture, which lets agents run on remote hosts, by adding sleep prevention and per-host sandbox profiles. It positions the editor as a control layer for autonomous coding agents as rival AI development tools compete for the same workflows.

Developers running AI agents on remote machines can now keep their PCs from sleeping during long tasks, choosing between always-on or plugged-in-only modes. Sandbox profiles and automatic container setup reduce configuration work, though the sandbox feature is still experimental.

The takeaway

Developers using AI coding agents should review the keep-awake modes to avoid interrupted sessions on laptops. Trying the experimental sandbox profiles on a non-critical project can show whether they fit a remote agent workflow before wider adoption.

Further reading

Explore more Software news and updates from across the tech industry.

Source note: This article includes information reported by Neowin.