transcribe

Apple Intelligence Group Lab | 11/5/26

Apple Developer · 1h 4m · transcribed 16d ago
More from Apple Developer Business
𝕏 Share ▶ YouTube 📥 PDF 🤖 .md

Section Insights

# 0:00

Introduction to the Apple Intelligence Group Lab

Who are the panelists and what is the purpose of this session?

The session is hosted by Shashank from the Evangelism team at Apple, featuring experts from various AI and machine learning teams. They encourage audience participation and questions.

  • The session aims to address developer questions about Siri AI and App Intents.
  • Panelists include members from the Foundation Models and Siri AI teams.
  • Developers are encouraged to use forums for code-specific inquiries.
# 12:41

Siri AI Developer Preview and App Intents

What new capabilities does the Siri AI developer preview offer for App Intents?

The new developer preview expands Siri AI's capabilities to all types of apps, allowing existing App Intents to be directly invoked by Siri.

  • Developers can now integrate their apps more seamlessly with Siri.
  • The introduction of a two intent API enhances functionality.
  • Siri can now find app tools even when the app is in the background.
# 25:23

Handling App Intents Across Devices

How should app intents be structured for apps that operate across iPhone and Mac?

Currently, app intents should be implemented in both the iPhone and Mac apps separately, as there is no automatic invocation across devices.

  • Developers need to create separate intents for iPhone and Mac for proper functionality.
  • Synchronization between apps is necessary for a seamless user experience.
  • Understanding the limitations of current cross-device interactions is crucial.
# 38:05

Utilizing Schemas for App Intents

What are the benefits of adopting schemas for specific app types?

Adopting schemas allows apps to create reminders or calendar events without needing the app to be active, providing a more integrated user experience.

  • Schemas offer significant advantages for apps like reminders and calendars.
  • Using schemas can enhance the functionality of tool intents.
  • Developers should prioritize schema adoption for better Siri integration.
# 50:47

User Discovery and Onboarding for Siri Integration

How can developers improve user discovery of Siri capabilities in their apps?

Developers should focus on designing onboarding experiences that help users understand the capabilities of Siri with their app, moving away from rigid command structures.

  • Onboarding should highlight what users can say rather than exact phrases.
  • Integration should feel natural, without requiring users to learn specific skills.
  • Good design can unlock more complex workflows and enhance user engagement.

Transcript

1:47 >> Hey everyone, welcome to the Apple Intelligence Group Lab. I'm Shashank. I'm part of the Evangelism team here at Apple, and I'm joined by a panel of experts from the AI and machine learning framework teams. Let's start off with a quick round of introductions. Matt? >> I am Matt. I'm part of the Foundation Models framework team. >> Hi, I'm Karina. I'm a part of the Siri AI team. >> I'm Kevin, part of the Siri AI team.

2:09 >> Hi, I'm Justin, an engineer on App Intents. >> Hi, I'm Michael. I run the App Intents core team. >> Thank you. Thanks, everyone. in addition to those you see on screen, there's a team behind the scenes helping with the triage of all your inbound questions. So, please keep them coming. If you have code-specific questions or somehow we can't get your questions today, we highly encourage you to head over to the developer forums and share them there.

2:32 if you do have a bug or feature request, we'd like to encourage you to head over to feedbackassistant.apple.com so we can focus today's group lab on questions that helps the broader audience. All right. So, we just announced the new Siri AI developer preview. Michael, can you tell us more about what we launched and what it means for developers who are already using App Intents today? >> Sure. So, we are so glad all of you could join us today. We have been thrilled to see all the adoption of our schema-based App Intents APIs from this year that we designed for specific types of apps.

3:09 With the developer preview that we announced this week, we are taking the first step in expanding Siri AI's capabilities to every kind of app. Yes, even yours. Using the new two intent API, your existing App Intents can become tools that Siri calls directly when people make requests. Siri can find your app's tools if your app's in the foreground or if it's named. You can also create custom app skills for Siri, bundles with markdown files that help Siri master even complex app interactions.

3:38 Siri can now also find the content you have indexed into Spotlight, even if it doesn't conform to a schema. If you're not already If you're not already using the existing index entity APIs, now's the time to start. To help you refine your Siri AI integration, we are providing a powerful set of Xcode features for you. The Siri integration advisor gives you feedback on the shapes and descriptions of your tools and skills. And the Siri Evaluations framework lets you write scenarios to test and tune your tools and skills so they work no matter how people ask for them.

4:12 Xcode now even includes a set of coding agent skills to take your app from no Siri to full Siri integration in a little time at all. We would love for you to try all of this out in the iOS and macOS 27.3 betas. Since we are still refining the APIs, we're looking forward to getting your feedback on them. Right now, you can test this stuff at desk and distribute using internal TestFlight with shipping to the App Store coming this spring.

4:39 Oh, and one last thing. You have told us that you want more control over the way your entities look in Siri AI. We're introducing a new entity snippet API so the visual representations of your content can reflect the unique style of your app. You're going to be able to ship these snippets to the App Store when the 27.3 OSs are released. And now, let's get to some questions. >> Thank you, Michael. Thank you for all the questions, everyone. So, let's get started. Here's the first one.

5:08 Does the number of app intents exposed to Siri AI by my app hurt how well it can pick them? What's the recommended maximum? >> Kevin, you want to go first? >> Yeah, for sure. so, Siri will basically use the app intent that makes the most sense with the request. the limit of app intents is 40. we do recommend you to really think about the tool shape to be sort of like of course makes sense with your with your app, but also be sort of like a small unit that would like, you know, make sense of like if you're you know, a app that sell products, you know, matching you know, searching a product, adding it into your cart.

5:56 It's sort of like the logical action that a user would take. now, to come to the second part of the question, would that hurt? we recommend to sort of like have the least amount of of of tool to, you know, sustain your your user actions. Okay. >> One thing to add here, definitely try out the Siri evaluations framework. It is not only just I think a extremely cool API and kind of design, but it's very helpful to you because it will actually refine the way this stuff works. So, what you will often what often happens is you might come up with a way to break your tools down, like Kevin said, and you may find that you hit it right in the first time or you may find that you didn't, right? Siri evaluations lets you write a bunch of scenarios, try them out potentially repeatedly, and see how well it works, and then reshape not only like the language on your tools, but the actual count and number and organization of your tools, right? So that it gets better. it is a very powerful ability to be able to like eval Siri in this way.

6:54 >> That that's an excellent point cuz you can really sort of push the boundaries of how the your app and your tools are going to be used and iterate on like those the shape of the tools. >> Exactly. Yeah, be prepared to iterate and like don't don't assume you'll get it right the first time, but you will get it right with with a little bit of work. >> So as few as you need, but test them with evaluations to make sure that's exactly. Perfect. Thank you.

