{"id":817,"date":"2025-05-28T12:01:04","date_gmt":"2025-05-28T19:01:04","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/foundry\/?p=817"},"modified":"2025-05-29T14:01:21","modified_gmt":"2025-05-29T21:01:21","slug":"open-in-vscode","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/foundry\/open-in-vscode\/","title":{"rendered":"Code quicker with Azure AI Foundry playgrounds and Visual Studio Code"},"content":{"rendered":"<p style=\"text-align: left;\">In today&#8217;s development cycle, <strong>speed and clarity are everything<\/strong>. As you create with the latest state-of-the-art agents and models, <strong>Azure AI Foundry playgrounds are your on-demand, low-friction environment. Designed for rapid prototyping, API exploration, and technical validation, <\/strong>think of the Foundry playground as your <strong>technical sketchpad.<\/strong><\/p>\n<p style=\"text-align: left;\">Modern development involves working across multiple systems\u2014APIs, services, SDKs, and data models\u2014often before you\u2019re ready to fully commit to a framework, write tests, or spin up infrastructure. As the complexity of software ecosystems increases, the need for <strong>safe<\/strong>, <strong>lightweight<\/strong> environments to <strong>validate<\/strong> ideas becomes critical. Azure AI Foundry playgrounds were built to meet this <strong>experimentation<\/strong> need. Instead of having to configure a project, import dependencies, or worry about compatibility, the playgrounds is a live environment with preloaded tooling, native API support, and powerful features like code generation, chain of thought summary, and parameter tuning.<\/p>\n<h3 style=\"text-align: left;\">Port from playground to VS Code quicker<\/h3>\n<p style=\"text-align: left;\">At<a href=\"https:\/\/www.youtube.com\/watch?v=HfgMrIuM1Ng&amp;t=2115s\"> Microsoft Build 2025<\/a>, as part of the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=TeamsDevApp.vscode-ai-foundry\">Azure AI Foundry extension for Visual Studio Code,<\/a> we announced the \u201c<strong>Open in VS Code\u201d<\/strong> workflow. Available in <strong>chat<\/strong> and <strong>agents<\/strong> <strong>playground<\/strong> <strong>code samples<\/strong> in Azure AI Foundry, Open in VS Code is here to remove friction as you get to code quicker.<\/p>\n<div style=\"text-align: center;\">\n<div class=\"centered-image\" style=\"text-align: left;\"><a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_1.png\"><img decoding=\"async\" class=\"size-full wp-image-867 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_1.png\" alt=\"image 1 image\" width=\"1879\" height=\"892\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_1.png 1879w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_1-300x142.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_1-1024x486.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_1-768x365.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_1-1536x729.png 1536w\" sizes=\"(max-width: 1879px) 100vw, 1879px\" \/><\/a><\/div>\n<p style=\"text-align: left;\">In <strong>one click<\/strong>, your agent or model API endpoint, key and code sample from Azure AI Foundry will be <strong>automatically imported<\/strong> into a new workspace in VS Code for Web through the Azure AI Foundry VS Code extension.<\/p>\n<p style=\"text-align: left;\">Once in VS Code, the agent or model can be <strong>run locally<\/strong> \u2013 and using <strong>`azd` commands<\/strong>, you\u2019re able to <strong>add<\/strong>, <strong>provision,<\/strong> and <strong>deploy<\/strong> a <strong>web app<\/strong> that uses the agent or model. Finally, you can continue to on Desktop in 1 click that clones the workspace structure to GitHub for VS Code or GitHub Desktop experiences. Open in VS Code is here to accelerate developer velocity across your generative AI workflow across Azure AI Foundry, VS Code, and GitHub. No more multiple back and forth flows, one click to get started building quicker.<\/p>\n<p style=\"text-align: left;\">Let\u2019s see how this works with a step-by-step guide.<\/p>\n<h3 style=\"text-align: left;\">Open in VS Code walkthrough<\/h3>\n<ol style=\"text-align: left;\">\n<li style=\"text-align: left;\">From the <strong><a href=\"https:\/\/ai.azure.com\/?cid=devblogs\" target=\"_blank\" rel=\"noopener\">Azure AI Foundry portal<\/a><\/strong>, select the best model for your use case, including o3, o4-mini, or MAI-DS-R1 from <strong>Foundry Models<\/strong>. In this case, we\u2019ll use gpt-4o-mini as an example model for an agent workflow.\n<div class=\"centered-image\"><a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image3.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-824\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image3.png\" alt=\"Azure AI Foundry portal screen to explore models and capabilities\" width=\"1553\" height=\"746\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image3.png 1553w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image3-300x144.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image3-1024x492.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image3-768x369.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image3-1536x738.png 1536w\" sizes=\"(max-width: 1553px) 100vw, 1553px\" \/><\/a><\/div>\n<\/li>\n<li>Provision the model endpoint from the <strong>gpt-4o-mini model card<\/strong>.\n<a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_3.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-873\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_3.png\" alt=\"image 3 image\" width=\"1852\" height=\"881\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_3.png 1852w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_3-300x143.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_3-1024x487.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_3-768x365.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_3-1536x731.png 1536w\" sizes=\"(max-width: 1852px) 100vw, 1852px\" \/><\/a><\/li>\n<li style=\"text-align: left;\">Arrive in the <strong>agents playground<\/strong>, alter generation controls like max responses and past messages. <strong><strong>Add knowledge, tools, and actions.\n<\/strong><\/strong><a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_4.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-872\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_4.png\" alt=\"image 4 image\" width=\"1844\" height=\"878\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_4.png 1844w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_4-300x143.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_4-1024x488.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_4-768x366.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_4-1536x731.png 1536w\" sizes=\"(max-width: 1844px) 100vw, 1844px\" \/><\/a><\/li>\n<li style=\"text-align: left;\"><strong>Iterate<\/strong> on your sample prompt and <strong>continue experimentation<\/strong> in the agents playground.<\/li>\n<li style=\"text-align: left;\">Once happy, click the <strong>View Code button<\/strong> to see the contextual code sample for your interaction with the agent in the agents playground.\n<a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_5.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-871\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_5.png\" alt=\"image 5 image\" width=\"1869\" height=\"891\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_5.png 1869w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_5-300x143.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_5-1024x488.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_5-768x366.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_5-1536x732.png 1536w\" sizes=\"(max-width: 1869px) 100vw, 1869px\" \/><\/a>\nThere, you can see <strong>multi-lingual code samples<\/strong> in Python, C#, and JavaScript for agents and with the inclusion of JSON, cURL, JavaScript, C#, and Go for models Entra ID can be used to authenticate agents with &#8220;Key Authorization&#8221; now available for models.<a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_6.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-870\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_6.png\" alt=\"image 6 image\" width=\"1880\" height=\"893\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_6.png 1880w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_6-300x143.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_6-1024x486.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_6-768x365.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_6-1536x730.png 1536w\" sizes=\"(max-width: 1880px) 100vw, 1880px\" \/><\/a><\/li>\n<li style=\"text-align: left;\">When ready, <strong>click Open in VS Code<\/strong> and be redirected to the <strong>\/azure environment of VS Code for Web<\/strong>.\n<a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_7.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-869\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_7.png\" alt=\"image 7 image\" width=\"1861\" height=\"879\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_7.png 1861w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_7-300x142.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_7-1024x484.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_7-768x363.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_7-1536x725.png 1536w\" sizes=\"(max-width: 1861px) 100vw, 1861px\" \/><\/a><\/p>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>You\u2019ll notice that as the environment is set-up, the <strong>code sample, API endpoint, and key are automatically imported into a new VS Code for Web workspace<\/strong>.\n<a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_8.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-879\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_8.png\" alt=\"image 8 image\" width=\"1824\" height=\"872\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_8.png 1824w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_8-300x143.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_8-1024x490.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_8-768x367.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/image_8-1536x734.png 1536w\" sizes=\"(max-width: 1824px) 100vw, 1824px\" \/><\/a><\/li>\n<li>In the bottom right corner, you\u2019ll see that the <strong>API key<\/strong> is <strong>set<\/strong> in the <span style=\"font-weight: normal !msorm;\"><strong>t<\/strong><\/span><strong>erminal\u2019s environment variables<\/strong> and that the sample code has been downloaded successfully.\n<a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114115.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-889\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114115.png\" alt=\"Screenshot 2025 05 28 114115 image\" width=\"1908\" height=\"918\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114115.png 1908w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114115-300x144.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114115-1024x493.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114115-768x370.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114115-1536x739.png 1536w\" sizes=\"(max-width: 1908px) 100vw, 1908px\" \/><\/a><\/li>\n<\/ol>\n<\/li>\n<li style=\"text-align: left;\">In the <strong>Instructions README<\/strong>, you can browse the files automatically created with the one click of Open in VS Code.\n<div class=\"centered-image\"><a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image11.png\"><img decoding=\"async\" class=\"size-full wp-image-832 alignnone\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image11.png\" alt=\"Azure Workspace dropdown\" width=\"145\" height=\"146\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image11.png 145w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image11-24x24.png 24w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image11-48x48.png 48w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image11-96x96.png 96w\" sizes=\"(max-width: 145px) 100vw, 145px\" \/><\/a><\/div>\n<p>These files include:<\/p>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Environment variables such as subscription ID, connection string, and endpoint. Bash script to install dependencies.\n<div class=\"centered-image\"><a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image12.png\"><img decoding=\"async\" class=\"size-full wp-image-833 alignnone\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image12.png\" alt=\"Environment variables\" width=\"344\" height=\"119\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image12.png 344w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image12-300x104.png 300w\" sizes=\"(max-width: 344px) 100vw, 344px\" \/><\/a><\/div>\n<\/li>\n<li>Requirements txt file.\n<div class=\"centered-image\"><a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image13.png\"><img decoding=\"async\" class=\"size-full wp-image-834 alignnone\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image13.png\" alt=\"Requirements .txt file\" width=\"252\" height=\"122\" \/><\/a><\/div>\n<\/li>\n<li>`agent_run.py` file which contains the code sample for your agent.\n<div class=\"centered-image\"><a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image14.png\"><img decoding=\"async\" class=\"size-full wp-image-835 alignnone\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image14.png\" alt=\"agent_run.py file, containing code sample\" width=\"486\" height=\"316\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image14.png 486w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image14-300x195.png 300w\" sizes=\"(max-width: 486px) 100vw, 486px\" \/><\/a><\/div>\n<\/li>\n<\/ol>\n<\/li>\n<li style=\"text-align: left;\"><strong>Run the model locally<\/strong> via the terminal through `python agent_run.py`. Within seconds, you\u2019ll see a successful model response.<\/li>\n<li style=\"text-align: left;\"><strong>Use `azd` commands<\/strong> to <strong>provision<\/strong> and <strong>deploy<\/strong> a <strong>web app that uses the agent<\/strong>.\n<ol style=\"list-style-type: lower-alpha;\">\n<li><strong>The `azd init` command<\/strong> initializes the git repo which creates a default Azure workspace where the agent can be used in an application.\n<a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114856.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-891\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114856.png\" alt=\"Screenshot 2025 05 28 114856 image\" width=\"1908\" height=\"918\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114856.png 1908w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114856-300x144.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114856-1024x493.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114856-768x370.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-114856-1536x739.png 1536w\" sizes=\"(max-width: 1908px) 100vw, 1908px\" \/><\/a><\/li>\n<li><strong>The `azd up`<\/strong> command provisions the relevant Azure resources for the web app and deploys the app code.\n<a href=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-115658.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-892\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-115658.png\" alt=\"Screenshot 2025 05 28 115658 image\" width=\"1906\" height=\"920\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-115658.png 1906w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-115658-300x145.png 300w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-115658-1024x494.png 1024w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-115658-768x371.png 768w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/Screenshot-2025-05-28-115658-1536x741.png 1536w\" sizes=\"(max-width: 1906px) 100vw, 1906px\" \/><\/a><\/li>\n<li><strong>Once deployed to Azure, `azd show`<\/strong> will enable you to see your Azure services and the web application running on due to this Azure samples repo.<\/li>\n<\/ol>\n<\/li>\n<li><strong>Continue in VS Code Desktop or GitHub Desktop<\/strong> by clicking on <strong>\u201cContinue on Desktop\u201d<\/strong> in the bottom left corner. This will publish the workspace structure to a GitHub repository so that you can continue in VS Code Desktop or in a fully setup dev container.\n<div class=\"centered-image\"><img decoding=\"async\" class=\"size-full wp-image-840 alignnone\" src=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image19.png\" alt=\"VS Code highlighting option to Continue On Desktop option in lower left corner\" width=\"557\" height=\"197\" srcset=\"https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image19.png 557w, https:\/\/devblogs.microsoft.com\/foundry\/wp-content\/uploads\/sites\/89\/2025\/05\/vscode-image19-300x106.png 300w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/div>\n<\/li>\n<\/ol>\n<h3 style=\"text-align: left;\">How to get started with Open in VS Code<\/h3>\n<ol style=\"text-align: left;\">\n<li style=\"text-align: left;\">Sign-in or sign-up to\u00a0<a href=\"https:\/\/ai.azure.com?cid=devblogs\" target=\"_blank\" rel=\"noopener\">Azure AI Foundry<\/a>.<\/li>\n<li style=\"text-align: left;\">Create a Foundry Hub and\/or Project.<\/li>\n<li style=\"text-align: left;\">Create a model deployment for\u00a0o4-mini, o3, gpt-4.1 from Foundry Models, or directly from the chat and agents playgrounds.<\/li>\n<li style=\"text-align: left;\">Click \u201cOpen in VS Code\u201d in the code samples and follow the walkthrough above.<\/li>\n<\/ol>\n<h3 style=\"text-align: left;\">Create with Azure AI Foundry<\/h3>\n<ul>\n<li style=\"text-align: left;\">Get started with <a id=\"menur3qg\" class=\"fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/ai.azure.com\/\" href=\"https:\/\/ai.azure.com?cid=devblogs\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link Azure AI Foundry\">Azure AI Foundry<\/a>,\u00a0and jump directly into <a id=\"menur3qj\" class=\"fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/marketplace.visualstudio.com\/items?itemname=teamsdevapp.vscode-ai-foundry\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=TeamsDevApp.vscode-ai-foundry\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link Visual Studio Code\">Visual Studio Code<\/a><\/li>\n<li style=\"text-align: left;\">Download the <a id=\"menur3qm\" class=\"fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/aka.ms\/aifoundrysdk\" href=\"https:\/\/aka.ms\/aifoundrysdk\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link Azure AI Foundry SDK\">Azure AI Foundry SDK<\/a><\/li>\n<li style=\"text-align: left;\">Take the <a id=\"menur3qp\" class=\"fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/aka.ms\/createagenticaisolutions\" href=\"https:\/\/aka.ms\/CreateAgenticAISolutions\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link Azure AI Foundry learn courses\">Azure AI Foundry learn courses<\/a><\/li>\n<li style=\"text-align: left;\">Review the <a id=\"menur3qs\" class=\"fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/learn.microsoft.com\/azure\/ai-foundry\/\" href=\"https:\/\/learn.microsoft.com\/azure\/ai-foundry\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link Azure AI Foundry documentation\">Azure AI Foundry documentation<\/a><\/li>\n<li style=\"text-align: left;\">Keep the conversation going in <a id=\"menur4aa\" class=\"fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/aka.ms\/azureaifoundry\/forum\" href=\"https:\/\/aka.ms\/azureaifoundry\/forum\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link GitHub\">GitHub<\/a> and <a id=\"menur4ad\" class=\"fui-Link ___1q1shib f2hkw1w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1s184ao f1mk8lai fnbmjn9 f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn\" title=\"https:\/\/aka.ms\/azureaifoundry\/discord\" href=\"https:\/\/aka.ms\/azureaifoundry\/discord\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Link Discord\">Discord<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;Open in VS Code&#8221; workflow, part of the Azure AI Foundry extension for Visual Studio Code, accelerates developer velocity by integrating agent or model API endpoints and code samples into a new workspace in VS Code for Web. This feature streamlines the development process, enabling rapid prototyping and deployment with just one click.<\/p>\n","protected":false},"author":186481,"featured_media":822,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[3,2,17],"class_list":["post-817","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-foundry","tag-ai-development","tag-microsoft-foundry","tag-vs-code"],"acf":[],"blog_post_summary":"<p>The &#8220;Open in VS Code&#8221; workflow, part of the Azure AI Foundry extension for Visual Studio Code, accelerates developer velocity by integrating agent or model API endpoints and code samples into a new workspace in VS Code for Web. This feature streamlines the development process, enabling rapid prototyping and deployment with just one click.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/posts\/817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/users\/186481"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/comments?post=817"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/posts\/817\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/media\/822"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/media?parent=817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/categories?post=817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/foundry\/wp-json\/wp\/v2\/tags?post=817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}