Access to this page requires authorization. You can try changing directories .
Access to this page requires authorization. You can try signing in or changing directories .
Use Copilot agent mode in Visual Studio (Preview)
With GitHub Copilot's agent mode in Visual Studio, you can use natural language to specify a high-level task. AI will then autonomously reason through the request, plan the work needed, and apply the changes to your codebase. Agent mode combines code editing and tool invocation to accomplish the task you specified. As it processes your request, it monitors the outcome of edits and tools, and iterates to resolve any issues that arise.
The key difference from Copilot Chat is that agent mode can:
Run commands and builds to interpret the environment or execute a task (for example, database migrations, dotnet restore, etc.).
Iterate on errors, failed builds, or unit test results until it either requires additional input or considers the task complete.
Prerequisites
Get started with agent mode
To get started with Copilot agent mode in Visual Studio, enable the feature in Tools > Options > GitHub > Copilot > Copilot Chat > Enable agent mode in the chat pane.
... continue reading