<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Microsoft Foundry on RockB</title><link>https://baeseokjae.github.io/tags/microsoft-foundry/</link><description>Recent content in Microsoft Foundry on RockB</description><image><title>RockB</title><url>https://baeseokjae.github.io/images/og-default.png</url><link>https://baeseokjae.github.io/images/og-default.png</link></image><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 13 Jun 2026 09:03:45 +0000</lastBuildDate><atom:link href="https://baeseokjae.github.io/tags/microsoft-foundry/index.xml" rel="self" type="application/rss+xml"/><item><title>Microsoft Open Trust Stack AI agent governance: ASSERT, ACS, and OpenInference for production</title><link>https://baeseokjae.github.io/posts/microsoft-foundry-open-trust-stack-guide-2026/</link><pubDate>Sat, 13 Jun 2026 09:03:45 +0000</pubDate><guid>https://baeseokjae.github.io/posts/microsoft-foundry-open-trust-stack-guide-2026/</guid><description>A production guide to Microsoft Open Trust Stack AI agent governance with ASSERT, ACS, OpenInference, and Foundry.</description><content:encoded><![CDATA[<p>Microsoft Open Trust Stack AI agent governance is Microsoft&rsquo;s 2026 pattern for making agents testable, enforceable, and observable. The practical model is simple: use ASSERT before release, ACS during runtime, and OpenInference traces across both so engineering, security, and SRE teams can inspect the same evidence.</p>
<h2 id="what-does-microsoft-mean-by-the-open-trust-stack">What does Microsoft mean by the Open Trust Stack?</h2>
<p>Microsoft Open Trust Stack AI agent governance is a production governance approach announced at Build 2026 that combines two open-source projects, ASSERT and Agent Control Specification, with OpenInference telemetry. ASSERT means Adaptive Spec-driven Scoring for Evaluation and Regression Testing, while ACS defines portable runtime controls for agent behavior. Microsoft frames the audience as the 6 to 13 million generative AI developers building agents across frameworks such as LangChain, CrewAI, LiteLLM, and OpenAI. The stack is not a single hosted product or a replacement for secure application design. It is a lifecycle: evaluate agent behavior before release, enforce policies while the agent acts, and preserve trace evidence for debugging, audits, and regression analysis. The important takeaway is that governance becomes an engineering system, not a policy document.</p>
<h3 id="why-is-the-stack-useful-for-production-teams">Why is the stack useful for production teams?</h3>
<p>The stack is useful because it separates three jobs that teams often blur together: evaluation, control, and observability. ASSERT scores whether an agent should ship. ACS decides whether a live action should proceed. OpenInference records what happened in a format that tools can read later. That split makes failures easier to diagnose.</p>
<h3 id="what-is-the-core-workflow">What is the core workflow?</h3>
<p>The core workflow is evaluate, enforce, trace, and repeat. A team instruments agent runs with OpenInference, runs ASSERT against risky workflows, applies ACS controls at runtime, then uses production traces to update tests and policies. That feedback loop is what turns isolated guardrails into a governance program.</p>
<h2 id="why-does-agent-autonomy-outrun-prompt-level-safety">Why does agent autonomy outrun prompt-level safety?</h2>
<p>Agent autonomy outruns prompt-level safety because agents do not only generate text; they read state, call tools, use credentials, modify systems, and chain decisions over multiple steps. Microsoft updated its agentic AI failure taxonomy in June 2026 after 12 months of red team engagements against deployed agentic systems, adding seven new failure mode categories. The same update cited 99 CVEs in MCP-related software during 2025 and noted that tool poisoning had moved from theory into live attack surface. A prompt instruction like &ldquo;never delete production data&rdquo; is advisory when the model is one component inside a tool-using runtime. Production safety needs deterministic checks around the model, especially before external tool calls, state changes, and irreversible actions. The takeaway is that prompt safety can help, but it cannot be the enforcement boundary.</p>
<h3 id="where-do-prompt-only-controls-fail">Where do prompt-only controls fail?</h3>
<p>Prompt-only controls fail when the dangerous decision is outside the final answer. For example, an agent may summarize a request safely while still passing tainted arguments into a ticketing, email, database, or deployment tool. The output looks benign, but the side effect is already committed.</p>
<h3 id="what-changes-when-agents-get-tools">What changes when agents get tools?</h3>
<p>Tools turn model mistakes into system actions. A wrong classification can become a refund, a leaked record, or a merged pull request. That is why agent governance should inspect tool name, arguments, identity, environment, approval state, and resulting trace, not just the model&rsquo;s natural language response.</p>
<h2 id="how-does-assert-handle-policy-driven-evaluation-before-release">How does ASSERT handle policy-driven evaluation before release?</h2>
<p>ASSERT is Microsoft&rsquo;s policy-driven evaluation framework for testing agent behavior before release and catching regressions after changes. Microsoft describes ASSERT as framework-compatible across LangChain, CrewAI, LiteLLM, OpenAI, and other agent stacks, which matters because most enterprises already have mixed experimentation environments. In practice, ASSERT should be treated like a test harness for governance requirements: define expected behavior, score traces and outcomes, compare versions, and block releases when a policy regression appears. A useful ASSERT suite does not only ask whether the final answer was accurate. It checks whether the agent refused unsafe instructions, preserved tenant boundaries, used the right tool, requested human approval, and left enough trace data for investigation. The takeaway is that ASSERT moves safety review into CI/CD instead of leaving it as a manual launch checklist.</p>
<h3 id="what-should-teams-evaluate-with-assert">What should teams evaluate with ASSERT?</h3>
<p>Teams should evaluate the workflows where autonomy creates business or security risk. Start with account changes, payment actions, production operations, privileged data access, external messages, and code execution. For each workflow, define acceptable tool usage, refusal behavior, approval requirements, and expected trace fields.</p>
<h3 id="how-should-assert-fit-into-cicd">How should ASSERT fit into CI/CD?</h3>
<p>ASSERT should run as a release gate for high-risk agent changes and as a scheduled regression suite for production prompts, tools, and policies. A failing score should identify the scenario, policy, trace, and version that changed. Treat the result like a test failure, not an opinion from a separate review board.</p>
<h2 id="how-does-acs-enforce-runtime-controls-at-the-five-agent-checkpoints">How does ACS enforce runtime controls at the five agent checkpoints?</h2>
<p>Agent Control Specification, or ACS, is a portable runtime control standard for enforcing policies while an agent is operating. Microsoft defines five validation checkpoints in the agent lifecycle: input, LLM, state, tool execution, and output. That placement is the important engineering detail. ACS is not another instruction added to the system prompt; it is an external control layer that can inspect and block behavior before the model sees sensitive input, before state is updated, before a tool runs, or before output leaves the system. In production, I would use ACS-style controls for actions that need deterministic approval: deleting records, sending customer communications, reading regulated data, changing infrastructure, or invoking expensive workflows. The takeaway is that ACS gives teams a runtime enforcement plane around agent autonomy.</p>
<h3 id="which-checkpoint-matters-most">Which checkpoint matters most?</h3>
<p>Tool execution is usually the most important checkpoint because it is where intent becomes side effect. Input and output controls reduce exposure, but tool controls prevent expensive or irreversible actions. For privileged tools, validate identity, scope, arguments, environment, approval state, and rate limits before execution.</p>
<h3 id="what-should-acs-policies-look-like">What should ACS policies look like?</h3>
<p>ACS policies should be small, explicit, and easy to audit. A good policy says which action is controlled, which condition triggers a deny or approval, which identity can approve it, and which trace fields must be emitted. YAML policy files from Microsoft&rsquo;s Agent Governance Toolkit are a practical starting pattern.</p>
<h2 id="why-is-openinference-the-trace-contract-connecting-evals-controls-and-observability">Why is OpenInference the trace contract connecting evals, controls, and observability?</h2>
<p>OpenInference is the telemetry contract that lets ASSERT, ACS, and production observability tools speak about the same agent run. The OpenInference specification defines an attribute schema and span-kind taxonomy on top of OpenTelemetry, and every OpenInference trace is a valid OTLP trace. That means a single trace can describe user input, model calls, retrieved context, tool invocations, control decisions, outputs, token usage, and errors without locking the team into one vendor dashboard. This is the part of the stack I would implement first, because you cannot evaluate or enforce what you cannot see. When ASSERT consumes trace spans, ACS emits policy-decision spans, and Phoenix or Arize AX reads the same traces, governance evidence becomes portable. The takeaway is that OpenInference turns agent behavior into inspectable operational data.</p>
<h3 id="what-should-an-agent-trace-include">What should an agent trace include?</h3>
<p>An agent trace should include the request, model call, selected tools, tool arguments, control decisions, retrieved context, state changes, final output, latency, token use, errors, and version metadata. Sensitive values should be redacted or hashed, but the structure must remain useful for debugging.</p>
<h3 id="why-not-use-normal-application-logs">Why not use normal application logs?</h3>
<p>Normal logs are useful, but they rarely capture agent semantics consistently. Agent governance needs spans that distinguish LLM calls from retriever calls, tool calls, approvals, policy denials, and output filtering. OpenInference gives those events a shared shape while still riding on OpenTelemetry infrastructure.</p>
<h2 id="how-does-this-fit-with-microsoft-foundry-agent-service">How does this fit with Microsoft Foundry Agent Service?</h2>
<p>Microsoft Foundry Agent Service is Microsoft&rsquo;s managed platform for building, deploying, scaling, evaluating, and monitoring agents, and it provides a practical hosting layer for Open Trust Stack patterns. The service includes end-to-end tracing, metrics, Application Insights integration, Microsoft Entra identity, RBAC, content filters, virtual network isolation, built-in tools, MCP support, and publishing paths. Those platform controls do not remove the need for ASSERT, ACS, or OpenInference; they give enterprise teams a place to attach them. In a Microsoft-heavy environment, Foundry can handle identity, deployment, network boundaries, and operational telemetry while the open stack handles portable evaluation, runtime policies, and trace semantics across services. The takeaway is that Foundry is the managed runtime option, while the Open Trust Stack is the governance architecture.</p>
<h3 id="when-should-teams-use-foundry-agent-service">When should teams use Foundry Agent Service?</h3>
<p>Teams should use Foundry Agent Service when they need enterprise identity, deployment management, Azure observability, private networking, and governed access to built-in tools. It is especially useful when agents must integrate with Microsoft Entra, Azure AI, Application Insights, and existing security operations.</p>
<h3 id="when-should-teams-stay-framework-neutral">When should teams stay framework-neutral?</h3>
<p>Teams should stay framework-neutral when they have agents spread across Python services, LangChain, CrewAI, internal orchestration, multiple clouds, or third-party platforms. In that case, OpenInference and portable ACS-style policy enforcement prevent governance from becoming tied to one runtime.</p>
<h2 id="what-is-a-reference-architecture-for-production-agent-governance">What is a reference architecture for production agent governance?</h2>
<p>A reference architecture for production agent governance has four layers: an instrumented agent runtime, a policy enforcement plane, an evaluation pipeline, and an observability and incident response layer. In a Microsoft-oriented stack, the runtime might be Foundry Agent Service with Entra identity, RBAC, content filters, and network isolation. The policy plane applies ACS controls at input, LLM, state, tool execution, and output checkpoints. The evaluation pipeline runs ASSERT suites against OpenInference traces before release and during regression testing. The observability layer exports OpenInference-compatible spans into Application Insights, Phoenix, Arize AX, or another OpenTelemetry backend. This architecture works because every layer has a clear job and shared evidence. The takeaway is that production governance should look like normal platform engineering, with policies and traces as first-class artifacts.</p>
<table>
  <thead>
      <tr>
          <th>Layer</th>
          <th>Primary job</th>
          <th>Example controls</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Runtime</td>
          <td>Execute the agent safely</td>
          <td>Identity, RBAC, sandboxing, network isolation</td>
      </tr>
      <tr>
          <td>ACS policy plane</td>
          <td>Enforce live decisions</td>
          <td>Deny, approve, redact, rate limit</td>
      </tr>
      <tr>
          <td>ASSERT pipeline</td>
          <td>Test behavior before release</td>
          <td>Regression suites, policy scores, red-team scenarios</td>
      </tr>
      <tr>
          <td>Observability</td>
          <td>Investigate and improve</td>
          <td>OpenInference spans, metrics, incident timelines</td>
      </tr>
  </tbody>
