A laptop displays a coding workspace with an AI assistant, linked to a Linux container and remote server.
Microsoft's latest Visual Studio Code release is being billed as the one where AI agents keep working after you close the window. That is true only for some sessions, and the conditions matter more than the headline. November 25, 2026 is the Stable release date for version 1.148, and Techzine's report two days later framed the update as Microsoft giving agents more autonomy.

That framing is fair, with footnotes. The release notes describe faster agent response starts, a preview keep-awake control, experimental isolated containers, per-host sandbox profiles, in-chat authentication prompts and a new diff engine. Several of those are labelled Preview or Experimental, and the "keeps working" claim depends on which process owns your session.

A laptop displays a coding workspace with an AI assistant, linked to a Linux container and remote server. What changed in VS Code 1.148​

Here is the short version, with Microsoft's maturity labels preserved.

FeatureStatusSetting or command
Faster Agent Host chat startShippedNone
Prevent idle sleep while an agent worksPreviewsessions.keepAwakeWhileWorking
Dev Containers without a config fileExperimentalchat.agentHost.devContainer.environments.enabled
Agent handoff into a new containerExperimentalchat.agentHost.devContainer.handoff.enabled
Sandbox profiles per remote hostExperimentalchat.agent.sandbox.profiles.enabled
Password prompts answered in chatShipped, can be disabledchat.agentHost.copilot.shellAuthentication.enabled
Rust/WebAssembly diff algorithmExperimental rolloutdiffEditor.diffAlgorithm set to advanced-wasm
Remote worktree cleanupShippedChat: Open Worktree Cleanup

Installed copies can pick up the release through Check for Updates, according to the release notes.

The speed claim: 30 percent, with an asterisk​

Microsoft says Agent Host chat responses begin 30 percent faster on average than in the previous Stable version. That is a statement about when a response starts, not how long a whole task takes.

The context is the Agent Host migration. Microsoft moved its agent harness into a dedicated process, and the release notes concede that slower response starts became a recurring complaint. A gap of roughly 5 percent is all that now separates Agent Host start times from the old harness, by Microsoft's own count, and further tuning is promised for later releases.

So the win is mostly recovery of ground lost in the re-architecture. Measurement methodology is absent from the release notes, a gap the AI-TLDR release tracker also flagged. There is no sample size, workload description or hardware profile, so treat the figures as vendor telemetry rather than an independent benchmark.

"Agents keep working after you close the window": the fine print​

The new Preview setting is sessions.keepAwakeWhileWorking. Its job is narrow: stop the machine running an agent from drifting into idle sleep mid-task. The wake hold lasts only for active turns on a supported Agent Host, survives a closed window, and lapses shortly after the work finishes.

There are three modes.

ModeBehavior
whenPluggedInDefault. Blocks idle sleep while the host is plugged in
alwaysBlocks idle sleep during agent work, including on battery
neverAllows idle sleep during agent work

External power is the condition attached to the default mode, so a laptop on battery will still sleep unless you opt into always. That is a sensible default, since an agent quietly draining a battery in a backpack would be a poor surprise.

The feature does not keep a session alive by itself. Microsoft's Agent Host architecture documentation, updated the same day as the release, spells out the boundaries:

  • Closing a window is not quitting the app. For sessions managed by desktop VS Code on your own machine, the application must keep running. Closing a project folder is fine; quitting VS Code is not.
  • Remote hosts must stay up. On your own remote machines, both the machine and the process serving the session have to keep running. The documentation warns that being able to reconnect does not mean work continued while the host was stopped.
  • Cloud sessions follow different rules. They do not depend on your local application, but the service controls the environment's availability and lifetime.
  • Client-contributed tools need the client. Tools from installed extensions or browser tools are routed back to the window that provided them. Close that window and those tools are gone, even if the session continues.
  • Not every session uses the Agent Host. Sessions on the Local harness, or ones created under the earlier extension-host architecture, are owned by the window. Closing it stops the work.

The keep-awake setting addresses idle sleep specifically. Nothing in Microsoft's notes promises survival through shutdown, power loss or a killed host process.

The Local harness caveat is on a deadline. The release notes list the Local harness as deprecated, and February 2027 marks the end for both the Local harness and the temporary vscode.temporaryDefaultToLocalHarness enterprise-managed override, as earlier WindowsForum coverage of this release noted. Teams still pinned to the old path have a few months to migrate.

One more enterprise wrinkle comes from the same documentation: Claude and Codex harnesses are disabled when Copilot enterprise-managed settings apply, unless an administrator explicitly permits them.

Section summary: Keep-awake is a Preview control against idle sleep, defaulting to plugged-in machines. Whether work survives a closed window depends on the harness, the host process and where the session runs.

Isolated environments without the YAML homework​

The second theme is isolation. An Experimental feature lets agent sessions run in a Linux container without anyone writing a Dev Container configuration first. A Docker volume holds the files, and an Agent Host ships inside each Ubuntu container.

Docker on the host is the one hard requirement, whether that host is the local computer, an SSH machine, a WSL distribution or a Dev Tunnel. Windows developers using WSL are therefore covered, provided Docker is available in that environment.

Microsoft's release notes describe the workflow this way:

  1. Enable chat.agentHost.devContainer.environments.enabled.
  2. Open Remote Environments in the Agents window.
  3. For a connected host, choose Create Dev Container under More Actions.
  4. For the local computer, group the table by type (Filter > Group By > Type), then select Create Dev Container on the Dev Containers group.
  5. Pick the new container in the Environment picker when starting a session.

