<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Azure with AJ</title>
    <description>A blog by an Azure, DevOps and AI enthusiast, sharing valuable insights and expertise.</description>
    <link>https://azurewithaj.com/</link>
    <atom:link href="https://azurewithaj.com/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Thu, 12 Nov 2026 20:11:44 +0000</pubDate>
    <lastBuildDate>Thu, 12 Nov 2026 20:11:44 +0000</lastBuildDate>
    <generator>Jekyll v4.4.1</generator>
    
      <item>
        <title>GitHub Copilot Dreaming Explained: Keep AI Context Fresh</title>
        <description>&lt;p&gt;Every repository I work in has a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;copilot-instructions.md&lt;/code&gt; file that was perfect the day I wrote it. Six months later it is a bit like the Death Star plans in a droid’s memory banks, technically valuable, but nobody is quite sure if they are still current. The test command has changed, the folder structure has moved, and Copilot is still cheerfully following guidance from a previous era.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Copilot Dreaming&lt;/strong&gt; is GitHub’s answer to that slow drift. It works in the background to keep Copilot’s memories and repository guidance up to date, so your AI context does not quietly rot while you are busy shipping. It is in &lt;strong&gt;public preview and subject to change&lt;/strong&gt;, so treat everything here as an early look rather than a final word.&lt;/p&gt;

&lt;p&gt;This post covers what Copilot Dreaming is, the problem it solves, and real world scenarios where it will earn its keep.&lt;/p&gt;

&lt;h2 id=&quot;the-problem-ai-context-goes-stale&quot;&gt;The Problem: AI Context Goes Stale&lt;/h2&gt;

&lt;p&gt;We have all been feeding Copilot more context: instruction files, custom agents, skills and memories. I wrote about &lt;a href=&quot;https://azurewithaj.com/organising-copilot-customisations/&quot;&gt;organising GitHub Copilot customisations at scale&lt;/a&gt; because the sprawl was becoming real.&lt;/p&gt;

&lt;p&gt;The catch is that context is only useful while it is accurate. In practice, a few things keep happening:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Stale instructions&lt;/strong&gt;: repository guidance describes commands, tools or conventions the team has moved on from&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Drifting memories&lt;/strong&gt;: facts Copilot learned months ago no longer match the codebase&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Duplicate memories&lt;/strong&gt;: the same fact gets captured more than once, adding noise&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Lost review feedback&lt;/strong&gt;: reviewers leave the same comments on pull request after pull request, but that knowledge never makes it back into the guidance Copilot uses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these are dramatic failures, they are paper cuts. But an assistant working from outdated context will confidently do the wrong thing.&lt;/p&gt;

&lt;h2 id=&quot;what-is-github-copilot-dreaming&quot;&gt;What Is GitHub Copilot Dreaming?&lt;/h2&gt;

&lt;p&gt;Copilot Dreaming is a background process that &lt;strong&gt;analyses eligible Copilot sessions and pull request review feedback&lt;/strong&gt; to identify useful information, correct outdated guidance and remove duplicate memories. The &lt;a href=&quot;https://docs.github.com/en/copilot/concepts/prompting-and-context/copilot-dreaming&quot;&gt;docs&lt;/a&gt; give a nice simple example: it can propose an update when your repository’s instructions describe an obsolete test command.&lt;/p&gt;

&lt;p&gt;A few things worth calling out:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;It updates context, not the model.&lt;/strong&gt; The underlying AI model is unchanged.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;It runs in the background.&lt;/strong&gt; You do not need to keep a Copilot conversation open for it to run.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;It builds on Copilot Memory.&lt;/strong&gt; Memory stores repository facts and personal preferences Copilot learns and reuses, even when Dreaming is off. Dreaming is the housekeeper keeping them relevant and accurate. If you are new to Memory, my post on &lt;a href=&quot;https://azurewithaj.com/github-copilot-agentic-memory/&quot;&gt;GitHub Copilot’s agentic memory&lt;/a&gt; is a good primer.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;the-three-copilot-dreaming-capabilities&quot;&gt;The Three Copilot Dreaming Capabilities&lt;/h2&gt;