7:18 All right, next question. Is there a particular reason {slash} intention behind app intents not being opted into Siri AI by default, especially those that are registered as an app shortcut, as clearly intended to be used with Siri by the developer? Why not opt them in by default? >> okay, so this is a great question actually. so a lot of it is that you need to test your app intents with Siri, right? This is I was just talking about Siri evaluations. You need to see that it actually works, right? If we were to say just kind of do something automatically for you, what would happen is it it may work sometimes in some golden path cases, but the minute someone said anything slightly different than the than the perfect way of saying it, it may not work, right? We really want you to to take the opportunity to do that evaluation. Try writing scenarios for different kind of phrases, both the easy golden path ones as we call them, and the off the beaten path like, oh, this is an odd way to phrase it, but it should still work. We want you to try both.

8:21 That's why this process of opting in with two intents is is an explicit one. >> And at the end of the day, it's also to make sure that users have like a high quality experience with Siri. >> Exactly. Yeah, in the end like that's that's the goal. >> >> Because you you neither us nor you would want to ship something that just doesn't work well for people. >> I mean, in the end you're kind of now having to map from natural language to specific tools, right? And that is something that we're adding. That's that's a new feature this time.

8:47 >> Yeah. >> The opting in is fairly easy, right? You just it's a single line of code. Is that >> Oh, it's super easy. I mean, we have a macro for it. And like really, you have if you had if you already had an app intent, it's as easy as writing one line of code. >> One line of code. So, it's easy to now just evaluate, decide if you need it. If you do, just add it or remove it.

9:07 >> Of course, that doesn't mean it would also just work out of the gate. You have to test it like what Michael has said. There's also a great tool in Xcode to go ahead and help you integrate. So, it's the Siri integration advisor. >> Oh, nice. >> And that way, you know, we're making sure that everything is, you know, in line with you know, our standards and making sure that you have enough detail so that the model can answer those requests.

9:30 >> And also, if you're using coding agents, make sure that you try out the new Xcode skills that we've added that make this that really guide you through this process. If you are using Xcode's coding agent interface within the Xcode app, they're just going to work. If you're using Cloud or Codex or something out in your terminal, that's fine, too. There's an XC run command line you can use to grab them from Xcode, install them into the right place. So, your agent picks them up.

9:56 They make this a pretty easy process. >> So, no excuses to not do evaluations, right? You have all the help that you need. >> I actually wonder like is the evaluations also connected with some of the Xcode profiling where you can not only look at the tool calls in terms of their quality, but also how do they affect the end-to-end latency of the end user experience. >> Yeah, so the Siri evaluation really focuses on like sort of the trajectory that Siri will take. so you can make sure that you have like a session of like the tool that you expect to be called on case of skill like that your skill is indeed, you know, used for the for the turns is not specifically looking at like the performance of or like the latency.

10:44 >> I see. But the any failure or retries would also be documented as well, right? That was very helpful. >> Awesome. All right, let's move on. There are a lot of questions. Thank you for sending in your questions. Please keep them coming. We love questions. >> Yeah, it is so cool by the way how quickly we're getting great questions and how far you guys have already gone with all of this given how new it is. Really awesome.

11:04 >> Awesome. Let's move on to the next one. Can app intents or Siri AI trigger an action in an app that's in the background without bringing it to the front? What response time can we realistically expect? >> Can you read that? >> Yeah. so the short short answer is yes. you can use your tool intent by when the user essentially mention the app. That's one way. there is the if the app is on screen is another way or if there's a live activity showing.

11:39 there is also another way where if the user triggers a search and your app entity is in the search, you can expect then your tool related to your app to be called. for the second part of the question, you should expect like normal latency into calling, you know, calling the the the intent. I don't know if you could add some more color on like the app is not running, so there might be a little overhead of launching the app.

12:08 >> Yeah, there's app launch, but one one thing that's cool is app intents support being in your app or being in an extension. >> Mhm. >> Yeah. >> And then you could even put them in a framework and put them in both. And bringing up an extension is usually faster. So, if if it's a background action and your goal is like, "Ooh, I want the quickest possible way to check off the task." Right? Or something like that. An extension's great. And then if you put it in a framework, we have some smart policy that actually says, "Oh, whatever is already running, we'll use that first." And if it's not running, we'll prefer the extension cuz it's probably faster to spin up. Right? We have all kinds of things there to make this perform well.

12:43 >> It's actually a good motivation to adopt an extension cuz then you get like sort of snapping your experience. >> We will get Yeah, for background things, that's a snap way to get the fastest performance. >> Awesome. Good question. Thank you. This is an interesting one. This is if an iPhone app is the remote for a Mac app, where should app intents live? iPhone, Mac, or both? Can a request on one device run an action on the other?

13:09 >> Interesting. So, no. Right now, the there is not an automatic way to say ask for an action on the iPhone and have it automatically invoked in your Mac app. You probably want to put those app intents in both native apps so that they can run correctly on the on both platforms natively. And then, you know, it'll sync from there since since you have a pair of apps. >> Awesome. Thanks, Michael. Next question. Is there a particular reason intention behind Oh, we did this.

13:41 The app shortcuts. Okay. Can we expect Siri via these APIs to capture or infer multiple variables in one request? For example, "I lifted 350 lb, {comma} eight reps." Or, "Log 18 oz of water." Without saying fluid ounces. >> I want to do this one, Justin? >> Yeah, I mean, I believe the answer is yes. You can really take advantage of skills, which are new. And they should do a good job of kind of making sure that all your requests are fulfilled.

14:12 >> Yeah, I I think like Kevin can correct me here. So, yeah, app shortcuts, which we were asked about before are kind of limited, right? In this that they can only take one parameter and you have to have like an enumerated set, right? That needs to be a fixed set of possible values which we then expand out. These new two intents don't have any of those limitations. They can fill many parameters. They can they can fill free form parameters that are like a string. People have even done natural language tools where they make a tool intent that takes a basically a prompt which itself internally goes works with foundation models. Hi, or create a right?

14:48 >> You mentioned this yesterday too where like you can really bring in your own implementation for the point. >> Right. So, all of those limitations of app shortcuts are gone. We're very excited for you folks to to port over your app shortcuts over over to two intents. And then, what was the other part of the question? I thought there was something else. >> Multiple variables and can it infer so sort of the units for example? >> Yeah. Yeah, it should be it should be quite good at that. Again, control your you have control over your titles and descriptions of your parameters and it can guide the model to do the right thing and it will.

