Xcode, Agents, and You [video]

Austin_Conlon1 pts0 comments

Xcode, agents, and you - WWDC26 - Videos - Apple Developer

View in English

-->

More Videos

About

Summary

Transcript

Xcode, agents, and you

Learn how you can use coding agents in Xcode in your development process. We'll explore multiple ways of working with agents with tips to take you from creating an initial prototype to polishing a refined app. Discover how Xcode's coding assistant adapts to help you stay engaged with the creative work that makes coding fun, whether you're building an app solo or working with a team.

Chapters

0:00 - Introduction

1:14 - Meet the app

2:06 - Explore

7:38 - Build

13:44 - Refine

18:25 - Orchestrate

22:09 - Next steps

Resources

Writing code with intelligence in Xcode

HD Video

SD Video

Related Videos

WWDC26

Create UI prototypes using agents in Xcode

Translate your app using agents in Xcode

Search this video…

Hello! I'm Devin! And I'm Maxwell! We are both members of the Xcode Intelligence team. And we're excited to show you how using agents in Xcode can enhance your development. In Xcode 26.3 we introduced coding agents along with tools to help you tackle complex, multi-step tasks.<br>In Xcode 27, you can be even more productive. We've expanded the tools Xcode provides and redesigned how you interact with agents. All with the goal of keeping you focused on the work that you enjoy. You drive the vision for your code, and Xcode helps you get there faster and with confidence.<br>Xcode adapts to you, whether you are just getting started with agents or consider them an essential part of your workflow.<br>Together with Devin, I'll walk you through using agents in Xcode throughout your development. I'll start by exploring a project to gain an understanding of its structure.<br>I'll use that understanding to plan and build out a new feature.<br>Then, Devin will refine what I've built. And finally, he'll orchestrate multiple conversations to accomplish specific tasks. Let's get started! When Maxwell and I are not at the office working on apps, we're spending time at the gym. We've wanted something that helps us track exercises in our workouts. We want something that is personalized and adaptive to how we train. So, together we're building an app that has exactly the features we want. I just got this app off the ground using an agent in Xcode, and it already has the basic functionality we need. It has a workout page to track exercises. And a history section to show previous sessions.<br>This app is really great. One thing that I would like is if I could see how I'm progressing over time, now that I'm tracking all these workouts. I was thinking the same thing! We need an insights view. That sounds like a great idea. I'll start by creating a prototype to show analytics using previous session data. Perfect! I can refine it from there once everything is in place.<br>Devin has the project in a great starting place, and I want to familiarize myself with everything he's done already. So I'll start by using Xcode as a guide to both explore the project and learn what options I have for adding insights data. When you use agents in Xcode to explore, they can see your whole project. From your source code, build settings, and even open files and active selections, agents are tuned into exactly what you're working on in the moment.<br>To start exploring, I'll hold Option and Shift while clicking on the button in the toolbar to create a new conversation. This opens a conversation as a separate editor pane so I can also see individual files and look into specific ones as I explore. I'll ask the agent to summarize the project's data models and current view hierarchy, and provide a walkthrough. I'll send this prompt, and the agent uses Xcode's tools to gather context, and piece together the project's structure.<br>When jumping into a new project, it can be challenging to determine where you should start. When reading complex architecture and a collection of source files, piecing together how everything connects to build an understanding can take considerable time.<br>Xcode can help you here. You can ask for a walkthrough to distill down the architecture into something easier to understand, complete with rich details like outlines of data flow, tables of key areas and source code references. When you want to investigate at a deeper level you can navigate directly to key files.<br>The walkthrough is complete, and I can read through it to build an understanding at a high level. And if I want to look deeper into our workout views, I can click on the links and jump directly into the individual files. This walkthrough is a great reference. But I don't want to lose all this detail in one conversation, I'd like to preserve it. That way I, or anyone else on my team, can reference it later and get up to speed faster.<br>I've read all the source files that I need to for now, so I'll close the other editor pane and focus in on just the conversation. I'll ask Xcode to draft up two architecture documents with the information...

xcode agents using project want files

Related Articles