
Microsoft shipped four VS Code releases across May and early June 2026 — versions 1.120 through 1.123 — that together crossed a threshold the company had been approaching for more than a year: AI-assisted coding in fully isolated environments, without routing a single token to an external network, is now possible for the general VS Code user base. For defense contractors, hospitals, financial institutions, and government agencies that had been unable to adopt GitHub Copilot tooling due to strict network-isolation requirements, the May cycle removed the last structural blocker.
The centerpiece of the cycle is the Agents window, which moved from experimental to Stable preview in the May 13 release of version 1.120. The Agents window is a dedicated surface for directing multi-step coding tasks — reviewing changes across projects, orchestrating parallel workstreams, and managing sessions — without necessarily editing individual files line by line.
On June 5, GitHub published a separate changelog entry announcing that enterprise-managed plugins for VS Code are now in public preview, allowing administrators at Copilot Business and Enterprise organizations to configure and distribute custom agents, skills, and extensions to every developer in their organization from a single policy layer.
VS Code Agents Window: From Experimental to Stable
GitHub describes the Agents window as "an agent-first experience focused on completing tasks rather than editing code" — a framing that repositions the editor's core loop from write-then-review to instruct-then-review. For developers who have been using AI for scaffolding, refactoring, or test generation through VS Code's chat panels, the Agents window consolidates those workflows into a first-class surface.
The practical additions that shipped alongside the promotion are substantial. Multiple agent sessions can now run side by side inside the Agents window — useful for comparing two implementation approaches or monitoring a background refactor while actively working on another branch. New sessions inherit recent preferences, including agent harness and isolation mode, cutting setup friction. A session sync feature, introduced in 1.123, ties chat history to a developer's GitHub account and makes past sessions searchable across machines using the /chronicle command.
Remote agent support arrived as an experimental feature in version 1.121, released May 20. Developers can now run agent sessions on remote machines over SSH or Dev Tunnels, with sessions continuing to execute even after the local client disconnects. The Agents window connects to remote machines using the Agent Host Protocol over SSH. Once connected, it automatically installs and starts the VS Code CLI on the remote machine.
Agent Host Protocol: Immutable State Across Multiple Clients
The remote agent capability rests on a specific architectural foundation: the Agent Host Protocol, an open protocol Microsoft has been developing publicly since early 2026. Understanding how AHP works explains both why remote agents are possible and why VS Code's approach to multi-client sessions differs structurally from competitor tools.
AHP defines how a standalone sessions server communicates with multiple clients simultaneously. The core design principle is that the agent host manages authoritative session state and synchronizes it to every connected client using immutable state, pure reducers, and write-ahead reconciliation. State changes are ordered — multiple clients can act on the same agent session without producing consistency failures.
This is architecturally distinct from the Agent Client Protocol, which governs how editors and agents communicate at the message level. AHP governs something higher up the stack: which client holds the authoritative copy of session state, and how mutations are sequenced when multiple surfaces — a laptop window, a mobile monitor, a remote CLI session — observe the same agent working. Microsoft publishes the AHP specification publicly and ships SDKs in Rust and Swift alongside the reference implementation in VS Code's Node.js runtime.
The competitive significance of AHP is clearer when placed alongside what Cursor and Windsurf offer architecturally. According to independent comparison research, Cursor uses Merkle tree-based indexing for codebase context, Windsurf relies on graph-based dependency models, and VS Code uses repository-level context. Both Cursor and Windsurf are vertically integrated — they control the agent engine and the editor surface in a single product. VS Code's bet is the inverse: an open harness that lets developers route work to Copilot CLI, the Claude Agent SDK, Copilot Cloud, or their own BYOK provider, all from a single editor surface that roughly 42 percent of professional developers already use.
Air-Gapped AI Coding: How BYOK Authentication Changed in 1.122
The air-gapped BYOK feature in version 1.122, released May 28, solved a specific authentication problem that had kept regulated industries on the sidelines of GitHub Copilot tooling.
VS Code has supported bring-your-own-key model configurations — letting users supply their own API keys for external language models — since October 2025. The problem was structural: even though the actual inference request went to the BYOK provider, VS Code's Chat view would not activate without a successful GitHub OAuth handshake. That OAuth exchange required outbound connectivity to github.com. For organizations operating in air-gapped or restricted networks, that single dependency made BYOK practically unusable: every token request went to the right destination, but activating the Chat view at all required a network call the environment would never allow.
The 1.122 release decoupled Chat view activation from GitHub OAuth entirely. The mechanism is straightforward: once at least one BYOK model is configured through the Manage Language Models command in the Command Palette, the Chat view becomes available and GitHub sign-in prompts are suppressed. Requests route directly to the configured provider — Anthropic, Azure, Gemini, OpenAI, Ollama, OpenRouter, or a custom endpoint. Built-in tools and any configured Model Context Protocol servers continue to work in this mode.
For genuinely air-gapped deployments, the BYOK provider itself must be local or within the same isolated environment. A provider configured to point at a remote or internet-accessible API still routes prompts and code context over the network to that provider — only the GitHub authentication call is removed. Developers can run fully offline workflows using local inference servers such as Ollama, vLLM, or Foundry Local. Setting the COPILOT_OFFLINE environment variable in the CLI additionally disables telemetry, ensuring no outbound traffic of any kind leaves the environment.
GitHub obtained FedRAMP Moderate authorization for Copilot in April 2026, and a Futurum Group survey of 828 software engineering decision-makers conducted in the first half of 2026 found that 60.1 percent of organizations already use AI in software development, with regulated industries representing the largest remaining untapped segment.
Granular Model Controls and Token Cost Management
The May releases also added granular controls for BYOK model routing — changes that take on added significance given that GitHub Copilot moved to usage-based billing on June 1, 2026. Under the new billing model, each interaction consumes GitHub AI Credits priced according to token usage, with more capable models consuming credits faster. Developer backlash since the June 1 launch has centered on routine agentic workflows consuming monthly credit allotments far more rapidly than expected.
The configurable utility model feature, introduced across the May cycle, lets administrators specify different models for different task categories: lightweight utility work such as commit message generation, rename suggestions, and title creation can be routed to faster, cheaper models, while substantive coding tasks use heavier models. Real token usage is now also visible for BYOK models in the context window — previously, usage showed as zero for BYOK configurations because the accounting only covered built-in Copilot models, effectively preventing teams from tracking their actual spend.
Terminal Safety in Agent-Driven Workflows
Two terminal changes in the May cycle address security concerns that are particularly relevant for regulated-industry deployments adopting agentic coding for the first time.
Sensitive terminal inputs — passwords, passphrases, PINs, and verification codes — are now entered directly in the terminal and are explicitly not shared with the underlying language model. Command risk assessment, shipping in experimental form, attaches AI-generated risk levels and explanations to terminal confirmations before potentially destructive commands execute, giving developers a second opinion at the moment of action. Verbose output from tests, builds, linters, Docker containers, and package managers is now compressed before reaching the model, reducing token consumption. A new VSCODE_AGENT environment variable lets command-line tools detect when they are being invoked by an agent and adapt their behavior accordingly.
As brief context for new adopters: in February 2026, Orca Security disclosed RoguePilot, a prompt injection vulnerability in GitHub Codespaces that could allow repository takeover by injecting malicious instructions through GitHub Issues. GitHub patched the vulnerability after disclosure. The terminal safety improvements in the May releases address a different attack surface — protecting sensitive credentials within active agent sessions rather than guarding against external injection via repository content.
What the Enterprise Plugin Layer Adds
GitHub's June 5 announcement — enterprise-managed plugins in VS Code entering public preview — builds directly on the BYOK and Agents window infrastructure from the May releases. Enterprise administrators can now configure and distribute custom agents, Copilot skills, and Model Context Protocol configurations across all developers in an organization from a single policy layer, defined in a settings.json file at .github-private/.github/copilot/settings.json. Plugins can also be set to install automatically when users authenticate from VS Code or Copilot CLI.
For defense contractors and other regulated organizations, this matters because AI coding adoption at enterprise scale requires governance controls, not just technical capability. The ability to configure what agents are available and what models they call — at the organization level, through an admin interface, without per-developer setup — is the operational prerequisite for rolling out agentic coding to hundreds of developers inside a network-isolated environment rather than a handful of early adopters running personal experiments.
What VS Code Has That Cursor and Windsurf Do Not
Cursor reached $500 million in annual recurring revenue by April 2026, according to reported figures, and Windsurf continues to expand under Cognition following its acquisition. Both offer polished agentic IDE experiences with strong benchmark performance. Neither runs as an extension inside VS Code — developers who adopt either tool leave the existing extension ecosystem, keybindings, and editor configuration behind.
VS Code's answer to the agentic IDE competition is not a better completion engine or a more autonomous agent loop. It is an open harness: BYOK works with any provider, AHP is a public protocol with open SDKs, the extension marketplace has thousands of existing integrations, and the enterprise plugin layer gives administrators a governance mechanism that scales to the full organization. The question is whether that architectural openness — and the regulated-industry unblocking delivered across the May cycle — translates into retention among developers who are already weighing a move to vertically integrated alternatives.
Developers who had been exploring AI-native alternatives specifically because VS Code lacked agentic workflows as a first-class feature now have a direct answer from the May releases. Whether VS Code's open-harness model, combined with the compliance infrastructure that enterprise deployment requires, proves more durable than the tightly integrated experience that Cursor and Windsurf offer will likely be the defining competition in developer tools through the rest of 2026.
Frequently Asked Questions
What is the VS Code Agents window and how do I open it?
The Agents window is a dedicated VS Code surface, introduced in Stable preview with version 1.120 on May 13, 2026, that prioritizes directing multi-step coding tasks over editing individual files. It shares sessions, settings, and keybindings with the standard editor window, so developers can move between workflows without losing context. To open it, select the "Open in Agents" button in the VS Code title bar or run "Chat: Open Agents Window" from the Command Palette.
How does VS Code BYOK work in air-gapped environments?
Before version 1.122, bring-your-own-key model support in VS Code required a GitHub OAuth handshake with github.com before the Chat view would activate, making it unusable in network-isolated environments. The 1.122 release, shipped May 28, 2026, removed that dependency: configuring at least one BYOK model through the Command Palette suppresses the GitHub sign-in prompt and routes requests directly to the provider. For true air-gap operation, the configured provider must also be local — such as an Ollama or vLLM instance within the same isolated network — and setting COPILOT_OFFLINE=true disables telemetry.
What is Agent Host Protocol in VS Code?
Agent Host Protocol is an open protocol, developed publicly by Microsoft, that defines how VS Code synchronizes agent session state across multiple connected clients simultaneously. The host maintains authoritative session state using immutable data structures and pure reducer functions, sequencing all state mutations through write-ahead reconciliation so that multiple surfaces — an editor window, a remote CLI session, a mobile monitor — can observe and interact with the same agent session without consistency failures. Microsoft publishes the specification publicly and ships client SDKs in Rust and Swift.
What does VS Code enterprise 2026 agent governance look like for regulated industries?
Organizations using GitHub Copilot Business or Enterprise can now deploy VS Code with a policy layer that controls which agents are available, which models they use, and which tools they can access — all set at the organization level through GitHub organization settings and VS Code enterprise policies. Combined with BYOK air-gapped support and FedRAMP Moderate compliance authorization obtained in April 2026, this gives regulated-industry IT administrators the technical and compliance infrastructure needed to roll out agentic coding to their full engineering organization, not just the subset of developers whose workstations have internet access.
ⓒ 2026 TECHTIMES.com All rights reserved. Do not reproduce without permission.