15:22 >> Is this somehow related to the generatable entities at all? >> Yeah, so maybe you want to say anyone want to talk about generatable entity and and how to use it? >> I can talk about Yeah, I can talk about what it is. It's a transient app entity. We have a new API. We have a new trait on the macro for app entities and that would make it you would mark it as generatable which would allow Siri to go ahead and make these on the fly. So, if you had for example, like a flight search, the user might say, "Oh, find me a flight from San Francisco to Taiwan and you know, for this date." And that should be able to generate that search request.

16:02 >> Yeah, they're really cool when especially when you have a a set of parameters that you reuse in multiple places where you have multiple cases of that same set going into an intent or going out of an intent. Wrap those up, right? In a generatable entity and then it it will make all those like much more readable and and clear in your code. >> I'll do a quick plug to Foundation Models framework for those who are familiar with the framework. So, there's generables there when you want to generate structured outputs, you mark it as generable. This is very similar in So, if you want an int, you get an int, right? If you want a string with specific guidance, you provide it.

16:37 >> Very powerful. >> Awesome. All right, moving on. How does Siri pick which app handles a generic ask like get me food? Can users set a default? And how much do donated intents matter? >> Yeah, so donated intents are really important for schematized intents. Like, if you say have a create reminder intent, right? And there might be four reminder apps that that could do that on the system. A lot of the way that Siri determines, if you don't name one, right? If you name one, we'll use it.

17:07 But, a lot of the way Siri determines, if you don't name one, which one to call is actually based on user behavior. and that's tracked by donations. So, donations are like we we have a transcript of these things. And if Siri calls your intent, the transcript will know it. We're obviously automatically record that. But, if the user makes a reminder in your app, we can't know that. and so, you very much you need to adopt the intent donation manager and related APIs to kind of tell us like, "Hey, this action that is equivalent to this intent happened in my UI by the user tapping around." And when you do that, we use that information as a signal to determine like, "Oh, that probably means that this is the app we should use when the user asks to create a reminder."

17:49 for custom for these two intents, the situation is a little bit different where because of the gates that Kevin talked about, right? Those gates are going to determine what what runs, right? So, if you are looking at your favorite food ordering app and you say, "I want to order a burger," it will call that app first. If you are not looking at an app, you unless you found a search result, which probably wouldn't be the case for food ordering, you have to name the app by name, right? And so, that avoids a a these ambiguities.

18:19 >> Sounds like these are perfect examples for Siri evaluation and trying out all these different ways and but it sounds like the context is what matters the most for these. >> Yeah. >> And that's probably the best sort of flow to to see how things work. >> Yeah. Awesome. All right. next question. How do the usage limits work for Siri evaluations and for app intents we expose to Siri AI? Are the usage limits tied to the developer or the individual user Apple accounts? Thank you.

18:49 >> Ooh, anyone want to take that? I don't know if we have the right expert here. That might be a good forum question actually for for for folks to take. For Yeah, let let's do that. >> Awesome. All right. Thank you. Thank you for the question and yeah, we can get back to you on the forums. Please share these there so multiple people can benefit from our responses. Thank you. Moving on, is there a limit to how many tools intents Siri AI can chain to perform a more complex workflow? Can this work across intents from dif- different apps? Oh, that's a good question.

19:31 >> Yeah, two very good questions which sort of relates to how skills work. so the answer is yes. Siri can do 30 up to 32 call >> Wow. >> within a a skill. so I think there's a couple of advice there. Back to, you know, the the the the first question on like, you know, making sure that you have like, you know, fine fine grain or like the the good sort of Yeah, fine grain tools that I I guess is one thing. The other is if your skill actually operates on a number of entities, we do recommend to have intents that are batchable.

20:15 So, basically like like, I don't know, if you're you know, operating on a set of photos and one of your tool is favorite a photo. Obviously, you know, if you have now like 40 photos to favorite, you're going to go beyond those limits. Right? So, I think what one really good practice is to actually have batch support. this is not only important in the context of skills, but also like just Siri orchestrating would be like faster because it's, you know, one turn of a single tool call versus n.

20:47 >> Don't make the planner loop. >> Yeah. >> you should loop if possible within your intent, which means taking a list parameter, right? and the most efficient way to do that is to use a type we have called entity collection. which means which allows us instead of sending you a list of entities, if you don't need those, if you really just need the IDs, so that you can go ahead and make our web server call or hit the database for some giant batch query, use entity collection cuz that makes it even more efficient because then we don't have to call your query beforehand to get you the the whole thing. And that can that way Siri can handle large quantities of entities.

21:22 >> Yeah. >> But a specific workflow that the developer wants is skills the right way to tell Siri, here are three tools you use in this sequence. Is it the >> So, the the answer is nuanced because Siri is very capable chaining tool call on its own. >> By itself. >> Exactly. So, I think what what what is really important is to, you know, back to the Siri eval, is to sort of push the boundaries on how users are going to use the app and see when there is a you know, either trouble or inconsistencies into, you know, what sort of tool calls are made. skills are really good to to teach the Siri about your particular domain. And so, there might be like a certain order of tools that would work better or like exchanges of information that makes sense in a particular order. So, that's where like skills are are very useful.

22:13 >> Get the ingredients first, then what? So, those will be sequence to it. Okay. >> But but but I think what's important is to not default to a skill. >> Right. >> And and really sort of like yeah, push the boundaries of your tool that could actually having to use a skill could be an indication that the the tool can be sort of rethought. >> Can be improved. >> Yeah. And like >> Instructions. >> >> First, iterate on like the the actual description of your tool.

22:39 >> And the shapes. >> And the shape, the parameters, etc. so that it's really well understood on its own. >> Yeah. >> It's not ambiguous just by itself and all this skill is not required to understand that. >> Exactly. Exactly. Yeah. Yeah. >> And and keep in Oh, go ahead. >> I mean, yesterday we were chatting about how in the end skills are kind of instructions for the model, but it's not guaranteeing anything. So, you have to think about what is that kind of deterministic layer for the model, but also like things that you can help the model guide guide it.

23:08 >> That's right. Skills are yeah, definitely don't don't default to skills. Don't use skills to replace having well-thought-out tools. keep in mind that tools can is Siri might hit on a tool without your skill or with your skill. So, that means that tool should stand independently. Not just Oh, this is going to totally break unless you use it in the exact way the skill says. and also don't use skills for very deterministic processes, right? If you're in a situation where this must 100.0% of the time first call A then B then C then D, probably not necessarily the right place to use a skill. You may actually want to wrap those up in a single larger tool to make sure it's always done. But, if it's more like, well, interview the user first, maybe ask for this first and then that, and then combine those, and then maybe call this other tool, that sounds like a like a skill kind of flow to me.