A second setting, chat.agentHost.devContainer.handoff.enabled, goes further. With it on, an agent can create a container from an existing session, for example when asked to try something in an isolated environment. The notes say it builds the container on the host the session already runs on, continues in a new session inside it, and can report back when finished.

This is a workflow for keeping experiments away from your working tree. Microsoft does not describe it as a hardened security boundary, and neither should anyone else. Containers reduce the blast radius of a bad command; they do not guarantee that host data is unreachable.

Sandbox profiles: different rules for different machines​

The other Experimental addition targets teams with several remote agent hosts. Each remote agent host can carry its own named bundle of sandbox settings once profiles are switched on. The switch is chat.agent.sandbox.profiles.enabled.

Microsoft's example is a build server given open network access while a shared machine stays locked down. Profiles are managed through the Sandbox: Manage Sandbox Profiles command and assigned in the Remote Environments editor.

Three details from the release notes matter for administrators:

  • The assignment is stored on the remote, so every device connecting to that host gets the same profile.
  • Organization sandbox policies still apply.
  • The remote needs an up-to-date VS Code Server.

Profiles are flexibility inside the fence, not a gate in it. An agent cannot use a permissive profile to escape organizational policy.

Remote housekeeping: diagnostics and disk space​

The Remote Environments editor has been redesigned. Its table now shows each environment's status, last activity and operating system, with Connect and New Session on each row and other actions under More Actions.

When a connection fails, there are two routes to help: Troubleshoot in the failure notification, or More Actions > Troubleshoot Connection on any environment. The resulting page explains what went wrong and offers fixes such as retrying, opening the SSH configuration or restarting a WSL distribution. It can also collect a diagnostic report to review and share.

Big Hat Group's write-up raises a fair governance point here: no enterprise data-handling policy for those shareable reports appears in the release notes. Review a report before sending it anywhere.

Parallel agent sessions also leave Git worktrees behind, and those consume disk. Cleanup previously lived only in the Agents window. It is now reachable from the Chat view's menu or by running Chat: Open Worktree Cleanup from the Command Palette, and it covers connected remote hosts that support it.

The cleanup editor names the owning host on each row and confirmation, because identical paths on different machines are different worktrees. Disconnected or unsupported hosts are unavailable. This reclaims disk space by removing selected worktrees, so read the confirmation before agreeing.

Passwords in chat, without telling the model​

Agents have long tripped over commands that stop to ask for a password. In Copilot harness sessions, the release notes explain, commands such as sudo, ssh or git failed because the agent runs commands without an interactive terminal by default.

Version 1.148 surfaces those prompts as questions in chat. Microsoft says a password, passphrase or confirmation goes only to the requesting program and is not sent to the model. The notes specifically mention sudo -A, ssh and git.

There are limits:

  • The setting name and the notes both scope this to Copilot harness sessions.
  • Prompts nobody can answer, such as in Autopilot, are canceled rather than left hanging.
  • Setting chat.agentHost.copilot.shellAuthentication.enabled to false turns the behavior off.

Security-minded teams may want to decide deliberately whether typing credentials into a chat panel fits their policies. Microsoft's assurance about the model is clear, but it is Microsoft's assurance, not an independent audit.

A Rust-powered diff engine​

Outside the agent work, Microsoft is rolling out an experimental diff algorithm written in Rust and compiled to WebAssembly, packaged as @vscode/diff. You can opt in by setting diffEditor.diffAlgorithm to advanced-wasm.

Microsoft's early rollout measurements claim diffs compute more than twice as fast at the median, with fewer slow-tail timeouts. The notes admit the difference is unlikely to show on a single small file. It shows when reviewing several heavily modified files in the multi-file diff editor, which is exactly what reviewing an agent's output looks like. As with the chat figures, these are early vendor numbers.

Also in the box​

A few smaller items round out the release:

  • Tool builders get Agent Host Protocol 1.1.0, the protocol underneath the agent system, which third-party tools can integrate with or host. The notes list TCP port forwarding and moving chats between sessions among its additions.
  • Engineering trimmed roughly 40 percent from the size of the VS Code CLI. Because that CLI bootstraps Remote SSH connections, some WSL connections and remote agent hosts, Microsoft expects faster connections and lower resource use.
  • HTTP Basic Authentication and a configurable user agent both land in the integrated browser, as Windows Report also noted.

What it means for Windows developers and IT admins​

The pattern across this release is that VS Code is taking on the duties of a background runtime: power management, environment provisioning, access rules and credential handling. Those are operations concerns, and they arrive with operations questions.

A practical checklist, drawn from the documented behavior:

  • Check your harness. Local harness sessions still die with the window, and that harness is scheduled for removal in February 2027.
  • Do not quit the app. For local Agent Host sessions, close the folder if you like, but leave VS Code running.
  • Mind the battery default. whenPluggedIn will not hold a laptop awake on battery.
  • Treat Experimental as experimental. Container creation, handoff and sandbox profiles are opt-in and may change.
  • Update remote servers. Sandbox profiles need a current VS Code Server on the remote.
  • Keep policy in charge. Organizational sandbox policies still override profiles, by Microsoft's own description.

Version 1.148 does make agents more independent, but only for sessions on the Agent Host, on a host that stays running, within whatever rules your organization sets.

 

References

  1. Microsoft gives AI agents more autonomy in VS Code - Techzine Global Techzine Global 2026-11-27T10:23:30+00:00
  2. Visual Studio Code 1.148 code.visualstudio.com
  3. Agent Host architecture code.visualstudio.com