</table>
<h3 id="where-should-human-approval-sit">Where should human approval sit?</h3>
<p>Human approval should sit inside the runtime control path, not in a separate chat thread. For high-risk tool calls, the agent should pause with structured context: action, arguments, identity, policy reason, trace link, and expected impact. The approval or denial should be recorded as a trace event.</p>
<h3 id="how-should-teams-handle-identity">How should teams handle identity?</h3>
<p>Teams should give agents scoped identities with least privilege, not shared service accounts with broad access. The runtime should know which user, agent, tool, tenant, and environment are involved. ACS policies can then make decisions based on identity and context instead of static allowlists.</p>
<h2 id="how-should-teams-implement-the-stack-in-phases">How should teams implement the stack in phases?</h2>
<p>Teams should implement Microsoft Open Trust Stack AI agent governance in phases: instrument first, evaluate second, enforce third, and monitor continuously. A common mistake is starting with a large policy catalog before the team has traces that show how agents actually behave. Start by emitting OpenInference spans for representative workflows and use those traces to identify risky tools, missing metadata, and ambiguous state changes. Next, build ASSERT suites for workflows that touch money, credentials, customer data, production systems, or external communication. Then add ACS policies around irreversible actions and approval-required operations. Finally, feed production incidents, denials, and near misses back into the ASSERT regression suite. The takeaway is that incremental rollout produces better controls than a one-time governance rewrite.</p>
<table>
  <thead>
      <tr>
          <th>Phase</th>
          <th>Goal</th>
          <th>Exit criteria</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>1. Instrument</td>
          <td>See agent behavior</td>
          <td>OpenInference traces cover model and tool spans</td>
      </tr>
      <tr>
          <td>2. Evaluate</td>
          <td>Catch risky regressions</td>
          <td>ASSERT blocks known unsafe workflows</td>
      </tr>
      <tr>
          <td>3. Enforce</td>
          <td>Stop unsafe live actions</td>
          <td>ACS policies protect high-risk checkpoints</td>
      </tr>
      <tr>
          <td>4. Monitor</td>
          <td>Improve from evidence</td>
          <td>Incidents generate new tests and policies</td>
      </tr>
  </tbody>
