← All AI Engineer talks

AI Engineer World's Fair 2025

Foundry Local: Cutting-Edge AI Experiences on Device with ONNX Runtime and Olive — Emma Ning, Microsoft

Read the talk

Building local AI applications with Foundry Local

From unreliable conference Wi-Fi to private document summaries and receipt extraction, Foundry Local brings model management, hardware acceleration, and tool use onto the device.

From a talk by Emma Ning and Tsavo Knott

Before you start: Familiarity with command-line tools and JavaScript chat-completion requests will help you follow the application integration.

When the network cannot be a dependency

What happens to a cloud AI demo when the conference Wi-Fi fails? The model may be powerful, but the application still depends on reaching it. Microsoft product manager Emma Ning opens with that familiar problem: presenters hoping their connection survives the next request. Her Foundry Local demonstration runs inference on the device instead.

Network reliability is only the first reason to move inference closer to the application. The other constraints concern what data can leave, what repeated requests cost, and how quickly the application must respond:

  • Privacy and security: Legal documents and patient information may need to be processed entirely on-device.
  • Cost efficiency: Ning asks developers to imagine a game deployed to millions of devices, generating hundreds of millions of inference calls each day. This is a workload scenario motivating local execution, rather than a measured cost comparison.
  • Real-time latency: Interactive applications can have response requirements that leave little room for a cloud round trip.

Local inference makes the device an execution environment, rather than just a client of a remote model.

The “Why local AI” slide shows four illustrated cards linking these motivations to warehouses, healthcare, video games, and creativity tools.
Four reasons for local AI: low bandwidth, privacy and security, cost efficiency, and real-time latency.
0:160:35
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:16 · section reference included

From capable hardware to a usable local stack

Local AI becomes practical when hardware, models, and runtime software improve together. Modern client GPUs and NPUs provide more compute; smaller models such as Phi-4 Mini and small DeepSeek variants reduce the resources required for useful generation; runtime optimizations make better use of the available hardware. None of those pieces alone supplies an application developer with the whole experience.

Microsoft assembles Foundry Local from existing assets. Ning describes Azure AI Foundry, introduced at the previous year's Microsoft Ignite, as serving more than 70,000 organizations and offering more than 1,900 models at the time of the talk. The Build 2025 announcement places that model count in the cloud platform's partner-hosted and Microsoft-hosted catalog; it is not a count of models available for local execution.

ONNX Runtime supplies the cross-platform inference engine. Ning reports more than 10 million ONNX Runtime downloads per month and describes customer-reported acceleration over PyTorch, without presenting a quantified performance comparison. Windows contributes distribution and reach across millions of client devices and users. Foundry Local combines these assets into a managed path from model selection to on-device execution.

The stack separates execution from model management and application integration:

LayerResponsibility
ONNX RuntimeAccelerate inference across supported hardware
Foundry Local management serviceHost and manage models on the client device
Model acquisitionDownload open-source models from Azure AI Foundry on demand
CLIExplore and run models locally
SDKsIntegrate local inference into applications

This division lets a developer explore models through the CLI before embedding the selected model in an application.

At the time of this June 2025 talk, Foundry Local had recently been announced at Microsoft Build and was available on Windows and macOS. Ning emphasizes its Windows integration; the launch announcement distinguishes the installable preview from direct Windows 11 and Windows App SDK availability, which was still forthcoming. Hardware work with NVIDIA, Intel, AMD, and Qualcomm connects the runtime to their accelerators. Ning says more than 100 customers joined the private pre-preview and supplied feedback before the public announcement.

2:272:33
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

2:27 · section reference included

Developer memory and sensitive speech

Pieces provides one example of why packaging and lifecycle management matter alongside inference speed. Tsavo Knott, its CEO and co-founder, describes a product that gives developers artificial long-term memory across the operating system. Offline-first AI is central to that goal, and the team began exploring small language models across major platforms in late 2022. It moved from managing its own llama.cpp setup to Ollama, but still encountered difficulties with versioning, performance, and the end-user experience.

Knott reports a rapid move from access to Foundry Local documentation to a production-ready build, with improvements in memory management, time to first token, and tokens per second. The testimonial supplies no measurements, but identifies the operational concerns that a local inference platform needs to address: loading and managing models, starting responses promptly, and sustaining generation within a desktop application's resource budget.

