BRK389 · Breakout

Put Local AI to Work: Offload Coding Tasks to run locally on Windows

  • Thursday 19 November
  • 49 min
  • Catalogue level: (400) Expert
  • Our depth rating: 300
  • Worth watching: 2/3

Speakers: Neil Hinnant, Lei Xu

Watch on Microsoft’s site from 07:01

Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.

What the session covers

The session shows how GitHub Copilot on Windows mixes cloud and local inference, using MAI Code 1.1 Flash running on an RTX Spark-based Surface Laptop Ultra. Three demos cover Copilot Fusion routing a simple task to the local model, a custom skill delegating heavy reading to a local agent, and a fully local log investigation in GitHub Copilot CLI. Lei Xu explains how quantization, a draft model and sliding window attention fit the 138B-parameter MoE model on a laptop, and introduces RDMA over USB4 for pooling 2-4 PCs as a developer preview. Neil Hinnant then covers DGX Station for Windows as an on-premises token factory, an Insight customer story, and a roadmap to extend Microsoft Foundry on Windows Server 2028 into an inference fabric, shown in a live demo.

Best for: Developers, platform engineers and IT architects evaluating local or on-premises inference for GitHub Copilot to cut cloud token costs or keep code and data on device.

Session timeline by chapter

New material starts at 07:01. The first seven minutes frame cost pressure and the hybrid platform; at 07:01 Lei introduces local inference in GitHub Copilot with MAI Code 1.1 Flash on device.

Where to skip: Skip to 07:01. The Fusion and delegation demos (10:56–17:55), the quantization deep dive at 17:55 and RDMA over USB4 at 28:20 are the core; the inference fabric part at 39:48–47:41 is worth it for on-prem planning. The Insight story (36:31) and closing (47:41) can be skipped.

