Search
SW News

VS Code 1.142 Drops Sandbox, Adds Agent Rules [2026]

Yusuf Demir
Yusuf DemirCloud & Software Reporter
15 min read
VS Code 1.142 Drops Sandbox, Adds Agent Rules [2026]

Microsoft pushed VS Code 1.142 to the Stable channel on October 14, 2026, and the release note is more interesting than a typical point update. Alongside the usual bug fixes, Microsoft retired the Windows Sandbox integration that developers had used to isolate untrusted code, and replaced it with a new layer of Copilot agent host policies built for enterprise security teams. The timing is not an accident. Four other major coding tools shipped substantial updates in the same five day window, and nearly all of them touched the same raw nerve: what happens when an AI agent, not a human, has the keys to a terminal.

VS Code 1.142 ships for Windows x64 and Arm64, macOS, and Linux. It lands days after Claude Code 2.1.302 turned on forked subagents by default, days after Codex CLI 0.163.0 let agents be steered mid-response, and days after OpenCode 2.0 turned itself into a background service with its own API. Taken together, the releases describe a developer tools market that spent the back half of 2026 racing to make AI agents more autonomous, then scrambling in the same month to decide how to keep them fenced in.

Google · Preferred Sources

Don't miss new tech stories on Google

Add TrendinTech once in the Google app and our stories appear in your news suggestions.

Add Now

What Changed in VS Code 1.142

The headline change in VS Code 1.142 is the new set of Copilot agent host policies, which give administrators a way to define what an AI agent running inside the editor is allowed to touch, from network egress to which tools it can invoke without a human approving each step. The second major change is the retirement of the built in Windows Sandbox integration, the lightweight virtual machine feature that some teams used to run untrusted extensions or agent sessions in an isolated environment. Microsoft bundled a set of Markdown editing upgrades into the same release, a smaller change but one that affects every developer who writes documentation or commit messages inside the editor.

None of this happened in a vacuum. VS Code remains the most searched code editor on the planet, a position it has held for years, and every change to how it handles AI agents ripples through millions of developer workflows within days. The decision to retire Windows Sandbox in favor of policy based controls signals that Microsoft wants agent isolation handled through configuration and governance rather than through a separate virtualization layer that has to be switched on manually.

Why Microsoft Retired the Windows Sandbox Integration

Windows Sandbox was never built with AI agents in mind. It arrived years earlier as a way to test unfamiliar executables without risking the host machine, a feature aimed at IT admins and curious developers poking at unknown binaries. As coding agents started executing shell commands, editing files, and installing packages on their own inside VS Code sessions, that older isolation model started to look mismatched to the actual risk. An agent that can read a repository’s environment variables, call out to a package registry, and write files across a project needs governance that travels with the agent session itself, not a separate sandbox that has to be spun up and torn down around it.

That is effectively the bet Microsoft is making with the new Copilot agent host policies. Rather than isolating the agent in a virtual machine bolted onto the side of the editor, the policy layer sits closer to the agent’s own execution path, letting administrators set rules once at the organization level and have them apply across every developer’s session automatically. It is a shift from sandboxing as an opt in feature toward agent governance as a default expectation.

What Replaces Sandbox Based Agent Isolation

In place of the sandbox, VS Code 1.142 leans on the new agent host policy framework to scope what a Copilot agent session can do. The practical effect for most teams will be fewer manual sandbox launches and more centrally managed policy files that IT and security leads configure once. For individual developers working outside a managed enterprise environment, the day to day experience changes less, since the policies are primarily aimed at organizations that need to prove to auditors and security reviewers that AI agents running inside developer tooling are bound by explicit rules.

Copilot Agent Host Policies Explained

The term “agent host policies” describes a category of controls rather than a single switch. Broadly, these policies let an organization define boundaries for any AI agent running inside the editor, covering things like which external tools or MCP servers an agent can call, whether it needs explicit human approval before running a destructive command, and what level of network access a session gets by default. This is conceptually similar to the kind of device and application policies IT teams already push through endpoint management systems, just extended to cover autonomous coding agents specifically.

The example below is illustrative only, meant to show the type of policy categories this kind of framework typically covers rather than any specific Microsoft configuration syntax:

{
  "agentHostPolicy": {
    "networkEgress": "restricted",
    "requireApprovalFor": ["shellExec", "fileDelete", "packageInstall"],
    "allowedTools": ["repoSearch", "readFile", "writeFile"],
    "loggingLevel": "verbose"
  }
}

What matters for most developers is not the exact syntax but the direction of travel. Editors are moving from treating AI agents as a feature a developer turns on, to treating them as an organizational resource that needs the same kind of access control as a cloud account or a production database credential.