&lt;p&gt;Dreaming is made up of three capabilities, each with different inputs and outputs.&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Capability&lt;/th&gt;
      &lt;th&gt;Information it uses&lt;/th&gt;
      &lt;th&gt;Output&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Repository customisation&lt;/td&gt;
      &lt;td&gt;Eligible repository sessions, code, memories and guidance&lt;/td&gt;
      &lt;td&gt;Updated repository memories and proposed instruction or skill changes&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Personal memory curation&lt;/td&gt;
      &lt;td&gt;Your eligible sessions and personal memories&lt;/td&gt;
      &lt;td&gt;Updated personal memories, with no changes to personal instruction or skill files&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Code review customisation&lt;/td&gt;
      &lt;td&gt;Feedback on merged pull requests and current repository code&lt;/td&gt;
      &lt;td&gt;Guidance for future Copilot code reviews&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Repository customisation can review tracked &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/copilot-instructions.md&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/instructions/**&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/agents/**&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CLAUDE.md&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;GEMINI.md&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;REVIEW.md&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/skills/**&lt;/code&gt; files. It will not necessarily change every file, and which instructions, skills and memories Copilot uses depends on the Copilot feature.&lt;/p&gt;

&lt;h2 id=&quot;how-copilot-dreaming-applies-changes&quot;&gt;How Copilot Dreaming Applies Changes&lt;/h2&gt;

&lt;p&gt;This is the part I paid the most attention to, because “AI rewrites my instructions in the background” could go very well or very badly. GitHub has split it by risk.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph LR
    A[Synced Copilot sessions] --&amp;gt; D[Copilot Dreaming]
    B[PR review feedback on merged PRs] --&amp;gt; D
    C[Repo code, memories and guidance] --&amp;gt; D
    D --&amp;gt; E[Memory updates&amp;lt;br/&amp;gt;applied automatically]
    D --&amp;gt; F[Instruction and skill changes&amp;lt;br/&amp;gt;proposed as a pull request]
    F --&amp;gt; G[Human review and merge]
    D --&amp;gt; H[Internal code review guidance]

    style A fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style B fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style C fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style D fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style E fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style F fill:#f59e0b,stroke:#d97706,stroke-width:3px,color:#fff
    style G fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style H fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
&lt;/code&gt;&lt;/pre&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Memories&lt;/strong&gt; are added, updated and deleted automatically, without approval for each change.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Checked in instructions and skills&lt;/strong&gt; are proposed in a pull request. Your files stay unchanged until you merge it.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Code review guidance&lt;/strong&gt; is updated internally without a pull request. It complements the checked in instruction files that Copilot code review also uses.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The pull request path matters most to me. &lt;strong&gt;AI generated guidance can be incorrect&lt;/strong&gt;, so review proposed changes before merging, exactly as you would a teammate’s pull request. Not every run makes changes or opens a pull request, so silence is not necessarily a problem.&lt;/p&gt;

&lt;h2 id=&quot;real-world-scenarios-for-copilot-dreaming&quot;&gt;Real World Scenarios for Copilot Dreaming&lt;/h2&gt;

&lt;p&gt;These are illustrative scenarios based on what the capabilities are designed to do, not documented case studies.&lt;/p&gt;

&lt;h3 id=&quot;scenario-1-the-obsolete-test-command&quot;&gt;Scenario 1: The Obsolete Test Command&lt;/h3&gt;

&lt;p&gt;Picture a platform team that migrated their test tooling months ago. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/copilot-instructions.md&lt;/code&gt; file still says &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;npm test&lt;/code&gt;, but the team now runs &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pnpm test&lt;/code&gt;. Every agent session starts with the wrong command.&lt;/p&gt;

&lt;p&gt;With &lt;strong&gt;repository customisation&lt;/strong&gt;, Dreaming can spot the mismatch from eligible sessions and the repository code, then open a pull request proposing the updated instruction. A human reviews the diff, merges it, and the paper cut is gone.&lt;/p&gt;

&lt;h3 id=&quot;scenario-2-the-cluttered-memory-bank&quot;&gt;Scenario 2: The Cluttered Memory Bank&lt;/h3&gt;

&lt;p&gt;Imagine a Bicep repository that has been around for a couple of years. Copilot Memory has picked up the naming convention three times in slightly different words, and one memory still references a module layout the team restructured last quarter.&lt;/p&gt;

&lt;p&gt;Dreaming can &lt;strong&gt;remove the duplicates and correct the outdated memory&lt;/strong&gt; automatically, no “memory spring clean” meeting required.&lt;/p&gt;

&lt;h3 id=&quot;scenario-3-review-feedback-that-finally-sticks&quot;&gt;Scenario 3: Review Feedback That Finally Sticks&lt;/h3&gt;

&lt;p&gt;Imagine a team where senior engineers keep leaving the same comment on merged pull requests, something like “use managed identity here instead of a connection string”. The feedback is right, but it stays buried in pull request history.&lt;/p&gt;

&lt;p&gt;With &lt;strong&gt;code review customisation&lt;/strong&gt;, Dreaming uses feedback on merged pull requests and the current code to build guidance for future Copilot code reviews. Your reviewers stop repeating themselves, and their knowledge scales.&lt;/p&gt;

&lt;h2 id=&quot;prerequisites-and-enabling-copilot-dreaming&quot;&gt;Prerequisites and Enabling Copilot Dreaming&lt;/h2&gt;

&lt;p&gt;This is where the preview shows. There are a fair few boxes to tick.&lt;/p&gt;

&lt;h3 id=&quot;availability&quot;&gt;Availability&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Available on &lt;strong&gt;eligible paid Copilot plans&lt;/strong&gt;, but &lt;strong&gt;not Copilot Pro&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;The initial preview requires access to &lt;strong&gt;GPT-6.1 Sol&lt;/strong&gt;, and the model must be allowed by policy&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Not supported&lt;/strong&gt; on GitHub Enterprise Cloud with data residency&lt;/li&gt;
  &lt;li&gt;All capabilities need permission under your applicable enterprise and organisation policies&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;settings-per-capability&quot;&gt;Settings per Capability&lt;/h3&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Capability&lt;/th&gt;
      &lt;th&gt;Memory setting&lt;/th&gt;
      &lt;th&gt;Dreaming setting&lt;/th&gt;
      &lt;th&gt;Session syncing&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Repository customisation&lt;/td&gt;
      &lt;td&gt;Repository level Memory enabled&lt;/td&gt;
      &lt;td&gt;Organisation policy or personally owned repository settings&lt;/td&gt;
      &lt;td&gt;Required&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Personal memory curation&lt;/td&gt;
      &lt;td&gt;Personal Memory enabled&lt;/td&gt;
      &lt;td&gt;Permitted by managed policies, where applicable, and enabled for the user&lt;/td&gt;
      &lt;td&gt;Required&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Code review customisation&lt;/td&gt;
      &lt;td&gt;Repository level Memory enabled&lt;/td&gt;
      &lt;td&gt;Organisation policy or personally owned repository settings&lt;/td&gt;
      &lt;td&gt;Not required&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;Code review customisation also needs Copilot code review and its preview features enabled, and it &lt;strong&gt;does not currently support self hosted runners&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Each Dreaming setting enables whichever capabilities have prerequisites met within its scope, and you cannot toggle them individually.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One gotcha to remember:&lt;/strong&gt; if Dreaming is already on and you later complete extra prerequisites, completing them alone does not activate the new capabilities. Turn Dreaming off and on again using the relevant setting.&lt;/p&gt;

&lt;h3 id=&quot;session-syncing&quot;&gt;Session Syncing&lt;/h3&gt;

&lt;p&gt;Session syncing saves local sessions to your GitHub account, and it is on by default for Copilot CLI and the GitHub Copilot app, subject to policy.&lt;/p&gt;

&lt;p&gt;If you get Copilot through an enterprise or organisation, the &lt;strong&gt;“Store local sessions in the Cloud”&lt;/strong&gt; policy under &lt;strong&gt;“Copilot CLI”&lt;/strong&gt; must be set to at least &lt;strong&gt;“View from cloud”&lt;/strong&gt;. If it is disabled or unconfigured, sessions stay local.&lt;/p&gt;

&lt;p&gt;If you previously switched off syncing by setting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;remoteExport&lt;/code&gt; to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;false&lt;/code&gt; in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.copilot/settings.json&lt;/code&gt;, remove that setting or set it back to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;true&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-json highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;remoteExport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;costs-and-guardrails&quot;&gt;Costs and Guardrails&lt;/h2&gt;

&lt;p&gt;Background processes are easy to forget about until the bill arrives, so do not skip this section.&lt;/p&gt;

&lt;h3 id=&quot;costs&quot;&gt;Costs&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Model usage is billed in &lt;strong&gt;AI credits&lt;/strong&gt; as part of your existing Copilot usage, not as a separate line item&lt;/li&gt;
  &lt;li&gt;Cost depends on processing and the number of enabled users and repositories, &lt;strong&gt;including inactive repositories&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Every run uses AI credits&lt;/strong&gt;, even runs that make no changes&lt;/li&gt;
  &lt;li&gt;Administrators can monitor AI credits usage, but attributing it to Dreaming needs a detailed usage report rather than the “AI usage” view&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Before enabling Dreaming for more organisations in an enterprise, configure spending controls on the billing account. &lt;strong&gt;Alerts alone do not stop usage&lt;/strong&gt;, a per user budget may not cover repository level app usage, and you cannot budget individual Dreaming app installations separately.&lt;/p&gt;

&lt;h3 id=&quot;data-and-controls&quot;&gt;Data and Controls&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Dreaming can use previously synced sessions, memories, repository content and pull request review feedback&lt;/li&gt;
  &lt;li&gt;Turning off session syncing does not delete sessions that have already been synced&lt;/li&gt;
  &lt;li&gt;Proposed instructions and skills in pull requests are visible to anyone with repository access&lt;/li&gt;
  &lt;li&gt;To stop future runs, disable Dreaming at the relevant enterprise, organisation, personal or repository level, or choose &lt;strong&gt;“Disabled everywhere”&lt;/strong&gt; at the enterprise level&lt;/li&gt;
  &lt;li&gt;Turning off personal Dreaming does not stop runs for organisation owned repositories, and a run in progress may continue&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The big one: &lt;strong&gt;turning Dreaming off does not undo its changes.&lt;/strong&gt; It will not restore deleted memories, remove information it created or close its pull requests, and there is no option to undo a run. Manage memories in personal or repository settings, and pull requests the usual way.&lt;/p&gt;

&lt;h2 id=&quot;my-take-on-copilot-dreaming&quot;&gt;My Take on Copilot Dreaming&lt;/h2&gt;

&lt;p&gt;Context maintenance is the chore nobody puts in a sprint, and Dreaming tackles it where the drift happens. A few key insights:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;The risk split is well judged.&lt;/strong&gt; Memory updates happen automatically, while checked in files go through a pull request, keeping humans in control of shared guidance.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Code review customisation is the sleeper hit.&lt;/strong&gt; Turning repeated reviewer comments into future review guidance is compounding value.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Scope it deliberately.&lt;/strong&gt; Inactive repositories still cost credits, so start with a handful of active ones.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Automatic memory deletion needs trust.&lt;/strong&gt; There is no undo, so watch repository memories closely at first.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Remember this is public preview, so prerequisites and behaviour could change. Check the docs before planning a rollout.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;GitHub Copilot Dreaming tackles a problem most of us quietly live with: stale AI context. It curates repository and personal memories, proposes instruction and skill changes through pull requests, and turns merged pull request feedback into better code reviews.&lt;/p&gt;

&lt;p&gt;My advice is to start small. Pick a few active repositories, sort out session syncing and spending controls first, and treat every Dreaming pull request with the same scrutiny you would give any teammate’s change. Done right, your Copilot context stays sharp without anyone babysitting it.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Have you turned on Copilot Dreaming yet? Which capability are you most keen to try, or what guardrails are you putting in place first? Share your experiences in the comments.&lt;/em&gt;&lt;/p&gt;
</description>
        <pubDate>Mon, 09 Nov 2026 19:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/github-copilot-dreaming-explained/</link>
        <guid isPermaLink="true">https://azurewithaj.com/github-copilot-dreaming-explained/</guid>
        
        <category>github</category>
        
        <category>copilot</category>
        
        <category>ai</category>
        
        <category>agent</category>
        
        
        <category>AI</category>
        
      </item>
    
      <item>
        <title>HydraFusion: My Cure for Model Fatigue in GitHub Copilot</title>
        <description>&lt;p&gt;Open the model picker in GitHub Copilot today and you feel a bit like Uncle Owen at the Jawa sandcrawler. A long line of models, Claude, GPT, Opus, Sonnet, Haiku, Sol, Luna, Astra, each promising to be exactly what you need, and no easy way to tell which one has a bad motivator until it is too late. Picking the right one for the job has quietly become a job in itself.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.blog/ai-and-ml/github-copilot/project-hydrafusion-frontier-quality-via-multi-model-orchestration/&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;&lt;strong&gt;HydraFusion&lt;/strong&gt;&lt;/a&gt; is GitHub’s answer to that problem. It orchestrates multiple models at runtime in GitHub Copilot, picking the models and the workflow for you, task by task. It is currently in &lt;strong&gt;research preview&lt;/strong&gt;, an early access stage similar to a private preview, so expect rough edges and frequent change. I have been putting it through its paces, and with the new &lt;a href=&quot;https://github.blog/changelog/2026-10-14-hydrafusion-updates-and-new-max-option/&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;&lt;strong&gt;HydraFusion Max&lt;/strong&gt;&lt;/a&gt; option landing this week, this post covers what it is, how it changed my workflow, when to reach for Max, and the one thing I wish I had done before I started.&lt;/p&gt;

&lt;h2 id=&quot;the-real-problem-model-fatigue&quot;&gt;The Real Problem: Model Fatigue&lt;/h2&gt;

&lt;p&gt;One of the biggest challenges with AI assisted development right now is not capability, it is &lt;strong&gt;choice&lt;/strong&gt;. There are so many models available that working out which one suits a task has become genuinely difficult, and the list keeps growing.&lt;/p&gt;

&lt;p&gt;The natural human response is to stop choosing. You find a model or two that have never let you down, your safety models, and you use them for everything. I am as guilty of this as anyone. It feels efficient, but it means you rarely venture out to discover that a different model would have done the job better, faster or cheaper.&lt;/p&gt;

&lt;p&gt;That is model fatigue. Not a lack of options, but too many of them, and no time to properly evaluate each one against the work you actually do.&lt;/p&gt;

&lt;h2 id=&quot;my-manual-workaround&quot;&gt;My Manual Workaround&lt;/h2&gt;

&lt;p&gt;Before HydraFusion, I had settled into a pattern that I suspect plenty of you follow too:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Research and planning&lt;/strong&gt; with a heavyweight reasoning model such as Claude Sonnet or Claude Opus&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Execution&lt;/strong&gt; with a lower tier, lightweight model such as GPT Luna, once the plan was solid&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Review&lt;/strong&gt; by eyeballing the output myself, and occasionally asking a second model for a sanity check&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It works. The expensive model does the thinking, the cheap model does the typing. But it is manual. I had to remember to switch models at the right moment, and occasionally I would forget and burn premium reasoning on simple tasks.&lt;/p&gt;

&lt;p&gt;HydraFusion now does this for me automatically, and that is the headline for me.&lt;/p&gt;

&lt;h2 id=&quot;what-is-hydrafusion&quot;&gt;What Is HydraFusion?&lt;/h2&gt;

&lt;p&gt;HydraFusion is a runtime model orchestrator in GitHub Copilot. You select it in the model picker, but it is not a model. Behind the scenes it chooses an execution pattern, a reasoning effort and the models that run each step, then returns a single response.&lt;/p&gt;

&lt;p&gt;It builds on &lt;a href=&quot;https://docs.github.com/copilot/concepts/models/auto-model-selection&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;Auto model selection&lt;/a&gt;, which matches your task to a suitable model. HydraFusion goes a step further. It does not just choose &lt;strong&gt;which&lt;/strong&gt; model, it chooses &lt;strong&gt;how&lt;/strong&gt; the models work together.&lt;/p&gt;

&lt;p&gt;GitHub’s framing is that developers already coordinate models manually, choosing one for a task, asking another to review, escalating hard problems to something stronger. HydraFusion moves that process into the runtime. That is almost word for word my workaround above, which is probably why it clicked so quickly.&lt;/p&gt;

&lt;h3 id=&quot;research-preview-means-early-access&quot;&gt;Research Preview Means Early Access&lt;/h3&gt;

&lt;p&gt;Being in research preview matters. GitHub states there is &lt;strong&gt;no SLA&lt;/strong&gt;, it is &lt;strong&gt;not intended for production workloads&lt;/strong&gt;, and the execution patterns and models can change during the preview. Treat it like any private preview, great for exploring and giving feedback, not something to build critical processes around yet.&lt;/p&gt;

&lt;h3 id=&quot;how-to-try-hydrafusion&quot;&gt;How to Try HydraFusion&lt;/h3&gt;

&lt;p&gt;HydraFusion and HydraFusion Max are available in Copilot CLI, VS Code and the GitHub Copilot app on Copilot Pro, Pro+, Business and Enterprise plans, with experimental or preview features enabled and subject to your organisation’s model policies.&lt;/p&gt;

&lt;p&gt;In &lt;a href=&quot;https://docs.github.com/copilot/how-tos/copilot-cli/use-copilot-cli/overview&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;GitHub Copilot CLI&lt;/a&gt;:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;copilot update
copilot &lt;span class=&quot;nt&quot;&gt;--experimental&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Then enter &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/model&lt;/code&gt; and pick &lt;strong&gt;HydraFusion (Research Preview)&lt;/strong&gt; or &lt;strong&gt;HydraFusion Max (Research Preview)&lt;/strong&gt;. In VS Code 1.140 or later, turn on the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;chat.copilot.hydraFusion.enabled&lt;/code&gt; setting. In the Copilot app, turn on HydraFusion under &lt;strong&gt;Settings&lt;/strong&gt;, &lt;strong&gt;Experimental&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;You are billed for each underlying model at its &lt;a href=&quot;https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;standard rate&lt;/a&gt;. There is no separate HydraFusion charge, but the Auto discount does not apply, so the workflow it chooses directly affects what you pay.&lt;/p&gt;

&lt;h2 id=&quot;understanding-the-hydrafusion-execution-patterns&quot;&gt;Understanding the HydraFusion Execution Patterns&lt;/h2&gt;

&lt;p&gt;This is the section I wish someone had made me read first.&lt;/p&gt;

&lt;p&gt;When I started using HydraFusion, I saw labels like &lt;strong&gt;single&lt;/strong&gt;, &lt;strong&gt;cascade&lt;/strong&gt; and &lt;strong&gt;critique&lt;/strong&gt; appear in my sessions and honestly had no idea what they meant. I was using it without understanding how it was processing my work behind the scenes, which made it hard to judge whether it was doing a good job.&lt;/p&gt;

&lt;p&gt;For each prompt, HydraFusion chooses one of three execution patterns:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Single&lt;/strong&gt;, one model completes the task. It behaves much like a normal request to one model.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cascade&lt;/strong&gt;, an efficient model drafts a solution, then a judge inspects the draft and either accepts it, requests a repair or escalates to a stronger model.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Critique&lt;/strong&gt;, one model drafts while multiple critics from other models review it in parallel. Their feedback is aggregated and the drafting model revises once.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reasoning effort is now tailored per step too, medium for drafts and high for reviews. The critique pattern resembles &lt;a href=&quot;https://docs.github.com/en/copilot/concepts/agents/copilot-cli/rubber-duck&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;Rubber Duck in Copilot CLI&lt;/a&gt;, and a second opinion from a different model is far more useful than asking the same model to mark its own homework.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph TD
    A[Your prompt] --&amp;gt; B{HydraFusion selects pattern}
    B --&amp;gt;|Single| C[One model solves directly]
    B --&amp;gt;|Cascade| D[Efficient model drafts, medium effort]
    B --&amp;gt;|Critique| G[Model drafts, medium effort]
    D --&amp;gt; E{Judge inspects draft}
    E --&amp;gt;|Accept| J[One coherent result]
    E --&amp;gt;|Repair or escalate| F[Repair or stronger model]
    F --&amp;gt; J
    G --&amp;gt; H[Parallel critics review, high effort]
    H --&amp;gt; I[Drafting model revises once]
    I --&amp;gt; J
    C --&amp;gt; J

    style A fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style B fill:#f59e0b,stroke:#d97706,stroke-width:3px,color:#fff
    style C fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style D fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style E fill:#f59e0b,stroke:#d97706,stroke-width:3px,color:#fff
    style F fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style G fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style H fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style I fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style J fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The way I now think about them:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Single&lt;/strong&gt; is a Jedi Master handling it solo&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cascade&lt;/strong&gt; is sending the Padawan first, with a Master checking the work and stepping in if things go sideways&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Critique&lt;/strong&gt; is the Padawan doing the work and the Jedi Council reviewing it before it ships&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once that clicked, the session output became far more meaningful. I could see &lt;strong&gt;why&lt;/strong&gt; a task took longer, or why a seemingly simple request triggered a review step. My advice is simple: &lt;strong&gt;spend the time to understand the execution patterns&lt;/strong&gt; before you judge HydraFusion.&lt;/p&gt;

&lt;p&gt;HydraFusion shows each step as it works but holds back intermediate drafts, because they might be revised or discarded, and returns one final response. Knowing the patterns makes that wait far less mysterious.&lt;/p&gt;

&lt;h2 id=&quot;hydrafusion-vs-hydrafusion-max-when-to-use-each&quot;&gt;HydraFusion vs HydraFusion Max: When to Use Each&lt;/h2&gt;

&lt;p&gt;The October update refreshed the model pool to include Claude Opus 5.5, GPT-6 Astra, GPT-6.1 Sol and GPT-6 Luna, optimised the cascade and critique workflows, and introduced &lt;strong&gt;HydraFusion Max&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Max uses the same architecture and workflow techniques, but is tuned for frontier capability on demanding tasks. It applies higher reasoning effort, including extra high, where depth matters most, while still using orchestration to consider token efficiency.&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Option&lt;/th&gt;
      &lt;th&gt;Best for&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Auto&lt;/td&gt;
      &lt;td&gt;Everyday work and quick, routine tasks&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;HydraFusion&lt;/td&gt;
      &lt;td&gt;Substantial, well scoped tasks such as a complex bug or a multi file change&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;HydraFusion Max&lt;/td&gt;
      &lt;td&gt;Tasks needing the deepest reasoning and most thorough analysis&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;My rule of thumb:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Stay on Auto&lt;/strong&gt; for quick questions, small edits and routine work, where review passes add time and cost for little gain.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Use HydraFusion&lt;/strong&gt; as the default for real engineering tasks, where a judge or critics catching mistakes is worth a little extra time.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Reach for Max&lt;/strong&gt; when being wrong is expensive, think gnarly architectural refactors, subtle concurrency or security bugs, or analysis across a large, unfamiliar codebase.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Max is the Millennium Falcon making the Kessel Run, impressive when you need it, but you do not fly it to the corner shop. Deeper reasoning means more tokens, so do not leave it selected by default.&lt;/p&gt;

&lt;h2 id=&quot;guardrails-worth-knowing&quot;&gt;Guardrails Worth Knowing&lt;/h2&gt;

&lt;p&gt;GitHub built HydraFusion around principles such as complete cost accounting across every step, bounded execution with explicit timeouts, and validated routing that checks model bindings and availability before execution starts.&lt;/p&gt;

&lt;p&gt;One limitation deserves attention. Critique now uses tools to inspect your workspace directly, and if HydraFusion discards a draft, file edits that draft already made &lt;strong&gt;are not undone automatically&lt;/strong&gt;. Review changes before you commit them, which is good practice with any agent anyway.&lt;/p&gt;

&lt;h2 id=&quot;what-the-launch-benchmarks-say&quot;&gt;What the Launch Benchmarks Say&lt;/h2&gt;

&lt;p&gt;At launch, GitHub evaluated HydraFusion offline across three agentic coding benchmarks against Claude Opus 5:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Benchmark&lt;/th&gt;
      &lt;th&gt;Cost vs. Opus 5&lt;/th&gt;
      &lt;th&gt;Quality vs. Opus 5&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;TerminalBench 2.1&lt;/td&gt;
      &lt;td&gt;67% lower&lt;/td&gt;
      &lt;td&gt;+4.9 points&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;DeepSWE&lt;/td&gt;
      &lt;td&gt;36% lower&lt;/td&gt;
      &lt;td&gt;-1.5 points&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;CheckpointBench&lt;/td&gt;
      &lt;td&gt;65% lower&lt;/td&gt;
      &lt;td&gt;-0.1 points&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;That is roughly frontier quality at a fraction of the estimated cost. These are controlled offline results that predate the October update, so treat them as a promising signal rather than a guarantee for your workload.&lt;/p&gt;

&lt;h2 id=&quot;my-experience-the-good-and-the-not-yet&quot;&gt;My Experience: The Good and the Not Yet&lt;/h2&gt;

&lt;h3 id=&quot;what-works-well&quot;&gt;What Works Well&lt;/h3&gt;

&lt;p&gt;The biggest win is that I have &lt;strong&gt;stopped thinking about models&lt;/strong&gt;. I describe the task, HydraFusion decides whether it needs a review pass or a quick single shot, and I focus on the outcome. The research then execute split I used to manage by hand now just happens.&lt;/p&gt;

&lt;p&gt;It has also nudged me out of my safety model habit. Seeing different models used for different tasks has made me more curious about what each one is actually good at.&lt;/p&gt;

&lt;h3 id=&quot;where-it-is-still-learning&quot;&gt;Where It Is Still Learning&lt;/h3&gt;

&lt;p&gt;It is not perfect yet. I noticed HydraFusion defaulting to heavier models such as &lt;strong&gt;GPT-6.1 Sol&lt;/strong&gt; even for fairly basic tasks, the kind of work I would happily have given to a lightweight model. That is more horsepower, and potentially more cost, than the task needed.&lt;/p&gt;

&lt;p&gt;I suspect this will improve. It is a research preview, and GitHub says routing will be refined using real developer workloads. Right now it errs on the side of quality, which is the right side to err on, but keep an eye on your usage.&lt;/p&gt;

&lt;h3 id=&quot;tips-for-getting-started&quot;&gt;Tips for Getting Started&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Start with first turn, single prompt tasks.&lt;/strong&gt; GitHub notes these are the sweet spot today.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Learn the execution patterns first.&lt;/strong&gt; Knowing single, cascade and critique turns confusing output into useful insight.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Match the option to the task.&lt;/strong&gt; Auto for routine work, HydraFusion for substantial tasks, Max for the hardest problems.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Watch your usage.&lt;/strong&gt; Run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usage&lt;/code&gt; in Copilot CLI to see AI credits per model.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Share feedback.&lt;/strong&gt; Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/feedback&lt;/code&gt; in Copilot CLI or the &lt;a href=&quot;https://github.com/orgs/community/discussions/206492&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;HydraFusion GitHub Community discussion&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;conclusion-from-choosing-models-to-orchestrating-them&quot;&gt;Conclusion: From Choosing Models to Orchestrating Them&lt;/h2&gt;

&lt;p&gt;HydraFusion tackles a problem that has crept up on all of us. Model fatigue is real, and falling back to the same safe models leaves value on the table. By orchestrating models through single, cascade and critique patterns, HydraFusion automates the research, execute and review rhythm many of us were already following by hand, and Max adds a gear for the hardest problems.&lt;/p&gt;

&lt;p&gt;It is still in research preview, routing occasionally reaches for more power than a task needs, and the patterns take a moment to understand. But the direction is clear, moving from &lt;strong&gt;choosing the best model&lt;/strong&gt; to &lt;strong&gt;constructing the best way to solve each task&lt;/strong&gt;. I am happy to let it hold the model picker for a while.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Have you tried HydraFusion or HydraFusion Max yet? Which execution pattern does it pick most for your work, and has it cured your model fatigue? Share your experiences in the comments.&lt;/em&gt;&lt;/p&gt;
</description>
        <pubDate>Fri, 16 Oct 2026 04:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/hydrafusion-multi-model-orchestration-copilot/</link>
        <guid isPermaLink="true">https://azurewithaj.com/hydrafusion-multi-model-orchestration-copilot/</guid>
        
        <category>github</category>
        
        <category>copilot</category>
        
        <category>ai</category>
        
        <category>agent</category>
        
        <category>agentic</category>
        
        <category>hydrafusion</category>
        
        
        <category>DevOps</category>
        
        <category>AI</category>
        
      </item>
    
      <item>
        <title>Are AI Agents the New Platform Engineering Customers?</title>
        <description>&lt;p&gt;Over the past few months, something has shifted. I am spending more time creating agents and skills to handle my day to day work than I am writing code.&lt;/p&gt;

&lt;p&gt;Actually, that is generous. I am spending almost no time writing code.&lt;/p&gt;

&lt;p&gt;Somewhere along the way, I changed jobs without telling myself. I still solve engineering problems, but now I spend more time designing the thing that does the work than doing the work directly.&lt;/p&gt;

&lt;p&gt;My first thought used to be, “I need to build something, and AI can help me write it.” Now it is, “Can I create or reuse a skill or agent that delivers the outcome?” That is not just a developer habit either. I use agents to automate mundane tasks, accelerate Azure and GitHub assessments, support migrations, analyse estates and turn technical evidence into something an executive can actually use.&lt;/p&gt;

&lt;p&gt;Which got me thinking about the core idea behind platform engineering: &lt;strong&gt;treat your platform as a product and your developers as customers&lt;/strong&gt;. If agents discover tools, call APIs, follow paved roads and produce outcomes on our behalf, are AI agents the new platform engineering customers?&lt;/p&gt;

&lt;p&gt;I think they are. They are not the only customers, and they are definitely not accountable ones, but they might be the most demanding consumers our platforms have ever seen. They are faster than any developer, more literal than any documentation writer imagined and completely unable to “just ask Dave” when the documentation stops making sense.&lt;/p&gt;

&lt;h2 id=&quot;tldr&quot;&gt;TL;DR&lt;/h2&gt;

&lt;p&gt;AI agents are becoming platform engineering customers. They consume the same APIs, templates, policies, documentation and deployment workflows as developers, only at machine speed and with a ruthlessly literal interpretation of whatever the platform exposes.&lt;/p&gt;

&lt;p&gt;Platform teams need to design for both humans and agents. That means machine consumable interfaces, explicit constraints, observable actions and approval points based on risk. Humans still own intent, judgement and accountability. An agent can recommend an answer, but I need to be willing to put my name against it before anyone acts on it.&lt;/p&gt;

&lt;h2 id=&quot;why-ai-agents-are-platform-engineering-customers&quot;&gt;Why AI Agents Are Platform Engineering Customers&lt;/h2&gt;

&lt;p&gt;Microsoft’s guide to &lt;a href=&quot;https://learn.microsoft.com/en-us/platform-engineering/what-is-platform-engineering&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;platform engineering&lt;/a&gt; describes an internal developer platform as a set of secure, scalable and self service capabilities that reduce cognitive load. Its guidance on &lt;a href=&quot;https://learn.microsoft.com/en-us/platform-engineering/about/customers&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;treating developers as customers&lt;/a&gt; makes the product mindset clear: build the platform around the needs of the people consuming it.&lt;/p&gt;

&lt;p&gt;That model still holds. What has changed is who, or what, is standing at the counter.&lt;/p&gt;

&lt;p&gt;A developer might browse a portal, write code and raise a pull request. An agent can make the same journey through a CLI, API, MCP server or repository workflow. It inspects the environment, chooses a paved road, generates the artefacts and puts the result in front of a human.&lt;/p&gt;

&lt;p&gt;That sounds like the same customer journey with fewer coffee breaks, but there is an important difference. Humans compensate for bad platforms. We infer what the author meant, connect to a corporate VPN to deploy to an environment and message support when none of it works. An agent cannot fill those gaps with tribal knowledge and mild frustration.&lt;/p&gt;

&lt;h2 id=&quot;ai-agents-need-a-different-developer-experience&quot;&gt;AI Agents Need a Different Developer Experience&lt;/h2&gt;

&lt;p&gt;We have spent years improving developer experience with portals, documentation and golden paths. Those things still matter. The difference is that an agent needs the same intent exposed in a form it can consume without guessing what we meant.&lt;/p&gt;

&lt;p&gt;Agents are brutally honest users of documentation. A developer can read “deploy using the standard pipeline” and know which pipeline that means. An agent will find three workflows called &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;deploy&lt;/code&gt;, one archived wiki page and a YAML example last updated before Bicep had loops. Then it will make a choice with enormous confidence while you watch through your fingers.&lt;/p&gt;

&lt;p&gt;Microsoft’s take on &lt;a href=&quot;https://devblogs.microsoft.com/blog/how-ai-coding-agents-actually-use-your-technology/&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;how AI coding agents use technology&lt;/a&gt; is worth a read. Agents depend on repository instructions, documentation, API descriptions, tools and their environment. If those inputs are vague, stale or contradictory, do not be surprised when the result is too.&lt;/p&gt;

&lt;p&gt;For platform teams, four things matter:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Machine consumable interfaces.&lt;/strong&gt; Capabilities need stable APIs, CLIs, schemas and MCP tools, not knowledge hidden in somebody’s head.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Explicit golden paths.&lt;/strong&gt; Preferred patterns must define when to use them, accepted inputs and good output. Microsoft’s guidance on &lt;a href=&quot;https://learn.microsoft.com/en-us/platform-engineering/about/customers#identify-optimal-development-paths-to-streamline-best-practices&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;paving optimal development paths&lt;/a&gt; applies equally to agents.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Guardrails close to execution.&lt;/strong&gt; Policy, permissions, budgets and approvals must constrain the action itself. Telling an agent to “be secure” is not a security control.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Observable decisions.&lt;/strong&gt; Show which tools were called, what changed and where human approval occurred.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A beautifully designed portal with an undocumented API works for people and frustrates agents. A powerful API with broad permissions and no audit trail works for agents and terrifies the organisation. One gives you a droid standing outside the cantina. The other gives it the keys to the Death Star.&lt;/p&gt;

&lt;p&gt;Neither is a particularly strong platform strategy.&lt;/p&gt;

&lt;h2 id=&quot;my-shift-from-writing-code-to-designing-capability&quot;&gt;My Shift from Writing Code to Designing Capability&lt;/h2&gt;

&lt;p&gt;This is not abstract for me. It has already changed how I work.&lt;/p&gt;

&lt;p&gt;Previously, I would open VS Code and start building. Now I usually stop and ask whether the thing in front of me is a one off task or the first run of something I will have to do another twenty times.&lt;/p&gt;

&lt;p&gt;My focus has moved from producing an artefact once to creating a reusable capability. Instead of another assessment script, I think about an agent with the right sources, tools, questions and output. Instead of manually gathering migration evidence, I create a skill that collects it consistently and surfaces what needs human judgement. For executive narratives, an agent assembles the evidence into a first draft that I can challenge and refine.&lt;/p&gt;

&lt;p&gt;Across Azure and GitHub, an agent can gather repository data, cloud configuration and policy findings in parallel. It gives engineers the detail and executives the decisions that matter.&lt;/p&gt;

&lt;p&gt;That changes what platform engineering is actually for. The platform team is no longer only curating Terraform modules, Bicep templates, pipelines and portals for developers. It is curating &lt;strong&gt;capabilities, context and controls&lt;/strong&gt; for people and agents working side by side.&lt;/p&gt;

&lt;p&gt;I explored versioning and governance in &lt;a href=&quot;https://azurewithaj.com/agents-as-code-versioned-artifacts&quot;&gt;Agents as Code&lt;/a&gt;, and reusable skills in &lt;a href=&quot;https://azurewithaj.com/organising-copilot-customisations&quot;&gt;Organising GitHub Copilot Customisations&lt;/a&gt;. Put those ideas together and the direction is difficult to ignore: agents are no longer visiting the platform, they are moving in.&lt;/p&gt;

&lt;h2 id=&quot;the-complacency-trap&quot;&gt;The Complacency Trap&lt;/h2&gt;

&lt;p&gt;There is a part of this shift that does not get enough airtime.&lt;/p&gt;

&lt;p&gt;AI makes the easy path dangerously easy. It produces a polished answer, the structure looks right, the language is confident and every instinct says &lt;strong&gt;LGTM&lt;/strong&gt;. When the result arrives faster than you could have created it yourself, accepting it feels like progress.&lt;/p&gt;

&lt;p&gt;It’s a trap!&lt;/p&gt;

&lt;p&gt;Human in the loop cannot mean somebody clicks approve at the end. It means actively testing the reasoning, checking the evidence, understanding the risk and deciding whether you are comfortable putting your name to the result.&lt;/p&gt;

&lt;p&gt;I have had to ingrain a simple question into my own review process:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;Am I willing to put my name against this outcome?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If the answer is no, the work is not done.&lt;/p&gt;

&lt;p&gt;This matters even more beyond code. Tests might catch a questionable code change. They will not catch an assessment that misdirects investment or an executive summary that shapes the wrong decision.&lt;/p&gt;

&lt;p&gt;The platform needs to make that review possible. Preserve source links. Show assumptions. Separate evidence from inference. Make confidence visible. Require approval before high impact actions. Give reviewers enough context to disagree instead of presenting a shiny answer and a green button.&lt;/p&gt;

&lt;p&gt;A green tick is useful. It is not absolution.&lt;/p&gt;

&lt;h2 id=&quot;design-the-platform-for-two-customers&quot;&gt;Design the Platform for Two Customers&lt;/h2&gt;

&lt;p&gt;The answer is not a second platform built just for agents. Nobody needs another portal or another backlog. Make the existing platform clearer, safer and easier to compose, and humans benefit too.&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Platform capability&lt;/th&gt;
      &lt;th&gt;Human customer needs&lt;/th&gt;
      &lt;th&gt;Agent customer needs&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;Documentation&lt;/td&gt;
      &lt;td&gt;Clear guidance and examples&lt;/td&gt;
      &lt;td&gt;Structured, current and discoverable context&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Golden paths&lt;/td&gt;
      &lt;td&gt;Low friction self service&lt;/td&gt;
      &lt;td&gt;Deterministic inputs, outputs and validation&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Tooling&lt;/td&gt;
      &lt;td&gt;Helpful portal and CLI experiences&lt;/td&gt;
      &lt;td&gt;Stable APIs, schemas and scoped tools&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Governance&lt;/td&gt;
      &lt;td&gt;Understandable policies and approvals&lt;/td&gt;
      &lt;td&gt;Enforced permissions and explicit boundaries&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Observability&lt;/td&gt;
      &lt;td&gt;Status, logs and ownership&lt;/td&gt;
      &lt;td&gt;Traceable tool calls, context and decisions&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;Feedback&lt;/td&gt;
      &lt;td&gt;Support channels and product research&lt;/td&gt;
      &lt;td&gt;Evaluation results, failures and correction loops&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;p&gt;This is platform engineering doing what it has always promised: reducing cognitive load without removing responsibility.&lt;/p&gt;

&lt;p&gt;If a human needs a meeting to learn the hidden process and an agent needs six retries to reverse engineer it, the problem is not either customer. The paved road has a pothole large enough to lose an Imperial walker in it.&lt;/p&gt;

&lt;p&gt;Microsoft’s &lt;a href=&quot;https://learn.microsoft.com/en-us/platform-engineering/platform-engineering-capability-model&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;Platform Engineering Capability Model&lt;/a&gt; helps teams assess their current practices and set goals across adoption, governance, provisioning, interfaces and feedback. Agents raise the bar again. If a capability cannot be discovered, understood and safely consumed without tribal knowledge, it is not ready for this new customer.&lt;/p&gt;

&lt;h2 id=&quot;where-platform-teams-should-start&quot;&gt;Where Platform Teams Should Start&lt;/h2&gt;

&lt;p&gt;Do not begin with a grand agent platform programme and a 47 slide strategy deck. I have seen how this film ends, and somehow there is always a steering committee in the third act. Pick one valuable, repeatable journey and make it work end to end.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Choose a bounded use case.&lt;/strong&gt; Evidence collection, repository onboarding and migration readiness are good candidates with definable outputs.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Expose the paved road.&lt;/strong&gt; Provide the templates, APIs, instructions, examples and success criteria.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Constrain the tools.&lt;/strong&gt; Grant only the required permissions and keep production changes behind approval.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Evaluate the outcome.&lt;/strong&gt; Test accuracy, completeness, compliance and usefulness, not simply task completion.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Review with intent.&lt;/strong&gt; Make the accountable human inspect evidence and assumptions.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Improve the platform.&lt;/strong&gt; Treat failures as product feedback and fix the source.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Agents are relentless platform testers. They will find every undocumented dependency, inconsistent naming convention and vague instruction. They will do it at speed, at scale and usually five minutes after you confidently announce the golden path is production ready.&lt;/p&gt;

&lt;p&gt;It will be annoying. It will also be some of the most honest product feedback your platform team will ever receive.&lt;/p&gt;

&lt;h2 id=&quot;conclusion-a-new-customer-not-a-new-owner&quot;&gt;Conclusion: A New Customer, Not a New Owner&lt;/h2&gt;

&lt;p&gt;AI agents consume platform capabilities, navigate golden paths and turn intent into action. They are fast, scalable and increasingly useful across Azure, GitHub and the wider business.&lt;/p&gt;

&lt;p&gt;But they are not the owner of the outcome.&lt;/p&gt;

&lt;p&gt;My mindset has shifted from writing code with AI assistance to designing agents and skills first. That has automated mundane work and improved assessments, migration plans and executive insights. It has also forced me to review more deliberately. The easier an answer is to accept, the more important it is to ask whether I truly stand behind it.&lt;/p&gt;

&lt;p&gt;Build platforms that agents can understand. Give them narrow, observable and well governed paths. Then keep humans exactly where they belong: setting intent, exercising judgement and owning the decision.&lt;/p&gt;

&lt;p&gt;The droids can use the platform. They do not get a seat on the Jedi Council.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Are your AI agents already consuming your internal platform, and can you trace how they reached their decisions? Share what is working, and where the paved road still has potholes, in the comments.&lt;/em&gt;&lt;/p&gt;
</description>
        <pubDate>Mon, 07 Sep 2026 19:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/ai-agents-platform-engineering-customers/</link>
        <guid isPermaLink="true">https://azurewithaj.com/ai-agents-platform-engineering-customers/</guid>
        
        <category>ai</category>
        
        <category>agent</category>
        
        <category>platform-engineering</category>
        
        
        <category>DevOps</category>
        
        <category>AI</category>
        
      </item>
    
      <item>
        <title>Why the GitHub Copilot App Became My Daily Driver</title>
        <description>&lt;p&gt;I did not want to like the GitHub Copilot app. I had VS Code tuned exactly how I wanted it, extensions curated over years, keybindings in muscle memory, and a colour theme I will defend to the death. Handing that over for a new desktop app felt like swapping a lightsaber I had built myself for one someone handed me in a shop.&lt;/p&gt;

&lt;p&gt;Fast forward and it is open on my machine every single day, sitting alongside VS Code rather than replacing it. VS Code is still where I go for heavy code development, the hands on work where I want the folder tree, the extensions and the debugger. The Copilot app is where I direct the work.&lt;/p&gt;

&lt;p&gt;This is not a scorecard, it is my view on why the GitHub Copilot app is now a valid place to do serious work, the good, the awkward and the genuinely annoying. Everything factual here comes from &lt;a href=&quot;https://docs.github.com/en/copilot/concepts/agents/github-copilot-app&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;GitHub’s own documentation&lt;/a&gt;, everything opinionated is mine.&lt;/p&gt;

&lt;h2 id=&quot;what-the-github-copilot-app-actually-is&quot;&gt;What the GitHub Copilot App Actually Is&lt;/h2&gt;

&lt;p&gt;Before the feelings, the facts. The &lt;a href=&quot;https://docs.github.com/en/copilot/concepts/agents/github-copilot-app&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;GitHub Copilot app&lt;/a&gt; is a desktop application purpose built for agent driven development, available on macOS, Windows and Linux, and available across all Copilot plans. It is built on GitHub Copilot CLI and integrates natively with GitHub, so repositories, branches, issues, pull requests and CI results work out of the box.&lt;/p&gt;

&lt;p&gt;The important word in that description is &lt;strong&gt;agents&lt;/strong&gt;, not &lt;strong&gt;editor&lt;/strong&gt;. GitHub is explicit that it exists so you can direct multiple agents across parallel workstreams instead of context switching between terminal, IDE and browser tabs. Each session runs in its own isolated workspace with a dedicated git worktree and branch, and you can pick where a session runs, a new working tree, your local repository, or a cloud sandbox.&lt;/p&gt;

&lt;p&gt;If you want the wider landscape view, I compared it against other agentic surfaces in &lt;a href=&quot;https://azurewithaj.com/agentic-workflows-vs-scout-vs-copilot-app&quot;&gt;Agentic Workflows vs Scout vs Copilot App&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;the-part-where-i-resisted&quot;&gt;The Part Where I Resisted&lt;/h2&gt;

&lt;p&gt;Early on it was mild frustration. I kept asking myself the obvious question, why would I use this when VS Code already has Copilot in it?&lt;/p&gt;

&lt;p&gt;The answer was not obvious, because I was using the app wrong. I started with chat, treating it as a fancier chat window, which is the least interesting thing it does. Then I kicked off real agentic work and the discomfort arrived properly. No folder tree down the left. No extensions bar. No terminal sitting where my eyes expect it. My hands kept reaching for shortcuts that were not there.&lt;/p&gt;

&lt;p&gt;That reaction is worth naming, because it is not a product flaw, it is a &lt;strong&gt;model mismatch&lt;/strong&gt;. An IDE optimises for you writing lines. The Copilot app optimises for you directing work and reviewing outcomes. The sidebar tells the story, &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/github-copilot-app/getting-started&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;My work, Automations, Search and Sessions&lt;/a&gt;. Not a file explorer in sight, because files are what the agent is dealing with, not you.&lt;/p&gt;

&lt;p&gt;I was looking for a cockpit and had been handed the war room on Yavin 4. Once I stopped mourning my folder tree, things got interesting fast.&lt;/p&gt;

&lt;h2 id=&quot;the-turning-point-from-curiosity-to-daily-habit&quot;&gt;The Turning Point: From Curiosity to Daily Habit&lt;/h2&gt;

&lt;p&gt;The shift did not happen in one dramatic moment. It happened over a handful of real use cases, one after another, a refactor here, a documentation sync there, adding a new skill in a repo on a Friday afternoon that I could not be bothered branching for manually. Nothing individually convinced me, but the tally added up quickly, and I noticed I was reaching for the app before I had consciously decided to.&lt;/p&gt;

&lt;p&gt;Part of what made experimenting low risk is &lt;strong&gt;session modes&lt;/strong&gt;. You choose how much rope the agent gets, and you can change it mid flight:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Interactive&lt;/strong&gt;, the agent suggests changes and waits for your input.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Plan&lt;/strong&gt;, the agent proposes a plan you approve before it executes.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Autopilot&lt;/strong&gt;, the agent writes code, runs tests and iterates on its own.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I will be upfront that Plan mode has not been my own habit, my sessions have mostly lived in Interactive and Autopilot. But it is a genuinely useful option if you want a checkpoint before an agent starts touching your repository, and combined with a model picker and reasoning effort control per session, the range of control on offer is well thought out regardless of which mode you settle on.&lt;/p&gt;

&lt;p&gt;What changed is that it slowly became essential for real development work rather than something I dipped into occasionally. When I have three streams of work in flight across two repositories, this is where I sit. When one of those streams needs me elbow deep in the code itself, I drop into VS Code, do the work properly, then come back.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph TD
    A[Issue in My work] --&amp;gt; B[Start session with context loaded]
    B --&amp;gt; C{Session mode}
    C --&amp;gt;|Plan| D[Review and approve plan]
    C --&amp;gt;|Interactive| E[Steer as it works]
    C --&amp;gt;|Autopilot| F[Agent runs unattended]
    D --&amp;gt; G[Review diff in session]
    E --&amp;gt; G
    F --&amp;gt; G
    G --&amp;gt; H[Create PR, check CI, merge in app]

    style A fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style B fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style C fill:#f59e0b,stroke:#d97706,stroke-width:3px,color:#fff
    style D fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style E fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style F fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style G fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style H fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
&lt;/code&gt;&lt;/pre&gt;

&lt;h2 id=&quot;automations-are-the-sleeper-feature&quot;&gt;Automations Are the Sleeper Feature&lt;/h2&gt;

&lt;p&gt;If I had to pick one thing that moved the app from “interesting” to “essential”, it is &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/github-copilot-app/using-automations&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;automations&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Automations let you save recurring agent tasks and run them on a schedule or on demand. In the app you get an Automations tab in the sidebar, and each automation shows its name, schedule, associated repository and last run status. There are two flavours, &lt;strong&gt;local automations&lt;/strong&gt; that run from your environment, and &lt;strong&gt;cloud automations&lt;/strong&gt; that run in a cloud environment so they still fire when your machine is off.&lt;/p&gt;

&lt;p&gt;Triggers are refreshingly simple:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Manual&lt;/strong&gt;, run it whenever you want with the play button on its card.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;On a schedule&lt;/strong&gt;, hourly, daily or weekly.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;When an issue is created&lt;/strong&gt;, with an optional search query filter so you only catch the issues you care about.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For cloud automations you also select the tools Copilot may use, such as pushing changes, updating issue labels or creating a pull request. Selecting only what the task needs is the same least privilege discipline we apply everywhere else, and it is refreshing to see it as a first class dropdown rather than a buried policy.&lt;/p&gt;

&lt;p&gt;My favourite detail is the smallest one. While troubleshooting I was able to schedule a retry for 24 hours later while I was waiting for a system change to propagate, meaning one off jobs can get saved easily rather than retyped from scratch every time I want to repeat them.&lt;/p&gt;

&lt;p&gt;The other pleasant surprise was stumbling onto an inbox style view in the app that surfaces reminders and nudges me to run something when it is actually relevant, rather than leaving automations to fire blind on a timer and hoping I remember to check the results. It is a small addition, but it is the difference between an automation running while I am not looking and one that taps me on the shoulder at the right moment.&lt;/p&gt;

&lt;h2 id=&quot;multiple-accounts-or-why-my-cross-org-life-got-easier&quot;&gt;Multiple Accounts, or Why My Cross Org Life Got Easier&lt;/h2&gt;

&lt;p&gt;Working across a personal account and multiple client organisations has always meant an authentication tax. Sign out, sign in, re authorise, forget which identity you were in, push to the wrong remote, feel shame.&lt;/p&gt;

&lt;p&gt;Being able to work across accounts and set the identity per repository and session removes what has honestly been a barrier to entry for years. In practice it is the difference between picking up a cross org task immediately and putting it off until I have the energy for the ceremony.&lt;/p&gt;

&lt;h2 id=&quot;the-rough-edges&quot;&gt;The Rough Edges&lt;/h2&gt;

&lt;p&gt;With that said, here is what still irritates me. Both feel like maturity problems rather than design problems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customisation still pulls you out of the UI.&lt;/strong&gt; The docs say you can add and manage &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/github-copilot-app/customize-github-copilot-app&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;agent skills and MCP servers&lt;/a&gt; in app settings, and anything already configured for your repositories or Copilot CLI is picked up automatically. That is true, and there is a catalogue of popular MCP servers. But the moment you go beyond the catalogue and need to provide in depth customisations , you are back in local configuration files, restarting things and guessing why a server did not appear. For an app whose whole pitch is “stay in one place”, the customisation path is the one journey that keeps sending me elsewhere.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;No terminal until a session exists.&lt;/strong&gt; Sessions own the workspace, which makes sense architecturally, since each one gets its own worktree. It also means the terminal is not there when you first open the session. If your instinct is to poke around a session before deciding what to do, that instinct is temporarily homeless. &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/github-copilot-app/agent-sessions&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;Quick chats&lt;/a&gt; help for questions, because they open a conversation without creating a branch or worktree, but they are not a shell.&lt;/p&gt;

&lt;p&gt;Neither is a deal breaker. Both are the kind of thing I expect to read about in a changelog within a couple of releases.&lt;/p&gt;

&lt;h2 id=&quot;credits-and-common-sense&quot;&gt;Credits and Common Sense&lt;/h2&gt;

&lt;p&gt;One practical note. Agent sessions consume AI credits, and GitHub publishes &lt;a href=&quot;https://docs.github.com/en/copilot/concepts/agents/github-copilot-app#optimizing-ai-usage-in-the-github-copilot-app&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;sensible guidance on optimising usage&lt;/a&gt;, match model capability to task complexity, use Plan mode to validate scope before burning effort, use quick chats for early exploration, and start a fresh session when you switch tasks so you are not dragging irrelevant context along.&lt;/p&gt;

&lt;p&gt;Treat autonomous runs like cloud spend. Start narrow, watch the usage, expand what clearly pays for itself.&lt;/p&gt;

&lt;h2 id=&quot;conclusion-who-should-actually-switch&quot;&gt;Conclusion: Who Should Actually Switch&lt;/h2&gt;

&lt;p&gt;The GitHub Copilot app did not replace my IDE and I no longer expect it to. VS Code is still my lightsaber for heavy code development. The Copilot app is the command deck, and it replaced the &lt;strong&gt;orchestration layer&lt;/strong&gt; that used to live in my head, spread across terminal tabs, browser windows and half remembered intentions.&lt;/p&gt;

&lt;p&gt;I would recommend it to you if:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You regularly run &lt;strong&gt;more than one stream of work&lt;/strong&gt; at a time.&lt;/li&gt;
  &lt;li&gt;You live across &lt;strong&gt;multiple organisations or accounts&lt;/strong&gt; and are tired of the sign in shuffle.&lt;/li&gt;
  &lt;li&gt;You have &lt;strong&gt;recurring repository chores&lt;/strong&gt; that would happily run on a schedule.&lt;/li&gt;
  &lt;li&gt;You are comfortable &lt;strong&gt;directing and reviewing&lt;/strong&gt; rather than typing every line.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I would hold off if you are mostly doing focused single threaded work in one repository, or if your workflow depends heavily on IDE extensions. These are not the droids you are looking for, and the app is not trying to win that fight anyway. Keep VS Code for the deep code work and let the app handle everything around it.&lt;/p&gt;

&lt;p&gt;Start small. Install it, connect one repository, run one Plan mode session on a real issue, then save one automation. That is a lunch break’s worth of effort, and it is enough to know whether the model fits how you work.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Have you given the GitHub Copilot app a proper go, or are you still loyal to your IDE? Tell me what won you over, or what sent you back, in the comments.&lt;/em&gt;&lt;/p&gt;
</description>
        <pubDate>Sun, 02 Aug 2026 19:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/github-copilot-app-daily-driver/</link>
        <guid isPermaLink="true">https://azurewithaj.com/github-copilot-app-daily-driver/</guid>
        
        <category>github</category>
        
        <category>copilot</category>
        
        <category>agent</category>
        
        <category>agentic</category>
        
        <category>automation</category>
        
        <category>devops</category>
        
        
        <category>DevOps</category>
        
        <category>AI</category>
        
      </item>
    
      <item>
        <title>GitHub Agentic Workflows vs Microsoft Scout vs Copilot App: Which Tool to Use When</title>
        <description>&lt;p&gt;If you have been anywhere near the Microsoft and GitHub ecosystem since Build 2026, you have probably felt it. GitHub Agentic Workflows, Microsoft Scout, and the GitHub Copilot app all landed within weeks of each other, all promise to automate your day to day, and all draw from the same GitHub Copilot credit pool. It is like being handed three lightsabers and being told “you’ll know which one to use when the time comes”. Helpful, thanks Obi-Wan.&lt;/p&gt;

&lt;p&gt;The confusion is understandable. Each of these tools runs AI agents, each connects to GitHub, and each consumes GitHub Copilot AI credits. So which one do you reach for when an issue needs triaging, when your inbox is on fire, or when you have five parallel coding tasks on the go?&lt;/p&gt;

&lt;p&gt;In this post I break down what each tool actually is, where Microsoft and GitHub say it fits, and give you a simple decision framework so you stop second guessing yourself. Everything here is drawn from official Microsoft and GitHub documentation and announcements, not speculation.&lt;/p&gt;

&lt;h2 id=&quot;tldr&quot;&gt;TL;DR&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;GitHub Agentic Workflows&lt;/strong&gt; automate &lt;strong&gt;repository tasks&lt;/strong&gt; that run without you, triggered by events, schedules, or commands inside GitHub Actions.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Microsoft Scout&lt;/strong&gt; is your &lt;strong&gt;always on personal agent&lt;/strong&gt; for Microsoft 365 and your desktop, handling operational and coordination work like email, calendar, files, and follow ups.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;GitHub Copilot app&lt;/strong&gt; is your &lt;strong&gt;desktop control centre for supervised coding sessions&lt;/strong&gt;, orchestrating multiple Copilot agents working on code in parallel.&lt;/li&gt;
  &lt;li&gt;All three consume &lt;strong&gt;GitHub Copilot AI credits&lt;/strong&gt;, so pick the right tool for the job or you will burn budget on the wrong surface.&lt;/li&gt;
  &lt;li&gt;Rule of thumb: &lt;strong&gt;repo automation goes to Agentic Workflows, personal productivity goes to Scout, and active coding work goes to the Copilot app.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;why-the-confusion-exists&quot;&gt;Why the Confusion Exists&lt;/h2&gt;

&lt;p&gt;Microsoft and GitHub shipped three agentic surfaces in rapid succession. Scout and the Copilot app were both announced at Build 2026 in June, and &lt;a href=&quot;https://github.blog/changelog/2026-06-11-github-agentic-workflows-is-now-in-public-preview/&quot;&gt;GitHub Agentic Workflows entered public preview&lt;/a&gt; in the same month. Each one was pitched as “agents that do work for you”.&lt;/p&gt;

&lt;p&gt;The overlap is real on the surface:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;All three run AI agents that plan, reason, and act autonomously.&lt;/li&gt;
  &lt;li&gt;All three integrate with GitHub, whether that is issues, pull requests, or repositories.&lt;/li&gt;
  &lt;li&gt;All three are metered against your &lt;strong&gt;GitHub Copilot AI credits&lt;/strong&gt;, following &lt;a href=&quot;https://github.blog/news-insights/company-news/github-copilot-is-moving-to-usage-based-billing/&quot;&gt;Copilot’s move to usage based billing&lt;/a&gt;. Even Scout, a Microsoft 365 product, &lt;a href=&quot;https://learn.microsoft.com/en-us/microsoft-scout/get-started&quot;&gt;requires a GitHub Copilot Business or Enterprise licence&lt;/a&gt; and bills its AI consumption through GitHub.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Shared billing is exactly why choosing the right tool matters. Agentic tasks can consume significantly more credits than a simple chat prompt, so running the wrong agent for the job is not just inefficient, it is expensive. Beneath the shared plumbing, each tool answers a completely different question.&lt;/p&gt;

&lt;h2 id=&quot;github-agentic-workflows-automation-that-runs-without-you&quot;&gt;GitHub Agentic Workflows: Automation That Runs Without You&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://github.blog/ai-and-ml/automate-repository-tasks-with-github-agentic-workflows/&quot;&gt;GitHub Agentic Workflows&lt;/a&gt; let you describe repository automation in natural language Markdown. The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gh aw&lt;/code&gt; CLI compiles your Markdown into a standard GitHub Actions workflow, so it reuses your existing runners, secrets, and policies.&lt;/p&gt;

&lt;p&gt;The defining characteristic is that &lt;strong&gt;nobody is watching&lt;/strong&gt;. These workflows trigger on repository events, cron schedules, or slash commands, and an AI coding agent carries out the reasoning step unattended. Think:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Intelligent issue triage and labelling&lt;/li&gt;
  &lt;li&gt;CI failure analysis with suggested fixes&lt;/li&gt;
  &lt;li&gt;Keeping documentation synchronised with code changes&lt;/li&gt;
  &lt;li&gt;Dependency and security hygiene sweeps&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because agents run unattended, GitHub wrapped them in a &lt;a href=&quot;https://github.blog/ai-and-ml/generative-ai/under-the-hood-security-architecture-of-github-agentic-workflows/&quot;&gt;security first architecture&lt;/a&gt;. Agents run read only by default inside a sandboxed environment with a workflow firewall, and anything that writes back goes through audited safe outputs. Billing covers &lt;a href=&quot;https://github.github.com/gh-aw/reference/billing/&quot;&gt;GitHub Actions minutes plus AI credits&lt;/a&gt; for the inference itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use it when:&lt;/strong&gt; the task belongs to the repository, repeats over time, and does not need a human in the loop for every run. I covered this in depth in &lt;a href=&quot;https://azurewithaj.com/agentic-workflows-reimagining-automation&quot;&gt;Agentic Workflows: Reimagining Repository Automation&lt;/a&gt; if you want the full picture.&lt;/p&gt;

&lt;h2 id=&quot;microsoft-scout-your-always-on-personal-agent&quot;&gt;Microsoft Scout: Your Always On Personal Agent&lt;/h2&gt;

&lt;p&gt;&lt;a href=&quot;https://www.microsoft.com/en-us/microsoft-365/blog/2026/06/02/introducing-microsoft-scout-your-always-on-personal-agent/&quot;&gt;Microsoft Scout&lt;/a&gt; is the first of Microsoft’s “Autopilot agents”, currently in preview through the Microsoft Frontier program. Where Copilot answers when you ask, Scout keeps working when you are not looking.&lt;/p&gt;

&lt;p&gt;Scout runs on your Windows or macOS desktop and can, with your permission:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Read and write local files and run shell commands&lt;/li&gt;
  &lt;li&gt;Automate browser actions like filling forms&lt;/li&gt;
  &lt;li&gt;Manage your Microsoft 365 world: email, calendar, Teams, meetings, and files&lt;/li&gt;
  &lt;li&gt;Run on schedules or triggers, proactively flagging risks like stalled decisions or overdue tasks&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The enterprise story is strong. Each Scout instance carries its own Entra ID identity, every action is policy checked and audited, and sensitive actions require explicit approval. The &lt;a href=&quot;https://learn.microsoft.com/en-us/microsoft-scout/get-started&quot;&gt;prerequisites&lt;/a&gt; are meaningful: Frontier enrolment, a Microsoft 365 Copilot licence, an Intune managed device, &lt;strong&gt;and&lt;/strong&gt; a GitHub Copilot Business or Enterprise licence, because Scout’s AI consumption is billed through GitHub Copilot credits.&lt;/p&gt;

&lt;p&gt;That last point trips people up. Scout is a Microsoft 365 product that spends your GitHub Copilot budget. It is the clearest signal yet that Microsoft treats Copilot credits as the common currency for agentic work across the whole ecosystem.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use it when:&lt;/strong&gt; the work is about &lt;strong&gt;you and your day&lt;/strong&gt;, not a codebase. Inbox triage, meeting preparation, chasing follow ups, coordinating across Teams and Outlook. Scout is your operational chief of staff, not your pair programmer.&lt;/p&gt;

&lt;h2 id=&quot;github-copilot-app-your-agent-orchestration-desk&quot;&gt;GitHub Copilot App: Your Agent Orchestration Desk&lt;/h2&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.blog/news-insights/product-news/github-copilot-app-the-agent-native-desktop-experience/&quot;&gt;GitHub Copilot app&lt;/a&gt; went &lt;a href=&quot;https://github.blog/changelog/2026-06-17-github-copilot-app-generally-available/&quot;&gt;generally available on 17 June 2026&lt;/a&gt; for macOS, Windows, and Linux. It is not an IDE and it does not replace VS Code. It is a dedicated desktop surface for &lt;strong&gt;supervising multiple coding agents at once&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The headline features tell you exactly what it is for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;My Work dashboard&lt;/strong&gt; showing active agent sessions, issues, and pull requests across repositories&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Parallel sessions&lt;/strong&gt; where each agent works in an isolated git worktree, locally or in the cloud&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Canvases&lt;/strong&gt;, shared spaces where plans, terminals, diffs, and reviews happen in the open rather than buried in a chat thread&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agent Merge&lt;/strong&gt;, which shepherds pull requests through reviews and checks while you stay in control&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The mental model GitHub is pushing is that you shift from writing every line to &lt;strong&gt;directing agents like a project lead&lt;/strong&gt;. You kick off three or four coding sessions, review their plans, steer them in canvases, and merge the results. It is available to Copilot Pro, Pro+, Business, and Enterprise subscribers, and yes, those agent sessions consume Copilot credits.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use it when:&lt;/strong&gt; you have active, interactive coding work and want to run several streams in parallel with you in the loop. This is the Agent HQ vision landing on the desktop, which I explored in &lt;a href=&quot;https://azurewithaj.com/welcome-home-agents&quot;&gt;Welcome Home, Agents&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;the-decision-framework&quot;&gt;The Decision Framework&lt;/h2&gt;

&lt;p&gt;Here is the flow I use when deciding where a piece of work should go.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph TD
    A[Work to automate] --&amp;gt; B{Is it about code or a repository?}
    B --&amp;gt;|No, it is email, calendar, files, coordination| C[Microsoft Scout]
    B --&amp;gt;|Yes| D{Do you need to be in the loop while it runs?}
    D --&amp;gt;|No, it should run unattended on events or schedules| E[GitHub Agentic Workflows]
    D --&amp;gt;|Yes, you want to steer and review as it works| F[GitHub Copilot app]

    style A fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style B fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style D fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style C fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style E fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style F fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And the side by side view:&lt;/p&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;Dimension&lt;/th&gt;
      &lt;th&gt;Agentic Workflows&lt;/th&gt;
      &lt;th&gt;Microsoft Scout&lt;/th&gt;
      &lt;th&gt;Copilot App&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Scope&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Repository and org automation&lt;/td&gt;
      &lt;td&gt;Your personal and Microsoft 365 work&lt;/td&gt;
      &lt;td&gt;Active coding sessions&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Human in loop&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;No, unattended with audited outputs&lt;/td&gt;
      &lt;td&gt;Approval gates on sensitive actions&lt;/td&gt;
      &lt;td&gt;Yes, you supervise and steer&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Where it runs&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;GitHub Actions runners&lt;/td&gt;
      &lt;td&gt;Your desktop plus Microsoft 365 cloud&lt;/td&gt;
      &lt;td&gt;Desktop app, local or cloud sessions&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Trigger&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Events, schedules, commands&lt;/td&gt;
      &lt;td&gt;Always on, schedules, proactive&lt;/td&gt;
      &lt;td&gt;You launch sessions&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Licensing&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Copilot plan plus Actions minutes&lt;/td&gt;
      &lt;td&gt;M365 Copilot plus GitHub Copilot Business/Enterprise&lt;/td&gt;
      &lt;td&gt;Copilot Pro, Pro+, Business, Enterprise&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Billing&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Actions minutes plus Copilot AI credits&lt;/td&gt;
      &lt;td&gt;Copilot AI credits via GitHub&lt;/td&gt;
      &lt;td&gt;Copilot AI credits&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;strong&gt;Availability&lt;/strong&gt;&lt;/td&gt;
      &lt;td&gt;Public preview&lt;/td&gt;
      &lt;td&gt;Frontier preview&lt;/td&gt;
      &lt;td&gt;Generally available&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;h2 id=&quot;where-they-overlap-and-the-official-stance&quot;&gt;Where They Overlap, and the Official Stance&lt;/h2&gt;

&lt;p&gt;There are genuine grey areas. Scout can technically touch repositories, the Copilot app can schedule recurring cloud automations, and Agentic Workflows can be triggered manually. So what do Microsoft and GitHub actually recommend?&lt;/p&gt;

&lt;p&gt;The positioning in the official material is consistent:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;GitHub frames Agentic Workflows as “&lt;a href=&quot;https://github.blog/ai-and-ml/automate-repository-tasks-with-github-agentic-workflows/&quot;&gt;automating repository tasks&lt;/a&gt;”, continuous automation belonging to the repo, not the person.&lt;/li&gt;
  &lt;li&gt;Microsoft positions Scout as “&lt;a href=&quot;https://www.microsoft.com/en-us/microsoft-365/blog/2026/06/02/introducing-microsoft-scout-your-always-on-personal-agent/&quot;&gt;your always on personal agent&lt;/a&gt;” for eliminating operational and coordination work across Microsoft 365.&lt;/li&gt;
  &lt;li&gt;GitHub describes the Copilot app as “&lt;a href=&quot;https://github.blog/news-insights/product-news/github-copilot-app-the-agent-native-desktop-experience/&quot;&gt;the agent-native desktop experience&lt;/a&gt;” for orchestrating parallel agent driven software work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In other words, the vendors themselves draw the lines at &lt;strong&gt;repository, person, and coding session&lt;/strong&gt;. When you are tempted to bend one tool into another’s lane, remember that each is hardened for its own context. Agentic Workflows have the sandbox and safe outputs for unattended repo access. Scout has Entra identity, Purview integration, and Intune controls for personal and enterprise data. The Copilot app has worktree isolation for parallel code changes. Using the right tool is not just cleaner, it keeps you inside the guardrails each team built.&lt;/p&gt;

&lt;p&gt;One practical tip on credits: because everything meters against the same Copilot AI credit pool, treat unattended automation with the same discipline as cloud spend. Start Agentic Workflows on a small number of high value tasks, watch the credit reporting, and expand from there.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;The three tools are not competitors, they are three seats at the same agentic table. GitHub Agentic Workflows keep your repositories healthy while you sleep. Microsoft Scout keeps your day moving while you focus. The GitHub Copilot app is where you sit when you are actively directing coding agents.&lt;/p&gt;

&lt;p&gt;The confusion melts away once you ask two questions: is this about a repository or about me, and do I need to be in the loop? Answer those and the choice makes itself, and it will match exactly where Microsoft and GitHub are steering each product.&lt;/p&gt;

&lt;p&gt;If you want to go deeper, start with &lt;a href=&quot;https://azurewithaj.com/agentic-workflows-reimagining-automation&quot;&gt;Agentic Workflows: Reimagining Repository Automation&lt;/a&gt; for the repo automation side, and &lt;a href=&quot;https://azurewithaj.com/azure-devops-vs-github-build-2026&quot;&gt;Azure DevOps vs GitHub: Your 2026 Platform Decision&lt;/a&gt; for the bigger platform picture.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Have you worked out your own split between these three tools? Are your Copilot credits going where you expected? Share your experiences in the comments.&lt;/em&gt;&lt;/p&gt;
</description>
        <pubDate>Wed, 15 Jul 2026 19:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/agentic-workflows-vs-scout-vs-copilot-app/</link>
        <guid isPermaLink="true">https://azurewithaj.com/agentic-workflows-vs-scout-vs-copilot-app/</guid>
        
        <category>github</category>
        
        <category>agentic</category>
        
        <category>workflows</category>
        
        <category>copilot</category>
        
        <category>ai</category>
        
        <category>devops</category>
        
        
        <category>DevOps</category>
        
        <category>AI</category>
        
      </item>
    
      <item>
        <title>Azure DevOps vs GitHub: Your 2026 Platform Decision</title>
        <description>&lt;p&gt;The question I get asked more than almost any other right now is deceptively simple. Azure DevOps vs GitHub, which one should we be standing on in 2026? It used to be a tooling preference. After Microsoft Build 2026, it is a strategy decision.&lt;/p&gt;

&lt;p&gt;The short version is that both platforms are alive and supported, but only one of them is where the future is being built. If you read the Microsoft Build 2026 announcements closely, Microsoft drew a line as clean as a lightsaber cut. GitHub is the home of agentic development, and Azure DevOps is the stable, well supported workhorse that keeps doing its job without chasing the frontier.&lt;/p&gt;

&lt;p&gt;This post unpacks what was actually announced, what it means for your teams, and how to plan a migration that does not blow up your delivery in the process. No hype, just the practical read.&lt;/p&gt;

&lt;h2 id=&quot;tldr&quot;&gt;TL;DR&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;GitHub&lt;/strong&gt; is now the agent native control centre for planning, coding, review, security, and agents.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Azure DevOps&lt;/strong&gt; continues with incremental improvements, with Microsoft committed to improving code quality in pull requests and helping developers remediate security issues faster. Boards, Pipelines, and Test Plans are not going anywhere.&lt;/li&gt;
  &lt;li&gt;Microsoft recommends a &lt;strong&gt;hybrid model&lt;/strong&gt;, GitHub repositories with optional Azure DevOps orchestration.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Enterprise Live Migrations (ELM)&lt;/strong&gt; now enable low downtime repository moves from Azure DevOps to GitHub.&lt;/li&gt;
  &lt;li&gt;Azure DevOps basic usage rights are included with &lt;strong&gt;GitHub Enterprise&lt;/strong&gt;, so you are not paying twice to run both.&lt;/li&gt;
  &lt;li&gt;The industry is shifting from DevOps to &lt;strong&gt;Agentic DevOps&lt;/strong&gt;, and your platform choice should reflect that.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;the-real-difference-in-2026&quot;&gt;The Real Difference in 2026&lt;/h2&gt;

&lt;p&gt;For years the comparison was feature for feature. Repos, pipelines, boards, artefacts. Both platforms covered the basics, so teams picked based on history, cost and habit. That framing is now out of date.&lt;/p&gt;

&lt;p&gt;The real difference today is intent. GitHub is being built as an AI native platform where agents are first class participants in the software lifecycle. Azure DevOps is being maintained as a mature, predictable suite that prioritises stability over novelty. Neither position is wrong, but they pull in different directions.&lt;/p&gt;

&lt;p&gt;If your strategy depends on AI agents doing meaningful work across planning, code, and review, the gap between the two platforms is now wide and growing.&lt;/p&gt;

&lt;h2 id=&quot;what-microsoft-really-announced-at-build-2026&quot;&gt;What Microsoft Really Announced at Build 2026&lt;/h2&gt;

&lt;p&gt;Build 2026 was not subtle about direction. The headline was that GitHub is the home of agentic development, and the rest of the announcements reinforced it.&lt;/p&gt;

&lt;h3 id=&quot;the-github-copilot-app-as-the-control-centre&quot;&gt;The GitHub Copilot App as the Control Centre&lt;/h3&gt;

&lt;p&gt;The standout was the GitHub Copilot app positioned as the agent native control centre. Instead of treating agents as a feature bolted onto an editor, the Copilot app becomes the place where you assign work, watch agents collaborate, review their output, and ship the result.&lt;/p&gt;

&lt;p&gt;This builds directly on the Agent HQ vision I covered in &lt;a href=&quot;https://azurewithaj.com/welcome-home-agents&quot;&gt;Welcome Home, Agents&lt;/a&gt;. The difference in 2026 is maturity. What felt experimental last year now feels like the default way of working.&lt;/p&gt;

&lt;h3 id=&quot;github-gets-the-newest-capabilities-first&quot;&gt;GitHub Gets the Newest Capabilities First&lt;/h3&gt;

&lt;p&gt;The pattern across the announcements was consistent. The newest capabilities across planning, coding, review, security, and agents land on GitHub first. Agentic planning, autonomous code review, security remediation by agents, and tighter agent collaboration are all GitHub stories.&lt;/p&gt;

&lt;p&gt;This is the part engineering leaders need to sit with. It is not that Azure DevOps is being switched off. It is that the innovation budget is clearly pointed at GitHub.&lt;/p&gt;

&lt;h3 id=&quot;azure-devops-keeps-calm-and-carries-on&quot;&gt;Azure DevOps Keeps Calm and Carries On&lt;/h3&gt;

&lt;p&gt;Azure DevOps was not abandoned, and that matters. Microsoft confirmed continued investment, with a clear focus on improving code quality in pull requests and helping developers remediate security issues faster, rather than chasing new frontier features.&lt;/p&gt;

&lt;p&gt;Critically, teams can keep using Azure Boards, Azure Pipelines, and Azure Test Plans. If those tools fit how your organisation runs, you are not being forced off them. They remain supported, hardened, and dependable.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph TD
    A[Microsoft Build 2026] --&amp;gt; B[GitHub: Agentic Future]
    A --&amp;gt; C[Azure DevOps: Stable Workhorse]
    B --&amp;gt; D[Copilot App Control Centre]
    B --&amp;gt; E[Newest Capabilities First]
    C --&amp;gt; F[Security and Code Quality]
    C --&amp;gt; G[Boards, Pipelines, Test Plans]

    style A fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style B fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style C fill:#f59e0b,stroke:#d97706,stroke-width:3px,color:#fff
    style D fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style E fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style F fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style G fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
&lt;/code&gt;&lt;/pre&gt;

&lt;h2 id=&quot;when-to-use-each-platform&quot;&gt;When to Use Each Platform&lt;/h2&gt;

&lt;p&gt;So how do you choose? Rather than a religious war, think about where each platform earns its place.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Lean towards GitHub when you want to:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Put AI agents at the centre of planning, coding, and review&lt;/li&gt;
  &lt;li&gt;Adopt new capabilities as soon as they ship&lt;/li&gt;
  &lt;li&gt;Standardise on a single platform for code, security, and collaboration&lt;/li&gt;
  &lt;li&gt;Attract engineers who expect a modern, agent native experience&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Stay comfortable with Azure DevOps when you:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Rely heavily on Azure Boards for established planning and reporting&lt;/li&gt;
  &lt;li&gt;Have mature, business critical Azure Pipelines you do not want to disturb&lt;/li&gt;
  &lt;li&gt;Depend on Azure Test Plans for structured, manual test management&lt;/li&gt;
  &lt;li&gt;Need a stable surface while you plan a measured transition&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The honest summary is this. GitHub is where you invest for the future, and Azure DevOps is where you protect what already works. This is not about choosing a hero and a villain, both have a job to do.&lt;/p&gt;

&lt;h2 id=&quot;the-industry-shift-devops-to-agentic-devops&quot;&gt;The Industry Shift: DevOps to Agentic DevOps&lt;/h2&gt;

&lt;p&gt;None of this happens in a vacuum. The bigger story is the shift from DevOps to Agentic DevOps, a theme I have been tracking since &lt;a href=&quot;https://azurewithaj.com/devops-dead-or-evolved&quot;&gt;DevOps: Dead or Evolved&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Traditional DevOps automated the pipeline. Agentic DevOps puts intelligent agents inside the workflow, taking on planning, code changes, reviews, and remediation as active collaborators.&lt;/p&gt;

&lt;p&gt;When you frame Azure DevOps vs GitHub through that lens, the choice becomes clearer. You are not just picking a repository host. You are deciding how ready your platform is for agents to do real work.&lt;/p&gt;

&lt;h2 id=&quot;a-pragmatic-hybrid-migration-path&quot;&gt;A Pragmatic Hybrid Migration Path&lt;/h2&gt;

&lt;p&gt;Here is the reassuring part. You do not have to rip and replace. Microsoft is recommending a hybrid model, and it is genuinely sensible.&lt;/p&gt;

&lt;p&gt;The pattern is GitHub repositories for code, security, and agents, with optional Azure DevOps orchestration where Pipelines or Boards still add value. Your source of truth moves to GitHub, while the orchestration you trust keeps running until you are ready to consolidate.&lt;/p&gt;

&lt;p&gt;Two announcements make this practical. First, Azure DevOps basic usage rights are included with GitHub Enterprise, so running both during a transition does not double your bill. Second, Enterprise Live Migrations now enable low downtime repository migration from Azure DevOps to GitHub, which removes the classic fear of a big bang cutover.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph LR
    A[Azure DevOps Today] --&amp;gt; B[Hybrid Phase]
    B --&amp;gt; C[GitHub Native]
    B --&amp;gt; D[GitHub Repos and Agents]
    B --&amp;gt; E[Optional ADO Pipelines and Boards]

    style A fill:#f59e0b,stroke:#d97706,stroke-width:3px,color:#fff
    style B fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style C fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style D fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style E fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;A migration that respects your delivery looks roughly like this.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Assess and prioritise.&lt;/strong&gt; Map your repositories, pipelines, and boards, then rank them by risk and value.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Move code first.&lt;/strong&gt; Use Enterprise Live Migrations to bring repositories across with low downtime, starting with lower risk projects.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Run hybrid deliberately.&lt;/strong&gt; Keep Azure Pipelines or Boards orchestrating while the team settles into GitHub.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Introduce agents.&lt;/strong&gt; Turn on agentic planning, coding, and review in the Copilot app on the migrated repositories.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Consolidate when ready.&lt;/strong&gt; Retire the Azure DevOps surfaces you no longer need, on your timeline, not a forced one.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The goal is momentum without disruption. You gain the agentic capabilities of GitHub while protecting the orchestration your teams rely on.&lt;/p&gt;

&lt;h2 id=&quot;key-insights-for-engineering-leaders&quot;&gt;Key Insights for Engineering Leaders&lt;/h2&gt;

&lt;p&gt;A few takeaways are worth holding onto.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;This is a strategy call, not a tooling preference.&lt;/strong&gt; The platforms now point in different directions.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Stability and innovation are both valid.&lt;/strong&gt; Azure DevOps stability is a feature, not a consolation prize.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Hybrid is the responsible default.&lt;/strong&gt; It lets you adopt the future without betting the quarter on a migration.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agents change the value equation.&lt;/strong&gt; The sooner your code lives where agents are first class, the sooner your teams feel the lift.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;conclusion-and-next-steps&quot;&gt;Conclusion and Next Steps&lt;/h2&gt;

&lt;p&gt;Azure DevOps vs GitHub in 2026 is not really a contest of features. It is a question of where you want your engineering organisation to be standing as agentic development becomes the norm.&lt;/p&gt;

&lt;p&gt;Build 2026 made the answer plain. GitHub is the agent native future, Azure DevOps is the dependable present, and the hybrid path lets you honour both. Start by mapping your estate, pick a low risk repository, and try a live migration with agents switched on. Let the results make the case, because do or do not when it comes to agents, the teams that commit are the ones the Force favours.&lt;/p&gt;

&lt;p&gt;For the wider context on this shift, the official &lt;a href=&quot;https://news.microsoft.com/build-2026-live-blog/&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;Microsoft Build&lt;/a&gt; announcements and the &lt;a href=&quot;https://devblogs.microsoft.com/devops/azure-devops-and-github-journeying-into-the-ai-era/&quot; target=&quot;\_blank&quot; rel=&quot;noopener&quot;&gt;Azure DevOps and GitHub AI Era article&lt;/a&gt; are the best places to go deeper.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Are you planning a move from Azure DevOps to GitHub, or running a hybrid setup already? Share your experiences and questions in the comments below, I would love to hear how your teams are approaching it.&lt;/em&gt;&lt;/p&gt;
</description>
        <pubDate>Mon, 08 Jun 2026 19:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/azure-devops-vs-github-build-2026/</link>
        <guid isPermaLink="true">https://azurewithaj.com/azure-devops-vs-github-build-2026/</guid>
        
        <category>azure</category>
        
        <category>devops</category>
        
        <category>github</category>
        
        <category>copilot</category>
        
        <category>agentic</category>
        
        <category>ci/cd</category>
        
        <category>migration</category>
        
        
        <category>DevOps</category>
        
        <category>AI</category>
        
      </item>
    
      <item>
        <title>How to Organise GitHub Copilot Customisations at Scale</title>
        <description>&lt;p&gt;If you’re trying to organise GitHub Copilot customisations across an enterprise, the hardest part usually is not creating the agent or the skill. It’s deciding where everything should live, how it should be shared, and which pieces should appear automatically versus stay self serve.&lt;/p&gt;

&lt;p&gt;After untangling this for my own org, and losing a few hours to one buried prerequisite, I landed on a pattern that is simple enough to operate and structured enough to scale. One source of truth for every customisation, automatic distribution for agents, and marketplace with self serve for everything else.&lt;/p&gt;

&lt;p&gt;This post focuses on that operating model. It is not a full catalogue of every Copilot customisation feature, but a practical pattern for organising them in a way platform teams can actually manage.&lt;/p&gt;

&lt;h2 id=&quot;tldr&quot;&gt;TL;DR&lt;/h2&gt;

&lt;p&gt;Use &lt;strong&gt;two repositories&lt;/strong&gt; with &lt;strong&gt;automation&lt;/strong&gt; connecting them. A central &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-platform&lt;/code&gt; repository holds every supported customisation, and acts as your &lt;strong&gt;Copilot plugin marketplace&lt;/strong&gt;. A second repository named &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; distributes a curated set of approved agents automatically to every user. A GitHub Actions workflow syncs and flattens those agents on merge, while plugins remain available through the marketplace for optional install.&lt;/p&gt;

&lt;p&gt;I validated the behaviour described here against GitHub Copilot enterprise features available in May 2026, because this area is moving quickly and the finer points of distribution can change.&lt;/p&gt;

&lt;h2 id=&quot;the-confusion-nobody-talks-about&quot;&gt;The Confusion Nobody Talks About&lt;/h2&gt;

&lt;p&gt;GitHub Copilot has quietly grown a sprawling customisation surface. In the last year alone we’ve gained:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Custom agents (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.agent.md&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;Instruction files (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.instructions.md&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;copilot-instructions.md&lt;/code&gt;)&lt;/li&gt;
  &lt;li&gt;Skills (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SKILL.md&lt;/code&gt; bundles)&lt;/li&gt;
  &lt;li&gt;Hooks&lt;/li&gt;
  &lt;li&gt;Plugins and plugin marketplaces&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt; for shared project context&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each one has its own discovery rules. Some are repo scoped, some are user scoped, some are org scoped, and some only appear if you enable a setting buried three menus deep. Teams end up with customisations scattered across personal directories, workspaces, teams channels, and probably some other hidden treasure trove nobody can find.&lt;/p&gt;

&lt;p&gt;The question I kept asking myself is simple. &lt;strong&gt;Where should this stuff live, and how do I share it across the org without asking every developer to clone five repos?&lt;/strong&gt;&lt;/p&gt;

&lt;h2 id=&quot;the-pattern-one-source-of-truth-two-distribution-channels&quot;&gt;The Pattern: One Source of Truth, Two Distribution Channels&lt;/h2&gt;

&lt;p&gt;The answer is to separate &lt;strong&gt;storage&lt;/strong&gt; from &lt;strong&gt;distribution&lt;/strong&gt;. Store everything in one place, then use the right GitHub mechanism to distribute each type.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph TD
    A[agent-platform repo&amp;lt;br/&amp;gt;Source of Truth] --&amp;gt; B[Plugin Marketplace]
    A --&amp;gt; C[Instructions, Skills, Hooks]

    E[.github-private repo&amp;lt;br/&amp;gt;Org Distribution] --&amp;gt; F[Auto-discovered Agents]
    E --&amp;gt; G[settings.json points to plugin marketplace]

    A -.-&amp;gt;|GitHub workflow syncs&amp;lt;br/&amp;gt;agents on merge| E

    F --&amp;gt; H[Developer IDE]
    B --&amp;gt; I[copilot cli or via IDE]
    C --&amp;gt; J[Self-serve via cli or manually]

    style A fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style E fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style B fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style C fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style F fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style G fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style H fill:#f59e0b,stroke:#d97706,stroke-width:3px,color:#fff
    style I fill:#f59e0b,stroke:#d97706,stroke-width:3px,color:#fff
    style J fill:#f59e0b,stroke:#d97706,stroke-width:3px,color:#fff
&lt;/code&gt;&lt;/pre&gt;

&lt;h3 id=&quot;repo-1-agent-platform-source-of-truth&quot;&gt;Repo 1: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-platform&lt;/code&gt; (Source of Truth)&lt;/h3&gt;

&lt;p&gt;This is where every customisation in your org actually lives. It’s a normal repository, structured however makes sense for your team, and it doubles as a &lt;strong&gt;Copilot plugin marketplace&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;A workable layout:&lt;/p&gt;

&lt;div class=&quot;language-text highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;agent-platform/
├── agents/                   # All custom agents (full versioned set)
│   ├── azure-architect/
│   │   ├── azure-architect.agent.md
│   │   └── README.md
│   └── engagement-builder/
├── instructions/             # .instructions.md files
├── skills/                   # Reusable SKILL.md bundles
│   ├── waf-review/
│   │   └── SKILL.md
│   └── bicep-refactor/
├── hooks/                    # Hook scripts
├── plugins/                  # Composable plugins published through the marketplace
└── .github
    ├── plugin
        ├── marketplace.json  # Plugin marketplace manifest
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Everything is versioned, reviewed via pull requests, and owned by a CODEOWNERS rule. This is the repo your platform team curates. Everything else flows from here.&lt;/p&gt;

&lt;h3 id=&quot;repo-2-github-private-automatic-org-distribution&quot;&gt;Repo 2: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; (Automatic Org Distribution)&lt;/h3&gt;

&lt;p&gt;GitHub treats a repository named &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; in your organisation as a magic distribution channel for Copilot custom agents. Any &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.agent.md&lt;/code&gt; file in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private/agents/&lt;/code&gt; automatically appears in every org member’s IDE agent picker. No cloning, no installing, no settings to flip on the user side.&lt;/p&gt;

&lt;p&gt;This is brilliant, and it has one caveat that will absolutely bite you.&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;The flat structure rule&lt;/strong&gt;: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private/agents/&lt;/code&gt; only supports &lt;strong&gt;top level &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.agent.md&lt;/code&gt; files&lt;/strong&gt;. Nested folders are ignored. If you put &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private/agents/azure/architect.agent.md&lt;/code&gt;, it will silently fail to surface.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;So &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; looks like this:&lt;/p&gt;

&lt;div class=&quot;language-text highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;.github-private/
├── agents/
│   ├── azure-architect.agent.md       # Surfaces automatically
│   ├── engagement-builder.agent.md    # Surfaces automatically
│   └── code-reviewer.agent.md         # Surfaces automatically
└── .github
    ├── copilot
        ├── settings.json              # Pointer to your plugin marketplace in the agent-platform repo
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This repo mirrors a &lt;strong&gt;curated subset&lt;/strong&gt; of what lives in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-platform&lt;/code&gt;. We can also configure a GitHub workflow to automatically sync agents from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-platform&lt;/code&gt; into &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; when they’re merged and approved, eliminating manual copy-paste and ensuring &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; always stays in sync with the source of truth.&lt;/p&gt;

&lt;h2 id=&quot;linking-the-two-repos-via-the-plugin-marketplace&quot;&gt;Linking the Two Repos via the Plugin Marketplace&lt;/h2&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;settings.json&lt;/code&gt; in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; is what stitches it all together. It tells Copilot CLI in every org member’s environment where to find your plugin marketplace.&lt;/p&gt;

&lt;div class=&quot;language-json highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;extraKnownMarketplaces&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;MARKETPLACE-NAME&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;source&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;source&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;github&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;repo&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;OWNER/REPO&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
      &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;enabledPlugins&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
    &lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;&quot;PLUGIN-NAME@MARKETPLACE-NAME&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Once enabled, developers using Copilot CLI can browse and install plugins directly from your marketplace:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c&quot;&gt;# List available plugins from the org marketplace&lt;/span&gt;
copilot plugin marketplace browse MARKETPLACE-NAME

&lt;span class=&quot;c&quot;&gt;# Install a plugin&lt;/span&gt;
copilot plugin &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;azure-waf-reviewer@MARKETPLACE-NAME
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For the full marketplace schema and enterprise governance options, see the GitHub docs on &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards&quot;&gt;configuring enterprise plugin standards&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;referencing-skills-and-templates-from-agents&quot;&gt;Referencing Skills and Templates from Agents&lt;/h2&gt;

&lt;p&gt;Because skills and supporting assets live in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-platform&lt;/code&gt; rather than &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt;, your distributed agents need a way to pull them in. Two patterns work well.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Raw GitHub URL references&lt;/strong&gt; in the agent definition:&lt;/p&gt;

&lt;div class=&quot;language-markdown highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;azure-architect&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Reviews Azure designs against the Well Architected Framework&lt;/span&gt;
&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;

When asked to review an architecture, fetch and apply the WAF review skill:
https://raw.githubusercontent.com/acme/agent-platform/main/skills/waf-review/SKILL.md

Use the bicep refactor skill for any IaC changes:
https://raw.githubusercontent.com/acme/agent-platform/main/skills/bicep-refactor/SKILL.md
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This pattern is simple, but it depends on the consuming environment being able to read those raw URLs. If &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-platform&lt;/code&gt; is private, or your enterprise network controls block that access path, package the skill inside a plugin instead. In practice, raw URLs are best for lightweight and openly reachable assets, while plugins are the safer default for governed enterprise distribution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Plugin bundles&lt;/strong&gt; for anything more complex than a single skill. Bundle the agent, its instructions, skills, and hooks together as a plugin in your marketplace and let developers install the whole package with one command.&lt;/p&gt;

&lt;h2 id=&quot;the-caveat-that-cost-me-hours&quot;&gt;The Caveat That Cost Me Hours&lt;/h2&gt;

&lt;p&gt;Here’s the bit that cost me hours. You can set up &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt;, configure &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;settings.json&lt;/code&gt;, push perfectly formed &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.agent.md&lt;/code&gt; files, and &lt;strong&gt;nothing will appear&lt;/strong&gt;. No error, no warning, no clue.&lt;/p&gt;

&lt;p&gt;The reason: custom agents in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; only surface if your enterprise has explicitly enabled the org for custom agents in &lt;strong&gt;AI controls&lt;/strong&gt;. By default, no org is enabled.&lt;/p&gt;

&lt;p&gt;To turn it on:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Navigate to your enterprise (from the Enterprises page on GitHub.com).&lt;/li&gt;
  &lt;li&gt;At the top of the page, click &lt;strong&gt;AI controls&lt;/strong&gt;.&lt;/li&gt;
  &lt;li&gt;In the &lt;strong&gt;Custom agents&lt;/strong&gt; section, select the &lt;strong&gt;Select organization&lt;/strong&gt; dropdown.&lt;/li&gt;
  &lt;li&gt;Click the organisation that contains your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; repo.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That’s it. The moment you enable the org, agents start appearing in IDEs across your tenant. Full details are in the GitHub docs on &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/prepare-for-custom-agents#enabling-and-protecting-custom-agents-in-your-enterprise&quot;&gt;preparing for custom agents&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you remember nothing else from this post, remember this step. It’s the difference between a working rollout and a confusing afternoon staring at empty agent pickers.&lt;/p&gt;

&lt;h2 id=&quot;governance-and-ownership&quot;&gt;Governance and Ownership&lt;/h2&gt;

&lt;p&gt;A pattern this powerful needs a few guardrails.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;CODEOWNERS&lt;/strong&gt; on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-platform&lt;/code&gt; so every agent change is reviewed by the platform team&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Branch protection&lt;/strong&gt; on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; to prevent drift since it’s generated by workflow automation&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;GitHub workflow&lt;/strong&gt; with automated sync that copies vetted agents from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-platform&lt;/code&gt; to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; on merge, with optional filtering by agent tags or directories&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Workflow approval gates&lt;/strong&gt; so sync only happens after maintainer review (optional but recommended for production orgs)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Versioning&lt;/strong&gt; on all supported copilot customisations so consumers can pin or upgrade deliberately&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This mirrors how mature platform teams treat shared infrastructure modules. Agents are infrastructure for developer productivity. Treat them like it.&lt;/p&gt;

&lt;h2 id=&quot;wrapping-up&quot;&gt;Wrapping Up&lt;/h2&gt;

&lt;p&gt;The reason teams struggle with Copilot customisations isn’t because the features are bad. It’s because there’s no opinionated guidance on &lt;strong&gt;where things should live&lt;/strong&gt; and &lt;strong&gt;how they should reach developers&lt;/strong&gt;. The pattern I’ve laid out, one &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agent-platform&lt;/code&gt; repo as source of truth, one &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; repo for automatic distribution, and a plugin marketplace stitching them together, gives you the best of both worlds. Centralised governance and frictionless adoption.&lt;/p&gt;

&lt;p&gt;If you want to go deeper, the official docs on &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/prepare-for-custom-agents&quot;&gt;preparing for custom agents&lt;/a&gt; and &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards&quot;&gt;configuring enterprise plugin standards&lt;/a&gt; are essential reading. And if you haven’t yet, check out my earlier post on &lt;a href=&quot;https://azurewithaj.com/agents-as-code-versioned-artifacts/&quot;&gt;Agents as Code&lt;/a&gt; for the philosophy behind treating agents as first class engineering artifacts.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;How is your org organising Copilot customisations today? Have you hit the flat structure rule or the AI controls gotcha? Share your war stories in the comments, I would love to hear them.&lt;/em&gt;&lt;/p&gt;
</description>
        <pubDate>Sun, 17 May 2026 19:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/organising-copilot-customisations/</link>
        <guid isPermaLink="true">https://azurewithaj.com/organising-copilot-customisations/</guid>
        
        <category>github</category>
        
        <category>copilot</category>
        
        <category>agent</category>
        
        <category>agentic</category>
        
        <category>skills</category>
        
        <category>plugins</category>
        
        
        <category>DevOps</category>
        
        <category>AI</category>
        
      </item>
    
      <item>
        <title>Agents as Code: Treating AI Agents as Versioned Artifacts</title>
        <description>&lt;p&gt;We version our infrastructure. We version our pipelines. We version our policies. So why are most teams still treating their AI agents like throwaway prompt snippets floating in someone’s clipboard?&lt;/p&gt;

&lt;p&gt;If you’ve been following the Agentic DevOps journey on this blog, you’ll know I’ve been tracking how AI agents are reshaping development workflows. From the &lt;a href=&quot;https://azurewithaj.com/agentic-devops-github-copilot-coding-agent/&quot;&gt;coding agent&lt;/a&gt; to &lt;a href=&quot;https://azurewithaj.com/agentic-workflows-reimagining-automation/&quot;&gt;agentic workflows&lt;/a&gt;, the trajectory has been clear: agents are becoming core development infrastructure, not just fancy autocomplete.&lt;/p&gt;

&lt;p&gt;GitHub Copilot now supports custom agents defined directly in your repository, with full workspace awareness, tool access, and MCP connections. With over 60,000 open source projects already adopting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt; files and &lt;a href=&quot;https://github.blog/ai-and-ml/github-copilot/how-to-write-a-great-agents-md-lessons-from-over-2500-repositories/&quot;&gt;GitHub’s analysis of 2,500+ repositories&lt;/a&gt; revealing clear patterns of what works, &lt;strong&gt;agents as code&lt;/strong&gt; is the next evolution of how engineering organisations standardise, govern, and scale AI-assisted workflows.&lt;/p&gt;

&lt;h2 id=&quot;tldr&quot;&gt;TL;DR&lt;/h2&gt;

&lt;p&gt;Custom agents defined in your repository (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.agent.md&lt;/code&gt; files in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/agents/&lt;/code&gt;) combined with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt; for shared project context are the new standard for embedding AI into development workflows. They’re versioned, reviewed, and shared like any other code artifact. This post covers how to structure them, what governance you gain, and practical patterns for adoption.&lt;/p&gt;

&lt;h2 id=&quot;the-problem-agents-without-anchors&quot;&gt;The Problem: Agents Without Anchors&lt;/h2&gt;

&lt;p&gt;Let’s be real for a second. Right now, most teams are using AI coding assistants in full Wild West mode, everyone has their own prompts, their own mental model, and their own bag of tricks. The result?&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Inconsistent behaviour&lt;/strong&gt;: Each developer’s AI writes code in a different style because they prompted it differently&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Knowledge silos&lt;/strong&gt;: That brilliant system prompt your senior engineer crafted lives in their personal settings and walks out the door when they do&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;No audit trail&lt;/strong&gt;: When an AI agent breaks something, there’s no traceable instruction set to review&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Zero governance&lt;/strong&gt;: Security teams have no visibility into what instructions guide AI behaviour&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Sound familiar? These are exactly the problems we solved with Infrastructure as Code. Before IaC languages like Terraform, Bicep, Pulumi, and CloudFormation became standard, infrastructure was undocumented folklore and snowflake configurations. We fixed it by codifying everything into versioned, reviewable artifacts. Agents deserve the same treatment.&lt;/p&gt;

&lt;h2 id=&quot;agentsmd-vs-custom-agents-know-the-difference&quot;&gt;AGENTS.md vs Custom Agents: Know the Difference&lt;/h2&gt;

&lt;p&gt;This is the distinction most teams get wrong. Two separate mechanisms exist and they serve fundamentally different purposes.&lt;/p&gt;

&lt;h3 id=&quot;agentsmd-the-operating-manual&quot;&gt;AGENTS.md: The Operating Manual&lt;/h3&gt;

&lt;p&gt;An &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt; file at the root of your repository is a &lt;strong&gt;passive, always-on instruction set&lt;/strong&gt; for any AI coding agent. Think of it as a README written for agents instead of humans: build commands, code style, testing instructions, and boundaries that every agent should respect.&lt;/p&gt;

&lt;div class=&quot;language-markdown highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;gh&quot;&gt;# AGENTS.md&lt;/span&gt;

&lt;span class=&quot;gu&quot;&gt;## Setup Commands&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;
-&lt;/span&gt; Install deps: &lt;span class=&quot;sb&quot;&gt;`pnpm install`&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Run tests: &lt;span class=&quot;sb&quot;&gt;`pnpm test`&lt;/span&gt;

&lt;span class=&quot;gu&quot;&gt;## Code Style&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;
-&lt;/span&gt; TypeScript strict mode, single quotes, no semicolons

&lt;span class=&quot;gu&quot;&gt;## Boundaries&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;
-&lt;/span&gt; Never commit secrets or API keys
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Never edit &lt;span class=&quot;sb&quot;&gt;`node_modules/`&lt;/span&gt; or &lt;span class=&quot;sb&quot;&gt;`vendor/`&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Always run lint and test before committing
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It’s &lt;strong&gt;cross-platform&lt;/strong&gt; (works across GitHub Copilot, OpenAI Codex, Gemini CLI, Cursor, Windsurf, and more), &lt;strong&gt;nestable&lt;/strong&gt; in monorepos, and stewarded by the &lt;a href=&quot;https://aaif.io/&quot;&gt;Agentic AI Foundation&lt;/a&gt; under the Linux Foundation.&lt;/p&gt;

&lt;h3 id=&quot;custom-agents-githubagents-the-specialist-roles&quot;&gt;Custom Agents (.github/agents/): The Specialist Roles&lt;/h3&gt;

&lt;p&gt;Custom agents in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/agents/&lt;/code&gt; are &lt;strong&gt;active, switchable personas&lt;/strong&gt; you invoke by name. Each &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.agent.md&lt;/code&gt; file creates a mentionable specialist (e.g., &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@test-agent&lt;/code&gt;) with its own tools, model preferences, and workflow handoffs.&lt;/p&gt;

&lt;div class=&quot;language-markdown highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;test-agent&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Writes and maintains unit tests for this project&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;tools&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;editFiles&quot;&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;terminal&quot;&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;search&quot;&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;model&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Claude Sonnet 4.5 (copilot)&lt;/span&gt;
&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;

You are a quality software engineer specialising in test coverage.

&lt;span class=&quot;gu&quot;&gt;## Boundaries&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;
-&lt;/span&gt; &lt;span class=&quot;gs&quot;&gt;**Always:**&lt;/span&gt; Write tests to &lt;span class=&quot;sb&quot;&gt;`tests/`&lt;/span&gt;, run tests before committing
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;gs&quot;&gt;**Ask first:**&lt;/span&gt; Before adding new test dependencies
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;gs&quot;&gt;**Never:**&lt;/span&gt; Modify source code in &lt;span class=&quot;sb&quot;&gt;`src/`&lt;/span&gt;, remove failing tests
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;These support &lt;strong&gt;tool restrictions per role&lt;/strong&gt;, &lt;strong&gt;model selection per task&lt;/strong&gt;, &lt;strong&gt;workflow handoffs&lt;/strong&gt; between agents, and can be defined at the &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents&quot;&gt;organisation level&lt;/a&gt; for consistency across repositories.&lt;/p&gt;

&lt;h3 id=&quot;how-they-work-together&quot;&gt;How They Work Together&lt;/h3&gt;

&lt;p&gt;The two approaches are &lt;strong&gt;complementary, not competing&lt;/strong&gt;. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt; provides the foundational knowledge every agent inherits. Custom agents layer on specialised roles with specific tool access.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph TD
    A[&quot;AGENTS.md&amp;lt;br/&amp;gt;(Always-On Knowledge)&quot;] --&amp;gt; B[&quot;@test-agent&quot;]
    A --&amp;gt; C[&quot;@docs-agent&quot;]
    A --&amp;gt; D[&quot;@lint-agent&quot;]
    A --&amp;gt; E[&quot;@security-agent&quot;]

    B --&amp;gt; F[&quot;Writes Tests&amp;lt;br/&amp;gt;Tools: edit, terminal&quot;]
    C --&amp;gt; G[&quot;Updates Docs&amp;lt;br/&amp;gt;Tools: edit, search&quot;]
    D --&amp;gt; H[&quot;Fixes Style&amp;lt;br/&amp;gt;Tools: edit, terminal&quot;]
    E --&amp;gt; I[&quot;Reviews Security&amp;lt;br/&amp;gt;Tools: search only&quot;]

    style A fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style B fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style C fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style D fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style E fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style F fill:#059669,stroke:#047857,stroke-width:2px,color:#fff
    style G fill:#059669,stroke:#047857,stroke-width:2px,color:#fff
    style H fill:#059669,stroke:#047857,stroke-width:2px,color:#fff
    style I fill:#059669,stroke:#047857,stroke-width:2px,color:#fff
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The rule of thumb: &lt;strong&gt;if every agent should know it, put it in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt;. If only a specific role needs it, put it in a custom agent.&lt;/strong&gt;&lt;/p&gt;

&lt;h2 id=&quot;how-this-changes-team-workflows&quot;&gt;How This Changes Team Workflows&lt;/h2&gt;

&lt;p&gt;Once agents become versioned artifacts, the way teams work shifts fundamentally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Shared capabilities replace personal prompts.&lt;/strong&gt; A new developer clones the repo and immediately has access to the same &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@test-agent&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@docs-agent&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@lint-agent&lt;/code&gt; that everyone else uses, configured precisely for this codebase. No more “ask Sarah how she prompts the AI for tests.” This is the same transformation we saw with CI/CD. Before pipelines as code, builds were manual, inconsistent, and locked in someone’s head. Once they lived in the repo, they became a shared, evolving team asset.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Onboarding becomes instant.&lt;/strong&gt; The agents encode the team’s collective knowledge about how to write tests, structure docs, and review code in this specific codebase. No wiki hunting, no Slack archaeology.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Agents evolve through pull requests.&lt;/strong&gt; Because definitions live in the repo, they follow the same lifecycle as any other code: feature branches for experimentation, PRs with review and discussion, git blame when something goes wrong. Governance you get for free just by putting agents where your code already lives.&lt;/p&gt;

&lt;h2 id=&quot;governance-that-scales&quot;&gt;Governance That Scales&lt;/h2&gt;

&lt;p&gt;For engineering organisations, this is where it gets really interesting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Security review becomes standard practice.&lt;/strong&gt; Every agent definition includes boundaries stating what it can and cannot do. Security teams review these in the normal PR process, just like IAM policies. The best agent files use a three-tier boundary model:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Always do&lt;/strong&gt;: Safe actions (run tests, write to designated directories)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Ask first&lt;/strong&gt;: Actions requiring judgment (schema changes, adding dependencies)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Never do&lt;/strong&gt;: Hard boundaries (commit secrets, modify production configs, delete data)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Organisational standardisation becomes achievable.&lt;/strong&gt; Platform teams maintain base agent templates that project teams inherit and customise. Distribute a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@security-review-agent&lt;/code&gt; across 50 repositories and you’ve rolled out consistent AI-powered security review, versioned and auditable through Git.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Compliance gets a paper trail.&lt;/strong&gt; Auditors can review what instructions guided AI behaviour at any point in time, who approved changes, and what boundaries were in place. That’s a significant improvement over the alternative: “some developer typed something into a chat box and the AI did a thing.”&lt;/p&gt;

&lt;h2 id=&quot;lessons-from-2500-repositories&quot;&gt;Lessons from 2,500+ Repositories&lt;/h2&gt;

&lt;p&gt;GitHub’s analysis of over 2,500 &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;agents.md&lt;/code&gt; files provides concrete, data-backed guidance on what actually makes agents effective:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Specificity wins.&lt;/strong&gt; “You are a test engineer who writes Vitest tests for React 18 using Testing Library, following AAA pattern” beats “You are a helpful assistant” every time.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Commands come first.&lt;/strong&gt; Front-load executable commands (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pnpm test&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;npm run build&lt;/code&gt;). Agents reference these frequently.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Code examples trump explanations.&lt;/strong&gt; One snippet showing preferred style beats three paragraphs describing it.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cover six core areas.&lt;/strong&gt; Commands, testing, project structure, code style, git workflow, and boundaries. Missing any degrades performance.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Boundaries prevent disasters.&lt;/strong&gt; The always/ask first/never model is the most effective pattern. Without boundaries, agents will eventually surprise you.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;What doesn’t work: vague personas, walls of prose with no examples, missing boundaries, and generic instructions that could apply to any project.&lt;/p&gt;

&lt;h2 id=&quot;practical-patterns-to-adopt&quot;&gt;Practical Patterns to Adopt&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Layer both for maximum effect.&lt;/strong&gt; Start with an &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt; covering build commands, code style, and universal boundaries. Then add focused custom agents for common tasks: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@docs-agent&lt;/code&gt; (read-only source, writes to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;docs/&lt;/code&gt;), &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@test-agent&lt;/code&gt; (writes to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tests/&lt;/code&gt;, runs tests), and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;@lint-agent&lt;/code&gt; (style changes only). These are safe, high-value, and easy to validate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Iterate through feedback.&lt;/strong&gt; Start minimal, use the agent on real tasks, and when it stumbles, add a specific instruction to prevent it. Commit the improvement through a PR with context. This mirrors how teams refine CI/CD pipelines: the configuration is a living document, not a set-and-forget template.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Standardise at the org and enterprise level.&lt;/strong&gt; GitHub now supports managing custom agents and instructions centrally, not just per repository. Organisation and enterprise owners can define custom agents in a dedicated &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github-private&lt;/code&gt; repository, making them &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/prepare-for-custom-agents&quot;&gt;available across all repositories&lt;/a&gt; within the organisation. Enterprise owners get additional controls, including &lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/prepare-for-custom-agents&quot;&gt;rulesets that restrict who can edit agent profiles&lt;/a&gt; and the ability to delegate management to a team of AI managers.&lt;/p&gt;

&lt;p&gt;On top of that, organisation owners can set &lt;a href=&quot;https://docs.github.com/en/copilot/customizing-copilot/adding-organization-custom-instructions-for-github-copilot&quot;&gt;organisation-level custom instructions&lt;/a&gt; that apply to every Copilot interaction across the organisation. Think of this as the org-wide equivalent of a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/copilot-instructions.md&lt;/code&gt; file: coding standards, security requirements, and compliance constraints that every Copilot response respects, regardless of which repository or agent is in use.&lt;/p&gt;

&lt;p&gt;The layering model becomes: &lt;strong&gt;org-level instructions&lt;/strong&gt; (universal standards) → &lt;strong&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt;&lt;/strong&gt; (project-specific context) → &lt;strong&gt;custom agents&lt;/strong&gt; (specialised roles). Teams can still fork and customise, but the baseline is consistent and governed.&lt;/p&gt;

&lt;h2 id=&quot;the-bigger-picture-everything-as-code&quot;&gt;The Bigger Picture: Everything as Code&lt;/h2&gt;

&lt;p&gt;Agents as code is the natural continuation of a decade-long trend:&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph TD
    A[&quot;Infrastructure as Code&quot;] --&amp;gt; B[&quot;Pipelines as Code&quot;]
    B --&amp;gt; C[&quot;Policy as Code&quot;]
    C --&amp;gt; D[&quot;Agents as Code&quot;]

    A1[&quot;Terraform, Bicep, Pulumi&quot;] --&amp;gt; A
    B1[&quot;YAML Pipelines, GitHub Actions&quot;] --&amp;gt; B
    C1[&quot;Azure Policy, OPA&quot;] --&amp;gt; C
    D1[&quot;AGENTS.md, .github/agents/&quot;] --&amp;gt; D

    style A fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style B fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style C fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style D fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style A1 fill:#059669,stroke:#047857,stroke-width:2px,color:#fff
    style B1 fill:#059669,stroke:#047857,stroke-width:2px,color:#fff
    style C1 fill:#059669,stroke:#047857,stroke-width:2px,color:#fff
    style D1 fill:#059669,stroke:#047857,stroke-width:2px,color:#fff
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Each evolution followed the same pattern: take something manual and scattered across people’s heads, codify it into versioned artifacts, and gain consistency, auditability, and scalability as a result. Agents as code is the latest application of this principle.&lt;/p&gt;

&lt;h2 id=&quot;wrapping-up&quot;&gt;Wrapping Up&lt;/h2&gt;

&lt;p&gt;Treating AI agents as versioned artifacts isn’t just a nice engineering practice. It’s the foundation for scaling AI-assisted development with the same rigour we apply to infrastructure, pipelines, and policies. The tools are here. GitHub Copilot’s custom agents, the open &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AGENTS.md&lt;/code&gt; standard, and the patterns emerging from thousands of real-world repositories all point in the same direction: &lt;strong&gt;agents belong in the repo.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Start small. Define three agents for your most common tasks. Review their boundaries. Iterate when they stumble. Commit improvements through pull requests. Before long, your team’s AI capabilities will be as well-governed and consistently applied as your CI/CD pipelines.&lt;/p&gt;

&lt;p&gt;The era of ad-hoc prompting is ending. The era of agents as code has begun.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Have you started defining custom agents in your repositories? What patterns have worked for your team? Drop your experiences in the comments, I’d love to hear how others are approaching this.&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;references&quot;&gt;References&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.blog/ai-and-ml/github-copilot/how-to-write-a-great-agents-md-lessons-from-over-2500-repositories/&quot;&gt;How to Write a Great agents.md: Lessons from Over 2,500 Repositories&lt;/a&gt; — GitHub Blog&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://agents.md/&quot;&gt;AGENTS.md: A Standard for Guiding Coding Agents&lt;/a&gt; — Agentic AI Foundation / Linux Foundation&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.visualstudio.com/docs/copilot/customization/custom-agents&quot;&gt;Custom Agents in VS Code&lt;/a&gt; — VS Code Documentation&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/use-copilot-agents/cloud-agent/create-custom-agents&quot;&gt;Creating Custom Agents for Copilot Cloud Agent&lt;/a&gt; — GitHub Documentation&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/prepare-for-custom-agents&quot;&gt;Preparing to Use Custom Agents in Your Organisation&lt;/a&gt; — GitHub Documentation&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/prepare-for-custom-agents&quot;&gt;Preparing to Use Custom Agents in Your Enterprise&lt;/a&gt; — GitHub Documentation&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.github.com/en/copilot/customizing-copilot/adding-organization-custom-instructions-for-github-copilot&quot;&gt;Adding Organisation Custom Instructions for GitHub Copilot&lt;/a&gt; — GitHub Documentation&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot&quot;&gt;Adding Repository Custom Instructions for GitHub Copilot&lt;/a&gt; — GitHub Documentation&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 11 Apr 2026 19:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/agents-as-code-versioned-artifacts/</link>
        <guid isPermaLink="true">https://azurewithaj.com/agents-as-code-versioned-artifacts/</guid>
        
        <category>github</category>
        
        <category>copilot</category>
        
        <category>agent</category>
        
        <category>agentic</category>
        
        <category>devops</category>
        
        <category>ai</category>
        
        
        <category>DevOps</category>
        
        <category>AI</category>
        
      </item>
    
      <item>
        <title>Agentic Workflows: Reimagining Repository Automation with Natural Language</title>
        <description>&lt;p&gt;Repository automation works well for deterministic tasks, but struggles with work requiring context understanding and adaptive decision-making. When you need to keep documentation synchronised with code, triage issues intelligently, or verify pull requests comply with guidelines, traditional approaches force you to encode all logic upfront using conditionals, regex patterns, and scripts. But real development is messier than any ruleset can capture.&lt;/p&gt;

&lt;p&gt;GitHub Agentic Workflows represent a different approach: describe what you want to happen in natural language, and an AI coding agent reads your instructions, understands your repository context, and takes intelligent actions. This is more than a convenience improvement. Agentic Workflows represent the bridge between “Continuous Integration” and “Continuous AI” - systematic, automated application of intelligence throughout your development lifecycle.&lt;/p&gt;

&lt;h2 id=&quot;tldr&quot;&gt;TL;DR&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Agentic Workflows&lt;/strong&gt; let you describe automation tasks in plain English instead of complex configuration. An AI coding agent reads your instructions, understands your repository context, and takes intelligent actions. Instead of encoding every path through conditional logic, you describe intent and the agent adapts. This enables powerful automation for nuanced tasks like intelligent issue triage, continuous documentation updates, compliance checking, and code quality improvements. Workflows remain fully auditable and safe with automatic permission scoping and sandboxed execution.&lt;/p&gt;

&lt;h2 id=&quot;the-problem-current-automation-is-still-too-complex&quot;&gt;The Problem: Current Automation is Still Too Complex&lt;/h2&gt;

&lt;p&gt;Before we talk about solutions, let’s acknowledge why existing automation feels limiting.&lt;/p&gt;

&lt;p&gt;Traditional GitHub Actions work well for deterministic tasks. When you know exactly what needs to happen (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;if file A changes, run test B&lt;/code&gt;), Actions excels. But real development workflows rarely work that way.&lt;/p&gt;

&lt;p&gt;Consider these practical scenarios:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scenario 1: Intelligent Issue Triage&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You want to triage new issues automatically, adding appropriate labels, detecting spam, and asking clarifying questions for unclear reports. This requires:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Reading issue content and understanding context&lt;/li&gt;
  &lt;li&gt;Comparing to similar past issues to detect duplicates&lt;/li&gt;
  &lt;li&gt;Making judgment calls about relevance and priority&lt;/li&gt;
  &lt;li&gt;Phrasing helpful feedback that respects first-time contributors&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Today, you’d either write complicated shell scripts with regex patterns or abandon automation entirely and do it manually.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scenario 2: Keeping Documentation Current&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Code evolves constantly. Documentation doesn’t. You want an agent that runs daily, identifies recent code changes, updates relevant documentation sections, and creates a pull request with those changes. This requires:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Parsing the git diff to understand what changed&lt;/li&gt;
  &lt;li&gt;Finding related documentation files&lt;/li&gt;
  &lt;li&gt;Rewriting sections to reflect new functionality&lt;/li&gt;
  &lt;li&gt;Creating coherent, well-written updates&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try doing this in traditional Actions: you’re either embedding massive Python scripts or chaining together countless workflow steps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scenario 3: Compliance Checking&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When pull requests arrive, you want to verify they follow your contribution guidelines. Different PRs need different feedback. Some might be perfect but need a test plan. Others might be off-topic entirely. You need nuanced judgment, not just pattern matching.&lt;/p&gt;

&lt;p&gt;These scenarios share something crucial: they require context understanding and adaptability. They’re not “if X then Y” - they’re “understand the situation, then do what makes sense.”&lt;/p&gt;

&lt;p&gt;This is where agentic workflows shine.&lt;/p&gt;

&lt;h2 id=&quot;what-are-agentic-workflows&quot;&gt;What Are Agentic Workflows?&lt;/h2&gt;

&lt;p&gt;Agentic Workflows are GitHub Actions workflows written in natural language markdown instead of YAML. When triggered, they run an AI coding agent (like GitHub Copilot, Claude Code, or OpenAI Codex) with access to your repository context, allowing it to make intelligent decisions and take meaningful actions.&lt;/p&gt;

&lt;p&gt;The key insight: &lt;strong&gt;Instead of programming every path, you describe the intention and let the agent navigate complexity.&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph LR
    A[&quot;Write Markdown&amp;lt;br/&amp;gt;with Instructions&quot;] --&amp;gt; B[&quot;Compile to GitHub&amp;lt;br/&amp;gt;Actions YAML&quot;]
    B --&amp;gt; C[&quot;GitHub Actions&amp;lt;br/&amp;gt;Runs Workflow&quot;]
    C --&amp;gt; D[&quot;AI Coding Agent&amp;lt;br/&amp;gt;Executes Intelligently&quot;]
    D --&amp;gt; E[&quot;Safe Outputs&amp;lt;br/&amp;gt;Create PRs, Comments, Issues&quot;]

    style A fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style B fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style C fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style D fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style E fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
&lt;/code&gt;&lt;/pre&gt;

&lt;h2 id=&quot;how-agentic-workflows-work&quot;&gt;How Agentic Workflows Work&lt;/h2&gt;

&lt;p&gt;Unlike traditional Actions that execute scripts you write, agentic workflows run AI coding agents that interpret your narrative instructions and decide what to do.&lt;/p&gt;

&lt;h3 id=&quot;the-execution-model&quot;&gt;The Execution Model&lt;/h3&gt;

&lt;p&gt;When an agentic workflow is triggered, here’s what happens:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Frontmatter Configuration&lt;/strong&gt;: The YAML frontmatter defines:
    &lt;ul&gt;
      &lt;li&gt;When the workflow runs (schedule, triggers, permissions)&lt;/li&gt;
      &lt;li&gt;What the agent can access (tools, GitHub permissions)&lt;/li&gt;
      &lt;li&gt;What actions are allowed (safe outputs)&lt;/li&gt;
      &lt;li&gt;Resource constraints (timeouts, network access)&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Agent Execution&lt;/strong&gt;: The AI agent reads:
    &lt;ul&gt;
      &lt;li&gt;Your markdown instructions&lt;/li&gt;
      &lt;li&gt;Repository context (files, issues, PRs, discussions)&lt;/li&gt;
      &lt;li&gt;Current situation (what issue/PR triggered the workflow)&lt;/li&gt;
      &lt;li&gt;Available tools and permissions&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Tool Usage&lt;/strong&gt;: The agent can use allowed tools like:
    &lt;ul&gt;
      &lt;li&gt;GitHub (read pull requests, issues, discussions, code)&lt;/li&gt;
      &lt;li&gt;File editing (modify code or documentation)&lt;/li&gt;
      &lt;li&gt;Bash scripting (run tests, build, analyse code)&lt;/li&gt;
      &lt;li&gt;Web fetching (research external resources)&lt;/li&gt;
      &lt;li&gt;Model Context Protocol (MCP) servers (integrate external services)&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Safe Outputs&lt;/strong&gt;: The agent doesn’t have direct write access. Instead, it uses sanitised “safe outputs”:
    &lt;ul&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;create-pull-request&lt;/code&gt;: Request a PR be created&lt;/li&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;add-comment&lt;/code&gt;: Request a comment be added to an issue or PR&lt;/li&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;add-labels&lt;/code&gt;: Request labels be applied&lt;/li&gt;
      &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;create-issue&lt;/code&gt;: Request a new issue be created&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This safety layer is critical. The agent is sandboxed; it can’t silently modify your code. All actions go through controlled paths that leave an audit trail.&lt;/p&gt;

&lt;h3 id=&quot;a-concrete-example-contribution-guidelines-checker&quot;&gt;A Concrete Example: Contribution Guidelines Checker&lt;/h3&gt;

&lt;p&gt;Let’s walk through a real example from GitHub’s agentics repository. The Contribution Guidelines Checker workflow automatically reviews incoming pull requests and verifies they comply with your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CONTRIBUTING.md&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The YAML Front Matter:&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;|&lt;/span&gt;
  &lt;span class=&quot;s&quot;&gt;Reviews incoming pull requests to verify they comply with the repository&apos;s&lt;/span&gt;
  &lt;span class=&quot;s&quot;&gt;contribution guidelines. Checks CONTRIBUTING.md and similar docs, then either&lt;/span&gt;
  &lt;span class=&quot;s&quot;&gt;labels the PR as ready or provides constructive feedback.&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;on&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;pull_request&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;types&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;opened&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;synchronize&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;]&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;reaction&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;eyes&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;permissions&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;read-all&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;safe-outputs&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;add-labels&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;allowed&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;contribution-ready&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;]&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;add-comment&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;tools&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;github&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;toolsets&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;default&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;]&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;lockdown&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;false&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;timeout-minutes&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;The Natural Language Instructions:&lt;/strong&gt;&lt;/p&gt;

&lt;div class=&quot;language-markdown highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;gh&quot;&gt;# Contribution Guidelines Checker&lt;/span&gt;

You are a contribution guidelines reviewer. Your task is to analyse PR #$ 
and verify it meets the repository&apos;s contribution guidelines.

&lt;span class=&quot;gu&quot;&gt;## Step 1: Find Contribution Guidelines&lt;/span&gt;

Search for contribution guidelines in the repository. Check these locations:
&lt;span class=&quot;p&quot;&gt;1.&lt;/span&gt; &lt;span class=&quot;sb&quot;&gt;`CONTRIBUTING.md`&lt;/span&gt; in root
&lt;span class=&quot;p&quot;&gt;2.&lt;/span&gt; &lt;span class=&quot;sb&quot;&gt;`.github/CONTRIBUTING.md`&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;3.&lt;/span&gt; &lt;span class=&quot;sb&quot;&gt;`docs/CONTRIBUTING.md`&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;4.&lt;/span&gt; Contribution sections in &lt;span class=&quot;sb&quot;&gt;`README.md`&lt;/span&gt;

&lt;span class=&quot;gu&quot;&gt;## Step 2: Retrieve PR Details&lt;/span&gt;

Fetch the full PR details including title, description, changed files, and commit messages.

&lt;span class=&quot;gu&quot;&gt;## Step 3: Evaluate Compliance&lt;/span&gt;

Check the PR against the guidelines for:
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; PR Title format and clarity
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; PR Description completeness
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Commit message format
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Required sections (test plan, changelog)
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Documentation updates
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Other repo-specific requirements

&lt;span class=&quot;gu&quot;&gt;## Step 4: Take Action&lt;/span&gt;

&lt;span class=&quot;gs&quot;&gt;**If the PR meets all guidelines:**&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Add the &lt;span class=&quot;sb&quot;&gt;`contribution-ready`&lt;/span&gt; label

&lt;span class=&quot;gs&quot;&gt;**If the PR needs improvements:**&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Add a helpful comment that includes:
&lt;span class=&quot;p&quot;&gt;  -&lt;/span&gt; A friendly greeting
&lt;span class=&quot;p&quot;&gt;  -&lt;/span&gt; Specific guidelines not being met
&lt;span class=&quot;p&quot;&gt;  -&lt;/span&gt; Clear, actionable steps to bring it into compliance
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;When a PR is opened:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;The agent reads your contribution guidelines from the repository&lt;/li&gt;
  &lt;li&gt;It fetches the PR content&lt;/li&gt;
  &lt;li&gt;It evaluates the PR against those guidelines with nuanced judgement&lt;/li&gt;
  &lt;li&gt;If compliant, it adds a label and moves on&lt;/li&gt;
  &lt;li&gt;If not, it writes constructive feedback specific to what’s missing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is work that previously required either manual review or fragile regex-based heuristics. The agent brings genuine understanding to the task.&lt;/p&gt;

&lt;h2 id=&quot;why-agentic-workflows-exist-the-problem-they-solve&quot;&gt;Why Agentic Workflows Exist: The Problem They Solve&lt;/h2&gt;

&lt;h3 id=&quot;beyond-heuristics&quot;&gt;Beyond Heuristics&lt;/h3&gt;

&lt;p&gt;Traditional automation relies on heuristics and pattern matching. These break down when reality is more nuanced than your rules anticipated.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; Issue triage with traditional Actions requires defining rules for labeling:&lt;/p&gt;
&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;pi&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;contains(github.event.issue.title, &apos;bug&apos;)&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;run&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;gh issue edit --add-label bug&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But what if someone writes: “Something isn’t working”? Your heuristic misses it. What about the tenth variation? You’re constantly patching rules.&lt;/p&gt;

&lt;p&gt;Agentic workflows understand intent. An agent reads “Something isn’t working as expected when I follow these steps in the docs” and can classify it appropriately, ask clarifying questions, and even suggest related issues.&lt;/p&gt;

&lt;h3 id=&quot;the-continuous-ai-vision&quot;&gt;The Continuous AI Vision&lt;/h3&gt;

&lt;p&gt;GitHub introduced the concept of “Continuous AI” - the systematic application of intelligence throughout development. It builds on years of Continuous Integration and Continuous Deployment.&lt;/p&gt;

&lt;p&gt;Where CI/CD automates mechanical tasks (“run tests, deploy if tests pass”), Continuous AI automates decision-making and adaptation (“analyse this issue, understand what’s happening, suggest improvements”).&lt;/p&gt;

&lt;p&gt;Agentic Workflows are GitHub’s primary vehicle for bringing Continuous AI to repositories today.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph LR
    A[&quot;Traditional CI/CD&quot;] --&amp;gt; B[&quot;Deterministic&amp;lt;br/&amp;gt;Automated Tasks&quot;]
    C[&quot;Agentic Workflows&quot;] --&amp;gt; D[&quot;Intelligent&amp;lt;br/&amp;gt;Automated Tasks&quot;]
    B --&amp;gt; E[&quot;Continuous AI&quot;]
    D --&amp;gt; E
    E --&amp;gt; F[&quot;Smarter Repository&amp;lt;br/&amp;gt;Ecosystem&quot;]

    style A fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style B fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style C fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style D fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style E fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style F fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
&lt;/code&gt;&lt;/pre&gt;

&lt;h2 id=&quot;practical-use-cases&quot;&gt;Practical Use Cases&lt;/h2&gt;

&lt;p&gt;To understand the value of agentic workflows, consider real scenarios from GitHub’s &lt;a href=&quot;https://github.com/githubnext/agentics&quot;&gt;agentics repository&lt;/a&gt;:&lt;/p&gt;

&lt;h3 id=&quot;code-review-and-quality&quot;&gt;Code Review and Quality&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Daily Test Improver&lt;/strong&gt;: Analyses coverage reports and creates PRs that add meaningful tests to under-tested areas.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Code Simplifier&lt;/strong&gt;: Reviews recent code changes and creates PRs that simplify over-engineered or verbose implementations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Duplicate Code Detector&lt;/strong&gt;: Identifies repeated code patterns and suggests refactoring opportunities.&lt;/p&gt;

&lt;p&gt;These aren’t running static analysis tools. A coding agent is reading your actual code, understanding what it does, and proposing targeted improvements with reasoning.&lt;/p&gt;

&lt;h3 id=&quot;documentation-and-communication&quot;&gt;Documentation and Communication&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Daily Documentation Updater&lt;/strong&gt;: Watches for code commits, identifies what changed, and updates relevant documentation sections. Creates PRs with coherent, well-written updates.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Weekly Repository Map&lt;/strong&gt;: Generates visualisations of your repository structure and file sizes, creating compelling updates about your codebase.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Daily Repository Chronicle&lt;/strong&gt;: Transforms raw GitHub activity into an engaging narrative summary of what happened this week.&lt;/p&gt;

&lt;h3 id=&quot;issue-management&quot;&gt;Issue Management&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Issue Triage&lt;/strong&gt;: When issues arrive, automatically add relevant labels, detect spam and duplicates, ask clarifying questions, and provide debugging suggestions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Issue Arborist&lt;/strong&gt;: Organises issues hierarchically by linking related issues as parent-child relationships, building a more discoverable issue taxonomy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Contribution Check&lt;/strong&gt;: Reviews open PRs in batches against contribution guidelines and creates summary reports with feedback grouped by readiness.&lt;/p&gt;

&lt;h3 id=&quot;continuous-improvement&quot;&gt;Continuous Improvement&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Daily Accessibility Review&lt;/strong&gt;: Runs your application automatically, checks WCAG 2.2 compliance, and creates issues with specific accessibility violations and fixes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CI Optimiser&lt;/strong&gt;: Analyses your GitHub Actions workflows for inefficiencies, identifies slow steps, and creates PRs with optimisations including time and cost reductions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Performance Improver&lt;/strong&gt;: Runs benchmarks, identifies bottlenecks, and implements targeted performance improvements with measured impact.&lt;/p&gt;

&lt;p&gt;These workflows represent automation that genuinely understands your codebase and makes contextual decisions. A human would do many of these tasks manually today. Agentic workflows shift them to asynchronous, background execution.&lt;/p&gt;

&lt;h2 id=&quot;real-example-diving-into-contribution-guidelines-checker&quot;&gt;Real Example: Diving into Contribution Guidelines Checker&lt;/h2&gt;

&lt;p&gt;Let’s examine how the Contribution Guidelines Checker actually works to illustrate the nuance agentic workflows enable.&lt;/p&gt;

&lt;p&gt;The workflow accesses the agent instructions like this:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;na&quot;&gt;permissions&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;read-all&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This permits reading your entire repository. Then the agent:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Locates Your CONTRIBUTING.md&lt;/strong&gt;: Not all repos follow the same naming or directory structure. The agent searches multiple standard locations and adapts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Interprets Guidelines Intelligently&lt;/strong&gt;: It reads your guidelines and understands not just the literal rules, but the spirit of them. If your guidelines emphasise “respect for new contributors,” the agent considers whether feedback should be more encouraging.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Evaluates with Context&lt;/strong&gt;: Rather than checking boxes against a fixed checklist, the agent understands the specific PR. A PR with 1,200 line changes might need different feedback than a 12-line typo fix.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Writes Helpful Feedback&lt;/strong&gt;: Instead of generic comments like “PR title must follow format,” it writes something like:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Thanks for this contribution! I noticed the PR title could be more descriptive. Instead of “Update docs,” try “Add documentation for the new caching API.” This helps maintainers quickly understand what changed.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is something a human PR reviewer would write. The agent learns to write similarly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Decides Actions Based on Context&lt;/strong&gt;: If contribution guidelines don’t exist, the agent assumes compliance rather than failing. It applies judgment about what matters.&lt;/p&gt;

&lt;p&gt;The safety boundary is critical here:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;na&quot;&gt;safe-outputs&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;add-labels&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;allowed&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;contribution-ready&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;]&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Only this label can be added&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# At most one label per run&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;add-comment&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# At most one comment per run&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The agent cannot directly push code or silently modify PRs. It can propose adding a label or commenting. A human would review the workflow logs and approve. This maintains trust.&lt;/p&gt;

&lt;h2 id=&quot;security-and-safety-building-trust-in-ai-automation&quot;&gt;Security and Safety: Building Trust in AI Automation&lt;/h2&gt;

&lt;p&gt;With AI systems taking actions in your repository, security is paramount. GitHub Agentic Workflows incorporate multiple safety layers:&lt;/p&gt;

&lt;h3 id=&quot;1-principle-of-least-privilege&quot;&gt;1. Principle of Least Privilege&lt;/h3&gt;

&lt;p&gt;By default, workflows run with read-only permissions. Write operations must be explicitly enabled through &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;safe-outputs&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;na&quot;&gt;permissions&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;read-all&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Read everything&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;safe-outputs&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;create-pull-request&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Only PRs can be created, nothing else&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;draft&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Draft PRs by default, require manual review&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The agent literally cannot push to main branch, delete branches, or modify secrets. It can only use allowed outputs.&lt;/p&gt;

&lt;h3 id=&quot;2-sandboxed-execution&quot;&gt;2. Sandboxed Execution&lt;/h3&gt;

&lt;p&gt;Agentic workflows run in GitHub-managed container environments with:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Network isolation (blocked by default)&lt;/li&gt;
  &lt;li&gt;Tool allowlisting (agent can only use explicitly allowed tools)&lt;/li&gt;
  &lt;li&gt;Bash command restrictions (even &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bash&lt;/code&gt; access is sanitised)&lt;/li&gt;
  &lt;li&gt;File system isolation (can’t access GitHub secrets or other workflows)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;3-safe-output-validation&quot;&gt;3. Safe Output Validation&lt;/h3&gt;

&lt;p&gt;Every action the agent takes goes through sanitised handlers:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;na&quot;&gt;safe-outputs&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;add-comment&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;5&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Limit to 5 comments per run&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;target&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;*&quot;&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Can comment on issues/PRs&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;hide-older-comments&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Clean up previous agent comments&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;These validate the action, check permissions, and log the operation. There’s a full audit trail.&lt;/p&gt;

&lt;h3 id=&quot;4-compilation-and-verification&quot;&gt;4. Compilation and Verification&lt;/h3&gt;

&lt;p&gt;Before an agentic workflow runs, it’s compiled from markdown to GitHub Actions YAML:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;gh aw compile
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This compilation process:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Validates YAML syntax and configuration&lt;/li&gt;
  &lt;li&gt;Applies security hardening (restricts context substitutions, validates tools)&lt;/li&gt;
  &lt;li&gt;Generates a lock file with all resolved references&lt;/li&gt;
  &lt;li&gt;Creates a reviewable YAML file you can inspect&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You review the compiled YAML before committing. No hidden prompts or secret sauce.&lt;/p&gt;

&lt;h3 id=&quot;5-model-agnostic-safety&quot;&gt;5. Model-Agnostic Safety&lt;/h3&gt;

&lt;p&gt;Agentic Workflows support multiple AI coding agents (Copilot, Claude Code, OpenAI Codex). The safety boundaries apply regardless of which agent you’re using, ensuring consistent protection across different LLM providers.&lt;/p&gt;

&lt;h3 id=&quot;security-best-practices-for-your-workflows&quot;&gt;Security Best Practices for Your Workflows&lt;/h3&gt;

&lt;p&gt;When implementing agentic workflows, follow these practices:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Start with Read-Only Operations&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Begin with workflows that only comment on issues or create discussion posts. Gain confidence before enabling write operations.&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;na&quot;&gt;permissions&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;read-all&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;safe-outputs&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;add-comment&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Safe to experiment with&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;2. Use Draft PRs and Human Review Gates&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If your workflow creates pull requests, make them drafts by default:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;na&quot;&gt;safe-outputs&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;create-pull-request&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;draft&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Requires explicit approval to mark ready&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;3. Limit Operations with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;max&lt;/code&gt; Settings&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Always set reasonable limits on operations:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;na&quot;&gt;safe-outputs&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;create-issue&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Only one issue per run&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;add-comment&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;5&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Limited commenting&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;4. Enable Rate Limiting&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Protect against runaway agents with rate limiting:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;na&quot;&gt;rate-limit&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;5&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;window&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;60&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# Max 5 operations per 60 seconds&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;5. Use Protected Files for Critical Edits&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If your workflow edits files, protect critical ones:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;na&quot;&gt;safe-outputs&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;create-pull-request&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;protected-files&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;fallback-to-issue&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;# If can&apos;t safely edit, create issue instead&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This prevents accidental modifications to sensitive files like &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;package.json&lt;/code&gt; or deployment configurations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Audit Regularly&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Review workflow logs periodically:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;gh workflow view &amp;lt;workflow-name&amp;gt; &lt;span class=&quot;nt&quot;&gt;--log&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Check what tools the agent used, what decisions it made, and whether actions align with intent.&lt;/p&gt;

&lt;p&gt;This is radically different from handing off automation to a third-party service where you can’t see how decisions are made.&lt;/p&gt;

&lt;h2 id=&quot;getting-started-your-first-agentic-workflow&quot;&gt;Getting Started: Your First Agentic Workflow&lt;/h2&gt;

&lt;p&gt;Agentic Workflows require the GitHub Agentic Workflows CLI extension. Here’s how to get started:&lt;/p&gt;

&lt;h3 id=&quot;installation&quot;&gt;Installation&lt;/h3&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;gh extension &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;github/gh-aw
gh aw upgrade  &lt;span class=&quot;c&quot;&gt;# Get latest version&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;quick-start-try-a-real-workflow&quot;&gt;Quick Start: Try a Real Workflow&lt;/h3&gt;

&lt;p&gt;The easiest way to learn is by adding an existing workflow from the agentics repository:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;your-repository
gh aw add-wizard githubnext/agentics/contribution-guidelines-checker
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This interactive wizard:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Guides you through setup&lt;/li&gt;
  &lt;li&gt;Creates the workflow in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/workflows/&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Compiles it to a runnable YAML file&lt;/li&gt;
  &lt;li&gt;Explains what the workflow does&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;creating-your-own-workflow&quot;&gt;Creating Your Own Workflow&lt;/h3&gt;

&lt;p&gt;Create a new file in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.github/agentic-workflows/my-workflow.md&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-markdown highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Daily Quality Scan&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;Scan for code quality issues&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;on&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;schedule&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;daily&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;permissions&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;contents&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;read&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;issues&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;read&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;safe-outputs&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;create-issue&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;title-prefix&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;[quality]&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;labels&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;automation&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;quality&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;]&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;max&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;tools&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;github&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;toolsets&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;default&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;]&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;bash&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;

&lt;span class=&quot;na&quot;&gt;timeout-minutes&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;m&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;

&lt;span class=&quot;gh&quot;&gt;# Daily Quality Scan&lt;/span&gt;

You are a code quality reviewer. Scan the recent code changes and:
&lt;span class=&quot;p&quot;&gt;
1.&lt;/span&gt; Identify code patterns that could be simplified
&lt;span class=&quot;p&quot;&gt;2.&lt;/span&gt; Find potential performance issues
&lt;span class=&quot;p&quot;&gt;3.&lt;/span&gt; Check for missing error handling
&lt;span class=&quot;p&quot;&gt;4.&lt;/span&gt; Suggest test coverage improvements

For each finding, create an issue with:
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Clear description of the issue
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Why it matters
&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt; Suggested fix
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Then compile and commit:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;gh aw compile
git add .github/workflows/my-workflow.md.lock.yml
git commit &lt;span class=&quot;nt&quot;&gt;-m&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Add daily quality scan workflow&quot;&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.lock.yml&lt;/code&gt; file is what GitHub Actions actually runs. It’s fully inspectable and version controlled.&lt;/p&gt;

&lt;h3 id=&quot;triggering-your-workflow&quot;&gt;Triggering Your Workflow&lt;/h3&gt;

&lt;p&gt;Once deployed:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c&quot;&gt;# Trigger manually&lt;/span&gt;
gh aw run my-workflow

&lt;span class=&quot;c&quot;&gt;# View logs&lt;/span&gt;
gh run list
gh run view &amp;lt;run-id&amp;gt; &lt;span class=&quot;nt&quot;&gt;--log&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;limitations-and-considerations&quot;&gt;Limitations and Considerations&lt;/h2&gt;

&lt;p&gt;Agentic Workflows are powerful, but they’re not a silver bullet:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Tool Reliability&lt;/strong&gt;: The agent can only use what’s available. If your workflow needs a specific analysis tool that doesn’t exist, you’ll need to build it or work around it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Token and Cost Considerations&lt;/strong&gt;: Every workflow run consumes LLM tokens. Running agents multiple times daily across teams adds up. Monitor costs and use rate limiting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Hallucinations&lt;/strong&gt;: AI models sometimes generate plausible-sounding but incorrect code or suggestions. This is why human review gates and draft PRs are important.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Context Limitations&lt;/strong&gt;: Very large repositories might exceed context windows for some models. Agentic Workflows handle this, but it’s a practical constraint to be aware of.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Non-Determinism&lt;/strong&gt;: Unlike traditional workflows that produce identical results on identical inputs, agentic workflows may vary slightly between runs because they involve LLM inference.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Learning Curve&lt;/strong&gt;: Writing good agentic workflow instructions requires a different mindset than writing traditional automation. You’re giving intuitive suggestions, not algorithmic steps.&lt;/p&gt;

&lt;h2 id=&quot;conclusion-the-future-is-conversational&quot;&gt;Conclusion: The Future is Conversational&lt;/h2&gt;

&lt;p&gt;Agentic Workflows represent a shift in how we think about repository automation. Instead of programming every detail, we describe intentions and let intelligent systems handle the complexity.&lt;/p&gt;

&lt;p&gt;The future of development tooling is increasingly conversational. You don’t write long configuration files; you describe what you want. The tools understand context, ask clarifying questions, and adapt to your needs.&lt;/p&gt;

&lt;p&gt;GitHub Agentic Workflows are how this future arrives in your repositories today. They’re safe, auditable, and in your control. They’re practical enough to use today, yet pioneering enough to shape how automation will work across the industry.&lt;/p&gt;

&lt;p&gt;If you’re managing repositories where documentation drifts, issue triage becomes overwhelming, or contributor experience could be better, agentic workflows offer a path forward. Start small, build confidence, and expand from there.&lt;/p&gt;

&lt;p&gt;The age of Continuous AI has arrived. What will you automate?&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;em&gt;Have you experimented with agentic workflows yet? What repository problems would you want an AI agent to help solve? Share your thoughts and applications in the comments below.&lt;/em&gt;&lt;/p&gt;

&lt;h2 id=&quot;further-reading&quot;&gt;Further Reading&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.github.com/gh-aw/&quot;&gt;GitHub Agentic Workflows Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://githubnext.com/projects/agentic-workflows/&quot;&gt;GitHub Next: Agentic Workflows Project&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/githubnext/agentics&quot;&gt;Agentics Repository: Ready-to-Use Workflows&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.blog/ai-and-ml/automate-repository-tasks-with-github-agentic-workflows/&quot;&gt;GitHub Blog: Automate Repository Tasks with Agentic Workflows&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://githubnext.com/projects/continuous-ai&quot;&gt;Continuous AI: The GitHub Vision&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sun, 15 Mar 2026 19:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/agentic-workflows-reimagining-automation/</link>
        <guid isPermaLink="true">https://azurewithaj.com/agentic-workflows-reimagining-automation/</guid>
        
        <category>github</category>
        
        <category>agentic</category>
        
        <category>workflows</category>
        
        <category>ai</category>
        
        <category>automation</category>
        
        <category>devops</category>
        
        <category>continuous-ai</category>
        
        <category>copilot</category>
        
        
        <category>DevOps</category>
        
        <category>AI</category>
        
      </item>
    
      <item>
        <title>MCP Apps: Interactive Dashboards Inside Your AI Conversations</title>
        <description>&lt;p&gt;If you’ve been working with AI agents lately, you’ve probably hit a limitation: the agent can describe what it found, but it can’t show you anything interactive. Your agent finishes scanning a dataset and presents a table in text format. You need to explore further, so you ask it to reorganise the results. Another round trip. Another text response.&lt;/p&gt;

&lt;p&gt;MCP Apps change that equation entirely. They let your MCP servers return interactive HTML interfaces such as dashboards, forms, visualisations and configuration panels that render directly inside your AI conversation. No tab switching. No context loss. Just rich, interactive interfaces right where you’re having the conversation.&lt;/p&gt;

&lt;p&gt;In this post, I’ll explain what MCP Apps are, how they work, why they matter, and how you can leverage them in real scenarios like browsing Azure resources with an interactive dashboard.&lt;/p&gt;

&lt;h2 id=&quot;what-are-mcp-apps&quot;&gt;What Are MCP Apps?&lt;/h2&gt;

&lt;p&gt;MCP Apps are an extension to the Model Context Protocol that lets MCP tools declare and serve interactive user interfaces. Rather than returning only text, images, or structured data, a tool can now say “render this HTML interface alongside your response.”&lt;/p&gt;

&lt;p&gt;The key insight is simple: sometimes showing is better than telling. An agent can describe “your database has performance bottlenecks in query processing,” but an interactive graph lets you drill into the call stacks, hover for timing details, and validate the analysis yourself.&lt;/p&gt;

&lt;p&gt;MCP Apps bridge the gap between pure text-based AI interactions and rich desktop applications. They give agents a visual voice.&lt;/p&gt;

&lt;h2 id=&quot;the-problem-mcp-apps-solve&quot;&gt;The Problem MCP Apps Solve&lt;/h2&gt;

&lt;p&gt;Traditional agent workflows suffer from a classic problem: agents work in text space, but developers think in visual and interactive space. When an agent presents findings, you often want to explore further, but the agent can only respond with more text.&lt;/p&gt;

&lt;p&gt;MCP Apps flip this around. Agents can now display:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Interactive dashboards&lt;/strong&gt;: Visualise metrics, logs, or resource states&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Forms with validation&lt;/strong&gt;: Configure systems with confidence&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Data tables with sorting and filtering&lt;/strong&gt;: Explore large datasets without truncation&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Visualisations&lt;/strong&gt;: Flame graphs, heatmaps, network diagrams, 3D models&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Terminal-like interfaces&lt;/strong&gt;: Real-time monitoring and status updates&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;File pickers and selectors&lt;/strong&gt;: Choose resources from rich interfaces&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The agent doesn’t lose context, and it works alongside the interactive UI. When you interact with the app, it can call MCP tools to fetch fresh data, validate your choices, or execute actions.&lt;/p&gt;

&lt;h2 id=&quot;how-mcp-apps-work&quot;&gt;How MCP Apps Work&lt;/h2&gt;

&lt;p&gt;Understanding the architecture helps explain why MCP Apps are secure and efficient.&lt;/p&gt;

&lt;pre&gt;&lt;code class=&quot;language-mermaid&quot;&gt;graph LR
    A[&quot;MCP Server&amp;lt;br/&amp;gt;Registers Tool&quot;] --&amp;gt; B[&quot;Tool Description&amp;lt;br/&amp;gt;Includes UI Resource URI&quot;]
    B --&amp;gt; C[&quot;Host/Agent&amp;lt;br/&amp;gt;LLM Decides to Call Tool&quot;]
    C --&amp;gt; D[&quot;Host Fetches&amp;lt;br/&amp;gt;UI Resource&amp;lt;br/&amp;gt;from Server&quot;]
    D --&amp;gt; E[&quot;Sandboxed iframe&amp;lt;br/&amp;gt;Renders HTML/JS&quot;]
    E --&amp;gt; F[&quot;Bidirectional&amp;lt;br/&amp;gt;Communication&amp;lt;br/&amp;gt;via postMessage&quot;]
    F --&amp;gt; G[&quot;App Calls Tools&amp;lt;br/&amp;gt;Host Updates Display&quot;]
    
    style A fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style B fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
    style C fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style D fill:#94a3b8,stroke:#64748b,stroke-width:2px,color:#0f172a
    style E fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style F fill:#059669,stroke:#047857,stroke-width:3px,color:#fff
    style G fill:#2563eb,stroke:#1e40af,stroke-width:3px,color:#fff
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The flow works in four key steps:&lt;/p&gt;

&lt;h3 id=&quot;1-tool-registration-with-ui-metadata&quot;&gt;1. Tool Registration with UI Metadata&lt;/h3&gt;

&lt;p&gt;An MCP server registers a tool with a special &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;_meta.ui.resourceUri&lt;/code&gt; field that points to an HTML interface:&lt;/p&gt;

&lt;div class=&quot;language-typescript highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;nf&quot;&gt;registerAppTool&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;list-azure-storage&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;List Azure Storage Accounts&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Browse storage accounts with filtering and drill-down&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;inputSchema&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{},&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;_meta&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; 
      &lt;span class=&quot;na&quot;&gt;ui&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; 
        &lt;span class=&quot;na&quot;&gt;resourceUri&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;ui://storage-dashboard/mcp-app.html&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt; 
      &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; 
    &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;async &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;c1&quot;&gt;// Fetch storage account data&lt;/span&gt;
    &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;await&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;listStorageAccounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[{&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;JSON&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;stringify&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;}],&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;2-ui-preloading-and-resource-fetching&quot;&gt;2. UI Preloading and Resource Fetching&lt;/h3&gt;

&lt;p&gt;When an agent calls the tool, the host can preload the UI resource before the tool even executes. The host fetches the bundled HTML from the server, which is typically a single file containing HTML, CSS, and JavaScript bundled together.&lt;/p&gt;

&lt;h3 id=&quot;3-sandboxed-rendering&quot;&gt;3. Sandboxed Rendering&lt;/h3&gt;

&lt;p&gt;The host renders the HTML in a sandboxed iframe. This is crucial for security, as the app can’t access the parent window’s DOM, steal cookies, or execute scripts in the parent context. All communication happens through the postMessage API, which is controlled by the host.&lt;/p&gt;

&lt;h3 id=&quot;4-bidirectional-communication&quot;&gt;4. Bidirectional Communication&lt;/h3&gt;

&lt;p&gt;The app and host communicate via JSON-RPC over postMessage. The app can:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Receive the initial tool result when rendered&lt;/li&gt;
  &lt;li&gt;Call tools on the server (e.g., “fetch more data with these filters”)&lt;/li&gt;
  &lt;li&gt;Send log messages back to the host&lt;/li&gt;
  &lt;li&gt;Update the model’s context with structured data&lt;/li&gt;
  &lt;li&gt;Request actions like opening URLs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This bidirectional flow means your UI stays dynamic without page reloads.&lt;/p&gt;

&lt;h2 id=&quot;practical-uses-building-an-azure-storage-dashboard&quot;&gt;Practical Uses: Building an Azure Storage Dashboard&lt;/h2&gt;

&lt;p&gt;Let me walk through a concrete example: building an interactive dashboard to browse Azure storage accounts.&lt;/p&gt;

&lt;p&gt;Instead of asking your agent “list all storage accounts and filter by location,” you could have an interactive dashboard where you:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;See all storage accounts in a table&lt;/li&gt;
  &lt;li&gt;Filter by resource group, region, or storage type&lt;/li&gt;
  &lt;li&gt;Click to view details (access keys, endpoints, configuration)&lt;/li&gt;
  &lt;li&gt;Perform actions (create a new account, update settings, delete a container)&lt;/li&gt;
  &lt;li&gt;Copy information without manual re-typing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Here’s an example of how the server implements this:&lt;/p&gt;

&lt;div class=&quot;language-typescript highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c1&quot;&gt;// Server side: register the tool with UI metadata&lt;/span&gt;
&lt;span class=&quot;nf&quot;&gt;registerAppTool&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;storage-dashboard&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Azure Storage Dashboard&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Interactive dashboard for browsing and managing storage accounts&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;inputSchema&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;properties&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;na&quot;&gt;subscriptionId&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
        &lt;span class=&quot;na&quot;&gt;resourceGroup&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
      &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;_meta&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; 
      &lt;span class=&quot;na&quot;&gt;ui&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; 
        &lt;span class=&quot;na&quot;&gt;resourceUri&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;ui://storage-dashboard/app.html&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt; 
      &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; 
    &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;async &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;params&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;c1&quot;&gt;// Fetch storage accounts from Azure&lt;/span&gt;
    &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;await&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;getStorageAccounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
      &lt;span class=&quot;nx&quot;&gt;params&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;subscriptionId&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
      &lt;span class=&quot;nx&quot;&gt;params&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;resourceGroup&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    
    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[{&lt;/span&gt; 
        &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; 
        &lt;span class=&quot;na&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;JSON&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;stringify&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
      &lt;span class=&quot;p&quot;&gt;}],&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;// Register the UI resource&lt;/span&gt;
&lt;span class=&quot;nf&quot;&gt;registerAppResource&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;ui://storage-dashboard/app.html&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;mimeType&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;RESOURCE_MIME_TYPE&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;async &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;html&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;await&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;fs&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;readFile&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;dist/app.html&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;utf-8&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;contents&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;
        &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; 
          &lt;span class=&quot;na&quot;&gt;uri&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;ui://storage-dashboard/app.html&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
          &lt;span class=&quot;na&quot;&gt;mimeType&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;RESOURCE_MIME_TYPE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
          &lt;span class=&quot;na&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;html&lt;/span&gt; 
        &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
      &lt;span class=&quot;p&quot;&gt;],&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;On the UI side, the dashboard receives the storage account data and renders it interactively:&lt;/p&gt;

&lt;div class=&quot;language-typescript highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c1&quot;&gt;// Client side: UI implementation&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;App&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;@modelcontextprotocol/ext-apps&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;

&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;app&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;nc&quot;&gt;App&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt; 
  &lt;span class=&quot;na&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Storage Dashboard&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; 
  &lt;span class=&quot;na&quot;&gt;version&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;1.0.0&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt; 
&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;

&lt;span class=&quot;nx&quot;&gt;app&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;// Receive initial data from the tool&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;app&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ontoolresult&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;JSON&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;parse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;?.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;type&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;===&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)?.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;text&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;||&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
  &lt;span class=&quot;nf&quot;&gt;renderStorageTable&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;// When user filters, call a tool to fetch filtered data&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;async&lt;/span&gt; &lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;applyFilters&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;filters&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;result&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;await&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;app&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;callServerTool&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;storage-dashboard&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;arguments&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; 
      &lt;span class=&quot;na&quot;&gt;subscriptionId&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;filters&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;subscription&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;resourceGroup&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;filters&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;group&lt;/span&gt; 
    &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;
  
  &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;JSON&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;parse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;?.[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]?.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;text&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;||&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
  &lt;span class=&quot;nf&quot;&gt;renderStorageTable&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;renderStorageTable&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;// Render interactive table with filtering, sorting, drill-down&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;// Users can see all accounts at once, explore details,&lt;/span&gt;
  &lt;span class=&quot;c1&quot;&gt;// and perform actions without leaving the UI&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This approach gives you:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Instant visual feedback&lt;/strong&gt;: Tables, icons, colours communicate status at a glance&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Exploration without friction&lt;/strong&gt;: Filter, sort, drill down without conversation turns&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Context preservation&lt;/strong&gt;: Everything stays in one place—the agent’s workspace&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Reduced latency&lt;/strong&gt;: UI interactions feel responsive&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Rather than asking your agent “show me storage accounts in the Australia regions” five times with slightly different filters, you see all options at once and click to explore.&lt;/p&gt;

&lt;h2 id=&quot;security-considerations-for-mcp-apps&quot;&gt;Security Considerations for MCP Apps&lt;/h2&gt;

&lt;p&gt;MCP Apps run in a sandboxed iframe, which provides strong security isolation, but “sandboxed” does not mean “bulletproof.” Here are security practices you should follow:&lt;/p&gt;

&lt;h3 id=&quot;sandboxing-fundamentals&quot;&gt;Sandboxing Fundamentals&lt;/h3&gt;

&lt;p&gt;MCP Apps run inside a sandboxed iframe with these restrictions:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;No DOM access&lt;/strong&gt;: The app can’t access the parent window’s document or modify the main page&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;No cookie theft&lt;/strong&gt;: localStorage and sessionStorage are isolated&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;No page navigation&lt;/strong&gt;: The app can’t redirect the parent window&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Restricted script execution&lt;/strong&gt;: Scripts in the app run only within the sandbox&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All communication between the app and host happens through postMessage, which is an explicit, controlled channel.&lt;/p&gt;

&lt;h3 id=&quot;content-security-policy-csp&quot;&gt;Content Security Policy (CSP)&lt;/h3&gt;

&lt;p&gt;When serving your UI, specify which external origins can load resources. This prevents your app from accidentally (or maliciously) loading scripts from untrusted domains:&lt;/p&gt;

&lt;div class=&quot;language-typescript highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;nf&quot;&gt;registerAppResource&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;ui://storage-dashboard/app.html&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; 
    &lt;span class=&quot;na&quot;&gt;mimeType&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;RESOURCE_MIME_TYPE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;_meta&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;ui&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;na&quot;&gt;csp&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;https://cdn.jsdelivr.net&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;https://cdn.example.com&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;
      &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;async &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;c1&quot;&gt;// Serve HTML&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;permission-requests&quot;&gt;Permission Requests&lt;/h3&gt;

&lt;p&gt;Your app can request permissions (microphone, camera, geolocation), but these go through the host. The user is always in control of what the app can access. If your app doesn’t need a permission, don’t request it.&lt;/p&gt;

&lt;h3 id=&quot;input-validation-and-sanitisation&quot;&gt;Input Validation and Sanitisation&lt;/h3&gt;

&lt;p&gt;Since your app receives data from the server and may send data back to the server, validate everything:&lt;/p&gt;

&lt;div class=&quot;language-typescript highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c1&quot;&gt;// On the client: validate server responses&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;app&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ontoolresult&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;try&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;JSON&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;parse&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;result&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;?.[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]?.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;text&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;||&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    
    &lt;span class=&quot;c1&quot;&gt;// Validate the data structure&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;if &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;isArray&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;k&quot;&gt;throw&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;nc&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Expected array of accounts&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
    
    &lt;span class=&quot;c1&quot;&gt;// Sanitise rendered content if it comes from user input&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;forEach&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;account&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;nx&quot;&gt;account&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;name&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;sanitiseHTML&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;account&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;
    
    &lt;span class=&quot;nf&quot;&gt;renderStorageTable&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;catch &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;nx&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;error&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Invalid tool result:&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;tool-call-authorisation&quot;&gt;Tool Call Authorisation&lt;/h3&gt;

&lt;p&gt;The host controls which tools your app can call. When you call &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;app.callServerTool()&lt;/code&gt;, the host validates that:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;The tool exists on the server&lt;/li&gt;
  &lt;li&gt;The host has access to that tool&lt;/li&gt;
  &lt;li&gt;The user has authorised the interaction&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You don’t need to implement authorisation on the client, as the host enforces it.&lt;/p&gt;

&lt;h3 id=&quot;secure-default-data-handling&quot;&gt;Secure Default Data Handling&lt;/h3&gt;

&lt;p&gt;MCP Apps can request “rich context” updates to the model. Be careful what data you send:&lt;/p&gt;

&lt;div class=&quot;language-typescript highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c1&quot;&gt;// Good: send only necessary data&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;app&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;updateContext&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;resource&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;resource&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;uri&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;azure://storage/account/myaccount&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;myaccount&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;mimeType&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;application/json&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;// Bad: don&apos;t send secrets or sensitive tokens&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;app&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;updateContext&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;resource&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;resource&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;na&quot;&gt;data&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;accessKey&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;very-secret-key&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;  &lt;span class=&quot;c1&quot;&gt;// Never do this&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;server-side-security&quot;&gt;Server-Side Security&lt;/h3&gt;

&lt;p&gt;Your MCP server also has security responsibilities:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;Validate inputs&lt;/strong&gt;: Check tool arguments before executing&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Authenticate requests&lt;/strong&gt;: Ensure the user has Azure/cloud access&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Limit data exposure&lt;/strong&gt;: Don’t return secrets, access keys, or connection strings to the UI&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Rate limiting&lt;/strong&gt;: Protect against abuse&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Audit logging&lt;/strong&gt;: Track who accessed what dashboards and resources&lt;/li&gt;
&lt;/ol&gt;

&lt;div class=&quot;language-typescript highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;nf&quot;&gt;registerAppTool&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;storage-dashboard&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;cm&quot;&gt;/* ... */&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;async &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;params&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;c1&quot;&gt;// Validate inputs&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;if &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;params&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;subscriptionId&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;?.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;match&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sr&quot;&gt;/^&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;sr&quot;&gt;a-f0-9-&lt;/span&gt;&lt;span class=&quot;se&quot;&gt;]{36}&lt;/span&gt;&lt;span class=&quot;sr&quot;&gt;$/&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;k&quot;&gt;throw&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;nc&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Invalid subscription ID format&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
    
    &lt;span class=&quot;c1&quot;&gt;// Check authentication&lt;/span&gt;
    &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;user&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;await&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;getCurrentUser&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;context&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;if &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;user&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;k&quot;&gt;throw&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;nc&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Authentication required&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
    
    &lt;span class=&quot;c1&quot;&gt;// Verify user has access to this subscription&lt;/span&gt;
    &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;hasAccess&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;await&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;verifySubscriptionAccess&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
      &lt;span class=&quot;nx&quot;&gt;user&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; 
      &lt;span class=&quot;nx&quot;&gt;params&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;subscriptionId&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;if &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;hasAccess&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;k&quot;&gt;throw&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;new&lt;/span&gt; &lt;span class=&quot;nc&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;Access denied&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
    
    &lt;span class=&quot;c1&quot;&gt;// Fetch data and return (without secrets)&lt;/span&gt;
    &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;await&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;getStorageAccounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;params&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;subscriptionId&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
    
    &lt;span class=&quot;c1&quot;&gt;// Remove sensitive data before returning&lt;/span&gt;
    &lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;safeAccounts&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;accounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;acc&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;acc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;acc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;acc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;acc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;kind&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
      &lt;span class=&quot;c1&quot;&gt;// Never include:&lt;/span&gt;
      &lt;span class=&quot;c1&quot;&gt;// primaryEndpoints, accessKey, connectionString, etc.&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;}));&lt;/span&gt;
    
    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
      &lt;span class=&quot;na&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[{&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;dl&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;na&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;JSON&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;stringify&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;safeAccounts&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;}],&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
  &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;getting-started-with-mcp-apps&quot;&gt;Getting Started with MCP Apps&lt;/h2&gt;

