WhoBuilt

Foundry Local: Cutting-Edge AI experiences on device with ONNX Runtime/Olive

Jun 27, 2025· 23 min· 681 views·Watch on YouTube

Speaker

Emma Ning, product manager at Microsoft, presents Foundry Local at AI Engineer, showing how it uses ONNX Runtime and local models to build cross-platform AI applications.

Why run AI locally

Ning gives four reasons to run AI on-device: unreliable or absent network access, privacy needs, inference costs at scale, and latency. She cites sensitive legal and patient data as cases where information may need to stay on the device, and applications with hundreds of millions of daily inference calls as a cost concern.

Foundry Local combines Microsoft AI tools

Ning argues that modern GPUs and NPUs, smaller optimized models such as Phi-4 Mini, and runtime improvements have made local inference practical. Foundry Local combines ONNX Runtime with a device-side management service, model downloads through Azure AI Foundry, a CLI, and SDKs. It is available on Windows and macOS and supports accelerators from NVIDIA, Intel, AMD, and Qualcomm.

Customers report deployment experience

Ning says more than 100 customers joined the private preview. Pieces CEO Savo describes moving from documentation to a production-ready build, with improvements in memory management, time to first token, and tokens per second. Another customer describes using local generative AI and speech-to-text for sensitive information, while combining local and other services in a hybrid solution.

CLI and SDK demos build a cross-platform summarizer

Ning demonstrates listing supported model variants, checking downloaded models, and comparing model responses and speed. She then shows a JavaScript application that summarizes a local project document using Phi-4 Mini, keeping the document on-device. A teammate runs the same code and interface on a Mac with a Qwen model, whose summary is shorter.

A local agent uses MCP tools

Ning previews an agent feature that is in private preview. An agent combines a model with one or more MCP servers; her OCR example uses Phi-4 Mini, a filesystem server, and an OCR server. With permission to access a demo folder and those tools, the agent finds a receipt, extracts its text, and reports the total.

Takeaways

  • Local inference can address offline access, sensitive data, latency, and high call volumes.
  • Check which model variants and hardware accelerators your target devices support.
  • Compare local models for both response quality and speed before choosing one for an application.
  • A shared SDK and model endpoint can help keep a cross-platform app's code and interface consistent.
  • When connecting local agents to files or other tools, request access explicitly and limit it to needed resources.

Mentioned in this talk

Search inside this talk

What was claimed 12

Show all 12 facts

Related talks