24:00 >> I was curious with skills like do you have a recommendation of how to write that in a certain way? Like is there a >> How to write like the tool reference? >> The Yeah, exactly. Like Yeah, is there a certain things that you found >> Yeah. Yeah. So, we found that it works well to reference tools in skills informally, right? So, like don't don't try to figure out how we mangle your tool name. don't name it exactly like the app intent. Don't say call the you know, get car app intent. Instead say, you know, call the get car tool or get the car.

24:29 Right? And Siri will figure it out from there. >> Got it. >> I think the key is to use natural language. >> Yeah. >> And it's just just >> easy to write, too, then just >> Right. >> Yeah. >> This is what we do. >> Yeah. >> Think of it like it's almost like you're instructing an admin, right? Or something like that. Like think think of it informally and not as code for a computer, but as code for something that understands language.

24:46 >> Got it. >> I I think one last important thing is, you know, think about the description of your tool when you are actually writing your skill, cuz all that should be interconnected. >> Got it. >> and actually the way we show skills to to Siri is working exactly how we show show tool intents. Whenever the app is in context or you know, there is you know, certain things etc. >> right? >> Exactly. So, you're going to have your tools sort of sitting alongside the skill.

25:14 >> Got it. >> Yeah. >> Makes sense. >> Thanks. Now, good discussion. I think the key thing I took away was skills is not a gating thing. It the Siri can use skill or call tools directly, so don't treat it as like like gospel instructions for the app, but treat it as a guidance, >> Right? >> Yeah, yeah. You Let's put it this way. You may not need a skill. It's very very possible that you can do everything you want and not need a skill.

25:38 >> Mhm. Awesome. All right. Next question. Why does an open intent require an app entity target? I wanted to use a union value, but instead I had to create an open intent for each type. >> Yeah, so I think probably that's that's maybe just a feedback request for for us in terms of like I think right now that's how it's structured, where you would write separate intents. I can see how it could be useful where if you if if all those implementations are somehow really similar and share a lot of code, it could be useful to allow you to wrap those up in a union value and then go ahead and and and then call it.

26:16 do you know what what the system.open schema work for that? >> I'm not sure, but again, these are the types of things that I'm sure developers have tried, and this is why the questions are >> Yeah, yeah. Maybe maybe there's an implication there that you're >> I would definitely file the feedback. Definitely an interesting problem that we want to solve. >> Yeah, try try out using system that open directly. If that doesn't work, definitely file a feedback.

26:40 >> Here's a secret. We love feedback. >> >> We file them. We look at them. Yeah. Thank you. Next question. When Siri calls a custom tool, what leaves the device? The tools definitions, its arguments, its its results can be limited to on device only. >> I think that's a really good one, Kevin. >> Yeah. >> >> So we have tool intents. That's a feature that only works with Siri on the server. So that uses the PCC you know private cloud compute servers where essentially the request is encrypted.

27:15 Part of the request is indeed you know the the system prompt, the details of the tool as well as the as the parameters. But at no point Apple can actually access that. It's encrypted. >> Yeah. End to end. >> I will point out we do have a technical paper I believe on the on the infrastructure of PCC and privacy guarantees, verifiable privacy promise I think we call it. So yeah, feel free to check that out. >> Maybe like one interesting thing here is that so if your device has you know no internet access, Siri can still work with the on device model. But in this context tool intents are not supported.

27:56 >> I see. >> So the tool resolution is where it reaches PCC but in some cases some of the tasks can be done on device. All right. Awesome. Let's move on. Here's another question. Are there any limitations on the older hardware such as iPhone 15 Pro or 16 lineup in terms of capabilities with the new app skill or can we expect functional functionally same behavior aside from device speed? >> I'll take that from the app intent.

28:28 >> On that side no, there aren't any limitations. >> Yeah, I think it's any Apple intelligence device >> iPhone 15 Pro and and later. I I and if it's hitting PCC, I think it's virtually indistinguishable. But I will mention, I guess, from the foundation models framework side of things, models have differed from between these devices. >> The on-device models, right? >> Yes, on-device models. >> Yeah. Yeah, specifically context size. You have some larger context size of 8K versus 4K, yeah, exactly. Yeah, but PCC available at every Apple device.

29:00 >> Yeah, and recent recent devices have a different model. And we have a doc page now as of this week. We have a documentation page describing which devices support which type of foundation models. And when it hits the on-device models, so there might be some differences there. Yes, yep. Sounds good. Thank you. Thank you. Let's move on. What's the best way to test our Siri intents at scale using an LLM as a judge? And how often we should retest as Siri's model evolves? Ooh, I love this.

29:32 I know I know evaluations framework has an LLM as a judge capability. >> Siri >> How does it work on the Siri evaluation side of things? >> You can Yeah, you can think of Siri evaluation more as a like almost like unit tests, like evaluation. So, there's no sort of concept of LLM as a judge or but I think it's, you know, good feedback. I'm curious to >> Yeah, the evaluations framework does have that feature where you can try different LLMs as a judge with that.

30:02 But yeah. >> So, one of the a key difference there is you control the session, you control what goes into the model, you control what comes out of the model, so you can use an LLM as a judge, including PCC if you want to judge it. But on Siri, it's a little more controlled workflow, right? So, >> Yep. >> Good question. >> Actually, before we leave testing, it's worth kind of talking about the layering a little bit. So, we talked about Siri evaluations, right? And what it's for, I think, quite quite extensively already. But kind of before you get there, you probably want to use avant-garde testing. And I just Do you want to Do you want to talk about like what that does and and why? Cuz I think that layering is important and actually getting it right will help developers be successful.

30:42 >> Yeah, absolutely. I think app intent testing would kind of be the first step before you even go into testing your tools. You know, there is a set of determinism that you want to make sure you test and app intent testing is really able to test all the things app intents, your queries, your intents, and so on. And there's a really great WWDC presentation on this that my coworker Venkatesh had done and it just really goes in and deep dives into that if you are really interested in trying to test that with app intent testing.

31:14 >> It's really cool and it's you can you can Not only can you test your intents and your queries, you can test stuff like did I index into Spotlight correctly? Did I tag the entity on the view? Right? You can get all of this information. So it's basically like almost like unit testing your app intents implementation before you get to Siri. >> Mhm. >> Right? And the nice thing about getting that right is then when you start testing with Siri, you're not also going to be dealing with random bugs in your perform method. Where I'm like, "Oh, I forgot to index that. Oh, I didn't Like it's That layering really helps.

31:46 I think getting that right is >> I mean, it's essentially like model reasoning of the tool calls but then also like the tool calls and what parameters. >> Themselves. >> All right. So you want to Yeah, exactly. Compartmentalize. >> And if you want to check if Siri actually is reading the skill and stuff like that, that happens on the Siri evaluation side. Is the intent you want working? As I expect, that's on the app intent testing.

