[00:00:06] Hey everyone, I'm Gerald. I am working [00:00:08] on the .NET Maui team and I'm going to [00:00:11] tell you about beyond code generation, [00:00:13] give AI eyes and hands for .NET Maui, [00:00:16] which basically means I'm going to help [00:00:18] you build your .NET Maui app through AI [00:00:21] copilot, your buddy copilot, right? He's [00:00:23] right here, he's everywhere, to make it [00:00:26] easier than ever to build your .NET Maui [00:00:28] apps with all of that. Because I don't [00:00:30] know about you, [00:00:31] but AI is very good at generating code, [00:00:35] XAML code, any kind of code, lots of it, [00:00:38] right? And that's what it's been doing. [00:00:39] But in [00:00:41] especially for mobile apps, it has been [00:00:44] very hard to kind of like verify what it [00:00:46] has been doing, right? So there's not [00:00:48] really a way for copilot or any other AI [00:00:51] to see your app, right? To self-verify [00:00:54] what is going on. And we're going to [00:00:56] change that with something that is [00:00:57] called Dev Flow and a couple of other [00:00:59] ingredients. But with this, I don't know [00:01:01] what your experience was, but kind of [00:01:02] like earlier on when we started this a [00:01:04] year ago, [00:01:06] I started building apps obviously with [00:01:08] AI and copilot. And what it would do is [00:01:11] just take screenshots and it would [00:01:14] then go off these screenshots and kind [00:01:16] of like figure out what was going on [00:01:17] there. It didn't really have access to [00:01:19] the actual visual tree, so it couldn't [00:01:20] really see what is going on. And then [00:01:23] another thing that would happen on a bad [00:01:24] day is it would take the emulator, take [00:01:27] my mouse cursor and trying to start kind [00:01:29] of like find the coordinates of where it [00:01:31] should click and tap and do things and [00:01:33] usually it would get it wrong. And also [00:01:35] I want to do other things. That's the [00:01:37] promise of AI. I can do other things [00:01:38] while you're building and now suddenly [00:01:40] you're stealing my mouse cursor. It was [00:01:41] not great. It was time to fix that. And [00:01:44] that's what we did with something that [00:01:45] we call Dev Flow. So here you see a [00:01:47] little sample running on the side with [00:01:49] the .NET Conf app that I've built for [00:01:52] the demos here in the session that I [00:01:53] have for .NET Conf. But you can go out [00:01:55] and download it in the stores right now. [00:01:58] Even if the conference is over and [00:01:59] you're watching this later, it will have [00:02:01] all the YouTube links right there. You [00:02:02] can kind of like click through through [00:02:04] the things that you've already watched. [00:02:05] So, it's still useful. [00:02:08] But most of all, it was a technical demo [00:02:09] for these things. And I just told [00:02:11] Copilot in the CLI in this case, hey, [00:02:13] run through this, do some exploratory [00:02:15] testing, click all the things, swipe all [00:02:17] the things, see if everything behaves as [00:02:19] it should, right? A little bit of a fake [00:02:21] prompt, I realized that because what it [00:02:24] should work as it should, there were no [00:02:26] real requirements. But the models these [00:02:29] days are pretty good at figuring out [00:02:30] what is going on. So, this went great. [00:02:32] Now, what you can see happening here [00:02:34] basically has a couple of ingredients [00:02:36] that I'm going to go over in this [00:02:38] session here right now. First, the Maui [00:02:40] CLI, great for agents and humans both. [00:02:43] Human pilot also very much a fan of Maui [00:02:46] CLI I am because it does a bunch of [00:02:49] stuff. Some of it AI related, some of it [00:02:51] absolutely not. But as you will see, as [00:02:54] you probably already noticed if you're [00:02:55] working with all this AI stuff, there [00:02:58] are a lot more CLI tools coming out than [00:03:00] ever before, right? We already had a lot [00:03:02] of CLI tools, but now there's even more [00:03:04] because agents love them, right? It's [00:03:07] very easy for us to work with them, but [00:03:08] agents also love them because it's easy [00:03:10] to invoke with just text and then what [00:03:12] comes out of it also text, right? So, [00:03:14] agents find it very easy to work with [00:03:16] that. So, we were like, hey, the time is [00:03:17] now. We also need a Maui CLI. You can do [00:03:20] all these kinds of crazy things with [00:03:21] that. Maui Doctor is something that [00:03:24] probably the human pilots love where you [00:03:26] can inspect your environment for your [00:03:28] Maui [00:03:29] development setup. So, you can see if [00:03:31] your Xcode is in order, if your Android [00:03:34] SDK is installed, all these kinds of [00:03:35] things. And you can do Maui Doctor dash [00:03:37] dash fix and it will even start trying [00:03:40] to fix things for you automatically [00:03:41] there as well. [00:03:42] It manages all these things and then you [00:03:44] have like a dash dash JSON that makes it [00:03:46] easier to actually parse it for agents, [00:03:49] right? So, that's one of the things. But [00:03:51] as we'll see in a minute, it does a lot [00:03:52] more. [00:03:54] AI skills, right? So, [00:03:56] this all, I'll show you in a second, is [00:03:58] hosted on a repository that we call [00:04:00] Maui-labs. You can see it there in the [00:04:02] top, github.com/dotnet/maui-labs. [00:04:06] Um and there is the CLI. You can get [00:04:08] that from NuGet, but also the AI skills [00:04:10] because this repository is set up as a [00:04:12] marketplace. Again, we'll see more of [00:04:15] that in a second, but you can point your [00:04:17] copilot, your agent to this marketplace, [00:04:19] get these skills, or you can get them [00:04:21] through the CLI. There's all kinds of [00:04:22] combinations possible here, but these [00:04:25] skills are created by our team to make [00:04:27] building Maui apps with AI so much [00:04:31] better, right? If you do not have these [00:04:33] skills, the agent has to guess kind of [00:04:35] like what should it do, what are the [00:04:36] Maui best best practices, or not just [00:04:38] Maui, but just mobile development, but [00:04:39] there's also Maui specific stuff in [00:04:41] there. And it's going to try to guess [00:04:43] and it's going to figure out it each [00:04:44] time for each session. And if you have [00:04:46] these skills, you can give it a tool set [00:04:49] of things that you have for your agent [00:04:52] to just effectively build the Maui apps [00:04:53] with all the best practices, with all [00:04:55] the things that are there, right? So [00:04:57] this is very valuable if you want to [00:04:59] start looking into these things. [00:05:01] Then Dev Flow, right? That's kind of [00:05:02] like the main driver of this whole [00:05:04] thing. We've called it Dev Flow, and [00:05:06] that basically means that [00:05:09] your AI can now see [00:05:12] your application, right? So the way this [00:05:14] works is we do a little bit of a small [00:05:16] application inside of your Maui app, [00:05:19] only in debug, right? Make sure that [00:05:20] it's only in debug. And now suddenly [00:05:22] your AI agent can talk to your Maui app [00:05:25] directly. So that means it can say like, [00:05:26] hey, give me the visual tree. And it [00:05:28] prints out the visual tree. It doesn't [00:05:30] have to guess based on a screenshot [00:05:32] what's going on right there. It will get [00:05:33] an actual representation of the visual [00:05:35] tree, including things that might be [00:05:37] invisible, right? Or have a zero width [00:05:40] or whatever is going on. You can also [00:05:41] say, hey, click this button or what is [00:05:43] the value of this entry right here? So [00:05:46] that is stuff that Dev Flow can do for [00:05:47] you and that the agent then can leverage [00:05:50] to get all the information about your [00:05:52] app. And that will much be much more [00:05:54] effectively than taking screenshot, [00:05:56] trying to figure out what it is. And [00:05:57] this will save you tokens, which is [00:05:59] probably the most important thing to [00:06:00] you, right? [00:06:02] So this is all these things. And [00:06:04] probably you know um because that has [00:06:06] been around forever, Playwright, right? [00:06:08] For the web, these things are just so [00:06:10] much easier to do because that's all [00:06:12] HTML, it's all text and you can parse [00:06:14] that very easily. You can see this as [00:06:17] Playwright for your mobile applications, [00:06:19] right? So [00:06:21] we've got all that. Then another thing [00:06:22] is the inspector. Um again, if you've [00:06:24] been working with AI now for a little [00:06:26] bit and more for the web-based [00:06:27] applications, um there is a button where [00:06:29] you can say, hey, I want to click this [00:06:31] little thing. This is the element that [00:06:32] you should add in the context. This is [00:06:34] what I'm talking about and here's the [00:06:36] prompt. I want you I have selected this [00:06:37] button and I want you to make it red, [00:06:39] right? And it knows that you are um [00:06:42] using this button because that you mean [00:06:44] this button because that's the one that [00:06:45] you selected. Now the same thing you can [00:06:47] also do with the inspector and a couple [00:06:49] of things more um because this basically [00:06:51] brings like a visual tree um to you. So [00:06:55] you can see that it's already available [00:06:57] in uh Visual Studio full, but now this [00:06:59] also brings it to VS Code and even with [00:07:01] Copilot CLI because it's just served up [00:07:03] as a web page, right? So let's see how [00:07:06] to get up uh setup with all of this. Now [00:07:09] I already mentioned um the Maui CLI. Um [00:07:13] just dotnet tool install -g to install [00:07:16] it globally. Um and it is a pre-release, [00:07:19] right? So everything in Maui Labs is a [00:07:21] pre-release right now um because we want [00:07:23] to first grow it there, incubate it [00:07:26] there for a little bit. It's also Maui [00:07:27] Labs. So it's not like super uh [00:07:30] supported like the official .NET [00:07:32] products, um but it's getting there. So [00:07:35] for now, it's a pre-release. We hope to [00:07:36] graduate it at some point, um but don't [00:07:38] worry, like the Maui team is behind [00:07:40] this. We are working hard on it um and [00:07:42] this is like an official thing. So from [00:07:44] that, you can do Maui doctor. You can do [00:07:46] Maui device list, right? You can get a [00:07:48] list of all the devices of all the [00:07:49] emulators, physical devices that are [00:07:51] connected to your machine, uh interact [00:07:53] with them, set up a new one, all these [00:07:55] kinds of operations. Maui doctor - - [00:07:57] JSON, I already mentioned it. And of [00:07:59] course, now we have built-in support um [00:08:01] for .NET run, .NET test, .NET watch, all [00:08:04] these things for Maui apps as well. Go [00:08:06] check out [00:08:07] pepper session for that too. [00:08:10] Another thing is Maui Sherpa. Um, this [00:08:12] one is actually not in the Maui Labs [00:08:13] repository. This does a lot of what the [00:08:16] Maui CLI does. Actually, it might be [00:08:17] powered by the Maui CLI for some part. [00:08:20] Um, but this is built by Jonathan on our [00:08:22] team and this is a visual tool that does [00:08:25] all these things as well. And a little [00:08:27] bit of a secret here, it's not just for [00:08:28] .NET Maui apps, right? It's just for [00:08:30] mobile apps because this also [00:08:32] sets up your whole environment for um [00:08:35] mobile development, right? Your again, [00:08:37] your Android SDK, Xcode. Um, it of [00:08:39] course has the bits for checking your [00:08:41] .NET version, your .NET SDK version on [00:08:44] your machine. But you can also do [00:08:45] certificates. You can make your builds. [00:08:47] You can upload them to the App Store [00:08:49] from right here. You can do so much [00:08:51] more. You can manage your secrets. It's [00:08:53] it's basically endless what you can do [00:08:54] with this tool. It's really unmissable [00:08:56] mission control for mobile development. [00:08:59] You should definitely check this out. [00:09:01] And then the skills that I already [00:09:02] mentioned, again, if you have the Maui [00:09:04] CLI, you can now just do Maui AI init. [00:09:07] Um, you have some different variations [00:09:09] for the environment, right? If you have [00:09:11] a specific environment, then it can be [00:09:13] in here. So you can do dash dash env for [00:09:15] VS Code, which is I think also the [00:09:17] default one. Um, but there are some [00:09:18] other variations there as well. You can [00:09:20] do a dry run to first inspect what is [00:09:22] going on. But from there, you can set [00:09:24] that all up and you will get all the [00:09:26] skills. But what if there's an update [00:09:28] for a skill? Well, we got you covered [00:09:29] there too. Maui AI status. You can see [00:09:32] if there's any updates, what are they? [00:09:34] And then you can say Maui AI update and [00:09:36] it will do all these things. If you [00:09:37] don't want to use the Maui CLI, I [00:09:39] already mentioned it's also set up. This [00:09:41] repository is also set up as a [00:09:42] marketplace. So you can just do slash [00:09:44] plugin marketplace add and then the [00:09:47] repository. Um, and then install [00:09:50] .NET Maui Maui Labs. Um, and install all [00:09:52] these plugins is then what they're [00:09:53] called because plugins can have more [00:09:55] than just skills. It also has a custom [00:09:57] agent. It can have canvases canvases and [00:10:00] all these kinds of other things, right? [00:10:01] So that's all coming. [00:10:03] Now, [00:10:04] it works. I already mentioned it a [00:10:05] little bit in all the editors that you [00:10:07] already have. Visual Studio Code, Visual [00:10:10] Studio, Copilot CLI, the GitHub app, [00:10:13] maybe in any other AI harness that you [00:10:15] might have. It should work for all of [00:10:17] those because again, [00:10:19] if it comes to it, it will just invoke [00:10:22] the Maui CLI, it will just have these [00:10:24] skills and those are transferable from [00:10:26] one AI harness to the other. So let's [00:10:28] quickly dive into a little bit hands-on [00:10:31] what that looks like. And for that, I'm [00:10:33] first going to go to the terminal, which [00:10:35] is not this one. Let me find the [00:10:37] terminal right here. [00:10:39] And this is just a terminal [00:10:42] where [00:10:43] I can already have the Maui CLI [00:10:45] installed. So I can just do Maui dash [00:10:47] dash help see what all is in here. And [00:10:49] you can see AI, Android, Apple, Dev [00:10:52] Flow, we've already mentioned that, [00:10:54] Device Doctor, and there are some other [00:10:55] things in here that you want to check [00:10:56] out because there is a lot of cool stuff [00:10:59] in here. But I want to focus on the Dev [00:11:00] Flow here. So then [00:11:02] what you can do is Maui AI dash dash [00:11:05] help, right? You can dive into all of [00:11:07] these commands right here. You can see [00:11:09] init and VS Code, list skills, add MCP [00:11:12] for Dev Flow, [00:11:13] all these things that are in here. Okay, [00:11:16] so I've got this. [00:11:19] The other thing is Maui Sherpa that I [00:11:20] mentioned. So I got that when he writes [00:11:22] as well. [00:11:23] Can I zoom this in? No, I cannot because [00:11:25] this is a macOS native application [00:11:27] actually built with .NET Maui as well. [00:11:31] So here you can get like an overview of [00:11:33] your dashboard, everything that is set [00:11:35] up on this machine. Actually, there's [00:11:36] one warning that needs attention. So I [00:11:38] should probably get to that. But as I [00:11:40] mentioned already a couple of the basic [00:11:41] functionalities, but you can also have [00:11:44] your key stores in here, right? If [00:11:45] you're building Android applications, [00:11:47] you know the hassle and the [00:11:48] administration of all the key stores [00:11:49] that you need to keep track of, [00:11:51] you can now manage them from right here. [00:11:54] Push notification testing, Xcode [00:11:56] management. If you're using Xcode's app [00:11:58] right now, you can uninstall it and [00:12:00] replace it by this one because this does [00:12:02] so much more, that and so much more. [00:12:04] Root certificates, push testing, all [00:12:06] these things here in Maui Sherpa. [00:12:08] Definitely go check that out. [00:12:10] Then we have [00:12:12] the repository that I already mentioned [00:12:14] a couple of times, Maui Labs. Here is [00:12:16] where it's all happening. Please bring [00:12:18] your contributions, bring your issues [00:12:20] because we're building this for you. All [00:12:22] right? We want you to have a great [00:12:23] experience. So if you're like, hey, [00:12:25] these skills, this specific skill, we're [00:12:27] running the but it's maybe not doing the [00:12:29] thing that you expected to do, let's [00:12:31] make it better. Let's work together to [00:12:33] make this better. And this is where [00:12:35] everything lives. There is a couple of [00:12:36] cool things in here anyway. The macOS [00:12:38] App Kit backend, I'm pretty sure that [00:12:40] Maui Sherpa uses that. WPF backend. We [00:12:43] have a Linux backend in here. Um but [00:12:45] also the CLI, right? That's the main [00:12:46] thing that I wanted to talk about right [00:12:48] here. And Dev Flow lives here as well, [00:12:50] as well as a couple of other things. AI [00:12:52] extensions and Essentials AI. I have a [00:12:54] session about that also, so check out [00:12:56] the playlist for the .NET Conf 2026 to [00:12:59] learn all about that. Okay. And if you [00:13:02] then go in here, because skills, it's [00:13:04] all based on AI and AI works with large [00:13:07] language models, so it's all language, [00:13:09] right? So it's just plain English. We [00:13:10] can just go into plugins right here. [00:13:13] That's what is need to be to set up for [00:13:15] this marketplace. And we can go to .NET [00:13:17] Maui and we can go to skills. And then [00:13:19] you can just look at all the skills [00:13:21] right here. So even if you don't want to [00:13:23] add the marketplace, if you don't want [00:13:24] to use the CLI, just go in here, you can [00:13:27] actually just copy them into wherever [00:13:28] you want. You can see what's going on um [00:13:31] and work with all of those. Okay. [00:13:35] What else? Let's see what else. [00:13:38] Back to the presentation. [00:13:40] Good. So let's talk about Dev Flow. Now, [00:13:42] Dev Flow gives the agent eyes and hands. [00:13:45] That's what I already said. So your AI [00:13:47] agent can be co-pilot, can be Claude, [00:13:48] can be anything else. Um then we have [00:13:51] this MCP server that is there in as [00:13:53] well. And then we have that broker, [00:13:54] right? Which talks directly to the [00:13:56] in-app agent. Only on debug because um [00:14:00] the app stores don't really like all [00:14:01] these things um where you can talk from [00:14:04] it to to the outside. So we don't want [00:14:06] to do that. This is only a tool for [00:14:08] debug so that your agent can connect to [00:14:10] your app and get all this information. [00:14:12] It can read the visual tree. It can tap [00:14:14] controls by name. It can read the [00:14:15] properties on all the controls in there. [00:14:18] It can stream logs. It can actually [00:14:19] profile things, read your application [00:14:21] storage. Basically, anything that your [00:14:23] app can do, you can do with Dev Flow. [00:14:25] And now your agent can do that as well. [00:14:27] And I see here debug blazer hybrid. I [00:14:30] tend to forget to mention that, but a [00:14:32] blazer hybrid app is just a Maui app. So [00:14:34] everything that you see here also works [00:14:37] with blazer hybrid. [00:14:40] And this is what kind of like what I [00:14:41] mentioned at the beginning. This beats a [00:14:42] screenshot. If you've been doing this [00:14:44] before and your app took screenshots or [00:14:46] you're taking screenshots and feeding [00:14:48] that to your copilot, pasting it in, [00:14:50] because that is very valuable, is very [00:14:52] useful, but it's not perfect. It could [00:14:55] be better. Now with Dev Flow, you can [00:14:56] just put that in there and that will [00:14:58] make your experience so much more [00:15:00] effective and better. [00:15:02] How to set that up? Well, just do .NET [00:15:04] add package Microsoft Maui Dev Flow [00:15:06] Agent. Also again, pre-release. Then if [00:15:09] debug builder add Maui Dev Flow Agent, [00:15:12] right? And then we add that. And then [00:15:14] you can start doing actually this also [00:15:15] works with the CLI. With the CLI, you [00:15:17] can just connect to that in-app agent as [00:15:19] well if you want to do things manually. [00:15:21] If you're like, hey, I enjoy doing this [00:15:23] thing, the agent doesn't need to do it [00:15:25] for me. You can just go on the CLI, do [00:15:27] all these commands, Maui Dev Flow tap [00:15:29] the thing, then Maui Dev Flow list, [00:15:31] right? You can have multiple apps at [00:15:32] once as well. You can do an whole [00:15:34] orchestration if that's what you want. [00:15:36] But you can do all of that manually from [00:15:38] the CLI or you can let your agent talk [00:15:40] to that too. [00:15:42] But there's of course a cooler way. So [00:15:43] let's quickly hop back to my machine and [00:15:45] show you how to set up a Dev Flow. I'm [00:15:47] not going to show you how we had the [00:15:49] little video in the intro. I trust you [00:15:52] to trust me that that works and it's [00:15:53] cool. Um it's going to be a little bit [00:15:55] of a slow loop to actually show you that [00:15:57] here, but let me just show you how to [00:15:59] get set up. So let's go back to the [00:16:00] terminal right here and clear this out. [00:16:02] And I'm going to create a new directory. [00:16:04] Actually, no, I'm going to do .NET new. [00:16:06] It will create a new directory for me. [00:16:08] Maui -n .NET conf Dev Flow Demo because [00:16:14] that's the easiest I could think the [00:16:16] simplest name I could think of. [00:16:18] Um, it will create a new Maui app, go [00:16:20] into there, dot net conf [00:16:24] demo. There we go. And what you can do [00:16:26] now, I have the Maui CLI already [00:16:27] installed, so I can just say Maui init, [00:16:31] actually dev flow init. [00:16:33] There we go. And it will start [00:16:34] initializing these things. In this case, [00:16:36] it somehow picked up Claude for the [00:16:39] default value, so we might want to do [00:16:41] dash dash target um with GitHub, right? [00:16:44] We have multiple targets. We understand [00:16:46] that you might not all be on Copilot, uh [00:16:49] but now you can also install it for [00:16:50] GitHub um and that basically means it [00:16:53] puts it in a different directory, right? [00:16:54] The different agents look at different [00:16:56] directories. And what you can see here [00:16:57] is skills initialized. You can see the [00:17:00] skills that it has written, which is [00:17:01] only three in this case. What it also [00:17:03] provides you is it gives you a prompt to [00:17:05] set up dev flow, right? So you can just [00:17:07] give this to your agent and it will know [00:17:09] how to set up dev flow on your project, [00:17:11] right? So I can just copy this in here [00:17:13] and then go into Copilot on this uh [00:17:16] folder. [00:17:17] I will get all these things. I can paste [00:17:19] that prompt in here and it will start [00:17:21] installing dev flow on my project right [00:17:24] here without me having to do anything. [00:17:25] It can figure it out because it has this [00:17:27] skill and it knows how to do that on my [00:17:30] Maui project. Okay, I will believe [00:17:33] [snorts] trust that this works, so let's [00:17:35] see if I can get out of here. Exit, [00:17:37] exit. There we go. And the other thing, [00:17:40] clear, that I mentioned is you can just [00:17:42] do Maui uh AI in it, right? That just [00:17:44] brings you all the skills. Let's see [00:17:46] what kind of like the options are here. [00:17:48] Um, skill, agent, MCP. You can also [00:17:50] bring in kind of like the different um [00:17:53] um separate elements here, but you can [00:17:55] just do Maui AI init and that will bring [00:17:57] in everything. It will load all the [00:17:59] project skills right here, put that in [00:18:01] the right folders um for all the things. [00:18:03] Actually, in this case, it takes all the [00:18:04] targets, it seems, um [00:18:07] and do with that. Apply all the selected [00:18:08] AI assets. Seems to be a little bit [00:18:10] much, so maybe we want to fine grain [00:18:12] that a little bit, uh but you can see [00:18:13] that it will install that all on your [00:18:16] project and it's ready for you to start [00:18:18] working with that or to start working [00:18:20] with your agent with that, right? That's [00:18:22] the whole goal here. [00:18:24] So, then what? See it live, right? [00:18:26] Because the thing that I kind of like [00:18:28] found out is now you have your agent [00:18:31] running all these things, um but I had [00:18:33] to kind of like switch around to the [00:18:34] simulator for iOS or the emulator for [00:18:37] Android uh because it's in two separate [00:18:38] windows and I do kind of like want to [00:18:40] see what is going on, right? Great [00:18:42] example um going back to kind of like [00:18:44] that first video that I showed you, [00:18:46] Halloween at the time of recording has [00:18:48] just been and I for my tiny town where I [00:18:50] live, we have this nice Halloween walk [00:18:53] that I built an app with and I needed to [00:18:55] update that to the latest .NET, right? [00:18:57] For this year. And what I just said is [00:18:59] to the agent, I installed all of this, [00:19:01] all the things that you're seeing here, [00:19:02] Dev Flow, the skills, everything, um and [00:19:04] I said, hey, update this thing to [00:19:07] the latest .NET version, latest .NET [00:19:09] Maui version, everything, and make sure [00:19:11] that everything looks as it should, [00:19:13] everything still works as it should [00:19:15] because I knew because I work on Maui [00:19:17] that there was some stuff for the safe [00:19:19] areas and these kinds of things. So, [00:19:20] that I we needed to we did some work [00:19:22] around for in our Halloween app, right? [00:19:24] So, I was like, hey, I know there there [00:19:27] is some trouble to be expected here. So, [00:19:29] I want you to kind of like go through [00:19:30] that, have regression testing, but I [00:19:32] don't want to spend all the time on [00:19:33] that. That's no fun work for me. Maybe [00:19:36] you enjoy it. Um so, I was like, hey, [00:19:37] Copilot, do this thing, run it on the [00:19:40] side, and I had the simulator window [00:19:42] open and it would go through it and I [00:19:43] would just look at it from time to time [00:19:45] and be like, oh yeah, that looks good, [00:19:46] um but I still wanted to keep an eye on [00:19:47] it, right? So, [00:19:49] how are we going to do that? Well, [00:19:51] one thing is um the inspector, right? I [00:19:54] already mentioned it. The inspector is [00:19:55] basically a web application, if you [00:19:57] will, um inside of VS Code. Um you can [00:20:00] run it in the Copilot CLI. It will bring [00:20:02] it up as a website. And you can also do [00:20:04] it in the GitHub Copilot app as a canvas [00:20:06] and you will have this inspector with a [00:20:08] full visual tree on the left. It's a [00:20:10] little bit small maybe on your screen. [00:20:12] Um and you can click through your [00:20:13] application. You can inspect all the [00:20:15] elements. You can go over it, hover over [00:20:17] it, and it will show you what element is [00:20:19] actually there. You can click on it. It [00:20:21] will be brought on the left to um the [00:20:23] visual tree, and on the right you [00:20:24] actually get like the live property [00:20:26] inspector that you already know from [00:20:28] Visual Studio on Windows. And you can [00:20:30] actually change the values there. You [00:20:32] can change the colors, you can change [00:20:34] every property on that control. It will [00:20:37] show up live in your application um with [00:20:39] all the latest and greatest changes [00:20:41] without having to stop and rerun your [00:20:43] application if you want to tweak all of [00:20:45] this. And you can take a screenshot if [00:20:46] that's what you want to feed it into [00:20:48] Copilot. It all works together. [00:20:51] So what the inspector shows live frames [00:20:54] of the app, the live screenshots of the [00:20:55] app, visual tree for every control, all [00:20:57] the properties, and also there much [00:21:00] unlike the browser controls that you [00:21:01] have in Edge or Chrome or what you're [00:21:03] using, you can inspect the logs and the [00:21:05] networks and the diagnostics um all from [00:21:08] inside of the inspector as well. [00:21:10] I already mentioned it, you can open it [00:21:11] in the browser, VS Code, GitHub Copilot, [00:21:14] GitHub Copilot CLI, and probably other [00:21:17] AI harnesses as well as long as you tell [00:21:19] it how to bring it up um and you have it [00:21:21] installed, which is also part of the [00:21:23] Maui CLI. [00:21:24] An other cool thing by my good friend [00:21:26] Jonathan also on our team um from the [00:21:28] same person that brought you Maui [00:21:30] Sherpa, there's also the mobile canvas. [00:21:32] And we're looking to if we maybe should [00:21:34] take this into Maui Labs. So where you [00:21:36] get it might change, but for now it's [00:21:38] right here and it's very very cool. So [00:21:40] if you haven't heard about canvases yet, [00:21:42] um if you're working with the GitHub [00:21:44] Copilot app like I am daily, then you [00:21:46] can now bring up these canvases on the [00:21:48] right side, which can be anything. It [00:21:50] can be the visual representation of [00:21:52] whatever the thing is that you're [00:21:53] working on right now, your custom view [00:21:55] of the thing. And in this case, it's a [00:21:57] mobile canvas. And it allows you again, [00:22:00] it might be a little bit smaller on your [00:22:01] screen. I did my best to make it um as [00:22:03] as best as possible. But in the top you [00:22:05] can see where you can select the [00:22:07] different emulators and simulators that [00:22:08] are on your machine. You can start it [00:22:10] from right here. You can inspect the [00:22:11] local storage um [00:22:14] and you can click through it again. But [00:22:15] most of all, you can see what Copilot is [00:22:17] doing with it, right? It's just a mirror [00:22:19] of the iOS simulator or the Android [00:22:21] emulator um and it will show you in live [00:22:24] um real time what is going on with your [00:22:27] application, what it's doing without [00:22:29] having to leave the window and flip [00:22:30] around or do all kinds of like crazy [00:22:32] layout things with your machine. So you [00:22:34] can just do that with the mobile canvas, [00:22:36] which is really really great. [00:22:40] It's the most powerful if you put all of [00:22:43] this together. [00:22:44] Deflow will inspect your agent will read [00:22:47] what is going on inside of your [00:22:48] application. It will get the visual [00:22:49] tree. With the inspector you can point [00:22:52] at it. You can say, hey, this little [00:22:53] piece of context right here, this [00:22:56] button, this label, this entry field, [00:22:58] this is where you need to look at [00:22:59] because this is where something is going [00:23:01] wrong, and it will add that to the [00:23:02] context. Then your AI skills will be [00:23:04] helpful for the agent to do the right [00:23:06] thing in the Maui context. It will know [00:23:08] about collection view, about all the [00:23:11] Maui specific elements and things what [00:23:13] you should do, what you shouldn't do, [00:23:15] what are the best practices. Don't put [00:23:17] your scroll view, don't put your [00:23:19] collection view inside of a scroll view, [00:23:20] right? Please don't do that. Now we got [00:23:22] to anchor that in AI skills. So your [00:23:24] agents will pick up on that. And then [00:23:26] Deflow will come back and it will [00:23:28] validate all these things. It made [00:23:30] changes. It will it again inspect like [00:23:33] what it did, and it can now interact [00:23:35] with your app to actually see if things [00:23:38] went right, and it will verify that. And [00:23:40] you can repeat that so that you have [00:23:41] this full agentic autonomous loop, [00:23:44] so that you can build an app without [00:23:46] being hands on the keyboard, right? What [00:23:48] else do you want in 2026? [00:23:52] Things that you should think of, run on [00:23:53] Android, save is missing on profile, [00:23:55] please fix it, then show me save in a [00:23:57] visual tree, right? These are just a [00:23:59] couple of problems that you can think [00:24:00] of. The sky is the limit. I've seen it [00:24:02] done crazy cool things with your [00:24:04] application that you didn't even think [00:24:06] of. If you have these requirements set [00:24:08] like I said, like hey, or just say, hey, [00:24:09] you're now the Q&A person, do [00:24:11] exploratory testing for all of this [00:24:12] stuff, it will just run through your app [00:24:14] and give you the results. So it's it's [00:24:17] been really exciting to work with all of [00:24:18] this and all the agents. [00:24:20] What you want to do here, hey, for every [00:24:22] session, start from a running app, ask [00:24:25] for proof, right? That's what I I myself [00:24:26] doing because now with Deflow it can [00:24:28] even do screenshots and screen [00:24:30] recordings, right? We've been doing that [00:24:31] as well, um where I add to my prompt, [00:24:33] hey, add this [00:24:35] validation not just in code, not just in [00:24:37] tests, but also at runtime, [00:24:39] me the thing that you're actually doing [00:24:41] so I can look at that, right? The code [00:24:43] is less important for me now. There's [00:24:45] definitely some form uh some some bar of [00:24:48] quality that we of course want to adhere [00:24:50] to, but the actual code is less [00:24:52] important, but that it runs at runtime [00:24:55] absolutely still important, right? [00:24:56] That's arguably the most important thing [00:24:58] has been always. So ask for that proof [00:25:01] and it will be delivered. For your team, [00:25:03] for the whole codebase, commit the Maui [00:25:05] AI and its setup, right? Just get your [00:25:07] skills in there so that everyone has the [00:25:08] same skills and it will do the same [00:25:11] things. Um keep DevFlow only for your [00:25:13] debug builds and always hasn't changed [00:25:16] with AI, always test it on actual real [00:25:19] devices. [00:25:21] Get started, get the Maui CLI, get those [00:25:23] skills onto your project, um look at the [00:25:26] Maui DevFlow broker thing, get all the [00:25:28] samples from Maui Labs and look at all [00:25:30] the tools that Jonathan has been [00:25:31] building on his repository. Um his [00:25:34] handle is [00:25:35] So you can find it there. Here are all [00:25:36] the resources, so take a screenshot of [00:25:38] this. And if you're watching this back [00:25:40] later, um then there is a couple of [00:25:42] other sessions by us on the team, but [00:25:44] also from the community, great sessions [00:25:46] about .NET Maui. So please find those [00:25:48] here. And now if you haven't done so [00:25:50] already, um go to get.dot.net to get [00:25:54] .NET 11, install it now, and go build [00:25:56] out all your amazing .NET Maui [00:25:58] applications. [00:25:59] Thank you so much.