How Enterprise IT Teams Can Configure the New Controls

For engineering leaders rolling out VS Code 1.142 across a company, the practical first step is auditing which Copilot agent capabilities are already in use before writing any policy at all. Teams that have let developers experiment freely with agent sessions over the past year may find the new controls surface behavior nobody had fully mapped, from agents that regularly call third party MCP servers to sessions that routinely execute shell commands without review. Rolling the policy out gradually, starting with logging only and moving to enforcement, is the path most security teams tend to prefer when a new governance layer lands mid quarter.

The Markdown and Editor Upgrades Riding Along

Buried under the security headline, VS Code 1.142 also ships a set of Markdown editing upgrades. These are smaller in scope but touch a much larger share of daily editor use, since nearly every developer writes README files, pull request descriptions, or commit messages in Markdown at some point in a normal week. Microsoft has treated Markdown tooling as a steady investment area across recent releases, and the pattern continues here, with improvements aimed at making longer documents easier to navigate and edit without leaving the editor.

The pairing of a major security change with a quieter quality of life update is typical of how VS Code releases have worked for years. The headline feature draws the attention, while the smaller fixes accumulate into the reason millions of developers keep the editor as a daily default rather than switching to a newer entrant.

A Five Day Sprint: How Rivals Moved at the Same Time

What makes the VS Code 1.142 release notable is not that it shipped in isolation. Between October 12 and October 16, 2026, at least four other major coding tools pushed out significant updates, and the overlap in timing was close enough that developers tracking all of them in the same week described it as a coordinated sprint, even though the vendors were acting independently. OpenCode 2.0 shipped October 12, Cursor’s Origin App Marketplace and GitHub’s general availability of Gemini 4 Argon inside Copilot both landed October 13, Codex CLI 0.163.0 followed October 15, and Claude Code 2.1.302 closed the window October 16.

Each vendor framed its release around a different piece of the same underlying problem: how much autonomy to hand an AI coding agent, and how to keep that autonomy from becoming a liability. Microsoft chose governance and policy. Others chose speed, integration breadth, or raw model capability.

Claude Code 2.1.302 and the Subagent Push

Anthropic’s Claude Code 2.1.302 release on October 16 turned on forked subagents by default across its SDK and applications, a change that lets a single coding session spin up parallel terminal style subagents to handle different parts of a task simultaneously. The release also added easier controls over idle session compaction, the background process that trims context when a session sits unused, and improved startup performance for developers running large plugin collections. Claude Opus 5.5 remains the default model for paid plans. The emphasis on default parallelism stands in some tension with the caution VS Code 1.142 is building in on the Microsoft side, highlighting how differently vendors are currently weighing speed against control.

Codex CLI 0.163.0 and OpenCode 2.0 Join the Race

OpenAI’s Codex CLI 0.163.0, released October 15, lets developers steer an agent mid response without canceling the entire run, and now executes read only tools in parallel rather than serially, a meaningful speed gain for agents that need to inspect several files before deciding on an edit. The release also positions GPT-6.1 Sol as a lower cost option specifically for coding workloads, continuing the price competition that has defined much of the AI coding tools market through 2026.

OpenCode 2.0, which shipped October 12, took the most structurally different approach of the group, converting the open source terminal agent from a one shot command line tool into a persistent background service with its own dedicated API and SDK, plus a new “Code Mode” for scriptable tool execution. Search interest in OpenCode reportedly grew roughly 14 times year over year heading into the release, a sign of how quickly developer attention has shifted toward agent native tooling over the past twelve months.

GitHub Copilot’s Local Sandboxing Goes GA

GitHub’s own moves in the same window point the same direction as Microsoft’s editor team. Local sandboxing for Copilot CLI, the standalone Copilot app, and VS Code itself reached general availability, while GitHub also made Gemini 4 Argon generally available inside Copilot on October 13 and pushed Copilot CLI and the standalone app into public preview for computer use capabilities, letting an agent interact with graphical interfaces rather than only text and files. Readers who want the full breakdown of how that fits against Cursor’s own expansion can see our earlier coverage of the GitHub Copilot versus Cursor tooling race, which tracked Cursor’s Origin App Marketplace launch on the same date.

The common thread across GitHub, Microsoft, and even Anthropic’s plugin ecosystem, which we covered when Claude Code’s plugin count passed 341 tools, is that every major vendor now treats “what can the agent reach” as a first class product question rather than an afterthought.

Why Enterprise Security Is Suddenly the Battleground