Chapters (16)

  1. 00:06 Recap Depth 100 · Novelty 0/3

    Intro, agenda and why coding inference is moving closer to the user

    Neil Hinnant (Windows Server) and Lei Xu introduce the session and its three chapters: why local coding matters, what Windows 11 client devices such as RTX Spark can do, and scaling to teams with large local devices. Neil explains that after several quarters of cloud token bills, CFOs ask CTOs and CISOs to make agentic coding efficient. He frames the decision as the right intelligence in the right place, with the right capability, at the right price, across cloud, token factories and agentic coding devices.

  2. 04:08 Recap Depth 200 · Novelty 1/3

    Hybrid intelligence platform: Foundry, token factories, Windows 11, Agent 365 and MXC

    Neil argues most customers will be truly hybrid, mixing cloud, data-center and on-device inference. Microsoft aims to offer hardware across the stack while keeping the same models, catalog and lifecycle in Microsoft Foundry, with an option to bring your own models, harnesses and runtimes. For governance, Agent 365 gives agents identity and Microsoft Execution Containers enforce file-access and network restrictions, for example for air-gapped agents.

  3. 07:01 New Depth 200 · Novelty 2/3

    Local inference in GitHub Copilot: MAI Code 1.1 Flash on a Surface Laptop Ultra

    Lei explains that routine coding tasks do not need frontier models and that local inference adds one more dimension to GitHub Copilot (CLI, GitHub Copilot app, VS Code, BYOK): where the model runs. She outlines three demos (Copilot decides, you decide, fully local) and shows a Surface Laptop Ultra built on NVIDIA RTX Spark with 128 GB of shared CPU/GPU memory. In the GitHub Copilot app's model providers, MAI Code 1.1 Flash runs on device via the Windows ML provider, alongside a smaller community model Flint from Recursive, with plans to expand the managed model catalog.

  4. 10:56 Demo Depth 300 · Novelty 2/3

    Demo 1: Copilot Fusion routes a commit-message task to the local model

    Lei asks the GitHub Copilot app to rewrite a 'wip' commit message in a storefront repo, with Copilot Fusion enabled instead of a fixed cloud model. Fusion scores task complexity, matches a model and picks an orchestration pattern: single, cascade (cheap model first, stronger only if needed) or critique (one model drafts, another reviews). At the standard tier the local MAI model is one selectable option; the low-complexity task went fully to the local model, with plans to bring local models into cascade and critique.

  5. 14:10 Demo Depth 300 · Novelty 2/3

    Demo 2: custom skill and local-worker agent delegate heavy reading to the local model

    Lei picks a cloud model (GPT-6.1-0) as the main model to judge whether 20 payment-provider patches introduce breaking changes, while a custom skill delegates heavy reading to a local custom agent. The ondevice-delegate skill has a gate (only hand off reading over 25 KB), a defined handoff with input/output formats, and a recipe of changelog tips. The local-worker agent can read, search, edit and run commands but cannot invoke other agents, preventing loops; the skill and agent are being published to the community repo Awesome Copilot.

  6. 17:55 Deep dive Depth 400 · Novelty 2/3

    How MAI Code 1.1 Flash fits on a laptop: quantization, draft model, sliding window

    Lei explains that the MAI model has about 138 billion parameters and is a mixture-of-experts model, so all experts must stay in memory: 276 GB at full precision. Mixed-precision quantization reduces it to about 57 GB, a small draft model for speculative decoding makes it roughly twice as fast, and sliding window attention in the draft model's layers cuts memory use by about 80%. The same techniques are recipes used for other on-device models; demo 2 then reports three breaking changes from the payment provider, all on December 1.

  7. 20:49 Demo Depth 200 · Novelty 2/3

    Demo 3: fully local log investigation in GitHub Copilot CLI

    Lei closes the app and switches to GitHub Copilot CLI with the on-device MAI model selected, with no cloud involved. The scenario is an on-call developer investigating checkout throttling using access logs and crash reports stored in a local repo. The prompt asks for clients that received HTTP 429 on /api/checkout at least 10 times; the model issues PowerShell commands against logs that never leave the device.

  8. 23:39 New Depth 100 · Novelty 2/3

    RTX Spark for Windows device ecosystem and AMD Ryzen AI Max support

    While the investigation runs, Lei describes RTX Spark for Windows as a new device category with up to 128 GB shared memory and up to a petaflop of AI performance. OEMs include Asus, Dell, HP, Lenovo, MSI and Microsoft Surface. She announces support for AMD Ryzen AI Max 300 and 400 series devices for the managed local coding experience in GitHub Copilot, so customers can stay with their existing PC makers.

  9. 24:35 Demo Depth 200 · Novelty 2/3

    Demo 3 results: throttled clients, crash triage, usage proof and scheduled automation

    The local model correctly identifies 6 throttled clients, avoiding planted traps, and a pre-run analysis of 40 crash reports finds the payment client's parse response behind 14 crashes. The CLI usage view lists only the MAI model, proving everything stayed local; local AI telemetry is coming soon to surfaces such as Viva Insights. Lei suggests scheduling such prompts in the Copilot app (e.g. daily at 7 am) and recaps the three options: Fusion decides, you decide, or fully local.

  10. 28:20 New Depth 300 · Novelty 3/3

    RDMA over USB4: pooling 2-4 PCs to run one large model (developer preview)

    Lei introduces RDMA over USB4 as a middle tier between a single PC and a workstation: 2-4 capable PCs connected by USB4 cables in a full mesh share one memory pool for one model, with no RDMA adapter or switch. Apps call the existing NetworkDirect API; the new layer is an open-source RDMA over USB4 NetworkDirect provider on updated in-box USB4 drivers. Videos show Qwen3-235B on three AMD Ryzen AI Max PCs and GPT-OSS 120B on three Intel Core Ultra Series 3 PCs via a llama.cpp testbed; the developer preview rolls out to Windows Insiders, enabled by a registry setting.

  11. 32:33 Deep dive Depth 200 · Novelty 2/3

    DGX Station for Windows as an on-premises token factory for teams

    Neil presents token factories as centralized inference, similar to how storage is centralized, and the device portfolio from RTX Spark PCs through USB4 clusters to DGX Station for Windows, built with NVIDIA and six OEMs. DGX Station has 748 GB coherent memory, a Blackwell 300 GPU and 72 Grace cores, runs trillion-plus parameter models and serves dozens of users with 200-400B models. All tiers run the same Windows, are governed by Agent 365, secured with MXC, and use Microsoft's in-box inference stack; in the Redmond lab they see over 4,000 output tokens per second under load.

  12. 36:31 Customer story Depth 200 · Novelty 1/3

    Insight: local coding on Surface Laptop Ultra and DGX Station under Agent 365

    Parker Johnston and Will Pocknell from Insight describe early use of Surface Laptop Ultras: custom GitHub Copilot routing to local model endpoints, with unit tests and features built without cloud tokens. Parker switched an agentic run from a cloud frontier model to MAI Code 1.1 Flash locally, which ran for 45 minutes on the laptop's GPU. Will put the laptops under the same Agent 365 controls as cloud agents and sees DGX Station, managed with Defender and Intune, as the shared team tier, with only the largest jobs sent to the cloud.

  13. 39:48 New Depth 300 · Novelty 2/3

    Scaling token factories: Microsoft Foundry on Windows Server 2028 inference fabric

    Neil notes that even a DGX Station serving 64 concurrent 200B-model instances is not enough for large organizations, which need to abstract the inference fleet from consuming applications. Distributed enterprises place DGX Stations in branch offices; centralized ones add inference factories as a fifth pillar beside storage, networking, compute and databases. To manage growth from one to 50 stations, Microsoft is working to extend Microsoft Foundry, built on Windows Server 2028 technology, into an AI inference compute fabric with a front door and policy-based routing.

  14. 41:52 Demo Depth 300 · Novelty 2/3

    Video: hybrid intelligence lab front door and prompt trace across inference clusters

    A video shows Neil's hybrid intelligence lab in Redmond Ridge, where a single namespace abstracts inference clusters on heterogeneous hardware delivered to employees' GitHub Copilot and other harnesses. A Foundry Enterprise Inferencing console shows fabric health, clusters, GPU/RAM capacity and deployed models such as Qwen and Nemotron. A trace visualizes a prompt flowing through the front door to a cluster namespace and load-balanced inference node. The vision is a fabric that abstracts local token factories and can surge to frontier models in Microsoft Foundry in the cloud.

  15. 43:24 Demo Depth 300 · Novelty 2/3

    Live demo: GitHub Copilot builds a WPF app via the remote Redmond inference fabric

    In GitHub Copilot, Neil selects the HyIQ namespace offering Nemotron and Qwen models and asks the Qwen model to build and launch a WPF app with a wallpaper background, in YOLO mode. The prompt is load-balanced in Redmond to either a DGX Station for Windows or an x64 server with RTX Blackwell 6000 GPUs, which the user does not need to know; other employees were using the fabric at the same time. The agent creates files and hits a XAML build error while working; Neil explains that synthetic tests pump 64 continuous streams into a GB300 node, but real user density depends on human behaviour and needs load analysis.

  16. 47:41 Closing Depth 100 · Novelty 0/3

    Call to action: RTX Spark, USB4 clusters, DGX Station program and Windows Server preview

    Neil summarizes the options: RTX Spark devices for user-centric work, Windows 11 clusters to reuse hardware, and DGX Station for inference appliances or trillion-parameter models. QR codes lead to the DGX Station customer engagement program and to the Windows Server preview for token factories at scale. He points to BRK388, devices at the Windows and Azure booths and Insight in Moscone South; the live demo is still running and Q&A follows.

