RepoMicrosoftMicrosoftpublished Apr 10, 2026seen 4d

microsoft/Build26-BRK260-build-apps-with-local-ai-for-unmetered-intelligence-on-every-windows-pc

C#

Open original ↗

Captured source

source ↗

microsoft/Build26-BRK260-build-apps-with-local-ai-for-unmetered-intelligence-on-every-windows-pc

Description: Demos and sample code for building AI-powered apps with local on-device models on Windows — using Windows AI APIs, Foundry Local, Windows ML, and WebNN. From Microsoft Build 2026.

Language: C#

License: MIT

Stars: 4

Forks: 2

Open issues: 1

Created: 2026-04-10T22:46:19Z

Pushed: 2026-06-22T02:22:47Z

Default branch: main

Fork: no

Archived: no

README:

Microsoft Build 2026

🔥 BRK 260: Build Apps with Local AI for Unmetered Intelligence on every Windows PC ​

Session Description

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.

🧪 Session Demos & Getting Started

Each section below maps to a demo from the session, with links and quick steps to try it yourself.

🎙️ Speech Recognition API (Preview)

1. Install the June experimental release of the Windows App SDK (version2.1.6). This will be released soon. 2. In Visual Studio, set a dependency on your downloaded Windows App SDK NuGet package. 3. Build and run the solution in Visual Studio.

🧠 Phi Silica on GPU (Preview)

1. Install the June experimental release of the Windows App SDK (version 2.1.6). This will be released soon. 2. In Visual Studio, set a dependency on your downloaded Windows App SDK NuGet package. 3. Build and run the solution in Visual Studio.

🤖 Aion — Windows AI API (Preview)

1. Get the preview Windows AI API package for Aion at aka.ms/tryAion 2. Or try it out today via the Prompt API in the latest Microsoft Edge Canary

✨ Other Windows AI APIs (GA)

1. Install the latest Windows App SDK release to get started 2. Browse the supported APIs — Phi Silica, Text Recognition (OCR), Image Super Resolution, Object Erase, and more — in What are Windows AI APIs? 3. Try them on your PC with the AI Dev Gallery, or explore end-to-end code in the WinUI sample

🖼️ Foundry Local - Qwen3.5 VLM (GA)

Pre-requisites - have node.js installed

1. Install foundry local - npm install foundry-local-sdk 2. From inside the foundry-local folder, run this command- npm install 3. npm run dev 4. Browse the Foundry Local model catalog to explore other models you can swap in

🛠️ Windows ML CLI (Preview)

1. Download the Windows ML CLI and agent skills from the GitHub repository: aka.ms/winmlcli 2. Run the CLI from PowerShell or your favorite AI-powered dev environment 3. Convert, optimize and benchmark your custom model or one from Hugging Face

⚡ Windows ML (GA)

1. Install the latest Windows App SDK release to get started 2. Explore the Windows ML documentation for samples and API reference 3. Share feedback in the GitHub repository: microsoft/WindowsML

🌐 WebNN (Preview)

1. 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

2. Try the Unmetered Tokens Café sentiment classification web app running on Windows ML: anatarnousk/Sentiment-Analysis-WinML-WebNN 3. Check out the samples on the WebNN Developer Preview page

📚 Resources

| 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 |

🌟 Microsoft Learn MCP Server...

Excerpt shown — open the source for the full document.

Notability

notability 3.0/10

Routine workshop repo with low traction.