32:08 >> Exactly. >> If there's a bug on app intents or app in your app intents, like it might be hard to find if you were trying with just the Siri evaluation. >> Yeah, that's the thing. Right? Cuz you're dealing with a non-deterministic model that's going to like There's just a lot of factors in there. >> Yeah, I would add that if you if you're trying anything with like tool calling with foundation models and query as well, those are all the tests you have to do because it's not deterministic if the models it would have called the right tool versus like what the tool is actually able to execute.

32:33 >> Yes. >> Yeah. Check if the tool is working first. Then if the model can call it. Awesome. All right, thank you. Moving on, next question. The context window of 4096 tokens per language model session is pretty constraining. Is there plans to expand it? I think This one's right for you, Matt. >> Yeah, I mean we as we mentioned earlier, there's 8K with some newer devices. but you can get a lot done with that. I think also CoreAI, we have the language model protocol that came out in 27.0. and I don't know if it Breet, probably you can talk more about CoreAI with its other models that you can provide.

33:10 >> Yeah, yeah. So, exactly as Matt said, you can if you need to like support for longer context, you can definitely bring a custom model. So, to give an example, like on CoreAI models, which we mentioned yesterday as well, you can now bring in like Gemma 4, which supports up to like 100K context for instance. for you to be a 4B for Gemma 4. so, depending on your use case, if there's something that's not even supported, you can follow the issue, and even bring in your own model through CoreAI.

33:41 >> Awesome. So, there is the new upgraded context window. So, it's larger now. And I will also mention that we did publish an article where we speak where we discuss how to manage context window. So, it's it's in our tech notes. Maybe there are things you can do to chunk your data or use better use of general where you provide structure guidance through general rules, not through prompting. >> Yeah. >> All of these can be used to better take care of >> Yeah, we also have in the foundation models utilities open source package some modifiers when you're using like dynamic profiles. And we also talk in the dub-dub talks about like different variations of trimming the transcript, like removing tool calls, tool outputs, that sort of thing.

34:31 Yeah. >> Yeah. I mean, in general for like open source models, you bring them through foundation models. We represent the tool calls in kind of the chat template. So, if you like reduce some of the tool calls, you can get a lot more context for the actual useful information. So, there's a lot of like hacks you can do for sure. >> It's so interesting how like years ago we were managing memory. >> Yeah. >> Right? We were we were in MRR, you know, manual retain release. And now we're now we're still managing. We're just managing context.

34:56 >> Yeah, yeah. >> >> And actually context engineering. >> Yeah, and and that's actually also important for Siri. So, there's also, you know, for Siri you can impact how much context is used depending on like the description of your tool as well as the description of the the parameters. Maybe one thing that could be interesting to point out is how, you know, for app entities you can choose to show or not certain property to Siri. >> Mhm.

35:25 >> And that's actually a good way to sort of optimize, you know, what we show and to make just, you know, action go. >> That's right. Yeah, you can you can have like private and internal properties. And those are cool for like, well, I want this on my entity because I'm using it elsewhere like say, you know, a widget, right? Or in as a parameter of when I get that entity as a parameter I want to read it back, but I don't want the model to see it. So, that's that's when you mark it private.

35:50 >> Yeah. >> This reminded me even with skills I believe Siri will decide reading the front matter if it should load the whole skill or not, right? So, it's managing its own context that way. >> Yeah, like what one of the cool things about app intents relative to like some other approaches to to models is like the type safety, right? Because this is Swift. FM does this too, right? In the same way. But basically like if you like someone had example earlier like a unit, right? Of like kilograms, right?

36:15 >> Yep. >> you can you could try to use a string and then you could spend a whole bunch of time explaining that it has to have kg at the end of it and it can't be capitalized, and right? And waste all that context. Or you could say this is a unit, right? And then we'll use constraint generation, right? To be like, no, it it needs to look exactly like this. >> Yep. >> Yeah. >> And that's all general.

36:36 >> Yeah. >> Unification here. >> >> Awesome. Thank you. Next question. How how should customers learn what they can go with Siri and understand its limitations? >> Seems like a broad question. >> what they can do with Siri probably. Okay. >> And it's learn understand its limitations. >> Yeah, so you can actually ask Siri what can I do with this app? That is like anything. It's really cool. Like try it try it in notes, try it in finder, try it in a couple of the different places where like we have some new like customer Siri functionality and you you'll see it. And then if you try it with your app and you have some tools you see that they just magically show up.

37:19 It's very nice. It's actually a cool quick way of determining to hey did Siri even find my thing? Did it do it in there? Well, just ask. >> Yeah. >> Siri already knows what tools are there, what workflows are supported, so yeah, ask Siri. >> >> Awesome. Next question. With schema confirming app intents, Siri AI can only reason over intent properties matching the predefined shape of the schema. Is this still the case? For tool confirming custom app intents, can Siri AI reason over all your custom properties?

37:52 >> Yes. >> Next question. >> >> Yeah, it can. That that's kind of one of the big differences between schemas and and and tools is that with with tool intents Siri can reason over all your parameters to an intent and in West View marked as private Siri can see all the properties of your entity. And that is very powerful. But keep in mind that if you are in a domain where there is a schema, like if you're a reminders app or a calendar app, you can you should start by adopting the schema.

38:27 It is very like I can't emphasize this enough because schemas give you a lot of benefits like being able to have reminders created in your app without your app being mentioned or foregrounded. Right? You can't do that with a tool intent. They're they're kind of schemas have this globalness to them, right? And so start by if you are a reminders app or a calendar app, start with that. If you if you feed a schema, start with your schema and then you can always add additional tool intents, even ones that use the same entities.

38:56 And and they will work and you can kind of beef up your functionality that way and handle some of the things that are unique about your app. >> That's really cool. >> I think to add some more color, definitely try and have your tool intents sort of differ from the the actual schematized capabilities. But when when those tool intents will be available, Siri should favor essentially like your your custom intents over the schematized one.

39:29 >> -huh. >> And so again like you know, back to Siri evaluation, evaluation that's a good sort of you know, boundary to see like yeah, I I am you know, a schematized entity but I have those extra functionality, making sure that >> Yeah. >> Exactly, yeah. >> What does it call? >> Makes sense. Thank you. Next question. Can this is related to something we we received earlier. Which Siri AI requests run fully on device and which needs server? Does an app intent still work when the limit is reached or Mac is offline?

40:06 I think we answered some of this wherein for tool intents it does reach out to PCC. >> >> Is there a limit that we have discussed? >> Yeah, I'm trying to see what kind of what other details I can add there. Yeah, I mean I I think essentially when when PCC cannot be reached, that's where sort of like we're not going to be able to to call into the tool intent. Yeah. >> It's also a good thing to run through the evaluations to see what exactly gets invoked and what it's doing too, right?

