VS Code: Agent Host Infrastructure and Sessions Overhaul
Major infrastructure work on VS Code's Agent Host system with new resource handling, WSL support, and protocol updates, plus comprehensive sessions management improvements including unified model selection and layout fixes.
Duration: PT2M26S
Transcript
Good morning. This is your VS Code developer briefing for June 5th, 2026.
The dominant theme today is a comprehensive overhaul of VS Code's Agent Host infrastructure, touching everything from resource management to connection protocols. This represents foundational work that will impact how AI agents interact with your development environment.
The biggest architectural change consolidates how Agent Host handles file resources. PR 320040 replaces the previous permission and virtual resource services with a single unified service that can handle both regular files and virtual resources like untitled documents and notebook cells. This means agents can now properly attach and work with content that isn't saved to disk - a significant capability gap that's now filled. The change also streamlines the local and remote protocol handlers into thin adapters, reducing complexity.
Connection support got a major expansion with WSL integration in PR 319971. Windows developers can now launch Agent Host sessions directly inside WSL distros, with automatic reconnection when WSL is already running. This joins SSH and dev tunnels as the third supported connection type, broadening where and how you can run AI-powered development sessions.
The sessions management system saw equally significant updates. PR 319980 unifies model selection across all session providers through a single core model picker, replacing the previous per-provider implementations. PR 319991 builds a unified recency history that powers both the session picker and navigation, creating consistency between how you browse and navigate sessions.
Several smaller but important fixes landed: PR 320036 resolves model selection issues when switching between session types, PR 320015 stops a configuration update loop that was causing problems across multiple windows, and PR 320075 ensures the secondary sidebar respects your visibility preferences when switching sessions.
Looking ahead, this infrastructure work sets the stage for more sophisticated agent interactions and smoother multi-session workflows. The virtual resource support in particular opens new possibilities for how agents can work with your in-progress code.
That's your VS Code update for today.