Hello, developers. Hello, hello. It's great to be back up here with you. And earlier today, you heard all about our updates to Gemini 2.5 Pro and Flash. And we talked about how we're turning research into reality, how we brought 2.5 Pro to our coding agent, Jules, which I understand is having a lot of demand, and our TPUs are hot right now.
That idea of bringing innovation to life is something we explore every day in Google Labs, and that's our dedicated space to try stuff out. So today, we wanted to try something different with the show here and bring that same spirit so you can build with Gemini across Android and the web and beyond.
So here's how this is going to work for this new format. We're going to try to do as many demos as we can in 59 minutes, OK?
All right. So there's only two things you have to do as an audience. If it works—if the demo works, what are you going to do? Applaud. Yeah, hands up. That works, too. If it doesn't work for some reason, what are you going to do? Applaud. OK. All right.
I'm going to jump right in. I'll do the first one. And over in Labs, we love to build with Gemini 2.5 Flash. Does anyone use the Flash model out there? All right, a few people. Good. It's great. It's insanely fast. It has a great price. We use it for a lot of our prototyping.
And one of the things we want to show you today is how we're blending code and design so you can go from a prompt to an interface to code in just a minute or so. So it's a new Labs experimental project called Stitch, and we'll bring it up on the screen here. And first thing is first. Did anyone come to I/O for the first time? Maybe your first time in California, too? All right, great. We're going to build an app for you.
So here it is. This is Stitch. It starts with design first. So you can go into it and just paste in a prompt, like make me an app for discovering California—the activities, the getaways. And basically, you can just click Generate Design, and it's going to go out and start making a design for you.
And so I've done this just before. It takes about a minute or so, but just to save time and get more demos in an hour here, these are some of the screens it comes back with. Now, these are not just static screenshots. These are actual designs. And what's cool is you can either iterate here on the left and iterate—and create new designs, or you can go in here and do things like make it dark mode, lime green, max radius, and it'll apply it and start working in the background.
Now, what's happening here is we're using both 2.5 Pro or 2.5 Flash to start letting you remix this and change it around. So this will work for about a minute or so, and I'm going to show you the one that comes back. This is it. It is dark mode, lime green, massive corner radius.
And what's really cool is if you go into these, you can see that you can go in and grab the markup right here. It's all here. You can copy this out to whatever IDE you want. Again, these aren't screenshots. They're actual designs. You can take it right into Figma and edit it further. So this is a new product. It's experimental. We want you to try it out and give us feedback. Labs.Google/Stitch. And that's the first demo. All right.
So with that, I want to pass it off to Logan, who's going to tell you all kinds of great things you can build with the Gemini API. Logan.
Thanks, Josh. I'm excited to be at I/O today to show you some of the cool things we just shipped this morning. We'll start in AI Studio, where the goal is to help you answer the question, can I build this with Gemini, and then get you started building with our latest models. OK, so let's open up Google AI Studio. I've been wanting to build a bunch of AI voice agents, but I've been a little busy. No better time than now to try prototyping.
Earlier, you saw how Project Astra can make AI feel natural, and a lot of those capabilities are now available today in the Live API. So let's select the new 2.5 Flash native audio model. We've also added more controls like proactive audio. The model is now better at ignoring stray sounds or voices, perfect for the I/O stage. It also natively supports 24 languages. We've added new controls for managing your session contexts, which you can see on the right-hand side here.
But in order to build an agent like Astra, the model needs to be able to use tools. So we've added improvements to function calling and search grounding. We're also introducing a new tool we're calling URL Context. URL Context enables Gemini models to access and pull context from web pages with just a link. This is exciting because now you can ground model responses on both specific and up-to-date information, with support for up to 20 links at a time.
All right, let's pass the link to our developer docs for function calling and have Gemini give us the TLDR.
Google's function calling lets you connect Gemini models to external tools and APIs, allowing them to understand when to use specific functions and provide the necessary parameters to execute real-world actions. Acting as a bridge—
Nice. I couldn't have said it better myself.
This is just a small glimpse into what we've landed today in the Live API, and we're super excited to see what you build. All right, let's shift gears now and show you another way we're making it easier for you to build with Gemini.
As you heard from Tulsee earlier today, Gemini 2.5 Pro is awesome at coding. We've seen the ecosystem loving 2.5 Pro, so it's only logical that we bring it into AI Studio's native Code Editor. Let's kick off an example of what this new experience is like using one of the preset prompts.
This new experience is tightly optimized with our SDK, so you can quickly generate web applications that use the Gemini API, like this AI-powered adventure game that uses both Gemini and Imagen. As you see here, the model is reasoning about the request and composing a spec for the app. It's then going to generate the code and will actually self-correct if there's any errors. This is going to take a few minutes, so we'll jump over to another tab I ran to show the final output.
That looks awesome. This is a great way to iterate quickly with the Gemini API, and you can easily make code changes right here. The whole experience is built to be multi-turn and iterative so you can keep refining your idea with prompts over on the left-hand side.
All right, we've got time for one more update that I'm excited to talk about, which is around MCP. Today, we're rolling out an update to the Google GenAI SDK to natively support MCP definitions. Now, it's even easier for you to build agentic apps with a fast-growing community of open-source tools. To showcase this, we've added a new app using Google Maps and MCP. Let's welcome Paige to the stage to start building on it.
That was perfect. You did great. Excellent. Thank you so much, Logan. I took inspiration from this Maps app that Logan just showed you, and I'm going to remix and compose it to build something entirely new. I'm going to add a talking head that will accompany me on stage, my very own keynote companion, but I'm just going to call her KC.
I want our keynote companion to listen to our keynote, to respond, and then to dynamically update its UI based on what it hears. And I've got a few finishing touches to add, but I think we can wrap it up here together on stage. So in I/O tradition, the first thing that I'm going to need my keynote companion to do—
Hi, I'm KC, Paige's keynote companion. I'm here to help her presentation go smoothly.
—is to count the number of times we say, "AI."
Got it, Paige. I'm on it.
Excellent. So to help us keep track, we've developed a function called Increment Utterance Count, or Increment Word Count, that counts and updates the UI. This is how you would build a conversational agent to listen to specific audio inputs, and then to execute a function to perform an action. But counting AI instances was so last year.
So let's update this to trigger every time the presenter says something Gemini-related. So I'm going to make those updates. I'm going to refresh. And we're going to try again.
Hi, Paige. I'm KC, your keynote companion.
All right. So the Gemini Live API supports a sliding context window. That means that your users can interact with your apps for long-running sessions, or in our case today, they can run quietly in the background. And awesome, just look at that. We were able to make this app dynamically react to what it's hearing, which means that it's a dynamic web page, if you will. Get it? Get it, KC? Ah, excellent.
Should we take a quick look at a fun fact about the Gemini API?
[Chuckles] Hold on there. We're about to get to that. So this is just a fun example, but imagine discussing gift ideas in a shopping app, or finding a great restaurant that delivers to you with just your voice. So now, let's see how that Maps integration works.
Hey, KC, since there are people coming from all over the world, could you show us Shoreline Amphitheater on a map?
All right, I've put Shoreline Amphitheater on the map for everyone. Is there anything else I can help with?
Yeah, could you show us some good coffee houses nearby, with really great Wi-Fi?
OK, I've searched for coffeehouses with Wi-Fi near Shoreline Amphitheater.
Excellent. Could you randomly select one that you think looks really good, and give us directions there?
While I can't express preferences, I can provide—
Yeah, so just pick up—how about Boba Bliss? Give us directions to Boba Bliss from Shoreline Amphitheater.
OK, I'm providing directions to Boba Bliss from Shoreline Amphitheater. Is there anything else I can help with at the moment?
No, that was awesome. Thank you, KC. Excellent. Amazing.
So let's check out some more feature updates. While synchronous function calls are used for quick operations, high-latency tasks, for things like calling an MCP server, usually require background processing for a seamless user experience. So by default, when calling a function, the audio is blocked. But today, we're excited to enable asynchronous execution for seamless dialogue within a conversation.
Yeah, over here, I have a function called getFunFact that uses Gemini 2.5 Pro. Based on what it said, we're going to use search grounding to display a fun fact. And up here in the system instructions, I've also added the getFunFact function whenever the presenter mentions one of our Google AI products. But I'm going to add a new call, called behavior—I'm going to stop this so it doesn't automatically update—but say behavior.NON_BLOCKING. And you can see the automatic code execution kick into play in AI Studio applets.
Finally, we heard your feedback. With this latest release, we've improved structured outputs with function calling. So our model is going to conform with this very specific JSON return format to make sure that everything displays beautifully in the UI. All right, moment of truth.
Hello. I'm KC, Paige's keynote companion.
Yes, I understand. I understand. But I am biased, but I think that Google AI Studio is the best place to start building with the Gemini API. Woo! Excellent. Heck, yeah.
Yes, Paige. Google AI Studio is pretty cool. Did you know that it lets you experiment with different models and parameters, without writing any code?
Yeah, absolutely. Look at that. Gemini and KC, you are a natural. My keynote companion is feature-complete. I think it's time to deploy these changes and to see it in action.
So once your app has been created in AI Studio, it's incredibly easy to share with your friends, but also to deploy it via Cloud Run. So right here, from within the AI Studio, I'm going to kick off a Cloud Run deploy. I'm going to select one of my projects. It's going to verify. And with one button click, we're already deploying this app in a way that many people throughout the audience and throughout the world would be able to see.
Once this app has been deployed, it's also capable of being run and viewed with your favorite IDE. So we can see it. We can refresh. And you can see the keynote companion automatically added in Cloud Run right within my VS Code instance. And just like that, our multimodal app is live. Pun intended.
Awesome. We're making it easy for you to build agents with Gemini, combining multimodal reasoning with a vast and a growing number of tools. This power extends beyond the web, right into the palm of your hand. So now let me welcome Diana and Florina to the stage to talk about new tools and AI advancements for the Android ecosystem. Woo!
You've just heard about the incredible possibilities that AI brings. Now, Florina and I want to talk to you about how you can build excellent apps powered by AI on Android, and then how our APIs and tools make it possible to be more productive using AI.
Exactly, Diana. An excellent app is delightful, performant, and works across devices. And with AI, you can unlock entirely new, unique experiences that bring value to your users. Let's show you how that comes to life with a new app we built.
A few years ago, we had a website that let you build yourself as a cute Android bot, selecting things like clothing and accessories. But then we started thinking, how would we build this today using AI as an app? The answer was, of course, through selfies and image generation. So we came up with Androidify. Let's take a photo of Diana and Androidify her.
Let me grab my favorite toy as an accessory. It's my daughter's.
Ooh. So while Androidify is Androidifying, let's see what's happening under the hood.
So the core of the app relies on two key AI-powered steps, getting a description of the person in the photo, and then creating an Android robot out of the description. Without AI, creating this experience would be nearly impossible. And to implement this, we used AI models running in the Cloud via Firebase.
To get the description of the image, we took advantage of the fact that Gemini models are multimodal, so they can use text and also images, videos, and audio as input. So all we had to do is call Generate Content with a text prompt and the image the user provided. So the image of Diana.
Then to generate the Android robot based on the image description, we used the Imagen 3 model. We call Generate Image. And that's it. How easy was this? OK, are you ready to see this?
Oh, that's so cute. Androidy with Android. You did all of this with what? AI and five lines of code? That's so cool.
The Androidify sample app is already available on GitHub for you to check it out.
As Florina showed, Cloud-based models are powerful and ideal for Androidify. But what if you need to process prompts locally, directly on the device without sending data to a server? That's where on-device AI shines. Gen AI APIs powered by Gemini Nano, our multimodal on-device model, offer APIs for common tasks like summarize, rewrite, and image description.
So we said earlier that excellent apps are delightful, performant, and work across devices. Let's talk about delightful apps first. For those of you who caught the Android show last week—and if you didn't, definitely check it out—you saw our biggest UI redesign in years, packed with delightful new features and improvements.
We're helping you bring the same level of delight and playfulness to your own apps, with an update to the Material 3 design system, called Material 3 Expressive. We've already used it in our Androidify app. For example, take the Camera button. You could use a circle, or you could use the cookie shape from the new shape library.
And who doesn't love cookies?
The button group shape morphs in the photo prompt button is so nice and smooth, and it's part of the Expressive APIs. These small details are what separates a good app from a delightful app. Try out these APIs yourself using Compose Material alpha.
Beyond Material Design, what else makes an app delightful? Helping users with more useful, relevant information. In Android 16, we added a new feature, live updates. They allow you to show time-sensitive updates for navigation, deliveries, or rideshares by using the new ProgressStyle template rolling out to devices over the next year.
Now, let's shift gears to another critical aspect of an excellent app, performance. Make sure you enable R8 and Baseline profiles. Both of these have been available for a while, and the performance results are impressive. And they translate into better Play Store ratings. With R8 and Baseline profiles, Reddit's app improved so much they got a full star rating increase within two months.
Next, an excellent app looks good across all the devices that users have, and we're making it easier for any app to move across devices, out of the box, from foldables and tablets to Chromebooks. In Android 16, we're making API changes to no longer react to orientation, resizability, and aspect-ratio restrictions, giving users more responsive UIs by default.
And we're putting your app in more places. For example, we've been collaborating with Samsung, building on the foundation of Samsung DeX to bring enhanced desktop windowing capabilities in Android 16 for more powerful productivity workflows.
To make your app beautiful across devices, we're continuing to make it as easy as possible to build adaptively with new features in our Compose Adaptive Layouts library, like pane expansion.
Optimizing your app to be adaptive has a real impact on business metrics. We've seen that when users engage with an app across multiple devices, in app categories like music, entertainment, and productivity, there's a 2 to 3 times increase in engagement. And apps like Canva, who invested in large screens, found that cross-screen users are twice as likely to use Canva every single week.
But it's not just foldables and tablets. We're bringing Android apps to more devices, automatically. So here's the great part. If you're building adaptively for Android, you're already building for two more form factors, cars and XR.
With cars, whether users are waiting at a charging station or in line at school pickup, they can stay entertained with popular streaming and gaming apps like Farm Heroes Saga and more. You can adapt your existing large-screen app to be used in parked cars by simply opting into distribution via Play Console and making minor optimizations.
And if you're building adaptively, you're building for Android XR, the extended reality platform built together with Samsung. It powers glasses like the ones Nishita demoed earlier. We'll share more details on how you can develop for these later this year. It also powers headsets, like Project Moohan from Samsung, which you can start building for right now, knowing it'll be in the hands of consumers later this year.
Soon after, our partners at XREAL will release a Developer edition of the next Android XR device, codenamed Project Aura. It's a portable device that gives users access to their favorite Android apps, including those that have been built for XR. All the apps you're developing will scale directly to these two.
With these upcoming devices, we're launching a Developer Preview 2 for Android XR SDK, with new Material XR components, updated emulator support in Android Studio, and spatial video support for your Play Store listings.
OK, that's a lot of form factors, and we're enabling more for users out of the box. I love seeing when my apps look great across all of my Android devices. Once an app is adaptive, we unlock access to more than 500 million devices it can run on. We're already seeing incredible experiences with partners, whether it's Peacock, who put in the work to create a strong, adaptive experience for their large screen app, and as a result, get a really nice XR app.
Or like Calm, who easily extended their Compose app to create sensory, mindful experiences only possible with XR.
Now, building these kinds of excellent experiences across devices means you need powerful tools. And that brings us to our next topic, boosting your productivity.
It's no surprise that we use Jetpack Compose for Android devices. It has the features, performance, libraries, and tools that we need to build an excellent app. 60% of the top 1,000 apps take advantage of the development speed Compose offers. The latest stable release brings the features you've requested, like autofill, text auto-size, and visibility tracking.
We're focused on making Compose performance better and better. In the latest release, we see barely any janky frames on an older generation Pixel device. And we heard your feedback. You want to use Compose throughout your UI, so we're releasing CameraX and Media3 Compose libraries.
We know building navigation. Oh, yeah. Clap if you want. [Laughs] We know building navigation for apps across different devices and screen sizes can be complicated. So we rebuilt the Jetpack Compose navigation library from the ground up.
Our goal was to make it simpler, more intuitive, and incredibly powerful for managing screens in a stack, retaining state, enabling seamless animations and adaptive layouts.
When we think about productivity, it's not just about writing code faster. It's about streamlining the entire development life cycle, from refactoring to testing and even fixing crashes. That's where Gemini and Android Studio truly shines, by taking on those tedious tasks.
So let's head back to the demo desk to show you a few features that will change the way that you work.
So we all know the benefits of writing end-to-end tests. You get to test large parts of your app at the same time. But we also know that these are the ones we avoid doing the most because they tend to be hard to implement.