&lt;p&gt;Building an MCP App is straightforward. The MCP team provides several ways to get started:&lt;/p&gt;

&lt;h3 id=&quot;using-an-ai-coding-agent-fastest&quot;&gt;Using an AI Coding Agent (Fastest)&lt;/h3&gt;

&lt;blockquote&gt;
  &lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; At the time of writing, MCP Apps are only supported in VS Code Insiders, so you will need the Insiders build to render apps inside the editor.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you have access to Claude Code, VS Code with GitHub Copilot, or another agent that supports skills, you can leverage the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;create-mcp-app&lt;/code&gt; skill:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;c&quot;&gt;# Install the skill (Claude Code example)&lt;/span&gt;
/plugin marketplace add modelcontextprotocol/ext-apps
/plugin &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;mcp-apps@modelcontextprotocol-ext-apps
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Then ask your agent: “Create an MCP App that displays a live Azure storage account dashboard.”&lt;/p&gt;

&lt;p&gt;The agent will scaffold a complete project with server, UI, and configuration files ready to run.&lt;/p&gt;

&lt;h3 id=&quot;manual-setup&quot;&gt;Manual Setup&lt;/h3&gt;

&lt;p&gt;If you prefer hands-on control, clone the examples repository and modify a starter template:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
3
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;git clone https://github.com/modelcontextprotocol/ext-apps.git
&lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;ext-apps/examples/basic-server-react
npm &lt;span class=&quot;nb&quot;&gt;install&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm run build &lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm run serve
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/modelcontextprotocol/ext-apps&quot;&gt;ext-apps repository&lt;/a&gt; includes starter templates for React, Vue, Svelte, Preact, Solid, and vanilla JavaScript. Choose the framework that matches your preferences.&lt;/p&gt;