</table>
<h3 id="what-should-the-first-sprint-deliver">What should the first sprint deliver?</h3>
<p>The first sprint should deliver trace coverage for one production-like workflow and one risky tool. Capture model spans, tool spans, arguments, policy placeholders, errors, and version metadata. Do not try to govern every agent. Prove that a real run can be inspected end to end.</p>
<h3 id="what-should-wait-until-later">What should wait until later?</h3>
<p>Broad policy catalogs, automated remediation, and organization-wide dashboards should wait until teams understand their trace quality and failure modes. Early governance work should focus on evidence and enforcement for a few important actions. Scale the pattern after engineers trust the signal.</p>
<h2 id="which-policies-and-metrics-should-engineering-teams-track">Which policies and metrics should engineering teams track?</h2>
<p>Engineering teams should track policies and metrics that reveal whether agents are safe to operate, not just whether they answer correctly. The Microsoft Agent Governance Toolkit public preview targets Python 3.10+ and shows YAML policy patterns for controlling tool calls, which is a useful model for readable enforcement. Start with policies for irreversible tools, privileged data access, external communication, production infrastructure, tenant boundaries, and human approval. Then measure policy denials, approval latency, unsafe regression rate, trace completeness, tool error rate, retry loops, token cost, and incident recurrence. A dashboard with 30 charts is less useful than five metrics tied to release gates and on-call action. The takeaway is that governance metrics should connect directly to blocked risk and operational response.</p>
<table>
  <thead>
      <tr>
          <th>Control area</th>
          <th>Example policy</th>
          <th>Metric to watch</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Tool execution</td>
          <td>Require approval for delete, refund, deploy</td>
          <td>Approval rate and denial reason</td>
      </tr>
      <tr>
          <td>Data access</td>
          <td>Block cross-tenant retrieval</td>
          <td>Tenant-boundary violations</td>
      </tr>
      <tr>
          <td>Output</td>
          <td>Redact secrets and regulated identifiers</td>
          <td>Redaction count and leak reports</td>
      </tr>
      <tr>
          <td>State</td>
          <td>Prevent unsafe memory writes</td>
          <td>State mutation failures</td>
      </tr>
      <tr>
          <td>Cost</td>
          <td>Cap loops and expensive tools</td>
          <td>Tokens, retries, timeout rate</td>
      </tr>
  </tbody>
