<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Juan Cardena</title>
    <description>The latest articles on DEV Community by Juan Cardena (@jcardena).</description>
    <link>https://dev.to/jcardena</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4244880%2Fa72e5e9e-0d48-4623-bae9-51ba6e68ae8a.png</url>
      <title>DEV Community: Juan Cardena</title>
      <link>https://dev.to/jcardena</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jcardena"/>
    <language>en</language>
    <item>
      <title>AI Foundry by Contract: Delivering Governed AI on Azure</title>
      <dc:creator>Juan Cardena</dc:creator>
      <pubDate>Sat, 14 Nov 2026 18:58:47 +0000</pubDate>
      <link>https://dev.to/jcardena/ai-foundry-by-contract-delivering-governed-ai-on-azure-22im</link>
      <guid>https://dev.to/jcardena/ai-foundry-by-contract-delivering-governed-ai-on-azure-22im</guid>
      <description>&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; A model deployment takes minutes. Knowing who may call it, what it may see, what it costs and whether its answers are right takes design. &lt;a href="https://blog.jcardena.com/en/ebooks/ai-foundry-by-contract/" rel="noopener noreferrer"&gt;&lt;strong&gt;AI Foundry by Contract&lt;/strong&gt;&lt;/a&gt; is a free field guide that builds Microsoft Foundry on a governed landing zone, so every project, deployment and agent has an owner, every consumer has a limit, and supported calls leave a log. It is Book 2 of the GDCD on Azure series.&lt;/p&gt;

&lt;p&gt;Ungoverned AI adoption often begins with one deployment and one shared credential, created outside the landing zone. It works. Then the questions arrive. Who else has the key? Which data can the model see? Why did the bill triple? Is the answer correct, and can anyone prove it?&lt;/p&gt;

&lt;p&gt;This guide treats those questions as design inputs. It applies Governance-Driven Contract Design (GDCD) to AI on Azure: start from the business outcome, turn it into guarantees, and write each guarantee as a contract at the door where it can be enforced. The model proposes. The contract decides.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkhhzhfnzvpdw7w1m1p2g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fkhhzhfnzvpdw7w1m1p2g.png" alt="A lit stone archway that every visitor passes through, like an AI gateway" width="800" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is in the book
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Where Foundry lives in the landing zone.&lt;/strong&gt; Foundry resources and projects placed in the management group tree and subscriptions from Book 1, so AI inherits the same guardrails as every other workload.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Roles for AI work.&lt;/strong&gt; The Foundry roles, who gets which, and why keys give way to Microsoft Entra ID.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Models, deployments and quota.&lt;/strong&gt; Approved models through supported Azure Policy controls and deployment pipelines, deployment types and data residency, and quota as a contract, not a surprise.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Private by default for AI.&lt;/strong&gt; Private endpoints, DNS and network isolation for AI services.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Safety and evaluations.&lt;/strong&gt; Content safety as a guardrail, and evaluations as repeatable evidence of measured quality and safety before and after release.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Tracing and visibility.&lt;/strong&gt; Instrumented workloads that record calls, tool activity, latency and errors, so a reviewer can see what was called and what came back, with sensitive data protected.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Tokens are spend: the AI gateway.&lt;/strong&gt; Azure API Management as the gateway to supported model endpoints, with identity and network rules that block bypass, with token limits, token metrics and, where configured, semantic caching per consumer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Agents by contract.&lt;/strong&gt; Approved tools, identity per agent and human approval at the doors that matter.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Templates and regulatory mapping.&lt;/strong&gt; An appendix with contract templates and a map to common regulatory expectations.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why now
&lt;/h2&gt;

&lt;p&gt;AI on Azure has moved from pilots to production. Spend, data exposure and answer quality now need owners and controls. The guide treats each one as a guarantee with an owner and a control.&lt;/p&gt;

&lt;p&gt;It builds on &lt;a href="https://blog.jcardena.com/en/ebooks/governing-azure-by-contract/" rel="noopener noreferrer"&gt;Governing Azure by Contract&lt;/a&gt;, which sets up the landing zone, roles, policy and cost controls this book assumes. Read that one first if your platform is not yet governed.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it was checked
&lt;/h2&gt;

&lt;p&gt;Product names, roles, policy effects and gateway features were checked against Microsoft documentation in November 2026. The text then went through four rounds of AI-assisted review, with several AI models prompted to read as an Azure architect, a security and FinOps buyer and a technical editor. These were review tools, not an independent audit. Each factual finding they raised was checked against Microsoft documentation before a change was accepted, and findings that did not hold up were rejected.&lt;/p&gt;

&lt;h2&gt;
  
  
  Read it
&lt;/h2&gt;

&lt;p&gt;The guide is free to &lt;a href="https://blog.jcardena.com/en/ebooks/ai-foundry-by-contract/" rel="noopener noreferrer"&gt;read online or download as a PDF&lt;/a&gt;. The Foundry governance view and the Foundry model catalog live on the &lt;a href="https://hub.jcardena.com/azure/foundry-governance.html" rel="noopener noreferrer"&gt;Azure governance hub&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A useful first question for any AI workload on Azure: for every model you call today, can you name its owner, its limit and where its log is? The model proposes. The contract decides.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://blog.jcardena.com/en/ai-foundry-by-contract/?utm_source=devto&amp;amp;utm_medium=syndication&amp;amp;utm_campaign=ai-foundry-by-contract" rel="noopener noreferrer"&gt;blog.jcardena.com&lt;/a&gt;.&lt;/em&gt; I help mid-market teams take a stalled GenAI pilot to a governed production use case on Azure. &lt;a href="https://jcardena.com/book/?utm_source=devto&amp;amp;utm_medium=syndication&amp;amp;utm_campaign=ai-foundry-by-contract" rel="noopener noreferrer"&gt;Book a 60-minute Architecture Strategy Session&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>azure</category>
      <category>microsoftfoundry</category>
      <category>aigovernance</category>
      <category>gdcd</category>
    </item>
  </channel>
</rss>
