Visual Studio 2022 (v17.14) introduces 𝗔𝗴𝗲𝗻𝘁 𝗠𝗼𝗱𝗲 — a powerful upgrade to GitHub Co-pilot that goes beyond suggesting code. Now, it can 𝗮𝘂𝘁𝗼𝗻𝗼𝗺𝗼𝘂𝘀𝗹𝘆 𝗽𝗹𝗮𝗻, 𝗲𝗱𝗶𝘁, 𝗿𝘂𝗻 𝘁𝗼𝗼𝗹𝘀, 𝗮𝗻𝗱 𝗶𝘁𝗲𝗿𝗮𝘁𝗲 𝘂𝗻𝘁𝗶𝗹 𝘁𝗵𝗲 𝘁𝗮𝘀𝗸 𝗶𝘀 𝗰𝗼𝗺𝗽𝗹𝗲𝘁𝗲.
𝗪𝗵𝗮𝘁 𝗺𝗮𝗸𝗲𝘀 𝗔𝗴𝗲𝗻𝘁 𝗠𝗼𝗱𝗲 𝗱𝗶𝗳𝗳𝗲𝗿𝗲𝗻𝘁?
Unlike Co-pilot Chat, which offers one-step suggestions, Agent Mode takes full ownership of multi-step tasks. It analyses your codebase, edits files, executes terminal commands, and leverages tools like test runners and linters — all with your permission.
𝗘𝘅𝗮𝗺𝗽𝗹𝗲:
You can now type a high-level request like:
"𝗔𝗱𝗱 𝗝𝗪𝗧 𝗮𝘂𝘁𝗵𝗲𝗻𝘁𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝘁𝗼 𝘁𝗵𝗶𝘀 𝗔𝗣𝗜 𝗽𝗿𝗼𝗷𝗲𝗰𝘁", and Agent Mode will take care of setting up the packages, updating configurations, and adding necessary middleware — iterating until it's done right.
𝗛𝗼𝘄 𝘁𝗼 𝗲𝗻𝗮𝗯𝗹𝗲 𝗶𝘁 𝗶𝗻 𝗩𝗶𝘀𝘂𝗮𝗹 𝗦𝘁𝘂𝗱𝗶𝗼:
- Use version 17.14 or later.
- Open Feature Search (
Ctrl + Q) and search forcopilot-chat.agent. - Enable 𝗖𝗼𝗽𝗶𝗹𝗼𝘁 𝗖𝗵𝗮𝘁: 𝗔𝗴𝗲𝗻𝘁 𝗘𝗻𝗮𝗯𝗹𝗲𝗱.
- Switch the Co-pilot Chat tab to 𝗔𝗴𝗲𝗻𝘁 mode.
This is just the beginning of how AI can collaborate in your development workflow.
𝗛𝗮𝘃𝗲 𝘆𝗼𝘂 𝘁𝗿𝗶𝗲𝗱 𝗔𝗴𝗲𝗻𝘁 𝗠𝗼𝗱𝗲 𝘆𝗲𝘁? 𝗪𝗵𝗮𝘁 𝘁𝗮𝘀𝗸 𝘄𝗼𝘂𝗹𝗱 𝘆𝗼𝘂 𝗱𝗲𝗹𝗲𝗴𝗮𝘁𝗲 𝘁𝗼 𝗶𝘁 𝗳𝗶𝗿𝘀𝘁?
Top comments (0)