Announcements (15)

  • 08:03 not stated GitHub Copilot

    Local inference in GitHub Copilot

    The local PC becomes one of the inference options inside the same GitHub Copilot experience.

    Speaker’s quote (at 08:03)
    „Local inferencing really just adds one more dimension of choices, which is where you want the model stack to run.“
  • 10:01 not stated GitHub Copilot

    MAI Code 1.1 Flash on device

    Microsoft's local coding model running on the GPU via the Windows ML provider in GitHub Copilot.

    Speaker’s quote (at 10:01)
    „We have this local model that's called MAI code 1.1 flash on device. It's from Microsoft. It's running via this Windows ML provider on your GPU.“
  • 10:26 not stated GitHub Copilot

    Flint model in the Windows ML provider

    A smaller open-community model from Recursive offered as a local option.

    Speaker’s quote (at 10:26)
    „You see we also offer this smaller model that's called Flint, which is from the open community.“
  • 10:26 roadmap GitHub Copilot

    Managed model catalog expansion

    Microsoft is looking at expanding the managed local model catalog further.

    Speaker’s quote (at 10:26)
    „And we're also looking at expanding this managed model catalog even further.“
  • 11:46 not stated GitHub Copilot

    Local model in Copilot Fusion standard tier

    Copilot Fusion can select the local MAI model at the standard effort tier for suitable tasks.

    Speaker’s quote (at 11:46)
    „At the standard tier, my local model, the MAI model that you guys just saw, is going to become one of these options that Copilot Fusion can select from.“
  • 13:16 roadmap GitHub Copilot

    Local models in Copilot Fusion cascade and critique patterns

    Planned extension so local models participate in advanced orchestration patterns such as cascade and critique.

    Speaker’s quote (at 13:16)
    „But where we're headed is to make sure we can bring the local model into more advanced orchestration patterns like Cascade, like Critique“
  • 16:58 not stated GitHub Copilot

    ondevice-delegate skill and local-worker agent in Awesome Copilot

    The demo's custom skill and agent for delegating work to a local model are being published to the Awesome Copilot community repo.

    Speaker’s quote (at 16:58)
    „So what we're showing here, we're also publishing it to Awesome Copilot.“
  • 24:09 not stated GitHub Copilot

    AMD Ryzen AI Max 300 and 400 support for local coding in GitHub Copilot

    The managed local coding experience in GitHub Copilot extends to AMD devices with Ryzen AI Max 300 and 400 series.

    Speaker’s quote (at 24:09)
    „Today, we're announcing support for AMD devices with Ryzen AI Max 300 and 400 series.“
  • 26:22 roadmap GitHub Copilot

    Local AI telemetry in Viva Insights

    Local AI usage, adoption and ROI metrics across the tenant will be visible in surfaces such as Viva Insights.

    Speaker’s quote (at 26:22)
    „And very soon, you'll be able to see your local AI telemetry into surfaces like Viva Insights, for example“
  • 28:52 not stated Windows 11

    RDMA over USB4

    Connects 2-4 Windows PCs over USB4 to share one memory pool and run a single model across them.

    Developer preview rolling out to all Windows Insiders the day after the session

    Speaker’s quote (at 28:52)
    „And we're announcing that this becomes available in developer preview for you to try.“
  • 29:19 not stated Windows 11

    RDMA over USB4 on Intel Core Ultra Series 3

    RDMA over USB4 also works on Intel Core Ultra Series 3 PCs, not only AMD Ryzen AI Max.

    Speaker’s quote (at 29:19)
    „It also works on Intel Core Ultra Series 3 PCs.“
  • 29:47 not stated Windows 11

    Open-source RDMA over USB4 NetworkDirect provider

    A new provider layer between the NetworkDirect API and in-box USB4 drivers, released as open source with samples on GitHub.

    Speaker’s quote (at 29:47)
    „It's an RDMA over USB4 provider, which we're open sourcing. And also it's running on the updated inbox USB4 drivers.“
  • 33:40 not stated DGX Station for Windows

    DGX Station for Windows

    A deskside or rack-mountable Windows AI supercomputer from Microsoft, NVIDIA and OEM partners for shared team inference.

    Speaker’s quote (at 33:40)
    „we want to bring you devices like the DGX Station for Windows, a partnership between Microsoft, NVIDIA, and six of our Windows OEMs.“
  • 41:21 roadmap Microsoft Foundry

    Microsoft Foundry inference fabric on Windows Server 2028

    Extends Microsoft Foundry, built on Windows Server 2028 technology, into an AI inference compute fabric that abstracts many local token factories.

    Speaker’s quote (at 41:21)
    „that's why we're working to extend Microsoft Foundry built on Windows Server 2028 technology to deliver an AI inference compute fabric“
  • 42:56 roadmap Microsoft Foundry

    Cloud surge from local token factories to Microsoft Foundry

    The planned fabric will let workloads surge from on-premises token factories to frontier models in Microsoft Foundry when needed.

    Speaker’s quote (at 42:56)
    „what we'll deliver with Microsoft Foundry on Windows Server is a fabric that enables you to both abstract your local token factories and also surge to the cloud“