</table>
<h3 id="what-does-a-good-deny-policy-do">What does a good deny policy do?</h3>
<p>A good deny policy blocks a specific unsafe action and records enough context to fix the cause. For example, deny production database writes from a non-production agent identity, include the agent version and requested SQL operation, and emit a trace event that SRE can query.</p>
<h3 id="what-does-a-good-approval-policy-do">What does a good approval policy do?</h3>
<p>A good approval policy pauses only when judgment is needed. It should avoid asking humans to rubber-stamp every action. Require approval for high-impact operations, provide structured context, set an expiration, record the approver, and feed approval outcomes back into evaluation data.</p>
<h2 id="what-are-the-limitations-and-preview-risks">What are the limitations and preview risks?</h2>
<p>The limitations of the Microsoft Open Trust Stack are the same limitations that show up in most young governance systems: preview maturity, uneven framework integration, policy drift, trace quality, and organizational adoption. Microsoft&rsquo;s Agent Governance Toolkit is described as public preview, so teams should expect API changes, missing adapters, and rough edges around local deployment. ACS also depends on runtimes actually honoring the checkpoints where controls are attached. OpenInference solves the trace schema problem, but it does not automatically guarantee complete, redacted, or accurate spans. ASSERT can catch regressions only for scenarios the team has written or generated. In regulated environments, third-party observability tools may also require data residency, retention, and access reviews. The takeaway is that the stack is promising, but it still needs disciplined platform ownership.</p>
<h3 id="when-should-teams-use-third-party-observability">When should teams use third-party observability?</h3>
<p>Teams should use third-party observability when they need richer trace analysis, prompt and retrieval inspection, evaluation workflows, or cross-framework visibility beyond the default cloud dashboard. Phoenix and Arize AX are relevant examples because they already work around OpenInference traces and agent debugging workflows.</p>
<h3 id="what-should-security-review-before-rollout">What should security review before rollout?</h3>
<p>Security should review identity boundaries, trace redaction, policy bypass paths, approval records, tool permissions, MCP server exposure, and retention settings. The review should focus on whether a compromised or confused agent can act outside its intended scope, not only whether model outputs look safe.</p>
<h2 id="what-are-the-final-recommendations-for-engineering-and-security-teams">What are the final recommendations for engineering and security teams?</h2>
<p>The final recommendation is to treat Microsoft Open Trust Stack AI agent governance as a control loop for production software: trace every meaningful step, test risky behavior before release, enforce deterministic runtime policies, and use incidents to improve the next evaluation suite. For a team shipping agents in 2026, the minimum viable governance stack should include OpenInference instrumentation, ASSERT-style regression tests for high-risk workflows, ACS-style controls around tool execution, scoped identities, human approval for irreversible actions, and an observability backend that on-call engineers can query. Do not wait for a perfect standard or vendor platform before adding these pieces. Start with the workflows where a wrong action costs money, leaks data, or changes production state. The takeaway is that agent governance works when it becomes part of the delivery pipeline and runtime, not a document reviewed after launch.</p>
<h3 id="what-should-engineering-own">What should engineering own?</h3>
<p>Engineering should own instrumentation, test suites, runtime integration, policy implementation, and operational dashboards. These are software delivery responsibilities. Security can define risk requirements, but engineers must make policies executable, traces reliable, and failures visible during normal development and incident response.</p>
<h3 id="what-should-security-own">What should security own?</h3>
<p>Security should own risk classification, approval requirements, red-team scenarios, exception review, and audit expectations. The best operating model is shared: security defines what must be controlled, and engineering turns those requirements into ASSERT tests, ACS policies, and OpenInference evidence.</p>
<h2 id="what-questions-do-teams-ask-about-microsoft-open-trust-stack-ai-agent-governance">What questions do teams ask about Microsoft Open Trust Stack AI agent governance?</h2>
<p>Microsoft Open Trust Stack AI agent governance raises practical questions because it sits across application engineering, security architecture, platform operations, and AI observability. The most common confusion is whether ASSERT, ACS, and OpenInference are competing tools. They are not. ASSERT evaluates behavior before release, ACS enforces controls at runtime, and OpenInference provides the trace data that both systems and observability tools can consume. Another common question is whether this stack is only for Microsoft Foundry. It is not; Microsoft positions ASSERT and ACS as open projects and OpenInference is based on OpenTelemetry-compatible traces. The right implementation depends on risk, runtime maturity, and existing cloud commitments. The takeaway is that teams should adopt the pattern according to their agent risk profile, not by copying a reference diagram blindly.</p>
<h3 id="is-assert-a-replacement-for-red-teaming">Is ASSERT a replacement for red teaming?</h3>
<p>ASSERT is not a replacement for red teaming. It is where red-team findings should become repeatable regression tests. Human red teaming discovers new failure modes, while ASSERT helps ensure known failures do not return after model, prompt, tool, or policy changes.</p>
<h3 id="is-acs-the-same-as-prompt-guardrails">Is ACS the same as prompt guardrails?</h3>
<p>ACS is not the same as prompt guardrails. Prompt guardrails influence the model, while ACS-style controls sit around the runtime and can block input, state changes, tool execution, or output. That distinction matters when an agent has credentials and can affect external systems.</p>
<h3 id="do-i-need-microsoft-foundry-to-use-the-open-trust-stack">Do I need Microsoft Foundry to use the Open Trust Stack?</h3>
<p>You do not need Microsoft Foundry to use the full pattern. Foundry can provide a managed Azure runtime with identity and observability integrations, but ASSERT, ACS concepts, and OpenInference traces are most valuable when they remain portable across frameworks and deployment environments.</p>
<h3 id="what-should-be-governed-first">What should be governed first?</h3>
<p>Govern irreversible or externally visible actions first. Good candidates include refunds, customer emails, production deployments, database writes, privileged data retrieval, account changes, and code execution. These workflows create clear business risk and make the value of runtime controls easy to prove.</p>
<h3 id="how-do-teams-know-governance-is-working">How do teams know governance is working?</h3>
<p>Governance is working when risky regressions are blocked before release, unsafe runtime actions are denied or routed to approval, traces explain incidents quickly, and production findings produce new tests. If the only output is a dashboard nobody uses, the governance system is not mature.</p>
]]></content:encoded></item><item><title>Microsoft Foundry Agent Service Build 2026 Guide: Hosted Agents, Memory, Toolboxes, Evaluations, and Governance</title><link>https://baeseokjae.github.io/posts/microsoft-foundry-agent-service-build-2026-guide/</link><pubDate>Sat, 13 Jun 2026 07:04:28 +0000</pubDate><guid>https://baeseokjae.github.io/posts/microsoft-foundry-agent-service-build-2026-guide/</guid><description>A developer guide to Microsoft Foundry Agent Service Build 2026 hosted agents, memory, tools, evaluation, and governance.</description><content:encoded><![CDATA[<p>Microsoft Foundry Agent Service Build 2026 is Microsoft&rsquo;s production platform for running AI agents with managed hosting, memory, tool access, evaluations, and governance. The practical shift is that teams can keep their preferred agent framework while moving runtime, identity, observability, and policy controls into a managed Azure control plane.</p>
<h2 id="what-did-microsoft-announce-for-foundry-agent-service-at-build-2026">What Did Microsoft Announce for Foundry Agent Service at Build 2026?</h2>
<p>Microsoft Foundry Agent Service Build 2026 is a set of production agent capabilities around hosted runtimes, Toolboxes, managed Memory, Foundry IQ, evaluations, and governance controls. Microsoft positioned the service as the operating layer for enterprise agents, while Gartner predicts 40% of enterprise applications will include task-specific AI agents by the end of 2026, up from less than 5% in 2025. The important developer news is not a single model endpoint. It is the packaging of agent execution, identity, lifecycle management, tool calling, long-term context, tracing, evaluation, and compliance into one managed service. Hosted agents let teams bring code from Microsoft Agent Framework, LangGraph, OpenAI Agents SDK, Anthropic Agent SDK, GitHub Copilot SDK, or custom runtimes. Toolboxes and Memory move common platform concerns out of each application. The takeaway: Build 2026 made Foundry Agent Service look less like a demo builder and more like infrastructure for operating agents repeatedly.</p>
<p>Microsoft also put clear preview boundaries around the stack. Foundry IQ knowledge bases are positioned as generally available in the research brief, while hosted agents, Memory, Routines, Toolboxes, ASSERT, and Agent Control Specification are preview or emerging capabilities. That matters because architecture decisions should separate what can anchor a production system today from what needs feature flags, fallback paths, or limited rollout.</p>
<h2 id="why-is-foundry-becoming-an-agent-control-plane">Why Is Foundry Becoming an Agent Control Plane?</h2>
<p>Foundry Agent Service is becoming an agent control plane because it manages the shared operational layers around agents rather than forcing developers into one framework. Microsoft says hosted agents can use Microsoft Agent Framework, LangGraph, OpenAI Agents SDK, Anthropic Agent SDK, GitHub Copilot SDK, or custom code, which is a strong signal that the runtime boundary is more important than the authoring library. In practice, an agent control plane owns endpoint exposure, Microsoft Entra identity, scaling, session persistence, observability, lifecycle operations, tool access, memory, and evaluation workflows. That is where enterprise agent projects usually fail after the first impressive prototype: duplicated authentication code, inconsistent audit logs, untracked prompts, and tool calls that nobody can explain during an incident. Foundry&rsquo;s bet is that developers will keep experimenting in code, but platform teams will centralize the surrounding runtime and governance. The takeaway: treat Foundry as the operational shell around agent systems, not merely as another SDK.</p>
<p>This framing also helps with internal platform conversations. If every team deploys a separate agent stack on its own Kubernetes namespace, you get freedom but also fragmented secrets, telemetry, and policy enforcement. Foundry tries to make the agent runtime a repeatable platform concern, similar to how API gateways standardized service exposure.</p>
<h2 id="should-you-use-prompt-agents-or-hosted-agents">Should You Use Prompt Agents or Hosted Agents?</h2>
<p>Prompt agents are Foundry-managed agents where configuration, instructions, tools, and model settings live inside the service, while hosted agents are containerized applications that bring custom code and run behind a managed Foundry endpoint. Microsoft documents both operating models, and hosted agents are the Build 2026 feature most relevant to engineering teams with existing LangGraph, OpenAI Agents SDK, Anthropic Agent SDK, GitHub Copilot SDK, or custom orchestration code. Choose prompt agents when the workflow is mostly instruction-driven, the tool surface is narrow, and you want the fastest path to a managed agent. Choose hosted agents when you need custom routing, state machines, framework-specific behavior, proprietary middleware, or deeper integration with your existing platform code. The decision is less about sophistication and more about ownership boundaries: prompt agents optimize for managed simplicity, while hosted agents preserve application control. The takeaway: use prompt agents for straightforward managed workflows and hosted agents when code ownership is part of the product.</p>
<table>
  <thead>
      <tr>
          <th>Runtime choice</th>
          <th>Best fit</th>
          <th>Main tradeoff</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Prompt agent</td>
          <td>Simple internal assistants, retrieval workflows, constrained tool use</td>
          <td>Less control over custom orchestration code</td>
      </tr>
      <tr>
          <td>Hosted agent</td>
          <td>Framework-based agents, multi-step business workflows, custom middleware</td>
          <td>More packaging, testing, and container cost responsibility</td>
      </tr>
      <tr>
          <td>Custom Kubernetes</td>
          <td>Teams needing full infrastructure control or unsupported runtime patterns</td>
          <td>You own identity, scaling, logs, governance, and lifecycle glue</td>
      </tr>
  </tbody>
