Start with solution-centric Windows AI APIs - now expanding beyond Copilot+ devices. Use Foundry Local to run open-source models locally. With the brand new Windows ML CLI, as well as the Foundry Toolkit in VS Code extension in VS Code, optimize and prep your models for local AI deployments. Run custom AI workloads locally across GPU, NPU, or CPU with Windows ML, now with support for web apps through WebNN. Learn how the platform enables on-device inference across all Windows PCs to help you ship performant, scalable, and secure AI-powered apps on Windows.
Each section below maps to a demo from the session, with links and quick steps to try it yourself.
- Install the June experimental release of the Windows App SDK (version2.1.6). This will be released soon.
- In Visual Studio, set a dependency on your downloaded Windows App SDK NuGet package.
- Build and run the solution in Visual Studio.
- Install the June experimental release of the Windows App SDK (version 2.1.6). This will be released soon.
- In Visual Studio, set a dependency on your downloaded Windows App SDK NuGet package.
- Build and run the solution in Visual Studio.
- Get the preview Windows AI API package for Aion at aka.ms/tryAion
- Or try it out today via the Prompt API in the latest Microsoft Edge Canary
- Install the latest Windows App SDK release to get started
- Browse the supported APIs — Phi Silica, Text Recognition (OCR), Image Super Resolution, Object Erase, and more — in What are Windows AI APIs?
- Try them on your PC with the AI Dev Gallery, or explore end-to-end code in the WinUI sample
Pre-requisites - have node.js installed
- Install foundry local - npm install foundry-local-sdk
- From inside the foundry-local folder, run this command- npm install
- npm run dev
- Browse the Foundry Local model catalog to explore other models you can swap in
- Download the Windows ML CLI and agent skills from the GitHub repository: aka.ms/winmlcli
- Run the CLI from PowerShell or your favorite AI-powered dev environment
- Convert, optimize and benchmark your custom model or one from Hugging Face
- Install the latest Windows App SDK release to get started
- Explore the Windows ML documentation for samples and API reference
- Share feedback in the GitHub repository: microsoft/WindowsML
- Enable these experimental flags in Edge or Chrome:
- Enables WebNN API (
#web-machine-learning-neural-network) — Enabled - Enables experimental WebNN API features (
#experimental-web-machine-learning-neural-network) — Enabled - ONNX Runtime backend for WebNN (
#webnn-onnxruntime) — Enabled
- Enables WebNN API (
- Try the Unmetered Tokens Café sentiment classification web app running on Windows ML: anatarnousk/Sentiment-Analysis-WinML-WebNN
- Check out the samples on the WebNN Developer Preview page
| Resource | Description |
|---|---|
| Build 2026 next steps | Explore lab and session repos to further your learning from Microsoft Build |
| Windows App SDK | The unified SDK that delivers Windows AI APIs and modern UI to your apps |
| Windows AI API Preview — Aion | Early-access on-device generative AI capabilities for your apps |
| Foundry Local | Run open-source models locally on Windows with a few commands |
| Windows ML | Microsoft's high-performance local AI inferencing framework for Windows |
| Windows ML on GitHub | Official repo — file issues, browse samples, and share feedback |
| Windows ML CLI | Convert, optimize, and benchmark models from Hugging Face or your own across GPU, NPU, and CPU |
| AI Dev Gallery | Interactive samples and source code for local AI scenarios on Windows |
| Foundry Toolkit for VS Code | Discover, prep, and deploy models for local AI right from the editor |
| Microsoft Foundry on Windows overview | Learn how Windows AI APIs, Foundry Local, and Windows ML fit together |
| ONNX Runtime | API reference for the cross-platform inferencing engine that powers Windows ML |
| ONNX Runtime Web | Framework API for running ONNX models in the browser via WebNN — backed by Windows ML on Windows for native hardware acceleration |
| WebNN | Web Neural Network API for hardware-accelerated ML in the browser, powered by Windows ML on Windows |
| Hugging Face | Community platform hosting thousands of open-source AI models you can bring to Windows ML |
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.
VS 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.
![]() Anastasiya Tarnouskaya 📢 |
Aditi Narvekar 📢 |
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.