&lt;h3 id=&quot;testing-your-app&quot;&gt;Testing Your App&lt;/h3&gt;

&lt;p&gt;For development, use the basic-host test interface to debug your app locally:&lt;/p&gt;

&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;table class=&quot;rouge-table&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;rouge-gutter gl&quot;&gt;&lt;pre class=&quot;lineno&quot;&gt;1
2
&lt;/pre&gt;&lt;/td&gt;&lt;td class=&quot;rouge-code&quot;&gt;&lt;pre&gt;&lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;ext-apps/examples/basic-host
&lt;span class=&quot;nv&quot;&gt;SERVERS&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;[&quot;http://localhost:3001/mcp&quot;]&apos;&lt;/span&gt; npm start
&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Navigate to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;http://localhost:8080&lt;/code&gt; to see your app render in an MCP-compatible host.&lt;/p&gt;

&lt;h2 id=&quot;whats-next&quot;&gt;What’s Next?&lt;/h2&gt;

&lt;p&gt;MCP Apps are still early, but adoption is growing rapidly. VS Code, Claude Desktop, Postman, and other AI environments already support them. As more tools and agents integrate MCP, you’ll see dashboards and interactive workflows become standard.&lt;/p&gt;

&lt;p&gt;The implications for DevOps and cloud engineering are particularly interesting. Instead of describing infrastructure or asking an agent to list resources in text, you could have interactive dashboards for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Resource discovery and filtering&lt;/strong&gt;: Browse Azure resources visually&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Configuration wizards&lt;/strong&gt;: Step through deployment decisions with validation&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Monitoring and alerting&lt;/strong&gt;: Real-time dashboards alongside AI analysis&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Approval workflows&lt;/strong&gt;: Review changes and approve with confidence&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Cost analysis&lt;/strong&gt;: Interactive charts and drill-down into spending patterns&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The combination of AI agents and interactive dashboards creates a powerful new class of tools.&lt;/p&gt;

&lt;h2 id=&quot;demo-mcp-storage-account-app&quot;&gt;Demo: MCP Storage Account App&lt;/h2&gt;

&lt;p&gt;I built a small demo MCP App that surfaces Azure storage accounts in a simple dashboard so you can explore the list, inspect details, and validate the flow end to end. If you want a practical reference implementation, you can find it here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/tw3lveparsecs/mcp-apps-demo&quot;&gt;https://github.com/tw3lveparsecs/mcp-apps-demo&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;key-takeaways&quot;&gt;Key Takeaways&lt;/h2&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;strong&gt;MCP Apps solve a real problem&lt;/strong&gt;: Text-based agent responses don’t scale for exploration, configuration, or monitoring&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Security is built-in&lt;/strong&gt;: Sandboxed iframes isolate apps from the host, but you still need to validate inputs and protect secrets&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The architecture is elegant&lt;/strong&gt;: Simple tool registration with UI metadata, bidirectional postMessage communication, and no reinventing the wheel for authentication&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Azure integration is practical&lt;/strong&gt;: You can build dashboards that replace manual CLI queries and portal browsing&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;The ecosystem is growing&lt;/strong&gt;: With VS Code support and multiple framework options, building MCP Apps is accessible to most developers&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Have you started building MCP Apps? What problems are you trying to solve with interactive dashboards? Share your experiences in the comments. I’d love to hear how the community is pushing this technology forward.&lt;/p&gt;

&lt;h2 id=&quot;references&quot;&gt;References&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://modelcontextprotocol.io/docs/extensions/apps&quot;&gt;Model Context Protocol: MCP Apps Documentation&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://code.visualstudio.com/blogs/2026/01/26/mcp-apps-support&quot;&gt;VS Code MCP Apps Support: Official Announcement&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/modelcontextprotocol/ext-apps&quot;&gt;MCP Apps SDK and Examples: GitHub&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://modelcontextprotocol.io/specification&quot;&gt;MCP Specification&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 14 Feb 2026 19:00:00 +0000</pubDate>
        <link>https://azurewithaj.com/mcp-apps/</link>
        <guid isPermaLink="true">https://azurewithaj.com/mcp-apps/</guid>
        
        <category>mcp</category>
        
        <category>ai</category>
        
        <category>agents</category>
        
        <category>vscode</category>
        
        <category>github</category>
        
        <category>copilot</category>
        
        
        <category>AI</category>
        
        <category>DevOps</category>
        
      </item>
    
  </channel>
</rss>