</table>
<h3 id="when-are-prompt-agents-enough">When Are Prompt Agents Enough?</h3>
<p>Prompt agents are enough when the agent&rsquo;s behavior can be expressed through instructions, model configuration, built-in tools, and well-scoped enterprise grounding. A support triage assistant that searches a knowledge base, summarizes a case, and drafts a response is a good fit. You still need evaluations and access controls, but you probably do not need a custom container.</p>
<h3 id="when-do-hosted-agents-become-necessary">When Do Hosted Agents Become Necessary?</h3>
<p>Hosted agents become necessary when the agent is real application code. If your workflow has custom retries, graph transitions, approval gates, domain libraries, or framework-specific callbacks, keep that code and package it. The cost is operational discipline: versioned images, dependency scanning, rollback strategy, and trace review.</p>
<h2 id="how-do-hosted-agents-work-in-foundry-agent-service">How Do Hosted Agents Work in Foundry Agent Service?</h2>
<p>Hosted agents work by running your agent as a containerized application that Foundry exposes and manages as an agent endpoint. Microsoft documentation describes the flow: teams push an image to Azure Container Registry, then Foundry provisions compute, assigns a dedicated Microsoft Entra ID, exposes an endpoint, and handles scaling, session persistence, observability, and lifecycle management. That model is familiar to developers who already ship services, but the managed endpoint is agent-aware rather than just a generic container deployment. The container keeps your orchestration code, dependencies, and framework runtime. Foundry supplies the surrounding platform concerns: identity, hosted execution, observability hooks, session continuity, and lifecycle operations. This is useful when a prototype already works locally or in a bespoke service, but production requires central governance and repeatable deployment. The takeaway: hosted agents let you bring code while moving operational control into Foundry.</p>
<p>The clean implementation pattern is to treat the hosted agent image like any other production service artifact. Pin dependencies, keep environment configuration outside the image, scan the container, and test the endpoint contract separately from the internal agent graph. Foundry reduces the hosting burden, but it does not remove basic release engineering.</p>
<h2 id="what-are-toolboxes-in-microsoft-foundry">What Are Toolboxes in Microsoft Foundry?</h2>
<p>Toolboxes in Microsoft Foundry are reusable collections of tools that agents can call through centrally managed definitions, authentication, and policy controls. At Build 2026, Toolboxes matter because most useful enterprise agents need actions: reading tickets, creating pull requests, querying databases, sending messages, or calling Model Context Protocol endpoints. Without a shared tool layer, every agent team ends up rebuilding connector code, secret handling, retries, and audit behavior. A Toolbox gives the platform team a place to expose approved capabilities once and let multiple agents consume them consistently. For example, a service-management Toolbox might include Jira search, incident creation, PagerDuty escalation, and a read-only CMDB lookup, each with its own permission boundary. The design goal is not just developer convenience; it is reducing hidden tool access and making action surfaces reviewable. The takeaway: Toolboxes turn agent actions into managed platform assets.</p>
<p>For developers, the main discipline is designing tools with narrow contracts. Do not expose a broad &ldquo;run SQL&rdquo; function when the agent only needs &ldquo;find open invoices for account ID.&rdquo; Smaller tools are easier to authorize, evaluate, log, and revoke. Tool design becomes API design with a probabilistic caller in the loop.</p>
<h2 id="how-does-memory-work-in-agent-service">How Does Memory Work in Agent Service?</h2>
<p>Memory in Foundry Agent Service is a managed long-term memory layer that extracts, stores, consolidates, retrieves, edits, and deletes useful user or task context across agent interactions. Microsoft describes Memory as supporting extraction, consolidation, retrieval, item-level CRUD, store-level retention defaults, and direct remember or forget commands. That is different from simply passing the last chat messages into a model. Long-term memory can preserve preferences, project facts, constraints, and previous decisions so an agent does not repeatedly ask the same questions. It also introduces a serious data-governance surface. A bad memory item can steer future work incorrectly, and sensitive information can persist longer than intended if retention and deletion rules are weak. The engineering work is to define what should be remembered, who can inspect it, when it expires, and how users can correct it. The takeaway: Memory improves continuity, but only if retention, review, and deletion are designed from day one.</p>
<p>I would start with explicit memory categories rather than letting everything become persistent context. For example, allow project preferences, approved terminology, and stable account metadata; reject temporary secrets, raw documents, and speculative conclusions. Add tests that confirm the agent forgets what policy says it must forget.</p>
<h2 id="how-are-foundry-iq-work-iq-and-memory-different">How Are Foundry IQ, Work IQ, and Memory Different?</h2>
<p>Foundry IQ, Work IQ, and Memory refer to different context systems: Foundry IQ grounds agents in curated enterprise knowledge, Work IQ connects Microsoft 365 work context, and Memory stores durable agent-specific or user-specific context. The Build 2026 confusion is understandable because all three make agents &ldquo;know more,&rdquo; but they solve separate problems. Foundry IQ knowledge bases are useful when the agent needs authoritative documents, policies, product information, or domain content. Work IQ is useful when the relevant context lives in Microsoft 365 signals such as meetings, files, messages, or organizational work patterns. Memory is useful when the agent must preserve preferences or facts learned through prior interactions. Mixing them carelessly creates stale answers and compliance risk. A policy document belongs in grounded knowledge, not personal memory. A user&rsquo;s preferred report format may belong in memory. The takeaway: use grounding for authoritative knowledge and memory for durable interaction context.</p>
<table>
  <thead>
      <tr>
          <th>Context layer</th>
          <th>Stores</th>
          <th>Typical question</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Foundry IQ</td>
          <td>Curated enterprise knowledge bases</td>
          <td>&ldquo;What does the current support policy say?&rdquo;</td>
      </tr>
      <tr>
          <td>Work IQ</td>
          <td>Microsoft 365 work context</td>
          <td>&ldquo;What did this team decide in recent project meetings?&rdquo;</td>
      </tr>
      <tr>
          <td>Memory</td>
          <td>Durable user or agent context</td>
          <td>&ldquo;What format does this user prefer for weekly summaries?&rdquo;</td>
      </tr>
  </tbody>