40:43 >> Yeah. >> That way you can test your app in all scenarios including because let's face it, you people are going to be in places where there's no internet connection. Right? What is Siri going to do in those situations? Wouldn't it be nice if you can test it? Yes, it would be and we have a framework for that. >> >> Sounds good. Let's move on. What How does Siri AI work with custom tool calls that are long-running app intents? Will it cut off those intents early? Is there a way to communicate to the user that the task will take longer than a typical request?

41:19 >> That's a good question. >> I would say to the user. Okay, yeah, you probably want We have an API called long-running intent, which shipped quite recently. I think this past WWDC probably the first time you've seen it and it's very cool. It What it does is it allows you to get a significantly longer period of run time. I don't know if Siri has a timeout. It might might not be indefinite. >> It is a little bit over 30 seconds.

41:43 >> Yeah, but it's much longer than the normal 30 seconds. >> Yeah. >> And the the compromise is it has a very explicit UI associated with it because we always want the user to know if you're doing something long in the background. And it also has like cancellation built in so that and the ability to report progress. Right? Those are all really important parts of a user experience if you're having something that's going to run for 5 minutes.

42:10 Or really anything longer than a pretty short 30-second type period of time. You're going to want to respond to hey, the user asked you to stop. If we stop, and you're going to want to show progress. >> I kind of feel like it's the responsibility of the developer to kind of design tool calls in the way where it doesn't take that much that long. Or like you have that much like model round trip back and forth, right?

42:33 So would the recommendation here being like having more granular and like more precise tools where you do one thing and then you can go go to the next thing? >> Yeah, that's that yeah, that's a good excellent point. >> Think of the end-to-end experience, not just the individual. This next question is actually I think aimed at you, Matt and Corina. Canon app use Apple's on-device models for conversational driving assistant. I believe driving here means driving a vehicle while keeping location and trip data private. what are practical limits?

43:08 >> That's an interesting question. >> Apple's on-device I'll read it again just So, Canon app use Apple's on-device models for a conversational driving assistant while keeping location and trip data private. What are the practical limits? I think there are a few different questions within this question. >> I'm pretty sure we can because like the the on-device AFM, you're not sending any data to the cloud when when you're using that. Like all the processing is done on the device.

43:33 >> Completely on-device. >> So, by by nature of that that like no data is exposed to Apple or or the cloud. is there a second part to it? >> this the question about what are the practical limits, I think this hits the context window question wherein if you want to have a ongoing sort of a session, so how do you manage a context window? >> Yeah. >> Yeah, I think there's a few I mean, like we said with the context management with, you know, different ways to trim the transcript and and that sort of thing. I think also evaluations here like trying out, you know, seeing how things might work for that sort of scenario.

44:08 I think also the the FM CLI where you can plug which you can quickly try with the the model and see how things work together there. >> Which is on the Mac OS. >> Yep, yep, built-in. and so, I think those are some areas that you can try. that's what I'd recommend. Yeah. >> I would add to like with Xcode profiling, you can use There's like very granular kind of multi-turn like pre-filled decode profiling you can do to see like, oh, how long can you keep the conversation going and like how does that translate to the user experience in the end?

44:42 so, we have a lot of tooling so on Xcode. >> Yeah, no, I I The only thing I'll add to that is if the on-device model again is not serving your purpose, then you have an option to bring in your own model with a larger context window, maybe couple that with a Core AI model that does text to you know, like text to speech or what whatever capability you want. We have you can bring in pretty much any model you want on device, right?

45:08 >> I think it's really nice, too. So, you can start with your code with the system language model and do everything that you think is right in terms of what you want to set up and then if you're thinking, "Oh, I want to try a different model." It's one line of code change, right? So, you can build a lot already and play around with different models as well. >> Yeah. And we touched a bit on like the general ball, but if you were to bring like a custom model that's hooked up with foundation models for like a driving app where you need to for instance show anything that needs to be a schema or like a constraint like structured output, you can also kind of define that and use all the capabilities we have hooked up with foundation models to support that as well.

45:46 >> Yeah. >> Just to super clarify, when we talk about the integration, the foundation models framework can is a single framework for multiple model backends, right? You can have a Core AI model, you can have the on-device model, you can have the PCC or bring your own model, and you can have a consistent interface and be able to swap between these. that was new this year, so >> And Alan and I both worked on that. It's kind of like you have the right API boundary of the entry point where you you kind of work on what is the high-level language model protocol that you call into, but then whatever runs on device, if you want to bring a super custom model, you can feel free to do that, but you'll have a very like simple interface to work with.

46:29 >> same exact entry point. It's really nice. >> And I'll end and this with by saying with dynamic profiles, you can have agentic workflows where you swap between these models, too, based on giving them separate tools and separate instructions and all of that. Awesome. Thank you. Good question and good discussion. Thank you. Next question. Back to Siri. >> >> How can Siri use context from an active trip such as the destination, next turn, or ETA without exposing more location data than necessary. Seems like >> Very similar.

47:00 >> on the topic of transportation and navigation, but Siri this time. >> Yeah. thinking about this. Not I'm not quite sure what exposing means. You mean exposing to Siri, I guess. >> Yeah, that part is not clear. >> Yeah. I think it maybe touch a little bit on like how we mentioned like you can customize what is shown from an entity and so on. >> Oh, yeah. Yeah, so the the private >> Yeah.

47:31 >> the private entity properties. >> Mhm. >> Yeah. >> You can do that. Yes. To to basically make it so that Siri does not see >> Yeah. >> that information. >> That's for the visibility, right? >> That's what? >> Visibility? >> Yeah. Yes. It's called visibility. >> In terms of privacy, everything is still in the PCC world and >> Yeah. >> and viable. Yeah. >> It maybe could be a good segue to to talk about the authentication policy of a property.

48:00 >> Oh, yeah. That's a lot of ideas. So yeah, there's there are authentication policies on intents and now on entities and on their properties. and the goal of those is really to control what happens when your device is locked. so there there's a couple values, but the the the crux of this is really that there's some intents that you want to allow on the lock screen because they're likely to be safe. Maybe they're you know, adding a reminder right in a way that isn't really going to cause problems if someone grabs your phone.

48:31 but then there are lots and lots of intents and lots of kinds of content that are very sensitive. Right? so if you say work on a banking app and you have an entity representing something about the account, maybe you can expose the last four digits and that's fine. Right? So you might set a an authentication policy there that says always allowed, but on a property that represents the balance, maybe you perhaps you don't want to do that.

