Taking an AI agent from a working prototype to a reliable, scalable production service involves real engineering: deployment, tools, memory, long-running work, human oversight, and observability. This breakout walks that journey using two sample agents you can run yourself on Microsoft Foundry:
field-ops-agentβ a voice-enabled field technician assistant built on the Microsoft Agent Framework, showing tools, an MCP Toolbox connection, an optional Microsoft Fabric data agent, and procedural memory.fibey-coordinatorβ a long-running network operations coordinator that monitors telemetry, persists context across sessions, scales to zero while waiting, gates actions behind human-in-the-loop approvals, and can work in Microsoft Teams.
Both agents deploy with a single azd command, emit traces to Application
Insights, and ship with sample tool data so they run end-to-end out of the box.
You can deploy both agents to your own Microsoft Foundry project with the Azure Developer CLI.
Prerequisites
- An Azure subscription with access to Microsoft Foundry
- Azure Developer CLI (
azd) v1.24+ - The Foundry agents extension:
azd extension install azure.ai.agents - Python 3.12+
Clone and deploy
git clone https://github.com/microsoft/Build26-BRK241-from-prototype-to-production-build-and-run-agents-at-scale.git
cd Build26-BRK241-from-prototype-to-production-build-and-run-agents-at-scale
# Provision the Foundry project, model deployment, and supporting resources
azd provision
# Deploy both hosted agents
azd deployDeploy a single agent with azd deploy field-ops-agent or
azd deploy fibey-coordinator. Tear everything down with azd down.
See src/field-ops-agent/ and
src/fibey-coordinator/ for per-agent details,
example prompts, and the optional integrations (Toolbox, Fabric, Teams,
Durable Task Scheduler).
By the end of this session, you will be able to:
- Build an agent with the Microsoft Agent Framework and deploy it to Microsoft Foundry as a hosted agent using the Azure Developer CLI.
- Extend an agent with tools, MCP/Toolbox connections, data agents, and procedural memory β and run long-running agents with persistent sessions, scale-to-zero, and human-in-the-loop approvals.
- Operate agents in production with built-in tracing and evaluation.
Try these prompts with GitHub Copilot to explore the topics from this session.
Open Copilot Chat in Visual Studio Code (Ctrl+Alt+I on Windows/Linux,
Cmd+Shift+I on Mac), paste a prompt, and see what you learn. Connect the
Microsoft Learn MCP Server for the latest official
documentation.
- Understand the basics:
Explain what a hosted agent in Microsoft Foundry Agent Service is and how it differs from running an agent on my own infrastructure.
- Go deeper:
Using the Microsoft Learn MCP Server, find the latest documentation on the Microsoft Agent Framework and show me how to define a tool and run an agent loop in Python.
- Build something:
Help me create a hosted agent with the Microsoft Agent Framework that exposes one function tool, then deploy it to Microsoft Foundry with the Azure Developer CLI.
- Microsoft Foundry β Hosted Agents
- Microsoft Agent Framework
- Azure Developer CLI (
azd) - Model Context Protocol (MCP) tools
- Microsoft Fabric data agents
- Azure Monitor Application Insights
- Durable Task Scheduler
- Microsoft Teams bots (Bot Framework)
| Resource | Description |
|---|---|
| Build 2026 β Next Steps | Explore lab and session repos to further your learning from Microsoft Build |
| Quickstart: Deploy your first hosted agent | Step-by-step quickstart for deploying a hosted agent to Microsoft Foundry |
| Foundry Hosted Agents with the Agent Framework | How the Microsoft Agent Framework hosts and runs agents on Foundry |
| Get started with the Agent Framework | Tutorials for building your first agent, adding tools, memory, and workflows |
The Microsoft Learn MCP Server gives your AI agent direct access to Microsoft's official documentation β grounded, up-to-date answers about the products and services covered in this session.
Visual Studio Code β One click installation:
GitHub Copilot CLI β Run this to install the Learn MCP Server as a plugin:
/plugin install microsoftdocs/mcp
For more info, other clients, and to post questions, visit the Learn MCP Server repo.
![]() Jeff Hollan π’ |
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit Contributor License Agreements.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