</table>
<p>The separation also improves evaluation. Retrieval failures, memory corruption, and work-context permission mistakes have different causes and fixes. If the context source is clear in traces, the platform team can debug the system instead of arguing about whether &ldquo;the model made it up.&rdquo;</p>
<h2 id="when-should-agents-use-routines-and-scheduled-execution">When Should Agents Use Routines and Scheduled Execution?</h2>
<p>Routines and scheduled execution are Foundry capabilities for running agent workflows without waiting for a user to start a chat session. They matter because many useful agents are operational: checking aging support tickets every morning, reviewing new pull requests hourly, summarizing overnight incidents, or escalating compliance exceptions before a deadline. A chat prompt is a poor trigger for these workflows because the business value depends on time, events, or recurring checks. With scheduled execution, an agent can run against approved tools, produce an auditable result, and route output to the right destination. The risk is that unattended agents can create noise or take repeated actions if guardrails are loose. A scheduled agent needs stricter limits than an interactive assistant: idempotency, rate limits, dry-run modes, human approval for destructive actions, and clear ownership. The takeaway: use Routines for recurring operational work, but design them like production jobs with agent behavior inside.</p>
<p>A good first Routine is read-only. Let the agent collect facts, identify exceptions, and draft recommendations. After traces and evaluations prove the workflow is stable, add controlled write actions such as creating tickets or sending notifications. This staged rollout catches prompt drift before it becomes operational damage.</p>
<h2 id="how-do-evaluations-and-tracing-catch-agent-regressions">How Do Evaluations and Tracing Catch Agent Regressions?</h2>
<p>Evaluations and tracing catch agent regressions by recording how an agent reasoned through a task, which tools it called, what context it retrieved, and whether the final output met quality and safety expectations. Microsoft says the agent development lifecycle includes tracing, repeatable quality and safety evaluations, hosted-agent optimization, publishing, monitoring, and iteration. That lifecycle is the difference between a demo and a service you can change safely. Agent behavior can regress when a model changes, a prompt is edited, a tool schema evolves, a knowledge base is refreshed, or a memory item is added. Without traces, developers only see the final wrong answer. With traces, they can inspect retrieval, tool inputs, latency, errors, and policy decisions. With evaluations, they can run repeatable scenarios before release. The takeaway: evaluations are the CI suite for agent behavior, and tracing is the debugger you need when the suite fails.</p>
<p>For a production Foundry agent, keep evaluation sets small but representative at first. Include happy-path tasks, permission-denied cases, stale data cases, prompt-injection attempts, and tool-failure scenarios. The goal is not academic scoring. The goal is knowing whether the next deployment made the agent worse.</p>
<h2 id="what-governance-did-microsoft-highlight-at-build-2026">What Governance Did Microsoft Highlight at Build 2026?</h2>
<p>Microsoft highlighted governance through ASSERT, Agent Control Specification, RBAC, identity boundaries, observability, and policy-driven evaluation for agents. The Build 2026 research brief notes that ASSERT is an open-source policy-driven evaluation framework and Agent Control Specification is a portable runtime control standard. This focus is timely: IBM&rsquo;s 2026 survey of 2,000 CIOs and CTOs found that 77% say current governance frameworks are inadequate and only 11% feel fully prepared for large-scale AI deployment. Agent governance is harder than chatbot governance because agents can call tools, remember context, act on schedules, and interact with other systems. The minimum governance baseline is least-privilege identity, explicit tool permissions, trace retention, memory deletion, evaluation gates, human approval for risky actions, and clear compliance boundaries for third-party models or services. The takeaway: agent governance must control actions and state, not just model prompts.</p>
<p>Microsoft documentation also warns that when hosted agents interact with third-party models, servers, or agents, customers remain responsible for understanding data retention, location, and compliance boundary implications. That warning should appear in your architecture review. A managed runtime does not automatically make every downstream processor compliant.</p>
<h2 id="how-should-you-think-about-pricing-and-hosted-agent-cost">How Should You Think About Pricing and Hosted Agent Cost?</h2>
<p>Hosted agent cost in Foundry Agent Service includes more than model tokens because hosted agents also consume container compute, grounding resources, tool execution, evaluation runs, observability storage, and operational support. Microsoft pricing details say hosted agents are billed based on underlying container compute consumed per hour. That means an inefficient hosted agent can cost money while idle or waiting, even before counting token usage. Add Code Interpreter sessions, data retrieval, vector storage, logs, traces, evaluation workloads, and network calls, and the bill starts looking like a service bill rather than a chatbot bill. This matters during architecture review because teams often estimate only prompt and completion tokens. For agents, latency, retry behavior, long-running workflows, scheduled jobs, and tool fan-out can dominate cost. The takeaway: model spend is one line item; production agent cost is a runtime, data, evaluation, and operations model.</p>
<p>Build a cost model before rollout. Estimate daily invocations, average runtime duration, tool calls per task, grounding queries, trace volume, evaluation frequency, and expected retries. Then add a failure budget: agents that hit tool errors repeatedly can burn compute and tokens while producing no user value.</p>
<h2 id="what-reference-architecture-works-for-a-production-foundry-agent">What Reference Architecture Works for a Production Foundry Agent?</h2>
<p>A production Foundry agent architecture is a containerized hosted agent behind Foundry Agent Service, connected to approved Toolboxes, grounded through Foundry IQ, supported by managed Memory, evaluated through repeatable test suites, and governed with Entra identity plus policy controls. A concrete example is an enterprise support agent that triages cases, reads product policy from Foundry IQ, remembers each customer&rsquo;s support preferences, calls a service-management Toolbox, and creates escalation drafts for human approval. The hosted agent contains the orchestration code, such as a LangGraph workflow or Microsoft Agent Framework implementation. Foundry supplies endpoint management, identity, scaling, session persistence, observability, and lifecycle controls. Evaluations test the agent against known cases before deployment, and traces capture production behavior for review. This architecture keeps business logic in code while standardizing the runtime and control layers. The takeaway: separate orchestration, tools, knowledge, memory, evaluation, and governance into explicit layers.</p>
<table>
  <thead>
      <tr>
          <th>Layer</th>
          <th>Recommended responsibility</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Hosted agent container</td>
          <td>Orchestration, framework code, domain workflow</td>
      </tr>
      <tr>
          <td>Toolboxes</td>
          <td>Approved actions and reusable connectors</td>
      </tr>
      <tr>
          <td>Foundry IQ</td>
          <td>Authoritative knowledge grounding</td>
      </tr>
      <tr>
          <td>Memory</td>
          <td>Durable user or task context</td>
      </tr>
      <tr>
          <td>Evaluations</td>
          <td>Repeatable behavioral and safety checks</td>
      </tr>
      <tr>
          <td>Governance</td>
          <td>Identity, RBAC, policy, audit, compliance review</td>
      </tr>
  </tbody>
