{"id":7690,"date":"2026-09-29T00:05:16","date_gmt":"2026-09-29T07:05:16","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sql\/?p=7690"},"modified":"2026-09-29T00:09:46","modified_gmt":"2026-09-29T07:09:46","slug":"build-app-azure-sql-ai-coding-agent","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sql\/build-app-azure-sql-ai-coding-agent\/","title":{"rendered":"How to build an app on Azure SQL with an AI coding agent"},"content":{"rendered":"<p>Developers have trusted SQL for decades, since long before AI existed. Now coding agents help choose the database, and they favor the one they can get running in the first few minutes. So today we&#8217;re shipping two things for that moment. <a href=\"https:\/\/aka.ms\/azuresql-skills\">Microsoft SQL Agent Skills<\/a> teach your coding agent how Azure SQL actually works, so it stops guessing. The <a href=\"https:\/\/aka.ms\/azuresql-hub\">Azure SQL Developer Hub<\/a> hands you a prompt and a free database, and your agent builds a working app from there. Both are open source. Both are live now. Together, they make Azure SQL a database your coding agent can build on, starting with one prompt.<\/p>\n<p><strong>In short:<\/strong> Install the skills once, get a free Azure SQL database, copy a prompt, and your agent builds the app.<\/p>\n<p><figure id=\"attachment_7695\" aria-labelledby=\"figcaption_attachment_7695\" class=\"wp-caption aligncenter\" ><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2026\/09\/azure-sql-hub-hero-clean.gif\"><img decoding=\"async\" class=\"wp-image-7695 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2026\/09\/azure-sql-hub-hero-clean.gif\" alt=\"Animated demo showing an Azure SQL Developer Hub prompt leading to a task app connected to Azure SQL.\" width=\"1280\" height=\"720\" \/><\/a><figcaption id=\"figcaption_attachment_7695\" class=\"wp-caption-text\">From a Hub prompt to a task app on Azure SQL<\/figcaption><\/figure><\/p>\n<p><!-- [MEDIA 1: hero GIF, the 15-second idea-to-app loop. Caption: \"From a Hub prompt to a task app on Azure SQL.\"] --><\/p>\n<h2>What Microsoft SQL Agent Skills do<\/h2>\n<p>Skills are instructions and references your coding agent loads for the task at hand. Microsoft SQL Agent Skills cover connecting with Microsoft Entra (no passwords), connection pooling, schema design and migrations, query troubleshooting, and vector search. With them installed, the agent stops guessing at SQL and follows a tested path.<\/p>\n<p>Install once per agent. For GitHub Copilot CLI:<\/p>\n<pre><code>copilot plugin marketplace add microsoft\/microsoft-sql\r\ncopilot plugin install microsoft-sql@microsoft-sql\r\n<\/code><\/pre>\n<p>For Claude Code, Codex, Cursor, and VS Code, see the <a href=\"https:\/\/github.com\/microsoft\/microsoft-sql#installation\">installation guide<\/a>. In VS Code, the MSSQL extension installs them in one click.<\/p>\n<h2>What the Azure SQL Developer Hub gives you<\/h2>\n<p>The Hub is where you start: a free database in three steps, and multiple build prompts named by what you want to build. Each prompt describes the scenario, guides the agent through it, and ends with checks you can run yourself.<\/p>\n<table>\n<thead>\n<tr>\n<th>What you want to build<\/th>\n<th>Stack<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>A task-list web app<\/td>\n<td>JavaScript \/ Next.js<\/td>\n<\/tr>\n<tr>\n<td>An API to create, complete, and retrieve tasks<\/td>\n<td>Python<\/td>\n<\/tr>\n<tr>\n<td>Search over text by meaning (RAG)<\/td>\n<td>Python \/ AI<\/td>\n<\/tr>\n<tr>\n<td>A serverless task API<\/td>\n<td>.NET \/ Azure Functions<\/td>\n<\/tr>\n<tr>\n<td>A function that responds to data changes<\/td>\n<td>.NET \/ Azure Functions<\/td>\n<\/tr>\n<tr>\n<td>Task data isolated by customer<\/td>\n<td>JavaScript \/ row-level security<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>These are starting points. Building something else? Pick the closest prompt and change the first line to describe your app, or skip the Hub and just tell your agent what you want; the skills work on any Azure SQL project.<\/p>\n<h2>Try it: from one prompt to a task app<\/h2>\n<p>You&#8217;ll need an Azure SQL database (the <a href=\"https:\/\/learn.microsoft.com\/azure\/azure-sql\/database\/free-offer\">free offer<\/a> works), Node.js 20.12+, the Azure CLI signed in, your agent&#8217;s CLI, and the skills installed.<\/p>\n<ol>\n<li>On the Hub, open <strong>Build a task-tracking app<\/strong> and select <strong>Copy prompt<\/strong>.<\/li>\n<li>Paste it into your agent in an empty project folder. Give it your server and database names when asked, and review what it proposes.<\/li>\n<li>Ask it to run its checks and start the app, then open the local address.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2026\/09\/preview-3.webp\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-7701\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2026\/09\/preview-3.webp\" alt=\"sql skills installation\" width=\"1128\" height=\"439\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2026\/09\/preview-3.webp 1128w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2026\/09\/preview-3-300x117.webp 300w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2026\/09\/preview-3-1024x399.webp 1024w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2026\/09\/preview-3-768x299.webp 768w\" sizes=\"(max-width: 1128px) 100vw, 1128px\" \/><\/a><\/p>\n<p>Before starting the app, the agent verifies the passwordless connection, initializes the schema, and passes the build checks.<\/p>\n<h2>Use the skills on an app you already have<\/h2>\n<p>You don&#8217;t <em>always<\/em> need a new project. With the skills installed, ask your agent directly:<\/p>\n<ul>\n<li>&#8220;Connect this Node.js app to Azure SQL using Microsoft Entra authentication.&#8221;<\/li>\n<li>&#8220;Diagnose why this query got slow.&#8221;<\/li>\n<li>&#8220;Plan a schema migration for this feature.&#8221;<\/li>\n<\/ul>\n<h2>FAQs<\/h2>\n<p><strong>Which agents does this work with?<\/strong> GitHub Copilot, Claude Code, Codex, and Cursor.<\/p>\n<p><strong>Do I need a paid database?<\/strong> No. Every scenario here works on the free offer. You can upgrade whenever you&#8217;re ready.<\/p>\n<p><strong>Is there a password in the app?<\/strong> No. Every prompt connects with Microsoft Entra.<\/p>\n<p><strong>Can I run it locally?<\/strong> A local Azure SQL Database container is in preview; sign up from the Hub.<\/p>\n<p><strong>Can I trust the prompts?<\/strong> Every prompt runs through an eval harness before it ships: a real coding agent, a real Azure SQL database, and checks on the app it builds.<\/p>\n<p><strong>Can my agent read the Hub directly?<\/strong> Yes. Every page has a Markdown twin, and there&#8217;s an <code>llms.txt<\/code> at the root.<\/p>\n<h2>Next steps<\/h2>\n<ul>\n<li><a href=\"https:\/\/aka.ms\/azuresql-hub\">Azure SQL Developer Hub<\/a>: pick a prompt and build<\/li>\n<li><a href=\"https:\/\/aka.ms\/azuresql-skills\">Microsoft SQL Agent Skills<\/a>: install for your agent<\/li>\n<li><a href=\"https:\/\/github.com\/microsoft\/azure-sql-dev-hub\/issues\">Report an issue or request a scenario<\/a><\/li>\n<li><a href=\"https:\/\/aka.ms\/vscode-mssql-september2026\">MSSQL extension for VS Code<\/a>: one-click skills install<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Developers have trusted SQL for decades, since long before AI existed. Now coding agents help choose the database, and they favor the one they can get running in the first few minutes. So today we&#8217;re shipping two things for that moment. Microsoft SQL Agent Skills teach your coding agent how Azure SQL actually works, so [&hellip;]<\/p>\n","protected":false},"author":202171,"featured_media":7697,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[601,1,669,710],"tags":[590,529,510,465,30,670,407,558],"class_list":["post-7690","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-azure-sql","category-github-copilot","category-sql-mcp-server","tag-ai","tag-azure-sql","tag-azure-sql-database","tag-azuresql","tag-developers","tag-github-copilot","tag-python","tag-vs-code"],"acf":[],"blog_post_summary":"<p>Developers have trusted SQL for decades, since long before AI existed. Now coding agents help choose the database, and they favor the one they can get running in the first few minutes. So today we&#8217;re shipping two things for that moment. Microsoft SQL Agent Skills teach your coding agent how Azure SQL actually works, so [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/posts\/7690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/users\/202171"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/comments?post=7690"}],"version-history":[{"count":1,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/posts\/7690\/revisions"}],"predecessor-version":[{"id":7709,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/posts\/7690\/revisions\/7709"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/media\/7697"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/media?parent=7690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/categories?post=7690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/tags?post=7690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}