A code editor glowing blue on a large monitor in a dark developer workspace at night, with an AI chat panel beside the code

VS Code 1.148: Faster AI Agents, No More Sleeping Hosts, and Disposable Dev Containers

If your coding agent has ever drifted off to sleep mid-refactor because your machine decided it needed a power nap, Visual Studio Code 1.148 arrives with a very specific message: stay awake, we have work to finish. Microsoft shipped version 1.148.0 to the Stable channel on November 25, 2026, and instead of chasing flashy new AI tricks, the release tackles the unglamorous engineering that decides whether background agents actually feel reliable.

The theme is continuity. Agent chat starts faster, agents keep working when you step away, leftover worktrees stop eating your disk, and agents get their own disposable Linux environments to work in. Here is what changed, what is still experimental, and what to switch on first. For background, spec-driven agent workflows like GSD2 offer a useful contrast to the agent-orchestration approach VS Code is taking.

Agent Chat Starts About 30% Faster

The headline number is a speed-up where developers feel it most: waiting. Microsoft says Agent Host chat responses now begin about 30% faster on average than in the previous Stable release, bringing start times to within roughly 5% of the older chat harness that preceded the Agent Host transition. The release notes do not break down where the gain comes from, but it lands squarely on the part of the agent workflow developers complain about most — the pause before the first token.

That matters more than it sounds. When an agent session is a quick question, a few seconds of startup is noise. When you run agents all day, across dozens of turns, startup latency is the tax on every single interaction. Faster starts make the difference between an agent that feels like a tool and one that feels like a queue.

Keep Agents Going, Even After You Close the Window

The most practical new setting is a preview one: sessions.keepAwakeWhileWorking. It tells supported hosts not to idle-sleep while an agent session is actively working — and it keeps that promise even after you close the window the session was opened in. You can set it to prevent sleep only while plugged in, always, or never.

This is the fix for the classic unattended-agent failure: you kick off a long refactor, walk away, and your laptop sleeps halfway through. Combined with controls like Claude Code’s unattended-run controls, which let background coding runs keep going instead of stopping to ask, it is part of a wider shift toward agents that finish jobs without a human babysitting them.

Cleaning Up After Your Agents: Remote Worktree Cleanup

A glowing blue broom sweeping scattered file folders and branching code paths into a neat stack

Parallel agents work best inside separate Git worktrees, so two tasks do not trample each other’s files. The trouble is that those worktrees quietly devour disk space long after their sessions end. In 1.148, worktree cleanup extends to connected remote Agent Hosts, so you can reclaim that space without manually hunting through a remote filesystem.

The cleanup editor now opens from the Agents window, the Chat view, or the Command Palette via “Chat: Open Worktree Cleanup”. Rows and confirmation prompts identify the owning host, so identical paths on different machines are not confused with each other, and disconnected or unsupported hosts simply stay unavailable for cleanup. One detail worth knowing before you click delete: according to the worktree documentation, cleanup preserves branches and session history but removes the worktree folders — and ignored files inside removed worktrees are deleted too.

Disposable Dev Containers and Sandbox Profiles

Three sealed glass containers each holding a tiny glowing code workspace, connected by lines to a laptop

The boldest additions in 1.148 are experimental, and they are both about isolation. A new experimental option can hand an agent its own Dev Container — an isolated Ubuntu container with an Agent Host inside, its files kept in a Docker volume — without you writing a container configuration first. You can create one on your own machine or on a connected SSH host, WSL distribution or Dev Tunnel that has Docker. A companion setting even lets an agent create a Dev Container from an existing session, for example when you ask it to try something in an isolated environment.

Alongside that, experimental sandbox profiles let you assign different security rules to individual remote agent hosts — useful on shared machines where one agent’s freedom is another team’s risk. Together, they give teams a clearer execution boundary for the tasks agents are worst at containing: installing packages, altering dependencies, and running code they wrote themselves.

Remote Environments Get a Redesign and a Troubleshooter

The Remote Environments editor has been overhauled into a cleaner status table showing connection state, last activity and operating system at a glance. And when a remote connection fails, 1.148 adds a guided troubleshooting flow with a diagnostic report you can collect and share, instead of leaving you to guess whether SSH, WSL or the tunnel is at fault.

Smaller changes round out the release: the integrated browser now supports HTTP Basic authentication and custom user-agent settings, agent shell commands can prompt you for passwords or confirmations directly in chat without sending those credentials to the model, the VS Code CLI is now around 40% smaller, and there is an experimental Rust-based WebAssembly diff engine. The models behind the agents keep getting cheaper and stronger too — from Microsoft’s MAI Code 2 coding model to local-first AI coding appliances — but 1.148 is about the editor catching up with how those agents are actually used. GitHub Copilot’s MCP connectors are another example of agents reaching into more outside services.

One Deadline to Know: the Local Harness Goes Away in February 2027

Not everything in 1.148 is additive. Microsoft confirmed that the deprecated Local harness — along with its temporary enterprise-managed override — will be removed in February 2027. If you or your team still rely on it, this release is the window to migrate to the Agent Host, and the faster chat starts are part of the reason to move now rather than later.

The Bottom Line

VS Code 1.148 is not a release you show off in a demo. It is a release you notice at 11 PM, when the agent you started at 6 PM is still working, your disk is not full of dead worktrees, and the risky experiment ran in a container you can throw away. The speed-up is real, the keep-awake setting solves a genuine annoyance, and the Dev Containers and sandbox profiles point at where the editor is heading: agents as a platform to govern, not just a chat box to prompt.

Update through the editor’s built-in updater, or grab 1.148.0 as a fresh download — and if you use agents on shared remote machines, start with the sandbox profiles. That is where this release earns its keep first.

Sources: Visual Studio Code release notes, Pandromeda, Big Hat Group.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top