</table>
<p>This layered design makes incidents easier to debug. If the agent created the wrong ticket, you can inspect whether the issue came from orchestration, a tool schema, retrieved knowledge, memory, or a policy miss.</p>
<h2 id="what-migration-and-preview-caveats-should-teams-know">What Migration and Preview Caveats Should Teams Know?</h2>
<p>Migration to Foundry Agent Service should start by identifying which parts of an existing agent belong in the hosted container and which parts should move into managed Foundry services such as Toolboxes, Memory, Foundry IQ, evaluations, and governance. The biggest Build 2026 caveat is preview status: hosted agents, Toolboxes, Memory, Routines, ASSERT, and Agent Control Specification should be adopted with rollout controls until their contracts stabilize. Do not migrate by lifting every local helper into the container and calling the job done. That preserves old platform debt inside a new runtime. Instead, move secrets and reusable action logic into Toolboxes, move authoritative documents into Foundry IQ, move durable preferences into Memory, and move regression checks into evaluations. Keep feature flags around preview capabilities and document fallback behavior. The takeaway: migration is a platform cleanup opportunity, not just a hosting change.</p>
<p>For existing hosted-agent experiments, review data boundaries before adding third-party models or external MCP servers. Foundry can manage the agent endpoint, but it cannot make an external service&rsquo;s retention policy disappear. Security review should follow the actual path of data and tool calls, not the marketing diagram.</p>
<h2 id="how-does-foundry-compare-with-langgraph-copilot-studio-and-custom-kubernetes">How Does Foundry Compare with LangGraph, Copilot Studio, and Custom Kubernetes?</h2>
<p>Foundry Agent Service differs from LangGraph, Copilot Studio, and custom Kubernetes because it is primarily a managed agent platform, not only an orchestration library, low-code builder, or generic infrastructure layer. LangGraph is excellent when developers need explicit graph-based control over agent state and transitions. Copilot Studio is strong for business-facing conversational agents and Microsoft ecosystem workflows. Custom Kubernetes gives platform teams maximum control over runtime, networking, and deployment patterns. Foundry Agent Service sits across these choices by allowing hosted agents built with several frameworks while supplying managed identity, endpoint exposure, scaling, sessions, observability, memory, tools, evaluations, and governance. The strategic choice is whether your scarce resource is application flexibility, business-user authoring, or platform operations. The takeaway: Foundry is most compelling when teams want code-level agent development with managed enterprise controls around it.</p>
<table>
  <thead>
      <tr>
          <th>Option</th>
          <th>Strength</th>
          <th>Weakness</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Foundry Agent Service</td>
          <td>Managed runtime, identity, tools, memory, evaluations, governance</td>
          <td>Preview features require careful rollout</td>
      </tr>
      <tr>
          <td>LangGraph</td>
          <td>Precise developer control over agent workflows</td>
          <td>You still need hosting and enterprise controls</td>
      </tr>
      <tr>
          <td>Copilot Studio</td>
          <td>Business-friendly authoring and Microsoft workflow integration</td>
          <td>Less ideal for deeply custom code workflows</td>
      </tr>
      <tr>
          <td>Custom Kubernetes</td>
          <td>Full infrastructure control</td>
          <td>Highest burden for auth, scale, traces, and governance</td>
      </tr>
  </tbody>