The reason this shift is happening now rather than a year ago comes down to simple math: enterprises have moved from experimenting with AI agents to running them inside real development pipelines, and the exposure that comes with that shift has grown accordingly. Earlier this year this site covered an incident in which an OpenCode console breach exposed OpenAI, Anthropic, and Google API keys, a reminder that an agent with broad tool access is also a new attack surface if credentials or permissions are not scoped tightly. VS Code’s move to retire a manual sandbox in favor of policy based governance reads as a direct response to that category of risk, an attempt to make the safe configuration the default rather than something a developer has to remember to enable.

Industry research backs up the urgency. According to McKinsey, “twenty-three percent of respondents reported that their organizations were scaling an agentic AI system somewhere in the enterprise, while an additional 39 percent had begun experimenting with AI agents,” a finding from its State of AI: Global Survey 2025. The same research house found that “more than 78 percent of companies were using generative AI in at least one business function, up from 55 percent a year earlier,” according to its Seizing the Agentic AI Advantage report.

Gartner’s figures point to why governance tools like VS Code’s new policies are arriving now rather than later. The research firm found that “fifty-three percent of organizations had deployed custom-built AI agents,” while separately warning that “seventy-nine percent of organizations reported that employee use of AI tools was not aligned with acceptable-use policy,” both from its AI Cybersecurity Leadership research. That gap between deployment and policy alignment is exactly the space Microsoft’s new agent host policies are built to close.

Market Impact: What This Means for Dev Tool Vendors

For vendors competing in the AI coding agent market, VS Code 1.142 raises the bar on what “enterprise ready” means. A code editor or CLI tool that cannot show a security buyer a clear policy and audit trail for agent behavior risks being excluded from procurement conversations at larger companies, regardless of how capable its underlying model is. That dynamic favors vendors with existing enterprise relationships and governance infrastructure, which is a built in advantage for Microsoft given how deeply VS Code and GitHub already sit inside corporate software supply chains.

Smaller, faster moving entrants like OpenCode and Cursor still compete well on capability and developer enthusiasm, reflected in the search growth numbers around Codex and OpenCode, but they will likely need to build or acquire similar governance layers to win procurement decisions at companies with mature security functions. Expect the next six months to bring a wave of “enterprise agent governance” features across nearly every serious coding tool, not because customers are asking for a specific feature by name, but because security teams are increasingly the ones with sign off authority on which AI tools developers are allowed to install.

Historical Context: From Autocomplete to Autonomous Agents

It is worth remembering how fast this shift happened. VS Code’s AI story began with inline autocomplete suggestions that a developer accepted or rejected line by line, a model with essentially no security surface beyond the suggestion itself. That gave way to chat based assistants that could explain code and draft changes but still required a human to apply every edit. The current generation of agents can open a terminal, install dependencies, run tests, and commit changes with minimal supervision, which is a fundamentally different trust relationship between a developer, their editor, and the AI running inside it.

Windows Sandbox itself predates this entire arc. It was built for a world where the main risk was running an unfamiliar executable, not supervising a semi autonomous agent with standing access to a live codebase. Its retirement in VS Code 1.142 is as much a symbolic marker of how far the editor has traveled as it is a technical change.

October 2026 Coding Tool Release Timeline

ToolVersion or FeatureRelease DateKey Agent or Security Change
OpenCode2.0October 12, 2026Background service, dedicated API, Code Mode
CursorOrigin App MarketplaceOctober 13, 202620+ integrations, remote control for local agents
GitHub CopilotGemini 4 Argon GAOctober 13, 2026General availability inside Copilot
Codex CLI0.163.0October 15, 2026Mid response steering, parallel read only tools
VS Code1.142October 14, 2026Copilot agent host policies, Windows Sandbox retired
Claude Code2.1.302October 16, 2026Forked subagents on by default, idle compaction controls

Enterprise AI Agent Adoption and Risk Signals

MetricFigureSource
Organizations scaling an agentic AI system enterprise wide23%McKinsey, State of AI 2025
Companies using generative AI in at least one business function78%+McKinsey, Seizing the Agentic AI Advantage
Organizations that had deployed custom built AI agents53%Gartner, AI Cybersecurity Leadership
Organizations where employee AI tool use was not policy aligned79%Gartner, AI Cybersecurity Leadership
Developers currently using AI coding agents31%Developer survey data cited by shattered.io
Year over year search growth for “Codex”+809%Search trend data cited by shattered.io

