You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Agents window (Preview, introduced in 1.120) cannot work with WSL-based projects.
When attempting to open a project that lives inside a WSL filesystem, the window
fails to resolve paths, reporting that the path cannot be found.
Steps to Reproduce
Open VS Code on Windows with the Remote - WSL extension installed.
Connect to a WSL distro and open a project (e.g. /home/user/myproject).
Click "Open in Agents" from the title bar (or open the Agents window manually).
Try to add the WSL project as a session target.
Expected Behavior
The Agents window should be able to connect to WSL the same way a regular
Remote - WSL window does, and run agents against projects on the Linux filesystem.
Actual Behavior
The window runs in the Windows host context and cannot resolve Linux-side paths
(e.g. /home/user/myproject). An error is shown indicating the path cannot be found.
Environment
VS Code version: 1.120.0
OS: Windows (with WSL2, Ubuntu 24.04)
Remote - WSL extension: latest
Additional Context
The regular VS Code Remote - WSL window works correctly for Copilot Chat agent
mode. The limitation appears to be that the Agents window does not inherit or
establish a remote connection (WSL / SSH / Dev Containers) the way a standard
editor window does.
Being able to run agents on WSL projects is important for developers who do all
their work inside WSL. The workaround of accessing WSL files via \\wsl$\...
UNC paths is unreliable and has significant I/O performance penalties.
Suggested Solution
Allow the Agents window to establish WSL (and more broadly, Remote extension)
connections per-session, similar to how the regular editor window does. The
existing "run agents on remote machines" direction mentioned in the 1.120 release
notes suggests this is already on the roadmap.
Labels to add:feature-request, agents-window, remote-wsl
Reacted by Crispy13, Yulin Li, HaoWu, zanejohnson-azure, Yurii Zelenko, JEM, charlandd, Kaue Reinbold, deathInTheAfternoon, Lin Changqing and 3 more
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Activity
zanejohnson-azure commentedon May 14, 2026
Same issue #316342
vs-code-engineering commentedon May 15, 2026
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!