Demos (7)

  • 10:56 Not stated GitHub Copilot

    A developer has Copilot Fusion automatically route a low-complexity task (writing a proper commit message) to the on-device MAI model.

    Steps (6)
    1. Load MAI Code 1.1 Flash via the Windows ML provider in the GitHub Copilot app's model providers and check GPU memory in Task Manager.
    2. Open the contoso-storefront repo and review the recent 'wip' commit with git log --oneline -4.
    3. Start a new session in the GitHub Copilot app.
    4. In the model picker, turn on Copilot Fusion and set the effort level to Standard.
    5. Send the prompt asking to rewrite the last commit message in the repo's style.
    6. Watch GPU usage rise in Task Manager as the local model is selected and review the returned commit message.

    Prerequisites: An RTX Spark device such as the Surface Laptop Ultra with 128 GB unified memory, the GitHub Copilot app, and the MAI Code 1.1 Flash model downloaded via the Windows ML provider.

  • 14:10 Not stated GitHub Copilot

    A developer lets a cloud model make the judgment call on breaking changes while a custom skill hands the token-heavy changelog reading to a local agent.

    Steps (5)
    1. Start a new session for the billing service in the GitHub Copilot app.
    2. Instead of Copilot Fusion, manually select the cloud model GPT-6.1-0 as the main model.
    3. Send a prompt that invokes the ondevice-delegate skill on the payment provider changelog.
    4. Define the skill with a gate step (hand off only heavy reading, over 25 KB), a handoff step with input and output formats, and a recipe step with changelog tips.
    5. Define the local-worker custom agent with read, search, edit and command tools but without the ability to invoke other agents.

    Prerequisites: GitHub Copilot app with access to a cloud model, a local model on an RTX Spark device, and the custom skill and agent definitions.

  • 20:49 Not stated GitHub Copilot CLI

    An on-call developer investigates checkout throttling with a model running entirely on the laptop, keeping logs on the device.

    Steps (5)
    1. Close the GitHub Copilot app and open GitHub Copilot CLI in the terminal.
    2. Select the on-device MAI Code model and wait for it to load (watch GPU memory in Task Manager).
    3. Open the contoso-checkout repo containing logs/access.log and crash reports.
    4. Send the prompt to find clients receiving HTTP 429 on /api/checkout at least 10 times and write them to throttle.txt.
    5. Let the model read the log format and run PowerShell commands locally.

    Prerequisites: GitHub Copilot CLI, the on-device MAI Code model, an RTX Spark device, and local log files.

  • 24:35 Not stated GitHub Copilot CLI

    The on-call investigation is completed fully locally and the session usage proves that only the local model was used.

    Steps (5)
    1. Review the throttle.txt result listing the 6 throttled clients.
    2. Ask Copilot to analyze the morning's 40 crash reports and find the top stack frame in your own code.
    3. Ask Copilot to write a brief for the team standup.
    4. Run the usage command in the CLI to confirm only the MAI model appears for the session.
    5. Optionally schedule the prompt in the Copilot app to run daily, for example at 7 am.

    Prerequisites: Same as the fully local setup: GitHub Copilot CLI, on-device MAI model, local logs and crash reports.

  • 30:12 Not stated RDMA over USB4

    Recorded video: three PCs linked by USB4 run one large model that none could host alone, served as a local endpoint by llama.cpp.

    Steps (5)
    1. Connect three PCs in a full mesh with one USB4 cable between each pair.
    2. Turn on RDMA over USB4 with a registry setting on a Windows Insider build.
    3. Install the open-source NetworkDirect provider, samples and llama.cpp testbed from GitHub.
    4. Load Qwen3-235B (AMD) or GPT-OSS 120B (Intel) and observe GPU memory filling on all three PCs in Task Manager.
    5. Send a prompt to the llama.cpp server endpoint and observe tokens streaming from the cluster.

    Prerequisites: 2-4 PCs with USB4 ports (AMD Ryzen AI Max or Intel Core Ultra Series 3), USB4 cables, a Windows Insider build with the registry setting, and the open-source provider and llama.cpp testbed from GitHub.

  • 41:52 Not easy to reproduce Microsoft Foundry

    Recorded walkthrough of an internal lab inference fabric showing how a prompt is routed to a load-balanced local inference node.

    Steps (3)
    1. Open the Foundry Enterprise Inferencing overview with fabric health, clusters, capacity and deployed models.
    2. Open the Trace tab, enter a prompt and select a model type.
    3. Follow the visualized path from the front door through the cluster namespace to an inference node and back to the response.

    Prerequisites: Internal Microsoft lab with multiple inference clusters; not stated as available to customers.

  • 43:24 Not easy to reproduce GitHub Copilot

    A developer uses GitHub Copilot against a remote on-premises inference fabric without knowing which node serves the model.

    Steps (5)
    1. Open GitHub Copilot in the terminal and open the model picker.
    2. Select the HyIQ namespace model (Qwen) served by the inference fabric.
    3. Open a folder containing only a Windows Bloom wallpaper image.
    4. Send the prompt to write and launch a WPF app in YOLO mode.
    5. Watch the agent create the project, copy the image, edit XAML, build and fix errors.

    Prerequisites: Access to an inference fabric namespace exposed to GitHub Copilot; shown on Microsoft's internal lab.

Watch on Microsoft’s site: BRK389