</table>
<p>The comparison is not always either-or. A team can write a LangGraph agent and deploy it as a Foundry hosted agent. That combination preserves graph control while centralizing runtime operations.</p>
<h2 id="what-implementation-checklist-should-developers-and-platform-teams-use">What Implementation Checklist Should Developers and Platform Teams Use?</h2>
<p>An implementation checklist for Microsoft Foundry Agent Service should cover runtime choice, identity, tool design, knowledge grounding, memory policy, evaluation coverage, observability, cost controls, and preview-risk management. A June 2026 Forrester report covered by ITPro says about 75% of enterprise leaders report adopting agentic AI, yet many initiatives remain stuck in pilot mode because orchestration, governance, and trust costs are hard to operationalize. The checklist is how teams avoid that trap. Start by deciding whether the workflow needs a prompt agent or hosted agent. Assign least-privilege Entra identity. Convert shared actions into Toolboxes. Put authoritative documents in Foundry IQ. Define what Memory may store and when it expires. Build regression evaluations before production. Review traces after launch. Model container compute and token cost. Track preview dependencies explicitly. The takeaway: production agents need a release checklist, not just a clever prompt.</p>
<p>Use this as a starting gate:</p>
<table>
  <thead>
      <tr>
          <th>Check</th>
          <th>Done when</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td>Runtime selected</td>
          <td>Prompt agent or hosted agent decision is documented</td>
      </tr>
      <tr>
          <td>Identity scoped</td>
          <td>Entra identity has only required permissions</td>
      </tr>
      <tr>
          <td>Tools reviewed</td>
          <td>Toolboxes expose narrow, auditable actions</td>
      </tr>
      <tr>
          <td>Knowledge grounded</td>
          <td>Authoritative content lives outside prompts</td>
      </tr>
      <tr>
          <td>Memory governed</td>
          <td>Retention, edit, delete, and forbidden data rules exist</td>
      </tr>
      <tr>
          <td>Evaluations built</td>
          <td>Critical tasks and safety cases run before release</td>
      </tr>
      <tr>
          <td>Traces monitored</td>
          <td>Tool calls, retrieval, failures, and latency are visible</td>
      </tr>
      <tr>
          <td>Costs modeled</td>
          <td>Compute, tokens, evaluation, storage, and retries are estimated</td>
      </tr>
  </tbody>
</table>
<h2 id="faq-microsoft-foundry-agent-service-build-2026">FAQ: Microsoft Foundry Agent Service Build 2026</h2>
<p>Microsoft Foundry Agent Service Build 2026 FAQ answers the practical questions developers ask before choosing the platform: what it is, whether hosted agents are production-ready, how Memory differs from grounding, how Toolboxes fit with MCP, and what governance work remains. The short answer is that Foundry Agent Service is best understood as Microsoft&rsquo;s managed control plane for enterprise agents, especially when teams want to keep code-level flexibility while centralizing runtime and oversight. Hosted agents are the key engineering feature because they let existing framework code run as managed containers, but preview labels still matter. Memory, Toolboxes, Foundry IQ, evaluations, and governance controls solve different operational problems and should not be collapsed into one generic &ldquo;agent context&rdquo; bucket. Teams should evaluate Foundry on runtime fit, identity model, data boundaries, trace quality, cost behavior, and migration effort. The takeaway: use Foundry when managed operations are as important as agent behavior.</p>
<h3 id="what-is-microsoft-foundry-agent-service">What is Microsoft Foundry Agent Service?</h3>
<p>Microsoft Foundry Agent Service is a managed Azure platform for building, deploying, scaling, observing, and governing AI agents. It supports prompt agents and hosted agents, so teams can either configure managed agents inside Foundry or package their own code as containers.</p>
<h3 id="are-hosted-agents-generally-available">Are hosted agents generally available?</h3>
<p>Hosted agents are described in the Build 2026 research brief as preview capability, so teams should verify current availability in their tenant and region before committing production dependencies. Preview does not mean unusable, but it does mean rollout controls, fallbacks, and contract-change awareness are required.</p>
<h3 id="is-foundry-agent-service-a-replacement-for-langgraph">Is Foundry Agent Service a replacement for LangGraph?</h3>
<p>Foundry Agent Service is not a direct replacement for LangGraph. LangGraph is an orchestration framework, while Foundry provides a managed runtime and operational control plane. A practical architecture can use LangGraph inside a Foundry hosted agent.</p>
<h3 id="what-is-the-difference-between-memory-and-foundry-iq">What is the difference between Memory and Foundry IQ?</h3>
<p>Memory stores durable interaction context such as preferences or learned facts, while Foundry IQ grounds the agent in authoritative enterprise knowledge. Put policy documents, product docs, and reference material in grounding; put stable user-specific preferences in Memory only when retention rules allow it.</p>
<h3 id="what-should-teams-evaluate-before-adopting-foundry-agent-service">What should teams evaluate before adopting Foundry Agent Service?</h3>
<p>Teams should evaluate runtime fit, framework compatibility, Entra identity design, Toolbox permissions, data residency, third-party model boundaries, Memory retention, trace visibility, evaluation coverage, and total cost. The biggest mistake is treating an agent like a prompt instead of a production service.</p>
]]></content:encoded></item></channel></rss>