48:57 >> I think it touches again like best practice for developers always trying to validate when it touches more like sensitive operations or deterministic operations. You can't expect the model to do anything like that and expect anything outside of your application logic to do that kind of validation. >> Mhm, yeah. I think that makes sense. >> Thank you. All right. With iOS 27.3's new CD UI, can developers generate complex validated configurations entirely on device or is Siri still limited to triggering predefined actions?

49:34 >> thinking about how to interpret that. I think I think if predefined actions is really sounds like schemas to me and the answer is like no, Siri is not really limited to schemas anymore. but if you if you zero into the the on-device part, it sounds like Kevin you're saying the use of two intents it does require PCC. >> Yes. >> so although it is very safe, again see our security guide, it is not entirely on device.

50:02 >> Yeah. >> Not technically. >> Sounds good. Thank you. next question, how would you recommend we surface skills to our users? Older APIs we we could surface the add to shortcuts button via intent framework. Is there something I haven't discovered in documentation that helps with skill discovery? >> Ooh, that's a good tip. >> Does the Siri app show app skills like the shortcuts app shows automations? >> Yeah, so definitely try what can a Siri if the user asks Siri what can I do in this app, it will find it which is very cool as a user discovery feature.

50:38 I think we are definitely interested again this is part of that we're looking for your feedback bit but we're definitely interested in supporting developers who want to help users discover what is possible. Obviously that's like a very common challenge with all kinds of voice interfaces like how do I know what I can say, right? and it's definitely worth like like developers playing around with this on the design side of like is there an onboarding screen that would make sense?

51:03 Can we prompt the users in a way when a new version is set up to help them discover like, "Hey, you can now say something like this or like that." And unlike with app shortcuts, it's no longer an exact phrase, right? So, it's a little bit of a different kind of onboarding story than app shortcuts where it's like, "Here's literally what you have to say. It has to be literally this." Instead, this is more like, "Here's a thing that you could say that would almost certainly work. And you could say lots of things like this that will also probably work." Yeah.

51:32 >> Yeah. And I And I think the integration has to be thought as in like, the user shouldn't have to think about skills. >> That's the whole point. >> You should just, you know, think about like, what are the like the cool usage that would unlock, you know, people to use Siri with your app. And it just should naturally flow. And so, yeah, that's That's where skills sort of like enables those more complex workflows. >> That's right.

51:57 >> from a user perspective, like, it should be >> It's going to be a very >> You shouldn't be telling your users, "Here are some skills." You should be just having good design design guidance in your own app that tells users about capabilities. >> It's about capabilities. Exactly. It's not about telling users how to invoke them anymore, right? It's about you Siri and my app can now collaborate to do X. >> Exactly. >> Like, for example, the Find Your feature we shipped where it's like, you You don't need to know how to tell Finder to do this. You could just We just told you, "Hey, Finder can now like clean up your folder."

52:26 The idea is that almost any way you can reasonably think of to ask Finder to do that, it will. >> Mhm. >> That's so cool. >> Yeah. Funny thing is, in the ML community where skills is such a common >> >> but but in general, it means nothing to a lot of people. >> Mhm. >> That's true. Yeah. >> Awesome. So, here's a challenge. We have 10 minutes left. We'll try to get to >> Lightning round.

52:49 >> Yeah, but but with good intention, let's try to answer. All right. Tool intent is unavailable on watchOS. In our mirrored watchOS workout app, benefits from a live HK workout background runtime. What experience can we expect for watch users who invoke Siri on the watch while leaving the phone face down on the ground? >> Oh, interesting. Yeah, I think that is a great use case and a great feedback to file for us. Again, I will emphasize these are this is a developer preview, right? A lot of the purpose of this is these are incredibly powerful tools we're giving you. We need feedback about how you're using them, how you want to use them, what's possible, what isn't.

53:31 We think we've enabled a lot right now, but it it's not everything. And we we are excited to learn from what you guys attempt and to see what you guys do. >> I know we have said this before, we'll emphasize again feedback requests. Please do file them and if you're seeing something not as you expect then forums are a great place to share them in addition to filing a feedback. Thank you. Next question. Can Apple Foundation Apple's Foundation Models framework serve as an on-device inference back end for a third-party coding agent where the application independently manages orchestration, tool execution, permission gates, and audit logging and can developers guarantee the inference remains entirely offline?

54:14 >> Yeah, I mean absolutely from the Swift API you can build that right away in terms of like other models, you know, in terms of larger context size and capabilities, that sort of thing. I think again echoing the whole Core AI thing I think I mean if you know more about those capabilities. Sorry. >> Yeah, exactly. Like check out Core AI models. We possibly will actually brought some models of that size and like of those capabilities and you can use directly with Foundation Models for your work.

54:42 >> I think this specific question is specifically focused on the Apple's Foundation Models framework on device. So yeah, they are not maybe specifically talking about the Apple Foundation Models, but if it's bring your own in either case I think you want to make sure that the model is actually good at coding. >> Yes. So we wish you luck. >> We don't recommend using our on-device model for coding use cases, right? But if you were to bring in your own through Core AI then 100% that's a valid use case.

55:15 >> Yeah, like in some of the Mac platform especially where you can bring in a lot more capable and like larger models. We totally have models that are great at like coding already and as I was mentioning like a lot of these models are already great at tool calling and like kind of all these like agentic workflows already. Right. Where you you just bring them in, you convert them through Core AI models and then you use them with like foundation models framework.

55:42 >> And I think with privacy too at the the end of the question. Yeah, if it's on device like great. >> It's fully on device and I'll just add that I actually do this across using MLX and Core AI. You can hook it up to your popular coding harness and it works beautifully. So, yeah. Awesome. Thank you. Next question. For a navigation app, how can a driver make a hands-free request like find a gas station along my route and have the app carry it out using Siri or Apple intelligence?

56:13 >> How can a driver interesting? >> Yeah, find a gas station along my route would be the request to say. >> Yeah, yeah. So, so I would do two things. I don't have the navigation schema memorized, but I would I would start with that and see how far you can get, right? Again, as I said earlier like make sure that you don't start by overlapping schema capabilities instead you start by using the schema. Once you have tried that, if you're looking to push if you're a navigation app and you want to push beyond what the schema can do, that totally makes sense. That's when you would start adding two intents.

56:48 And I think you you can do nearly nearly everything you can imagine, right? With with the two intent infrastructure now because of how flexible it is. >> Awesome. Next question. What on device foundation models latency should be expect and on which chips can we warm up the model so the first request is fast? >> Well, we have a great API called pre-warm. What this exact sort of well, pre-warming. I'd also take a look at instruments. We did a great collaboration where you can look with your requests the latency different turns you have tool calls that sort of thing and you can really see how things are working for your specific use case.