A second customer example starts from a stricter data boundary: clients want generative AI but cannot send sensitive information to external services. The demonstration combines Foundry Local with a speech-to-text service that also runs locally. Its sample speech includes the name Maria Rodriguez and a savings account number, 123456—the sort of input that makes the location of processing consequential. The customer highlights straightforward installation and model use, then describes hybrid applications in which only part of the workload runs locally.

6:467:05
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:46 · section reference included

Discover hardware variants and prepare for offline use

The CLI demonstration starts with Foundry Local already installed. Windows installation uses WinGet; macOS installation uses Homebrew. The first exploration command is:

bash

foundry model list

The catalog exposes models together with variants optimized for different hardware. Ning's device shows CPU, CUDA, and integrated-GPU options. A Qualcomm NPU variant does not appear because that device lacks the corresponding NPU. Model discovery therefore includes hardware compatibility, not just a list of model families.

Offline inference still requires preparing the device. When a model is not cached, Foundry Local downloads it from the cloud before running it, which requires internet access. Ning has downloaded the models in advance and inspects them with:

bash

foundry cache list

Her cache contains four models. Keeping several models locally allows her to compare response quality and performance without depending on the conference network for model acquisition.

8:419:01
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

8:41 · section reference included

Compare speed and answer detail with the same prompt

Ning first uses foundry model run to load a cached Qwen 2.5 1.5B model. Once its interactive session is ready, she asks, “What's ONNX Runtime?” The initial answer arrives quickly enough that she exits and repeats the request in verbose mode to inspect the generation rate.

For the Qwen 2.5 1.5B response to “What's ONNX Runtime?”, Ning reports approximately 90 tokens per second in verbose mode on her device. The hardware specification, quantization, execution provider, runtime build, measurement boundaries, and repeated trials are not supplied, so this number describes the displayed run rather than a portable performance expectation.

She then loads Phi-4 Mini in verbose mode and asks the same question. In this demonstration, the larger Phi-4 Mini model generates more slowly but supplies more detailed information. Ning prefers that answer for the application she wants to build.

ModelObserved behavior in the demoSelection implication
Qwen 2.5 1.5BFaster, briefer responseUseful candidate when speed and brevity matter
Phi-4 MiniSlower, more detailed responseNing's choice for the summarizer

The comparison makes model selection tangible: run the intended style of request, inspect both the output and the execution behavior, and choose according to the application's needs. Here, detail in one answer drives the choice; the demonstration does not establish general model superiority.

10:4110:47
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

10:41 · section reference included

Summarize internal documents without uploading them

The application problem is onboarding into an unfamiliar project. A team has long, detailed documents to read and wants high-level summaries to get oriented. Those documents are internal and cannot be uploaded to the cloud. Some teammates use Windows and others use Macs, so the solution needs both local inference and a cross-platform application.

The prepared summarization app accepts either a URL or a local file. Its settings tab lets the user select a model by ID. Ning chooses Phi-4 Mini, supplies the project document, and submits it for summarization. The response describes Foundry Local as a way to build cross-platform AI applications that run directly on-device. The workflow carries the earlier model experiment into a concrete task: choose a model, provide the document, and receive a summary inside the application.

13:0613:25
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

13:06 · section reference included

Connect the JavaScript app and run it on a Mac

Foundry Local offers Python and JavaScript SDKs; the summarizer uses JavaScript. The demonstrated integration creates a Foundry Local manager, initializes it with the selected Phi-4 Mini model, and uses the manager's local endpoint to construct a chat client. The application then awaits a chat completion and displays the result. This is the talk's manager-and-endpoint integration; today's SDK examples emphasize in-process inference with optional serving, so the two integration styles should not be mixed.

VS Code displays model initialization, client creation, and the beginning of a summarization prompt in the Brevity project.
JavaScript code initializes the model and creates a client using the Foundry Local endpoint.

Once the client points at the local service and the selected model is initialized, the summarization request can remain a small JavaScript function:

javascript

async function summarizeDocument(client, modelId, documentText) {
  const completion = await client.chat.completions.create({
    model: modelId,
    messages: [
      {
        role: "system",
        content: "Summarize the document's main ideas and key details."
      },
      {
        role: "user",
        content: documentText
      }
    ]
  });

  return completion.choices[0].message.content;
}

The manager handles model initialization, while this function handles the application's request and response. The model ID must refer to the selected local model, and the client must use the Foundry Local endpoint.

Ning then packages the Windows project and shares it with a teammate who records the Mac experience. The teammate starts the same code with:

bash

npm run start

The application and UI are unchanged. On the Mac, the teammate selects Qwen and submits the same document. Its summary is shorter than the earlier Phi-4 Mini output, echoing the difference seen in the CLI comparison. The handoff demonstrates reuse of the application across operating systems while leaving model choice available to the user.

