Microsoft shipped cloud agent integration in Visual Studio’s April 2026 update on Monday. Developers can now select “Cloud” from the agent picker in the Chat window, describe the work they need done, and let a remote agent handle execution autonomously, according to the Visual Studio Blog.
The cloud agent creates an issue in the developer’s GitHub repository, writes the code, and delivers a pull request. Developers can continue working on other tasks or close the IDE entirely while the agent works. When the PR is ready, they receive a notification with options to view it, according to the Visual Studio Blog.
How It Works
Cloud agent sessions are powered by GitHub’s Copilot coding agent and run on remote infrastructure for isolated execution. The requirement: the developer must be in a GitHub repository and Copilot must have permission to create issues in that repository, according to the Visual Studio Blog.
The workflow is asynchronous by design. Microsoft described it as “a different way of working that frees you up to focus on the parts of your project that need your full attention,” according to Magnetism.
Custom Agents and the Debugger Agent
The update also extends custom agents to user-level definitions stored in %USERPROFILE%/.github/agents/ that persist across repositories. These support workspace awareness, code understanding, tools, model selection, and MCP connections to external knowledge sources like internal documentation, APIs, and databases, according to the Visual Studio Blog.
C++ code editing tools for agent mode reached general availability in this release, giving Copilot the ability to trace class inheritance hierarchies and follow function call chains during refactoring. The new Debugger Agent goes further: it maps a bug report to local source code, creates a minimal reproducer, instruments the app with tracepoints and conditional breakpoints, runs the debug session, and suggests a precise fix at the exact failure point, according to the Visual Studio Blog.
The IDE as Agent Control Plane
The release positions Visual Studio as a control surface for agent-driven development rather than just an editor with autocomplete. Developers describe intent, dispatch work to autonomous agents, and review results. The pattern mirrors what OpenAI is doing with Codex and what Cursor built as a standalone product, but Microsoft is embedding it inside the tool where 30+ million developers already write code.