[00:00:01] [music] [00:00:06] >> Uh hi folks. My name is Luis uh and I [00:00:08] lead product on the AI libraries for the [00:00:10] .NET team. Uh today here I'm going to be [00:00:12] talking to you about uh the .NET AI [00:00:14] stack. Um I could literally do a whole [00:00:17] day uh just you know focusing and doing [00:00:19] deep dives into each of these sections. [00:00:21] Um but we're going to try to you know do [00:00:23] this in 30 minutes or so. [00:00:26] So if you didn't join us for the keynote [00:00:28] um you just want to set uh some context [00:00:30] here. All right? So on the .NET team we [00:00:32] build a set of shared foundations uh [00:00:35] that's via extensions AI, vector data, [00:00:37] and data ingestion set of libraries [00:00:39] uh that the rest of the ecosystem then [00:00:41] built on top of. Right? And so you're [00:00:42] seeing on screen here uh some examples [00:00:45] uh of what developers are building and [00:00:47] using uh these uh different shared [00:00:49] foundations for. [00:00:52] Now [00:00:53] this past year we've been working uh [00:00:55] both on the team as well as with [00:00:57] partners [00:00:58] uh on a variety of new capabilities. All [00:01:01] right? And so these are just a few of [00:01:02] them. We're going to go uh deeper uh [00:01:04] throughout the session, but I just [00:01:05] wanted to kind of highlight them here on [00:01:07] this slide. [00:01:10] So um you know what what exactly can I [00:01:12] do with uh the various AI libraries and [00:01:16] the capabilities that they provide? Um [00:01:18] and so in this example um what you're [00:01:20] looking at is the application Jellyfin. [00:01:23] Right? So I [00:01:24] have an instance running on my own [00:01:26] Raspberry Pi at home. Um and so if [00:01:28] you're not familiar with Jellyfin, it is [00:01:30] a media server where you can upload you [00:01:31] know your movies, your music, [00:01:34] um and you can self-host that. Right? Uh [00:01:36] and it's all built entirely in .NET. And [00:01:38] in one of their most recent releases uh [00:01:41] they actually expose a set of APIs that [00:01:43] let you customize or bring your own [00:01:45] search and recommendation. Right? So as [00:01:48] soon as this dropped I was like okay I [00:01:50] could do something with that. [00:01:51] Um and so I went ahead and leveraged uh [00:01:54] some of our AI libraries. Uh for example [00:01:57] for embedding generation and and long [00:01:59] story short I was able to very quickly [00:02:02] uh add semantic search uh to Jellyfin, [00:02:05] right? So the experience continues to be [00:02:07] the same, but now it's much better, [00:02:09] right? Thanks to AI and and you know [00:02:11] some of the libraries that that we [00:02:13] provide um on in the .NET ecosystem. [00:02:16] But you know chances are that you you [00:02:19] may only see you know think of uh AI [00:02:21] chat or often it's associated as AI is [00:02:24] chat, right? [00:02:25] Um but it goes beyond chat. Um it you [00:02:27] know uh chat and search, right? And so [00:02:30] in this example what you're seeing here [00:02:31] is this uh Media Studio application. [00:02:34] It's a um it's a Blazer hybrid [00:02:36] application running locally here on on [00:02:38] my PC. [00:02:40] Um and what it does, right? Is uh it [00:02:42] helps you um build and uh effectively uh [00:02:47] create videos, right? So a lot of times [00:02:50] you know you may have complex topics or [00:02:52] you may want to explain something to [00:02:53] somebody, but you know the visual [00:02:55] component of it may make it easier to [00:02:57] digest uh and just you know understand [00:02:59] that concept, right? And so that's kind [00:03:01] of what we're getting at here. But [00:03:03] going from that you know idea and [00:03:05] narration and uh you know the [00:03:07] storyboarding of it and and and the [00:03:09] composition to generate a final artifact [00:03:12] um it it can be challenging, right? It's [00:03:14] it's a it's a lot of work, right? [00:03:16] Um but you can lean on AI uh for parts [00:03:20] of this workflow, right? And build a [00:03:22] video um or or media production pipeline [00:03:25] with the various components, right? Um [00:03:28] and so you can do things like [00:03:29] storyboarding, narration, uh captions, [00:03:32] thumbnail generation, and a whole bunch [00:03:33] of other things, right? That are not [00:03:34] just natural language and chat, right? [00:03:37] They really uh run sort of the the [00:03:39] spectrum of modalities and capabilities. [00:03:42] So [00:03:43] with that in mind let me just kind of uh [00:03:45] jump in here and kind of walk you [00:03:46] through a through one of the scenarios, [00:03:48] right? So um in the previous example you [00:03:50] saw a relatively simple scenario where [00:03:52] uh we were just explaining how rain [00:03:53] works, right? [00:03:55] Now what we're going to do here is [00:03:57] uh if I pop out and go over to the [00:04:00] application itself. [00:04:02] Um okay so we're looking at the [00:04:03] application here. Um and one of the [00:04:05] things that I want to do is I have this [00:04:06] paper. Um let me kind of pull that up. [00:04:09] Um here and kind of show you what the [00:04:11] paper is all about. [00:04:13] Um [00:04:17] so the paper itself is just a research [00:04:19] paper and it talks about [00:04:21] um you know effectively uh this topic [00:04:24] called nested learning. [00:04:26] And so what we want to do here is we [00:04:27] want to take this paper and really [00:04:28] distill down the key points or the key [00:04:30] information to introduce somebody to [00:04:32] this topic. [00:04:33] Now we're going to do that inside of our [00:04:35] application. So if I go over to [00:04:38] my app [00:04:41] um and I just kind of start out with [00:04:45] uh grabbing the resource, right? So I'm [00:04:47] going to go ahead and attach the [00:04:49] document. [00:04:54] And [00:04:55] then [00:04:56] once that's attached [00:04:57] um there's multiple ways that I can sort [00:04:59] of interact with this application. So I [00:05:01] can of course just type in a prompt and [00:05:02] tell it what I want, but let's go ahead [00:05:04] and let's try speech here. [00:05:10] Okay, just waiting a second for the uh [00:05:13] model to become ready. Okay, now that [00:05:14] it's ready I can say can you please go [00:05:16] ahead and create [00:05:17] um a introductory video for beginners [00:05:20] here um and we want to make sure to use [00:05:23] animations and graphics to help [00:05:24] illustrate the point. [00:05:26] Let's go ahead and do that. [00:05:28] And then let's uh send our prompt here. [00:05:32] Now what's going to happen in the in the [00:05:33] background is a set of models are going [00:05:35] to go ahead and start storyboarding and [00:05:38] building the narrative um for this [00:05:40] application, right? [00:05:42] Um and then after a few seconds what we [00:05:45] should see here is uh our storyboard [00:05:47] sort of come up. [00:05:49] Okay, so you can see here that uh our [00:05:51] storyboard is being generated for us. Uh [00:05:54] and there's a number of things that we [00:05:55] can then go ahead and do here. So [00:05:57] um one of the things is we can go ahead [00:05:59] and uh have this conversation pane here [00:06:02] which is um not quite uh a chat history. [00:06:05] It's the sequence of events that are [00:06:07] taking place, right? So it's not just [00:06:09] chat. Now you can interact with it via [00:06:10] chat, right? But you can do a whole [00:06:12] bunch of other things, right? [00:06:15] One of the things also that [00:06:17] we can kind of do here is we can just [00:06:19] inspect the, you know, the individual [00:06:22] scenes. We can edit things, [00:06:25] so on and so forth. And one of the other [00:06:27] things that we can sort of leverage here [00:06:29] is we can leverage it we can leverage [00:06:31] AGUI and Blazer AI components for this [00:06:35] user experience to be able to then [00:06:37] effectively make changes dynamically in [00:06:39] real time [00:06:41] and have those reflected immediately in [00:06:43] the UI [00:06:44] with the UI communicating directly with [00:06:46] the agent in the background, right? So [00:06:47] once our storyboard is sort of ready [00:06:49] here, [00:06:50] right? I can tell it something about, I [00:06:52] don't know, [00:06:54] scene two. [00:06:56] Two [00:06:57] is to abstract. Can you [00:07:02] make it simpler and more relatable? [00:07:05] Right? So we're going to go ahead and do [00:07:06] that [00:07:07] and then hit send. [00:07:09] And then that's sort of that interaction [00:07:11] that I'm sort of mentioning here, right? [00:07:12] So it goes off. [00:07:13] The agent in the background is making [00:07:15] the changes and those changes should [00:07:16] sort of be reflected here in real time [00:07:19] in a second. [00:07:24] Now, in the interest of time, I'm not [00:07:25] going to kind of walk you through this [00:07:26] whole thing. Once you sort of go through [00:07:28] it, [00:07:29] you can go ahead and click generate, [00:07:31] which will kick off our video [00:07:33] composition pipeline. And you can see [00:07:35] here in a second that the scene itself [00:07:37] was changed in real time. [00:07:39] But let me kind of switch back here to [00:07:42] the slides [00:07:44] to kind of just keep going [00:07:47] and talk about what exactly happened [00:07:49] here throughout this whole interaction. [00:07:52] So let me [00:07:53] pull that up. [00:07:58] All right. Okay, we're back. [00:08:01] Okay, so [00:08:03] before I kind of move forward, I kind of [00:08:05] want to show you here what you would see [00:08:07] if, you know, if let the video generate [00:08:09] until the end. And so you here you're [00:08:10] seeing an actual video that was [00:08:11] generated on this actual topic. You can [00:08:14] see that it's going through the [00:08:16] different scenes. [00:08:17] It's if I kind of skip forward here, [00:08:19] you're going to see that it's sort of [00:08:21] dynamically animating that, right? And [00:08:23] so all of these things were actually [00:08:25] powered you know, by the various sort of [00:08:27] AI capabilities, right? That the .NET [00:08:29] ecosystem provides. [00:08:32] So how do all these different pieces [00:08:34] kind of fit together? And so [00:08:37] at the very bottom [00:08:38] you can see here at this this bottom [00:08:40] layer you have the shared set of [00:08:41] abstractions that that we provide on the [00:08:43] .NET team, right? So that includes as I [00:08:45] mentioned extensions AI, data ingestion. [00:08:48] We have vector data as well, tokenizers, [00:08:50] tensors, right? There's a there's a [00:08:51] number of libraries that we provide. And [00:08:52] then on top of that [00:08:54] you start to sort of assemble the [00:08:56] different pieces, right? So when it [00:08:58] comes to models, right? You can sort of [00:09:01] your entry point becomes the I chat [00:09:02] client and that lets you talk to a [00:09:04] variety of LLMs. [00:09:07] Now sometimes right, you may need to [00:09:10] choose a different type of model [00:09:12] depending on the capabilities and needs [00:09:13] that you have. And so for that you might [00:09:15] leverage something like the writing chat [00:09:16] client to dynamically let you select and [00:09:18] pick the model. [00:09:20] Now you may do that [00:09:21] yourself, right? so you just hard code [00:09:23] policies of as to how to do that [00:09:25] or you could leverage decision models, [00:09:28] right? So you may have heard of JAB or [00:09:29] Microsoft decision [00:09:31] decision type models, right? And so [00:09:33] that's kind of what what is being shown [00:09:34] here. So you can leverage decision type [00:09:36] models [00:09:37] inside of a writing chat client to make [00:09:39] that decision for you, right? [00:09:41] Most recently we introduced a set of [00:09:43] document [00:09:44] a set of abstractions for [00:09:46] document extraction, right? So [00:09:48] businesses [00:09:49] and their data often lives inside of [00:09:51] documents. [00:09:52] And so we are introducing this document [00:09:54] extraction client to make it easier for [00:09:56] you to regardless of provider very [00:09:58] similar to some of our abstractions, [00:09:59] right? [00:10:00] Be able to choose the right level of [00:10:02] intelligence for extracting information [00:10:04] from documents, right? And so some [00:10:06] providers may not be very good at [00:10:07] extracting images or tables and others [00:10:09] may be, right? And that's going to come [00:10:10] with latency, cost, and quality sort of [00:10:12] trade-offs. And so, [00:10:14] regardless of which one you choose, [00:10:15] you're going to be able to sort of, you [00:10:16] know, uh use the one that makes the most [00:10:18] sense for your scenario. [00:10:20] Um we can process uh sort of these [00:10:22] documents, the uh the data ingestion set [00:10:24] of abstractions, right? [00:10:26] Um as I mentioned, it's not only chat. [00:10:28] You can use uh you know, text-to-speech, [00:10:30] speech-to-text, real-time audio, image [00:10:32] generation. There's a whole bunch of [00:10:34] capabilities beyond just, you know, [00:10:35] text-to-text. [00:10:37] Um you can sort of provide your agents [00:10:39] with tools, right? And so this could be [00:10:41] just the standard uh C# methods or you [00:10:43] can have uh MCPs, for example. Uh and [00:10:46] those can be leveraged by agents such as [00:10:48] those uh that you can build with the [00:10:50] Microsoft agent framework. And then last [00:10:52] but not least, right? As you kind of saw [00:10:54] here, you can sort of also bring these [00:10:56] agentic experiences into your UI uh [00:10:59] thanks to uh AGUI SDKs, for example, in [00:11:02] .NET and those protocols, [00:11:04] uh as well as some of the Blazer uh AI [00:11:06] components, right? [00:11:09] So let's take a high-level look at um [00:11:12] one of these traces. So [00:11:15] basically kind of what you saw there was [00:11:16] you had a PDF. Um right? We had a PDF. [00:11:20] Uh what's sorry. Let me click play here [00:11:22] so it's actually animated. So you had a [00:11:24] PDF uh and we're going to use our [00:11:26] document extraction client to [00:11:29] extract all the information, the tables, [00:11:31] and uh the text, and all those sorts of [00:11:32] things. Um and we're going to represent [00:11:34] that as an ingestion document, right? [00:11:36] This ingestion document uh basically now [00:11:38] just represents the document itself. [00:11:41] Um at that point, once we have our [00:11:43] context, we leverage a routing chat [00:11:46] client um with a decision client to help [00:11:49] us choose, do we need a model with uh [00:11:52] tool calling capabilities? Do we need [00:11:53] one with large context? Right? Depending [00:11:55] on the requirements, right? Our routing [00:11:57] chat chat client is going to [00:11:59] intelligently choose the model that [00:12:00] makes the most sense for us. [00:12:03] Once we have the model in place, we can [00:12:05] sort of uh [00:12:07] use that, right? That's going to be the [00:12:08] backbone of our agent, which is then [00:12:10] going to go ahead and perform a set of [00:12:12] uh edits and generation uh and sort of [00:12:14] authoring tasks, right? To basically [00:12:17] build our storyboard and our scenes and [00:12:19] things like that. [00:12:21] Uh once the agent is done processing, it [00:12:23] sort of reflects that information inside [00:12:25] of the UI, right? So that's uh via our, [00:12:27] you know, AGUI and sort of our [00:12:29] uh Blazer AI components, right? This is [00:12:31] when you effectively get into that [00:12:32] iteration loop [00:12:34] um of of editing and then once you're [00:12:37] happy with that, you click generate and [00:12:39] then off it goes and it generate uh it [00:12:42] generates narrations, it goes ahead and [00:12:43] generates thumbnails, it generates uh [00:12:46] the animations themselves, right? And it [00:12:48] composes all of those things. It [00:12:50] stitches it together using standard [00:12:51] code, right? So there's no AI at that [00:12:53] point uh to produce the film. [00:12:58] Um so let's go step by step through all [00:13:01] of these. So when you're when I [00:13:02] mentioned talking to a model, right? In [00:13:04] this case, we're we're uh referencing [00:13:06] the iChat client, right? And so here, [00:13:08] you know, one of the things that that [00:13:09] we're excited to share is that [00:13:11] um now the OpenAI and the Anthropic uh [00:13:15] C# SDKs, right? Now have adapters, uh [00:13:17] native adapters for the iChat client. So [00:13:19] you can just install the package, right? [00:13:21] And get uh basically start using uh [00:13:24] the the SDKs [00:13:26] um and and leveraging the iChat client [00:13:29] that way, right? And what you get there [00:13:30] is regardless of whether you're using [00:13:32] OpenAI or, [00:13:33] you know, Anthropic [clears throat] set [00:13:34] of models, uh your outside of the [00:13:36] initialization code, [00:13:38] uh your application code stays [00:13:41] relatively the same, right? [00:13:44] Um you can actually go ahead and check [00:13:45] out this sample here um if you go over [00:13:47] to that link, akms me ai start. Um this [00:13:51] kind of shows you side by side, right? [00:13:52] And it really shows you that pattern of [00:13:54] um everything is backed by this iChat [00:13:56] client. So regardless of which provider [00:13:58] it is that you're using, um right? For [00:13:59] your application code, it all mostly uh [00:14:01] stays the same. [00:14:03] But it's not all about just cloud [00:14:05] models, right? Some of the intelligence [00:14:07] can run on your device, right? And then [00:14:09] earlier today during the keynote um we [00:14:11] had the the team from Hugging Face come [00:14:13] on and tell us about the uh Llama app, [00:14:16] right, which is [00:14:18] over in the Windows store and in [00:14:19] Microsoft store. [00:14:21] And it's available for Windows. This is [00:14:22] a system tray app that lets you discover [00:14:25] download models and just make them [00:14:26] available to interact with in your app. [00:14:29] And again, this is built by the Hugging [00:14:31] Face team and the Llama CPP team. So [00:14:34] all of those, you know, local model [00:14:36] capabilities are available to you [00:14:38] through this app. [00:14:40] Now we have the model. Great. Which one [00:14:43] should we choose? [00:14:44] And so that's kind of where our routing [00:14:46] chat client comes in, right? And so we [00:14:48] define a policy. Do we need JSON? Do we [00:14:50] need tools? What is the [00:14:53] context context size that we need to [00:14:55] allow, right? So like all these other [00:14:56] things, these are all things that you [00:14:57] can define yourself in code, right? And [00:14:59] once you have [00:15:01] [clears throat] [00:15:02] once you have these sort of [00:15:03] policies in place, you can just leverage [00:15:06] the routing chat client to effectively [00:15:08] return the chat client that most closely [00:15:11] matches those policies, right? [00:15:16] And so [00:15:17] to do that, you can actually just write [00:15:19] code and you can just have a bunch of if [00:15:20] statements, you can use unions, you [00:15:22] know, you can you can [00:15:24] pretty much do whatever you want inside [00:15:25] of that routing chat line, right? So [00:15:26] sort of you can [00:15:28] you know, set your own policies there. [00:15:31] But one of the challenges is [00:15:33] that oftentimes these requests that are [00:15:35] going to be coming into the application, [00:15:36] they're sort of free form and free text. [00:15:38] And so as the [00:15:40] potential number of [00:15:42] you know, paths and and choices, [00:15:45] you know, grows, it may be difficult to [00:15:47] manage with just a set of if statements, [00:15:49] right? And so for that, you might [00:15:51] leverage something like a decision [00:15:53] model, right? And so [00:15:55] the OpenAI SDK today [00:15:58] offers support for the decision API, [00:16:00] right? So you can just start using that [00:16:01] today if you're using those cloud hosted [00:16:03] models. [00:16:06] But [clears throat] you there's a ton of [00:16:07] other open source implementations and [00:16:08] other providers that you can use, right? [00:16:10] And so in this case, the in the code, [00:16:12] you're just seeing an example [00:16:13] [snorts] of how you might use the a a [00:16:16] called Julia, right? And so that's run, [00:16:17] you know, you can run that using Onyx [00:16:19] runtime, [00:16:21] right? And it's all running locally on [00:16:22] your PC. [00:16:24] Um, and I'm excited to share that, you [00:16:25] know, we've been working with partners [00:16:26] here as well with the community and, you [00:16:28] know, in the in the next [00:16:30] you know, few cycles, we're going to be [00:16:32] working on the extensions AI side of [00:16:34] providing some [00:16:35] some core foundations and abstractions [00:16:39] for these decision style models. [00:16:43] Um, okay, so let's kind of trace a [00:16:44] request through this. So the way that it [00:16:46] works is [00:16:49] the request comes in, right? So the [00:16:50] request comes in, [00:16:51] it goes to our writing chat client, [00:16:53] which then behind the scenes leverages [00:16:54] the decision client, whether that's [00:16:57] OpenAI [00:16:59] decisions or, [00:17:01] right? [00:17:02] Our our Onyx model. Now the writing chat [00:17:04] client then returns depending on what [00:17:06] decision they came up with the right [00:17:08] client to serve that request and then [00:17:10] starts making those calls and requests [00:17:12] against the specific provider. [00:17:17] So that takes [clears throat] care of [00:17:18] the models, but what about your data, [00:17:19] right? So like everybody's using the [00:17:21] same models, but but the true value lies [00:17:23] in your data. [00:17:25] And so [00:17:26] as I mentioned earlier, a lot of your [00:17:28] data tends to be inside of documents. [00:17:31] For a lot of businesses that tends to be [00:17:32] the case. And so [00:17:34] we built this document extraction client [00:17:37] abstraction, which kind of wraps a lot [00:17:39] of that functionality [00:17:41] into a contract for reading documents. [00:17:43] And so in comes a document and [00:17:46] basically recognizes different document [00:17:48] sections. So whether that's paragraphs, [00:17:51] images, [00:17:52] tables, right? So on and so forth. [00:17:55] And and you know, there's many different [00:17:57] implementations these very similar to [00:17:59] the models, right? There's many [00:18:00] different capabilities that these models [00:18:02] may provide. And so [00:18:03] regardless of which one you choose, [00:18:05] right? In here you're seeing sort of a [00:18:07] local implementation of it that [00:18:08] leverages the PDF pig set of open source [00:18:11] libraries. [00:18:12] You could also use Mistral OCR models [00:18:15] that are both on Foundry as well as as [00:18:17] well as sort of, you know, on Mistral. [00:18:20] And so you can leverage that [00:18:21] there as well. Or you can actually just [00:18:24] use any vision language model backed by [00:18:27] an iChat client. So you can imagine this [00:18:30] document extraction client itself has an [00:18:32] iChat client which looks at images of a [00:18:34] PDF, right? So the pages as a as an [00:18:36] image and then it does the document [00:18:38] extraction. Now, [00:18:40] throughout all those scenarios, there's [00:18:41] going to be, you know, differences in [00:18:42] again, cost, quality, latency, right? [00:18:45] But at the end of the day, it's you get [00:18:47] to choose the one that makes the most [00:18:48] sense for you. [00:18:52] Um and so it's not just about extracting [00:18:55] the content, right? So you need to then [00:18:57] do something with that, right? And so we [00:18:58] have our data ingestion set of [00:19:00] abstractions that let you go and [00:19:02] basically run that the extracted [00:19:04] information through a processing [00:19:06] pipeline to sort of make better sense [00:19:08] and actually enrich the context that [00:19:11] you're providing to your applications. [00:19:15] So let's kind of see here real quick [00:19:17] sort of that flow and what that looks [00:19:19] like. So [00:19:20] again, PDF pages come in or you know, [00:19:22] insert document. Now that hits our [00:19:25] document extraction client, which again, [00:19:26] it could be [00:19:27] a local library. [00:19:30] It then goes ahead and does the [00:19:31] extraction [clears throat] for different [00:19:33] sections, you know, paragraphs, tables, [00:19:35] images, and represents that as an [00:19:38] ingestion document. That ingestion [00:19:39] document is then sort of [00:19:41] processed into chunks [00:19:43] and then you know, it's ready for use [00:19:46] inside of your application. Again, the [00:19:47] flow is exactly the same regardless of [00:19:50] the provider that you're using, you [00:19:51] know, it's Mistral, chat clients, [00:19:54] Azure document intelligence, right? It [00:19:56] really does not does not matter much. [00:20:01] Great. So that's models and context. But [00:20:04] when it comes to [00:20:05] models, I mentioned that it's not only [00:20:07] about chat [00:20:10] natural language text more specifically, [00:20:12] right? Chat may be the interface that [00:20:13] you interact with this [00:20:15] you know, with your application. [00:20:16] But it's not just text, right? So that's [00:20:18] a better way to say that. [00:20:21] You can for example, right? And and as [00:20:23] you saw me in in the application, you [00:20:25] can leverage audio models to both A [00:20:28] generate the narration for the video and [00:20:30] also as a way to take the input from a [00:20:33] user. So rather than typing, I can just [00:20:35] speak, right? And the models behind the [00:20:37] scenes can sort of understand and then [00:20:38] sort of transcribe transcribe those [00:20:40] things. [00:20:41] [snorts] [00:20:43] Uh similarly, you can go ahead and [00:20:47] you know do image generation, right? So [00:20:49] we might want to have thumbnails to [00:20:50] represent our you know to have a nice [00:20:53] sort of representation of what the video [00:20:54] is kind of about, right? So we have the [00:20:55] thumbnails [00:20:57] and we can leverage our image generation [00:20:59] generator set of contracts, right? To [00:21:01] sort of do that. One thing that I kind [00:21:02] of want to call attention to and and you [00:21:04] know I've kind of alluded it to it in [00:21:06] the past, but I'll kind of focus it [00:21:08] focus on it a little bit more here, [00:21:09] which is [00:21:13] here we have implemented a custom I [00:21:15] image generator, right? So we are we are [00:21:18] implementing the contract of text in [00:21:20] image out. Now you might think, oh well [00:21:22] we're just using you know one of the [00:21:24] image generation models, but that's [00:21:25] actually not the case. If you take a [00:21:27] closer look, we're actually using an I [00:21:29] chat client [00:21:31] to generate SVGs for us. [00:21:34] Once we have the SVGs, we render them as [00:21:36] PNGs [00:21:38] and by by doing so, we're satisfying the [00:21:40] contract that we got text in and now [00:21:43] comes an image, right? And so the the [00:21:44] key point that I kind of want to stress [00:21:46] here is [00:21:48] these abstractions and foundations give [00:21:50] you the contracts, but then the [00:21:51] implementations of what makes the most [00:21:53] sense for your application is really [00:21:55] sort of up to you, right? And so there [00:21:56] you have a lot of flexibility there. [00:22:00] So how does everything then come [00:22:02] together, right? So we we talked [00:22:04] multimodal, [00:22:05] you know we talked [00:22:07] thumbnail generation [00:22:09] and and you know the animations, right? [00:22:10] So [00:22:11] as you can see here you have as input, [00:22:12] we have the scene text which is run [00:22:14] through a local model here [00:22:18] um and that's what's generating the [00:22:20] narration that you hear in the video, [00:22:21] right? You also have a prompt that comes [00:22:23] in that generates [00:22:25] the thumbnails, right? So now comes the [00:22:27] image and then you have additional code [00:22:29] that generates [00:22:31] the animations that you saw on screen [00:22:33] and all of those are composed together [00:22:35] to generate this film. You know, this [00:22:37] sort of on the side here, that's sort of [00:22:38] the other flow that I was mentioning, [00:22:39] right? [snorts] Where you might have [00:22:42] inputs coming in from the mic and then [00:22:44] you're transcribing those with local [00:22:45] models, for example, with Whisper [00:22:47] or you may be using some of the OpenAI [00:22:49] real-time or other providers real-time [00:22:51] set of you know models. [00:22:56] So [00:22:57] [clears throat] that covers models and [00:22:58] context, but you know [00:23:01] at the end of the day, right? You want [00:23:02] your agents, right? Or your applications [00:23:04] to do work on your behalf. [00:23:07] And so to do that, you expose tools [00:23:10] to your [00:23:12] to your agents and to you know to your [00:23:14] applications so that they can use it. So [00:23:16] in this case, it's that you know we're [00:23:18] we're showcasing the the Media Draft [00:23:20] tool, right? So that's one where that [00:23:21] does this whole authoring [00:23:24] and things like that inside of our [00:23:25] application [00:23:27] and creates the scenes. [00:23:29] And here we just have a [00:23:32] you know we're just using a standard C# [00:23:34] method, right? We just have a function [00:23:36] here that that does this for us [00:23:39] and we can expose that now as a tool. [00:23:41] However, right? We could also use the [00:23:43] MCP C# SDK. Now I'm not going to go [00:23:45] we're not using MCP in this case, [00:23:48] but that's also yet another way that you [00:23:49] can expose tools to your applications, [00:23:51] right? And there's a ton of session, you [00:23:53] know there's sessions coming up later [00:23:55] that are going to go in a little bit [00:23:56] deeper into that, both what's currently [00:23:58] in the 2.0 sort of milestone of the SDK [00:24:03] and the protocol as well as you know [00:24:05] some of the stuff that's coming next [00:24:06] such as you know serving skills [00:24:08] over MCP. [00:24:11] Now those tools, right? Get exposed to [00:24:13] an agent. Now in this case, we we're [00:24:15] using Microsoft Agent Framework and we [00:24:17] have the option also with agents, right? [00:24:19] So Microsoft Agent Framework builds on [00:24:20] top of a lot of these shared foundations [00:24:23] and so you have the choice of providing [00:24:24] an iChat client as your model here, [00:24:26] right? [00:24:27] But similarly, Agent framework is is [00:24:30] sort of this [00:24:31] shared foundation that can orchestrate [00:24:33] across different agent types. And so, [00:24:36] in this case, I may want to use the I [00:24:38] check client, any I check client, right? [00:24:40] So that can be any provider in, you [00:24:41] know, Foundry or somewhere else. [00:24:43] [snorts] Um, or I may choose to use the [00:24:47] Copilot SDK, right? And I can [00:24:49] effectively orchestrate using agent [00:24:51] framework my, you know, using the [00:24:53] Copilot SDK. [00:24:56] Um, again, the UI is is sort of in these [00:24:59] experiences [00:25:01] that are backed by these AI agents [00:25:04] can be sort of, you know, exposed [00:25:07] to, you know, the UI can be exposed to [00:25:09] these AI agents and you can natively [00:25:10] talk back and forth between them thanks [00:25:12] to again the AGUI protocol which you [00:25:14] know just released the C Sharp, you [00:25:16] recently released the C Sharp SDK for [00:25:18] as well as if you're doing Blazor, [00:25:20] right? You can leverage the Blazor AI [00:25:21] components which natively use AGUI. [00:25:26] Um, this is kind of what it looks like [00:25:27] to put your agent, right? And connect it [00:25:31] to the UI using those components that I [00:25:32] just mentioned. [00:25:34] And again, just kind of walk you real [00:25:36] quick through that loop, right? So [00:25:38] you know your request comes in, [00:25:40] your UI sort of interprets that, it [00:25:43] leverages [00:25:45] you know AGUI events to then talk to [00:25:47] your agent. Your agent may call on some [00:25:50] tools to go ahead and and generate the [00:25:52] scenes. [00:25:53] And then last but not least, right, [00:25:55] outcomes the changes that you saw in [00:25:58] real time. [00:26:01] So, you know, just to kind of wrap up [00:26:03] here, you know, we have a set of shared [00:26:06] foundations that really covers you know [00:26:08] the the the whole spectrum, whether [00:26:10] that's intelligence, whether that's [00:26:12] context, whether that's tools, whether [00:26:14] that's agents, right? [00:26:16] You know, we provide you with those [00:26:17] shared foundations and we're excited, [00:26:19] right? And we're so happy to see that [00:26:21] developers are embracing them and and [00:26:23] building some really interesting things [00:26:24] on top of them. [00:26:27] Again, this is [clears throat] again [00:26:29] another sort of [00:26:32] sort of a consolidation, right, of all [00:26:33] the things that we sort of talked about [00:26:34] here. [00:26:35] And and the key points to sort of take [00:26:36] away here is how the entire stack fits [00:26:39] together. You can talk to any model. You [00:26:41] can make choices about which model fits, [00:26:44] you know, the capability requirements of [00:26:46] your application. You can bring your [00:26:48] context with the document extraction and [00:26:50] data ingestion set of libraries. You can [00:26:52] use more than just text and go [00:26:54] multimodal. [00:26:57] You can have tools and expose to your [00:26:59] agents, and you can then build rich [00:27:00] experiences that are powered by agents [00:27:03] using [00:27:04] and Blazer AI components. [00:27:07] You can go deeper on all this stuff at [00:27:09] all the sessions that are going to be [00:27:10] happening later today. I highly [00:27:12] encourage you to check those out. [00:27:14] And then last but not least, go do the [00:27:16] things. Get .NET 11, go try out some of [00:27:18] these AI libraries, do the developer [00:27:19] survey, and get some swag. So [00:27:22] I'll toss it back for any questions.