15:3515:52
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

15:35 · section reference included

Give a local model tools through MCP

The final demonstration moves from generating a summary to using tools. Foundry Local's agent feature is in private preview in the recording. Its composition is straightforward: one local model plus one or more MCP servers. The model supplies the reasoning and tool selection; the configured servers supply the available operations.

Ning returns to the terminal and runs:

bash

foundry agent list

The output shows three sample agents: a file organizer, an OCR agent, and a web interactor, with their server counts and model names. A developer can compose an agent by choosing a model from the catalog and the MCP servers needed for the task.

Terminal tables list available MCP servers and the sample file organizer, OCR agent, and web interactor, alongside server counts and model names.
Foundry Local lists MCP servers and three sample agents with their server counts and models.

For this walkthrough, Ning selects the existing OCR agent and inspects it with foundry agent info. It extracts text from images on the local device and combines a Phi-4 Mini variant with two servers: a filesystem MCP server and an OCR Mini MCP server. She then launches it with foundry agent run. These are the private-preview commands shown in the recording.

17:5518:11
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

17:55 · section reference included

Authorize access, find the receipt, and extract its total

Launching the agent does not immediately grant it unrestricted access. Startup first checks its dependencies and, if any are missing, offers to install them with permission. Ning has already installed the dependencies. She then works through the access prompts:

  1. Approve the filesystem MCP server.
  2. Supply the allowed directory: the folder containing the demonstration photos.
  3. Approve the OCR MCP server.

After setup, the agent lists the tools provided by those servers, including filesystem and OCR operations. Dependency installation, server approval, and directory selection are separate parts of preparing the agent to act.

The user request is to find a receipt, process it, and obtain the total amount. The agent first selects file search to locate the receipt image. It then uses OCR to extract the text and produces the total. The completed terminal view shows the located file, extracted receipt text, and a final result of Total: $8.39. This is a concrete division of labor: filesystem tools locate the input, OCR turns image content into text, and the model uses those results to answer the request.

Terminal output shows a receipt image search result, OCR text, and a final result reading “Total: $8.39.”
The receipt workflow shows the located file, extracted receipt text, and final total.

The receipt task also gives the closing capability warning a practical setting. Ning cautions that local models are generally less capable than cloud models and should not be expected to perform the same sophisticated model or agent work. A bounded task with relevant tools can still be useful, as the receipt workflow shows. She closes by pointing attendees to further information and a signup form for the agent private preview. The engineering opportunity is to choose work that fits the local model's capabilities while benefiting from on-device data handling and execution.

20:0320:20
Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

20:03 · section reference included

Resources

From the talk

Updates since the talk