Predictions: Where Coding Tool Security Goes Next

  • Expect at least one other major editor or CLI tool, most likely GitHub Copilot or Cursor, to announce its own policy based agent governance framework within the next two to three months, following VS Code’s lead rather than waiting for customer demand to force the issue.
  • Audit logging for agent sessions will become a standard checkbox in procurement questionnaires at mid size and large enterprises by the first half of 2027, pushed by the same security teams citing the Gartner policy alignment gap.
  • Vendors that built agent autonomy as a core differentiator, including Anthropic and OpenAI through Claude Code and Codex CLI, will likely add opt in governance layers rather than reducing default autonomy, preserving speed for individual developers while giving enterprises a separate lever.
  • Search interest in terms combining “AI agent” with “security” or “governance” will keep climbing through early 2027, mirroring the kind of growth already seen in raw adoption terms like “Codex” and “Open code.”
  • Expect scrutiny of agent permission scopes to intensify after any further credential exposure incidents similar to the OpenCode console breach, with insurance and compliance requirements starting to reference AI agent governance explicitly within the next year.

How This Compares Across the Major Coding Tools

Lined up against each other, the October 2026 releases show four distinct bets. Microsoft is betting that governance and policy will decide which tools enterprises standardize on. Anthropic is betting that more capable, more autonomous subagents win developer loyalty even if enterprise controls lag slightly behind. OpenAI is competing on cost and responsiveness with Codex CLI’s mid response steering and cheaper GPT-6.1 Sol option. OpenCode is betting that becoming infrastructure, a persistent background service with its own API, matters more right now than either governance or raw model capability.

None of these bets are mutually exclusive, and the most likely outcome is convergence: within a year, expect most serious coding tools to offer some version of policy based agent governance, parallel or steerable agent execution, and a lower cost model tier, because none of the four vendors can afford to concede any one of those fronts to a rival for long.

What Developers Should Do Before Upgrading

For individual developers, the practical advice is straightforward: update to VS Code 1.142 as usual, since the retirement of Windows Sandbox will not affect most day to day coding work unless your team specifically relied on it for isolating untrusted extensions or agent runs. If your organization does rely on that workflow, check with your IT or platform engineering team before the update rolls out broadly, since the replacement policy framework needs to be configured rather than assumed to behave identically out of the box.

For engineering leaders, the more useful move is treating this release as a trigger to formally document what your organization’s Copilot agents, and any other AI coding agents in use, are currently allowed to do. Given that Gartner’s research found a majority of organizations have deployed custom built agents without full policy alignment, there is a good chance the audit itself will turn up more than the policy configuration does.

Frequently Asked Questions

What is new in VS Code 1.142?
VS Code 1.142, released to the Stable channel on October 14, 2026, adds new Copilot agent host policies for enterprise security teams, retires the Windows Sandbox integration, and includes a set of Markdown editing upgrades.

Why did Microsoft retire the Windows Sandbox integration?
Windows Sandbox was built to isolate unfamiliar executables, not to govern autonomous AI agents with broad access to a codebase. Microsoft replaced it with policy based controls that scope what an agent can do directly, rather than isolating the agent in a separate virtual machine.

What are Copilot agent host policies?
They are a set of enterprise configurable rules that define what an AI coding agent running inside VS Code is allowed to access, covering areas like network egress, which tools or MCP servers an agent can call, and which actions require human approval.

Does VS Code 1.142 affect macOS and Linux users?
The release ships builds for Windows x64 and Arm64, macOS, and Linux. The Windows Sandbox retirement is specific to Windows, while the Copilot agent host policies and Markdown upgrades apply across all supported platforms.

How does VS Code 1.142 compare to Claude Code 2.1.302 and Codex CLI 0.163.0?
Claude Code 2.1.302 and Codex CLI 0.163.0 both expanded what AI agents can do autonomously, from default parallel subagents to mid response steering. VS Code 1.142 moved in a complementary but different direction, focusing on governance and policy for the agents already running inside the editor rather than expanding their autonomy.

Is VS Code 1.142 available now?
Yes. Microsoft promoted the build from its Insiders preview channel to general Stable release on October 14, 2026, meaning it is available to all users through the editor’s normal update mechanism.

What should enterprise IT teams do before rolling this out?
Audit current Copilot agent usage before writing enforcement policy, consider a phased rollout starting with logging only before moving to enforcement, and confirm whether any team workflows depended on the retired Windows Sandbox integration.

Will other coding tools add similar agent governance features?
Given that GitHub Copilot’s local sandboxing also reached general availability in the same window and enterprise adoption research from Gartner and McKinsey shows a persistent gap between AI agent deployment and policy alignment, most major coding tool vendors are likely to add comparable governance controls within the next year.

Related Coverage

Yusuf Demir

Yusuf Demir

Cloud & Software Reporter

Yusuf Demir is the Cloud & Software Reporter at TrendinTech, where he covers cloud infrastructure, enterprise platforms, developer tools and the digital transformation of businesses in the UK and the United States. He is most interested in the gap between vendor roadmaps and the systems engineers actually run, and in what the cloud bill looks like once the free credits expire.

All stories by Yusuf Demir (388)

Related Articles