{"id":254651,"date":"2025-10-22T08:54:18","date_gmt":"2025-10-22T15:54:18","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=254651"},"modified":"2025-10-22T08:54:18","modified_gmt":"2025-10-22T15:54:18","slug":"introducing-planning-in-visual-studio-public-preview","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/introducing-planning-in-visual-studio-public-preview\/","title":{"rendered":"Introducing Planning in Visual Studio (Public Preview)"},"content":{"rendered":"<p>Quick prompts are great for small fixes, but they fall short on big projects. You end up rewriting instructions, tweaking them constantly, and hoping the model stays on track. It gives Copilot a visible, structured path to follow, one that updates as it works and keeps you in control at every step.<\/p>\n<p>In Agent Mode, Copilot can now create plans that research your codebase, break down big tasks, and run them step by step while iterating along the way. The result is a more predictable and transparent workflow that helps you understand exactly what it\u2019s doing.<\/p>\n<p><div style=\"width: 640px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-254651-1\" width=\"640\" height=\"360\" loop autoplay preload=\"auto\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/10\/Planning-quick-quick-1.mp4?_=1\" \/><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/10\/Planning-quick-quick-1.mp4\">https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/10\/Planning-quick-quick-1.mp4<\/a><\/video><\/div><\/p>\n<p><div class=\"alert alert-primary\">\u00a0 \ud83d\udfe9 <strong data-start=\"1033\" data-end=\"1051\">Now available:<\/strong> Planning in Chat is in <em data-start=\"1075\" data-end=\"1091\">public preview<\/em> in Visual Studio 2022 17.14. We\u2019re rolling this out gradually, so you might already have it enabled. If not, you can turn it on via <strong data-start=\"1224\" data-end=\"1272\">Tools &gt; Options &gt; Copilot &gt; Enable Planning. <\/strong><\/div><\/p>\n<h1>How It Works<\/h1>\n<p data-start=\"1238\" data-end=\"1321\">Planning uses transparent tool calls to manage complex tasks in a structured way.<\/p>\n<p data-start=\"1323\" data-end=\"1763\">When you ask Copilot to handle a multi-step task, it automatically determines whether to respond directly or switch into built in planning. Simple prompts get quick answers, while multi-step ones trigger a coordinated plan. When invoked, Planning creates a markdown file that defines the task, research steps, and progress updates as each execution begins. As Copilot works, it revises and refines the plan \u2014 adapting to new context or results.<\/p>\n<p>A few details to keep in mind:<\/p>\n<ul>\n<li>The plan is written to a temporary file (<code>%TEMP%\\VisualStudio\\copilot-vs\\<\/code>). To reuse it across threads, add it to your repo. If you want longer-term storage options, upvote <a href=\"https:\/\/developercommunity.visualstudio.com\/t\/Allow-saving-and-reusing-Copilot-plans-i\/10985882\">this request.\u00a0<\/a><\/li>\n<li>If you edit the plan while a response is running, changes may not take effect immediately. Stop the response, update the file or prompt, and restart it. We\u2019re exploring ways to make mid-response edits smoother. <a href=\"https:\/\/developercommunity.visualstudio.com\/t\/Redirect-Agent-Mode-Mid-Response\/10956902\">Upvote this idea -&gt;<\/a> if you\u2019d like to see it sooner.<\/li>\n<li>Progress is tracked directly in the plan file, so you can always see what\u2019s completed and what\u2019s next.<\/li>\n<\/ul>\n<h2><strong>How Planning Impacts Response Quality<\/strong><\/h2>\n<p>Planning makes Copilot more predictable and consistent by giving it a structured way to reason about your project. It builds on techniques from hierarchical and closed-loop planning research &#8211; enabling Copilot to plan at a high level, execute step-by-step, and adjust dynamically as it learns more about your codebase and issues encountered during implementation.<\/p>\n<p>In our latest SWE-bench runs, both GPT-5 and Claude Sonnet 4 performed better with planning, around 15% higher success and 20% more tasks resolved and we\u2019re continuing to test additional models to confirm the trend.<\/p>\n<p>These early results show measurable gains in reliability and task completion, especially for larger, multi-step problems.<\/p>\n<h1>What\u2019s Next<\/h1>\n<p>We\u2019re actively collecting feedback as we evolve Copilot\u2019s planning system to better fit your workflow. This marks the foundation of planning-driven development in Visual Studio. Upcoming improvements will focus on smarter caching, refined reasoning, and deeper project context. It\u2019s an early milestone &#8211; but one we believe will make Copilot a more predictable and transparent collaborator. Share your feedback here: <a href=\"https:\/\/developercommunity.visualstudio.com\/t\/PlanningTo-dos-in-Copilot-Chat\/10951150\">Planning\/To dos in Copilot Chat.<\/a><\/p>\n<p><div class=\"alert alert-primary\">This remains a preview feature as we continue refining the planning format, expanding tests across newer models, and validating how these structured plans evolve alongside model improvements.<\/div><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick prompts are great for small fixes, but they fall short on big projects. You end up rewriting instructions, tweaking them constantly, and hoping the model stays on track. It gives Copilot a visible, structured path to follow, one that updates as it works and keeps you in control at every step. In Agent Mode, [&hellip;]<\/p>\n","protected":false},"author":142353,"featured_media":254673,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6887,6888,6967,155],"tags":[1055,7026,7027,7025],"class_list":["post-254651","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-artificial-intelligence","category-copilot","category-github-copilot","category-visual-studio","tag-ai","tag-planning","tag-planning-mode","tag-spec-driven-development"],"acf":[],"blog_post_summary":"<p>Quick prompts are great for small fixes, but they fall short on big projects. You end up rewriting instructions, tweaking them constantly, and hoping the model stays on track. It gives Copilot a visible, structured path to follow, one that updates as it works and keeps you in control at every step. In Agent Mode, [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/254651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/142353"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=254651"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/254651\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/254673"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=254651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=254651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=254651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}