Read the complete timestamped transcript
  1. 0:00

    [upbeat music] Hello, everybody.

  2. 0:16

    Uh, my name is Emma. I'm a program mani-- uh, product manager at Microsoft. It's a pleasure to talk to you today about Foundry Local, which enables developers to easily build up cross-platform applications powered by local AI.

  3. 0:35

    So let's get started. Uh, the first question is, if the cloud AI is so powerful, why do we need local AI?

  4. 0:46

    So here are four key reasons based on our conversations and observations with our customers. So first of all, how does cloud AI work in an environment with low network bandwidth or even offline access?

  5. 1:04

    Many of you have experienced the bad internet during this conference, right? And a common sentence we have heard from many speakers with live demo is, "Oh, finger crossed. Hopefully the Wi-Fi connection is good."

  6. 1:20

    So it's not their fault, uh, it's required by cloud AI. But it's not a concern at all for my session because my live demo runs entirely locally. So reason number two, privacy and security.

  7. 1:36

    Many companies work with very sensitive data, uh, such as legal document and patient information. They need to process that da- data, uh, entirely locally without anything ever leaving device.

  8. 1:53

    Right. And reason number three, cost efficiency. Um, think about, uh, game applications, uh, which is deployed to millions of devices. With hundreds of millions inference call every day, it's not just sustainable.

  9. 2:10

    And reason number three, real-time latency. So many AI applications needs to respond in real time, and it's not just, uh, not possible if we wait on cloud. So that's why we need a local AI.

  10. 2:27

    Then the next question, whether local AI is ready now.

  11. 2:33

    So thanks, uh, thanks to the decades of progress in computing, hardware has become more and more powerful. So many client devices are equipped with modern GPUs, NPUs, capable of running advanced AI models.

  12. 2:49

    Meanwhile, model companies are keeping publishing more and more models, which are leaner, faster, more optimized for local inference, such as, uh, Phi-4 Mini and, uh, DeepSeek, uh, small variants.

  13. 3:07

    And we are also seeing more and more advanced, um, uh, state-of-art optimization techniques introduced at runtime level. So this convergence now makes the local AI a reality.

  14. 3:22

    Then how do we build up the solution?

  15. 3:25

    So Microsoft already, uh, has many, uh, great assets. Uh, Azure AI Foundry, uh, introduced, um, last year at, uh, Microsoft Ignite, uh, has been, uh, trusted by over seventy thousand organizations with over one, uh, thousand and nine hundred models.

  16. 3:44

    And the ONNX Runtime, our cross-platform high-performance on-device inference engine, have now seen over ten million downloads per month. And our customers are pretty happy with the significant, uh, performance acceleration provided by ONNX Runtime compared to PyTorch.

  17. 4:05

    And lastly, let's not forget Windows. The scale and the reach of Windows on client devices are massive. So when we think about, uh, democratizing AI, um, the millions of, um, you know, devices, uh, and the millions of customers using Windows devices really matter to us.

  18. 4:27

    So we are not starting from scratch. We are bringing all those advanced assets into Foundry Local, an optimized end-to-end solution for seamless on-device AI.

  19. 4:42

    So at the bottom, as you can see, it uses ONNX Runtime to accelerate performance across various kinds of hardware. On the top, uh, we are introducing a new Foundry Local management service, which host and manage model on your, on devi- on client device.

  20. 5:03

    It also connects to Azure AI Foundry to download open source models on demand.

  21. 5:11

    And for user experience, we provide Foundry Local CLI, which allows you easily explore models on device, and we also provide SDK so that developers can easily, uh, integrate Foundry Local into your own applications, um, from cloud to local, from different hardware.

  22. 5:32

    So Foundry Local was officially announced just one month ago at Microsoft Build conference. It's available on both Windows and macOS. On the Windows, it is integrated into the platform, which makes the experience even simpler for Windows AI developer.

  23. 5:55

    As I just mentioned, uh, Foundry Local accelerator performance across different kinds of silicon. We have been, uh, closely working with hardware vendors, including NVIDIA, Intel, AMD, Qualcomm, to integrate their hardware accelerators into Foundry Local, ensuring the best-in-class performance that you can get on their hardware.

  24. 6:22

    So before our official announcement, uh, over 100 customers joined our private pre-preview. They have shared valuable feedback on how easy Foundry Local is to use and how good the performance it is.

  25. 6:38

    So let's hear some of their feedback. [upbeat music]

  26. 6:46

    Hey there. Tsavo here, CEO and co-founder at Pieces, where we've been on an ambitious journey to give developers artificial long-term memory across the OS. Now, offline-first AI is core to this vision, and in late 2022, we began to explore small language models running at the edge on all major platforms.

  27. 7:05

    But between rolling our own Llama C++ and then to Ollama, frustrations around versioning, performance, and end-user experience still remained. That was until our recent partnership with Microsoft on their new Foundry Local platform, an end-to-end AI inference solution that offers ease of use and high performance across different hardware.

  28. 7:26

    In no time, our team went from documentation access to a production-ready build with noticeable improvements in memory management, time to first token, and tokens per second. If you're looking to deploy on-device models, you can't go wrong with Foundry Local. [upbeat music]

  29. 7:42

    We have been working on AI projects for our customers for several years now. Some clients want to use the latest AI technologies but are restricted from using external services when the information they want to process contains sensitive data.

  30. 7:56

    Foundry Local is a perfect solution for these scenarios, as it allows us to easily run gen AI models locally. Here, we can see a solution that combines Foundry Local with a speech-to-text service- Hello, my name is Maria Rodriguez.

  31. 8:09

    My savings account number is [REDACTED:account_number]- [upbeat music]

  32. 8:14

    ... which also runs locally. One aspect we were really impressed by was the simplicity of the installation and the ease of using the models. With Foundry Local, we can now create hybrid solutions where part of the solution can be run locally. [upbeat music]

  33. 8:28

    It's been our privilege to work with these customers to improve Foundry Local together. All right, I've talked enough. Who wants to see live demos? [laughs]

  34. 8:41

    Okay, uh, let's do that. Um, [upbeat music] so first of all, we can, uh, let's see our CLI experience. So our Windows platform, you can, uh, install Foundry Local package using Winget, and on Mac OS, uh, you can use Homebrew commands.

  35. 9:01

    Um, so I have already installed Foundry Local, so...

  36. 9:12

    So first, uh, we want to see what models supported by Foundry Local. So we can type foundry

  37. 9:23

    model list. So as you can see, it supports many popular, uh, generative AI models, and for each model, you can get, uh, you can get different variants optimized for different hardware.

  38. 9:39

    So, uh, you can see we have, uh, optimization version for CPU, for CUDA, for integrating the GPU. Uh, we also provide NPU variants because, um, my device doesn't, um, contain Qualcomm NPU, so that variance doesn't show up.

  39. 9:56

    Okay, so we want to run some models, right? And, um, if you haven't downloaded model, uh, for, before, the Foundry Local will download the model from the cloud and then run the model.

  40. 10:08

    Um, it requires internet. But, uh, I have already pre-installed, uh, pre-downloaded model, so we don't need that. Uh, so we're gonna see what model I have already downloaded using foundry cache list.

  41. 10:24

    So as you can see, I have downloaded, uh, four models here. So I want to, like, during our experiments, I want, uh, we w- might want to explore different models to see, um, the quality, to see the performance, then decide which model we want to use to build up our application, right?

  42. 10:41

    So firstly, um, I want to try our foundry

  43. 10:47

    model run Qwen two point five one, one point five billion model.

  44. 11:04

    Since I have already downloaded this model, so the model loading is pretty quick. Uh, should be, uh, pretty quick. [laughs] Okay, uh, the model is set up. You can talk to the model directly.

  45. 11:15

    So let's, uh, ask a simple question. What was ONNX Runtime?

  46. 11:22

    Oh, it's pretty quick, right? Um, so I think, uh, we may want to see the, mm, latency number. So let's, uh, exit here and rerun it with, sorry,

  47. 11:37

    verbose mode. And same question. Okay. So here we get around the ninety tokens per second. Um, we also want to try a different model, so let's do that.

  48. 11:53

    Um, we want to try foundry model run,

  49. 12:03

    uh, this Phi-4 Mini. Also with global smart.

  50. 12:19

    So it's loading the model. Okay, model is set up. Same question was our lakes long time. So Phi-4 Mini is, um, more advanced than, like, Qwen model.

  51. 12:39

    The model size is, um, bigger than, uh, the Qwen model. So, uh, I would say in terms of the performance, it, uh, is a bit smaller than Qwen model.

  52. 12:49

    But, uh, in terms of the quality, as you can see, uh, Phi-4 Mini, uh, can provide more detailed information. Uh, all right. So, uh, personally, uh, I vote, um, Phi-4 Mini, so I want to use this model to build up an application.

  53. 13:06

    So what application do we want to build? Uh, I guess many of you have such experience. Your team move to a new organization either to ramp up the existing project very quickly, and there are many long, detailed document, uh, documents, uh, you need to read.

  54. 13:25

    And it's very time-consuming to read every words, right? So you may want some high-level summarized version of, um, all of this project so you can quickly ramp up. And...

  55. 13:36

    But this project is an internal project. You cannot upload all those documents to cloud. And meanwhile you have, you know, some of your team members are using Windows, some of your team members are using Mac.

  56. 13:49

    So you want to build a application cross-platform powered by local AI. So let's do that.

  57. 13:58

    So I have this application setting up. Um, so what it does, um, so we can run it first.

  58. 14:14

    Oh, um, and let's click the existing conversation.

  59. 14:28

    All right, um, so the app is setting up. Basically, it is used to summarize content. Uh, you can give it, uh, your URL, or you give the local file, so it can do summarization.

  60. 14:40

    And it also has a setting tab. You can choose the model you want to run. Uh, as mentioned before, I prefer Phi-4 Mini, so because I want to get some, uh, more detailed information.

  61. 14:54

    So, uh, we can put, uh, this model ID

  62. 15:00

    here. Then, uh, we'll pass it with our project document, and let it to give me some high-level information.

  63. 15:21

    So I will hit summarization. So as you can see, the summar-uh, summarized version is coming out and, uh, it says, "Foundry Local is useful to build up cross-platform AI applications that run directly on device."

  64. 15:35

    That's pretty cool. And, uh, then let's take a look at the code quickly. So as you can see, uh, we, in terms of SDK, we, um, provide a Python SDK and a JavaScript, uh, JavaScript, uh, SDK.

  65. 15:52

    So here we use a JavaScript one. So we, uh, create the Foundry Local manager and, uh, we...

  66. 16:02

    And we initial this manager. Oh, um, just a second. What I say?

  67. 16:17

    Yeah. So initial the manager with the model name. Um, so as you can see, I passed Phi-4 Mini here. And then, um, it use, uh, Foundry Local endpoint to create a client, and then you just wait, uh, for the chat to, uh, be complete, uh, to be completed, and output the result.

  68. 16:36

    So, um, this is the application, uh, running on Windows. Uh, I, some of, um, one team member is using Mac, so I want, um, he to use on my app as well.

  69. 16:49

    So I package the whole project and share to him, and let's see what his experience is.

  70. 16:59

    He take the project and record a demo for me. So as you can see, the exactly, uh, same code and, uh, he just, uh, use the same command in npm run start to start this, um, application.

  71. 17:15

    And exactly UI, exactly application and, oh, he choose Qwen model. Um, maybe he like this model more. And he also use the same document, uh, documents I used, uh, in my previous demo, and hit Summarize button.

  72. 17:35

    So, uh, as we, uh, see in the previous demo, uh, Qwen model is kind of, uh, provide more brief information, um, than, uh, Phi-4 Mini model. So as you can see here, it also shows the summarization is more, like, shorter than what, uh, Phi-4 Mini provides.

  73. 17:55

    Okay. So we build up cross-platform applications. Um, is that all my demo? Of course not. We forgot one important thing, agent, right? So everybody talks about agent, so we-- So do I.

  74. 18:11

    So Foundry Local enables you to easily create and bu- and run a local agent using local model and MCP servers. Um, this feature is still in private preview, but I want to give you a slip, um, gi- give you a quick, uh, look so you know, uh, how it works.

  75. 18:33

    So let's back to our, uh, CMD. So, uh, we can u-

  76. 18:41

    uh, use foundry agent list to show all the available agents, uh, in a Foundry Local. As you can see, we have built up, uh, three sample agents here. So in terms of the concept, an agent in a Foundry Local, um, consists of one model and one more MCP servers based on your

  77. 19:05

    need. So you can use, um, one model from the list and pick up, uh, whatever MCP server you like to create your own agent. But here, um, we want to run the existing one.

  78. 19:17

    So I'm interested in this OCI agent, so, uh, let's see, uh, foundry agent info, uh, to know what it can do.

  79. 19:35

    Okay, so it can extract the text from images in your local device and this agent, um, contains one, uh, model, which is the Phi-4 Mini Meta V1 and the two MCP servers.

  80. 19:49

    One is file system MCP server, one OCR Mini MCP server. So let's run this, uh, agent, foundry agent run.

  81. 20:03

    So this command will, uh, check the dependencies of this agent first. If, um, the dependency hasn't been installed before, it will, uh, installed with your permission. So I have already installed all those, uh, dependencies, so, uh, it just run.

  82. 20:20

    Okay. The agent is setting up. Uh, it ask for permission to use this MCP server, so let's say yes.

  83. 20:29

    And he ask a directory you want it to access. Uh, I give it, um, the demo photo. And he also ask a permission for the OCR MCP server.

  84. 20:45

    I will say yes. So all right, so it-- from here you can get all the tools supported by this agent. So literally the tools, um, provided in the MCP servers.

  85. 21:00

    So you can get some tools related to file system, tools related to OCR. So, uh, what we want it to do, so here

  86. 21:11

    is the use requirement. I want it to find my receipt, um, process it, and get the total amount from it. So let's see, uh, whether it can complete this task or not.

  87. 21:26

    So it starts to thinking because it needs to figure out which tool to use. Okay, uh, the first tool to use is search file, because it nee- he, it needs to find the receipt and then, uh, he figure out to use the, um,

  88. 21:42

    after search, it'll use the OCR one to, uh, extract the text and then get the output, get the total amount. Okay, that's cool. So that's all my demo. Um, so finally, I know it's a little bit over time, but I just quickly run top.

  89. 22:00

    So Foundry Local enables you to build up, um, applications powered by local AI. And, uh, one best practice, um, so local model generally are not, uh, ca- uh, not that capable, uh, as cloud model.

  90. 22:18

    So, um, you cannot expect it to do the fancy work that cloud model or cloud agent can do, but it has unlock a lot of potential. So I leave that to you guys to explore.

  91. 22:32

    Uh, if you want to get more information, uh, here is the link, and you want to, uh, try out our agent, uh, feature, you can sign up our, you know, our private preview form.

  92. 22:44

    All right, uh, thanks, everyone. [outro music]