57:26 >> We have a great WWDC video on instruments pre-warming to speed up as well as what latency should be expected. That is something you can see on the instrument. >> Yeah, I'm not sure off the top of my head, but that's a great way to to play around with it and see where you're going. >> Yeah, I would add for any like custom models a lot of that like first-time load. If you want to offload that to build time, we have ahead of time compilation. That's a completely new feature.

57:50 So you the kind of first time to first token user experience would be a lot faster when you are able to do that offline. >> Perfect. And and the reason we want to discuss this in the same context is because a lot of people will be using Core AI through the foundation models framework, which means you also get the benefit of using the instruments. >> Exactly. You can see that see all of those chunks. >> it's very possible we get some really cool stacks of these frameworks where essentially you have app intents, right?

58:17 Siri talking to app intents talking to FM talking to Core AI in this way to create these like really cool flows. >> Absolutely. The world is your oyster. >> >> Next question. How much control do developers have over combined app intents? Can we explicitly define dependencies, execution order, and constraints between actions or does Siri dynamically determine the workflow? Additionally, how are partial failures handled when some action succeed but others fail? >> Oh, interesting.

58:48 Let's see. >> Maybe the the first part of the question Yeah, so so there's you know, depending on your use case there may be like a so natural flow where you know, you first need to create an entity and then that second app you know, app intent would take in that entity as a parameter and so I think again it goes back to like you know, testing out the boundaries of your use case and see like and Siri sort of naturally flows those tools and if that's the expected outcome. If not, that's where you can like sort of you know, have your own skill that would explain more like that domain specific and and how it should be >> Yeah, yeah, I think you have like you have a couple layers, right? You have like just break it up into tools.

59:33 Define the the tool structure well and then define you know, work on your tool descriptions and tool titles and then see what happens. Do that first, right? Then if that doesn't work well, see if you can write a skill, right? That basically like prompt Siri for how you want those tools orchestrated, but keep in mind that won't be deterministic. It will probably work very well much of the time, but it is not a 100% hard coded software solution, right? And then if if it is not working well or if you find a case where you absolutely must enforce a hard dependency, that's when you might want to try combining the tools instead.

60:07 So they so that the model can never separate them. Right? You so you will never get partial failures in that case, but I would go in that order, right? Rather than jumping. >> Okay. We have a couple more minutes. Let's see how many we can get through. With Siri AI now supporting custom app intents and skills, how can we make our app discoverable when users make generic requests such as summarize this file or convert this file to without explicitly mentioning our app's name? How does Siri choose which third-party app should handle the request?

60:39 >> Yeah, yeah, so that's for those that's is there a little different for schemas versus not. For schemas, I think we talked about this earlier. It's really about user behavior and donations, right? So if we need if we know through Siri's own behavior and through your donations from your UI that I use a certain reminder app, that's the reminder app that will be chosen if I were to ask Siri to create a reminder. for tool intents, it's a little bit different. There are those four conditions that Kevin mentioned. App named, app in the foreground, live activities running or we've retrieved content from search.

61:15 And so that transcript contains an entity, and then that will enable your app tools. If the con- if the context contains an entity from your app. >> Exactly, yeah. >> Awesome. >> I think that's all the time we have for today. Any final words? Any single key takeaway for our audience today from each of your frameworks? >> Oh, man. Play around the language model protocol. I think it's really cool. It's awesome to play with the different models. Yeah.

61:44 Maybe the same for you. >> Yeah, that 100% but also like you can build such intelligent experiences with all these frameworks together like custom models through foundation models, framework as the perform method to app intents for instance. Like that's just really cool. >> Yeah. And yeah, really excited to see what people are going to build with all those technologies. And yeah, thanks a lot for all the questions. >> Absolutely, yeah. We're already seeing people post like really cool examples.

62:11 And like honestly, the best part of this job is looking at some, you know, social media post or somebody showing a video and you're like, "They did what?" Wait, how did they even Wait, does it even do that? I guess it does. That's cool. >> That's true. >> That's like the the most fun. >> Yeah. >> It's kind of why we do what we do. >> Yeah. >> Absolutely. >> Thanks everyone. The only thing I learned is Xcode has great agentic capabilities to do all of this.

62:31 >> Oh, yeah. >> Several skills, so you're not alone. So, awesome. So, that's about all the time we have for today's group lab. So, we're so thankful that you were able to join us today and hope you found this really helpful. I also want to say thanks to our panelists as well as the folks working hard behind the scenes to make all of this happen. As we mentioned earlier, if we didn't get your question, please head over to developer forums and ask your questions there. We can continue the discussions and feedback assistant is your friend.

63:02 Please file feedback. We love to see those. Thank you. And we really do appreciate you tuning in. So, until next time. Thank you. >> Thank you, folks. >>

Summary

The Apple Intelligence Group Lab session focused on the new Siri AI developer preview and its implications for app developers. The panelists discussed the capabilities of the new App Intents API, how developers can integrate Siri into their apps, and the importance of testing and refining these integrations for optimal user experience.

- Introduction of the new Siri AI developer preview, expanding Siri's capabilities to all app types.
- Developers can create custom app skills for Siri using a new two intent API and entity snippet API for better visual representation.
- Emphasis on testing with the Siri Evaluations framework to refine app intents and ensure they function correctly.
- Developers are encouraged to adopt schema-based app intents for better integration and user experience.
- Siri can handle requests from apps in the background, but performance may vary depending on app status and user context.
- The importance of intent donations for Siri to learn user preferences and improve app discoverability.
- Developers can manage long-running tasks with a dedicated API that provides user feedback and cancellation options.
- Encouragement for developers to provide feedback and engage with the developer community for continuous improvement.

Questions Answered

Who are the panelists and what is the purpose of this session?

The session is hosted by Shashank from the Evangelism team at Apple, featuring experts from various AI and machine learning teams. They encourage audience participation and questions.

What new capabilities does the Siri AI developer preview offer for App Intents?

The new developer preview expands Siri AI's capabilities to all types of apps, allowing existing App Intents to be directly invoked by Siri.

How should app intents be structured for apps that operate across iPhone and Mac?

Currently, app intents should be implemented in both the iPhone and Mac apps separately, as there is no automatic invocation across devices.

What are the benefits of adopting schemas for specific app types?

Adopting schemas allows apps to create reminders or calendar events without needing the app to be active, providing a more integrated user experience.

How can developers improve user discovery of Siri capabilities in their apps?

Developers should focus on designing onboarding experiences that help users understand the capabilities of Siri with their app, moving away from rigid command structures.

© transcribe · For agents Built with care and craft by Gokul Rajaram