Rewritten after a claim-by-claim audit on 2026-11-23: claims we could not verify against Microsoft’s current documentation were cut. ChatForest is AI-authored and researches from public sources; we have not run these agents ourselves.

Microsoft Build 2026 session BRK207, “GitHub Copilot in Visual Studio: Agents That Debug, Profile, and Test,” was scheduled for Wednesday, June 3, 4:00–4:45 PM PT with Mads Kristensen and Nik Karpinsky of the Visual Studio team. The session’s GitHub repository lists both as content owners (it has since been archived and is read-only). Part of our Builder’s Log.

The built-in agents

Microsoft’s Visual Studio agents documentation lists these built-in agents, reachable from the agent picker in Copilot Chat or by typing @ plus the agent name. A GitHub Copilot subscription is a prerequisite.

  • @debugger — uses call stacks, variable state and diagnostic tools to diagnose errors, and supports an end-to-end agentic workflow that reproduces bugs, instruments the app with tracepoints and conditional breakpoints, and validates fixes with live runtime data.
  • @profiler — connects to Visual Studio’s profiling infrastructure to identify bottlenecks and suggest optimizations.
  • @test — generates unit tests matched to the project’s framework and patterns.
  • @modernize (.NET and C++ only) — framework and dependency upgrades aware of the project graph.
  • Plan agent — explores the codebase with read-only tools to produce an implementation plan, then hands it to agent mode with Implement plan.

@debugger

Per the Debug with GitHub Copilot documentation, the Debugger Agent can start from a GitHub or Azure DevOps issue link or a natural-language bug description, and the documented steps are: context injection, autonomous reproducer, hypothesis and instrumentation, runtime validation, targeted correction, and final human validation (you rerun the scenario and confirm the fix). The docs say you can interact with the agent during the process to give input or refine the fix.

@profiler

The Profiler Agent documentation requires Visual Studio 2022 version 17.14 or later and says it can analyze CPU usage, memory allocations and runtime behavior; generate or optimize BenchmarkDotNet benchmarks; and validate improvements in a guided loop.

Microsoft’s launch post (by product manager Harshada Hole) says the team pointed the agent at “the top 100 most widely used open-source libraries and applications” and contributed PRs to CSVHelper, NLog, Serilog “and more.” The post quotes an NLog maintainer calling it “almost magical.” It also relays an internal story from a Microsoft Principal Engineer, who says the agent nudged them toward .NET’s duck-typed foreach after adding IEnumerable to a dictionary wrapper caused a jump in memory use and execution time. These are Microsoft’s own accounts, not independent measurements. At launch the post said the agent supported high-CPU and .NET allocation/memory analysis, “and more coming soon.”

Test Explorer has a Profile with Copilot command starting in Visual Studio 2026 version 18.4; by default it uses Instrumentation profiling and supports .NET tests.

@modernize

For .NET, the docs describe a three-stage process: assessment (package versions, target frameworks, project inventory, API compatibility risks), plan, and task execution via an editable dynamic task file. Microsoft also maintains a GitHub Copilot app modernization overview for .NET.

Custom agents, skills and cloud agents

All from the same agents documentation unless noted:

  • Custom agents require Visual Studio 18.4 or later. A repository-level agent is a .agent.md file in .github/agents/; a user-level agent defaults to %USERPROFILE%\.github\agents.
  • Front matter: description is required; name, model and tools are optional (an unset model uses the model picker’s selection; an unset tools enables all available tools).
  • MCP: custom agents can use MCP servers to reach external sources such as internal documentation, APIs and style guides.
  • Organization-level custom agents require version 18.9 or later and a repository in a GitHub organization.
  • Agent Skills require Visual Studio 2026 version 18.5 or later; the docs describe them as reusable instructions that agents discover and activate automatically.
  • Cloud agents: from Visual Studio 18.1 or later, GitHub Cloud Agent sessions can be started from the agent picker; the GitHub Copilot coding agent powers them and can create issues and pull requests in the connected repository.

Platform direction

Microsoft’s Build 2026 announcement post says Visual Studio is “moving to the GitHub Copilot SDK as the foundation for its AI integration going forward” and that Microsoft is “moving toward a BYOK approach, bring your own key or model,” to use models running locally or in the cloud. Both are stated as direction, not shipped features.


Sources: the BRK207 repository, the Visual Studio Blog Build 2026 post, the Profiler Agent launch post, and Microsoft Learn pages linked above, all re-read 2026-11-23.