Microsoft Build 2026
🔥 DEM333: How Foundry Integrates With Open Source Frameworks and Tools
Session Description
This demo walks through building a practical OpenClaw like agent using open-source technologies and then operationalizing the same solution in Microsoft Foundry. You will see how to connect enterprise tools with the Model Context Protocol, codify repeatable behavior with skills, add browser automation with Playwright CLI, observe with OpenTelemetry, and move from local development to cloud-hosted agents using open protocols like Responses API and A2A agent-to-agent communication.
🚀 Getting started
If you're following this demo at your own pace:
- Clone this repository
- Follow the setup instructions in docs/PREREQ.md
- Configure environment variables in
.envfile. - Run the local agent with
cd src && uv run python main.py --agent demo - Deploy the same agent as a Foundry hosted agent with docs/HOSTED_AGENT_DEPLOYMENT.md
- Invoke hosted agents from Copilot CLI through the generic A2A directory bridge in docs/HOSTED_AGENT_DEPLOYMENT.md
- Review the walkthrough in docs/SCRIPT.md
🧠 Learning Outcomes
By the end of this demo, you will be able to:
- Build a LangGraph-based agent loop and connect it to external enterprise actions by using the Model Context Protocol.
- Improve agent quality by combining reusable skills with focused tool surfaces such as Work IQ mail tools and Playwright CLI browser actions.
- Expose an open-source agent implementation through Microsoft Foundry endpoints and understand how to add tracing and cross-agent interoperability.
💬 Keep Learning with Copilot
Try these prompts with GitHub Copilot to explore the topics from this demo. 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. Try connecting the Microsoft Learn MCP Server for the latest official documentation.
- Understand the architecture and building blocks:
Explain the architecture in this DEM333 repo, including how LangGraph, skills, MCP tools, and Microsoft Foundry fit together. Then suggest one beginner-friendly extension to implement first.
- Ground setup guidance with official documentation:
Using the Microsoft Learn MCP Server, find the latest Microsoft Foundry and Model Context Protocol docs needed for this repo, then produce a concise setup checklist for local development and deployment.
- Build an advanced extension:
Help me add a new skill that summarizes inbox triage results into a daily digest, and update the agent flow so it can call that skill after classification. Include tests and a short validation plan.
💻 Technologies Used
- LangChain for Azure
- Microsoft Foundry Models
- Azure OpenAI in Microsoft Foundry Models v1 API
- Model Context Protocol tooling in Microsoft Foundry Agents
- Tracing and observability in Microsoft Foundry
- Microsoft Entra ID app registration quickstart
📚 Resources and Next Steps
| Resource | Description |
|---|---|
| https://aka.ms/build26-next-steps | Explore lab and session repos to further your learning from Microsoft Build |
| Watch the session recording | Watch the recorded Microsoft Build session. |
🌟 Microsoft Learn MCP Server
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 demo.
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.
Content Owners
Contributing
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 [email protected] with any additional questions or comments.
Trademarks
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.
No comments yet
Be the first to share your take.