GitHub Copilot upgrade is an AI-powered agent that helps you upgrade applications to newer versions of languages, frameworks, and runtimes. It assesses your application, creates an upgrade plan, applies code changes, and validates the results through an interactive upgrade workflow.
GitHub Copilot upgrade is available from both the GitHub Copilot app and GitHub Copilot CLI.
Click this link to automatically open the Settings > Plugins window in the GitHub Copilot app.
In the Add plugin marketplace dialog, select Allow.
Go to the Customize view and search for upgrade-agent. Under the All marketplaces dropdown, select the upgrade-agent-plugins, and select Install on the upgrade-agent plugin.
Note: Prior to v1.0.3 of the GitHub Copilot app, you will need to restart the app after installing the plugin before you can use the GitHub Copilot upgrade agent.
Select the Upgrade agent from the Agent Picker:
Prompt the agent:
upgrade my project to .NET 11
Add the marketplace:
/plugin marketplace add microsoft/upgrade-agent-pluginsInstall the GitHub Copilot upgrade plugin:
/plugin install upgrade-agent@upgrade-agent-pluginsSelect the agent:
/agent to select Upgrade
Prompt the agent:
upgrade my solution to .NET 10
A custom agent definition and setup steps are provided for use with Copilot Cloud Agent in GitHub. This allows Copilot to upgrade projects directly via pull requests.
See the cloud-agent README for setup instructions.
