There’s been an important development in the Microsoft Foundry space that caught my attention, and I wanted to break it down — not just what was announced, but why it matters and how it fits into the bigger picture.
What’s New
Once you have your Microsoft Agent Framework (MAF) agent or workflow happily running locally on your dev machine, it’s time to decide how to deploy your agent to production, monitor it, evaluate it and version it. These decisions are just as important as getting the agent running.Hosted Agents in Foundry Agent Serviceis the easiest way to deploy Agent Framework agent to the cloud – with built-in identity, automatic scaling, managed session state, observability, and versioning.
What are Foundry Hosted Agents?
Foundry Hosted Agents are containerized applications that run insideFoundry Agent Service. Foundry Hosted Agents brings agent-optimized compute and services designed for production-grade enterprise agents, giving agents secure per-session sandboxes with filesystem persistence, integrated identity, and scale-to-zero economics. They are your own code, packaged as a container image and deployed to Foundry-manage infrastructure.
Predictable cold starts— spin up agent sessions and harnesses in your custom environment virtually instantly
Scale to zero— pay nothing while your agent is idle, with an agent that will scale down on its own during inactivity
Resume with filesystem intact— files, disk state, and session identity persist across scale-to-zero events. Your agent restarts with its full working directory exactly where it left off
Choose your protocol: Responses or Invocations
Hosted agents speak one or both of two protocols:
Responses: An OpenAI-compatible/responsesendpoint. The platform manages conversation history, streaming events, and background execution.
Invocations: A genericinvocationsendpoint where you define the request/response schema, giving you flexibility for any non-conversational workflow that doesn’t fit a chat-shaped contract.
We recommend starting with /responses if you are not sure which one to use. Read more about supported protocols in thehere.
Key Takeaways
- Once you have your Microsoft Agent Framework (MAF) agent or workflow happily running locally on your dev machine, it’s time to decide how to deploy your agent to production, monitor it, evaluate it and version it.
- Foundry Hosted Agents are containerized applications that run insideFoundry Agent Service.
- When you deploy your MAF agent to Foundry Hosted Agents usingazdit:.
- If unused, sessions persist for up to 30 days; idle compute is deprovisioned after 15 minutes and seamlessly restored on the next request. Read more about sessions in thehere.
- We recommend starting with
/responsesif you are not sure which one to use.
Why This Matters
For organizations building AI solutions, Foundry simplifies the journey from prototype to production. It removes the friction of stitching together multiple tools and provides guardrails for responsible AI deployment — which is critical when you’re operating at enterprise scale.
This development is particularly significant because it reflects the broader industry shift toward making AI more accessible, enterprise-ready, and integrated into existing workflows. For teams already invested in the Microsoft ecosystem, this is a clear signal of where the platform is heading.
My Take
From a technical standpoint, Foundry’s architecture addresses what I consider the three hardest problems in enterprise AI: model lifecycle management (versioning, A/B testing, rollback), evaluation at scale (automated quality gates before production), and governance without friction (RBAC, content filtering, and audit trails baked into the deployment pipeline rather than bolted on after). What impresses me most is the evaluation framework — the ability to define custom metrics, run batch evaluations against gold-standard datasets, and enforce quality thresholds before a model ever touches production traffic. This is the pattern that separates teams shipping reliable AI from teams firefighting in production. The trace-to-dataset loop (where production traces feed back into evaluation datasets) creates a flywheel that compounds quality over time.
Business Translation
For the C-Suite: Foundry directly impacts three board-level concerns: time-to-value (reduces AI project timelines from 6-12 months to weeks by eliminating infrastructure setup), risk management (built-in responsible AI guardrails and compliance controls reduce regulatory exposure), and cost predictability (unified platform means consolidated billing, no sprawl of point solutions each with their own licensing). The competitive moat here is speed: organizations that can iterate on AI use cases 10x faster will capture market share while competitors are still in proof-of-concept.
📖 Read the original article for the full details and official documentation.
Written by Cyril Bou-Harb — Solution Engineer, Cloud & AI at Microsoft. Opinions and analysis are my own and do not represent Microsoft’s official position.