Skip to content
TrackPodcasts
technologyMar 1, 202614:29

The EASIEST Way to Build a Copilot Agent (NEW Agent Builder Tutorial)

About this episode

Join Shervin Shaffie, Copilot Principal Engineer, in this simple tutorial on how to build powerful Microsoft 365 Copilot Agents, using the new & improved Agent Builder. In this step-by-step guide, you’ll learn how to create a Project Assistant Copilot agent from scratch inside the Microsoft 365 Copilot app.

⏩ You can watch this Podcast as a video here: https://youtu.be/9_Dw9qcjLgA

This Podcast represents the opinions of Shervin Shaffie and his guests to the video and does not reflect the opinions of Microsoft, affiliates, or the companies with which this video's participants are affiliated with.

Interactive timestamps

Jump to segment

Get every episode summarized

Each time All About AI with Shervin publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.

Email me new episodes

Free for 3 shows. No card needed.

Hosts & guests

Transcript ready

271 searchable segments. Every word is indexed and playable.

The EASIEST Way to Build a Copilot Agent (NEW Agent Builder Tutorial)

All About AI with Shervin

0:00
14:29

Full transcript

All About AI with ShervinThe EASIEST Way to Build a Copilot Agent (NEW Agent Builder Tutorial). Machine-transcribed; use the interactive transcript above to jump the player to any line.

0:00Bubble Wall is here from 2311 Racing. You know it's slower than a pace car? Waiting at the car wash. That's when I fire up Chamba Casino. It turns those slow minutes into fast fun. With new games every week, you'll never get bored. Next time you're stuck in the slow lane, speed up with Chamba. Play now at ChambaCasino.com. Let's Chamba. Sponsored by Chamba Casino, no purchase necessary. VGW Group Fort, we're prohibited by law, 21 plots, terms and conditions apply. You're listening to a podcast right now, driving, working out, walking the dog. If you're in a podcast, chances are you have something to say too. With RSS.com, starting your own podcast is free and easy. Upload an episode and we distribute it to Apple Podcasts, Spotify, Amazon Music, and more. Track your listeners, see where they're from, and start earning from ads just like this. If you've been thinking about starting a podcast, this is your sign. Start your new podcast for free today at RSS.com.

1:00Today we're going to look at the simplest way to make an agent using agent builder, which has got a lot of new improvements since we looked at it last. And right now you're looking at my Microsoft 365 co-pilot application using the M365 co-pilot license. If you look here on the left-hand side, there's a whole section called Agents. And I have a bunch of agents already. What I can do is I can actually create a new agent. Let's go ahead and create this new agent and see all the changes that agent builder has. When you first create a new agent, it's simple to do, but it drops you into this configure menu item which doesn't look that interesting actually. Why don't we switch over instead of configure over here, we'll go to describe on the left-hand side. When you go to describe, all you got to do is describe the type of agent you want to make. It can't get easier than that. So I'm going to describe this project assistant agent that I want to make because I think everyone

2:03that works in a company, small, medium, large business, we're probably working on projects or working with people or working on cases. So why not create an agent that can help us get organized on a specific project. So I'm going to drop in just a couple of sentences in here and it's going to say, hey, I like to create an agent that's project specific and it asks me what project I'm working on and helps me figure out next steps. It's very simple. You can be more verbose if you want it to, but maybe we don't need to be. Maybe co-pilot kind of understands the gist of it. So with that, I just sent that off and now co-pilot is kind of thinking about how to create this agent and you can see very quickly it comes back and it says, let's set the agent's name to project guide and on the right hand side, you probably just saw the agent actually get built. Here's a project guide and there's a bunch of prompts that are generated as well and

3:04it tells you this is kind of what I built. But what we can do now is we can either go ahead and select create and call it a day and then the agent just shows up as one of my many other agents on the left hand side here. We built some of these together actually in the past or if you're interested in what's new with agent builder, let's go ahead and select configure and see what's going on. How did this agent get built? We can customize it a little bit more. So the first thing I'm going to do is instead of calling a project guide, I'm going to say my project assistant. I like that name better and I can also click on this little pencil icon and upload a picture of what my project assistant looks like. So I'm going to go ahead and select this box down here and I have a cool picture that I found and let me know if you like this guy. So this is what my project assistant looks like, super cool looking guy.

4:04I'm going to go ahead and select apply and now the icon, the name, everything got changed for my agent, my project assistant and you can see on the right hand side it got updated as well. So when we gave it the description, co-pilot came up with the description itself for the agent. The agent helps user identify next up for specific projects. So when you share this agent with other people, they see that description and that's one of the beauties of these agents. If you build a really cool one for yourself, you can just share it with other people inside your company. Now as we scroll down, you'll notice that co-pilot put together a bunch of instructions like the purpose of the agent, general guidelines, skills, step by step workflow. And so this is actually your opportunity to say, oh man, like I don't like this whole thing. I'm going to go ahead and like delete it. Step number five is gone. Let me put step number five back.

5:04But this is your opportunity to edit the agent. And if you forget to do it now or if you don't like how it behaves, you can always come back and edit it in the future. So again, just by describing it, all of this got built out. And then if we scroll down a little bit, these are some of the new sections that I wanted to highlight. So if you notice, there's an entire section dedicated to knowledge right over here. And what's new is that now in addition to just being able to upload a file or referencing something on your one drive, you can also mention that, hey, I want this agent to use my SharePoint sites, all of them or specific ones, or I wanted to use my team's chat and channels, or I wanted to use my emails or specific website links that you can drop in here. So all of that is new and I'll show you in just a little bit. The other thing is that you can go ahead and put this toggle on so that websites are

6:05actually like the worldwide web, all the stuff on the internet is a knowledge source that the agent can use or you can leave it off because it's just you want it to be very specific information. I'm talking about specific information. You can turn on this knob over here that says, only you specify sources instead of the general knowledge of the large language model. That's kind of how like hallucinations or people's ideas of hallucinations come about because a lot of times this isn't turned on. So I'm going to turn that on in just one second. You can also reference your org chart and profile info if that matters to your agent and there's other other data sources as well. So let's look at these, right? But before I forget, I'm going to go ahead and flip this switch here for only using specified sources. And then I'm going to go ahead and select just click on this box here for enter URL or drop a file. And what happens is you see these different menu items pop up like all file sites and

7:08then two more is giving you the option of chat and meeting. So when I go to files, I can filter based on PDFs or Word documents or PowerPoints and I can specify specific files that I want to be a knowledge source or I can click on sites. And these are engineering and benefit sites and all these different SharePoint sites that I can go ahead and use or I can go to chats and say, I want this agent to pull from a specific group chat or a specific channel and also meetings, which I don't have any in here. You can be very specific with the knowledge that this agent is using. But the other thing you can do is by just clicking on this box again, if you notice on the bottom, it says my SharePoint files and folders, my teams chats and meetings and my emails. These three, of course, they relate back to what I showed you in the beginning, these

8:11three or four icons, right? So I do want it to actually go ahead and grab everything from my SharePoint. I do want it to go grab everything from teams and I also do want it to grab everything from my emails. And as I select that, they actually show up on the bottom here as knowledge sources. And if one day I change my mind, I can just select X, go edit the agent and get rid of these as data sources. The other thing that's new is if you scroll down, this whole section of capabilities is super cool and it's actually relatively new. So over here now, you can have it create a document for you and code. You just have to flip this switch and you can also have it create images for you once you flip this switch. So why not take advantage of that? I'm going to go ahead and turn this on. I'm going to go ahead and turn this other one on. And now our agent is much more powerful. These are all new functionalities.

9:12So so much to do in here. And now the last section really is just suggested prompts where you can either kind of like drag these and move them into different places or you can delete them or you can change the title. You can add another suggested prompt. There's a ton that you can do here. So you can see the suggested prompts they show up on the right hand side. And the only thing left if everything looks good is now you just go ahead and select create on the top right hand side. So let's go ahead and create it. All right. So not that the agent got created. We can either go to the agent if you're super impatient or you can also share it. So you can also share it later on. You don't have to do it right now. But I'm going to show you that if you click share, you can share it with specified users in your organization or anyone in your company can get it. Now if I click specify, I can go ahead and select someone like Albert because I work

10:12very closely with Albert Einstein or buddies. And so I can share it with Albert. And if that looks good, I'm going to go ahead and select apply. Now just to make sure that Albert actually gets it, once I shared it, I can go ahead and copy this link and I can send it to him in a team chat and say, Hey, Albert, check out this cool agent that I made, right? So that's another way of sharing. Now with that, we're done. And you should actually see that it popped up on the left hand side here in my project assistant. It showed up on this whole agent's category, which I can collapse or expand. The other thing that I wanted to show you that's super cool is on the top right hand side here. There are these three dots. And when I select it, there are a couple of cool features like copy to copilot studio because I do a lot of copilot studio agents that you've seen me doing the past. And now you can take something from agent builder. And I know we've been asking for this for a long time.

11:13You can just copy it. You can download it as a zip or you can delete it. So if I select copy to copilot studio, it says, do you want to copy to full experience? And yeah, it sounds good. Let's go for it, right? So I'm just going to click get started. It asks for the environment that your copilot studio uses. I'm going to collect shaffee studios and click continue. And it basically just ports it over to copilot studio and it creates it in there. And then you can further modify it. So I think that is super cool. Now you can edit it in copilot studio and we can do that a different day if you guys are all interested. Now with the agent created, let's just go ahead and select it. So if I select it on the left hand side, these different prompts that got generated are here. Let's even see what these prompts are. So the first one is need help figuring out what to do with your next project. And I'm going to go ahead to give it more context. I'm going to give it this plain engineering project that I'm working on.

12:14So let's see what it comes back with. And by the way, for reference, this is that plain engineering file that I just sent it. It's about a plain project that I'm working on building and it's got all this information about activities and the different parts of a plane and priorities and owners and team members and supervisors. It's got a ton of stuff. So I wanted to tell me what is it that I need to do next. So as it's reading where the project stands, the timeliness, the status mix, all the stuff. It's giving me a report of what it thinks I should do next, high impact, the next 10 actions that I should take, it's giving me all those here. And because I turn on that toggle to be able to create files for me, I'm going to go ahead and say create a one page word doc that tells me the top 10 things I should do today. So let's ask it that.

13:14So here it is. The document is ready. I'm going to go ahead and select it. These are the top 10 things to do today. Complete the requirements, baseline. This is one of the items in the spreadsheet, freeze the aircraft configuration and so on and so forth. So it created that word document for me. I can go back here and say something else like create a one slide PowerPoint on next steps. All right. So here's your one slide PowerPoint on the project next step. So I'm going to go ahead and select it. And here are the slides I made. I asked for one, it gave me three, but here's the actual substance, right? The key actions to advance the project, finalize the requirements, baseline, complete structural loads and so on and so forth. So it can generate PowerPoints, it can generate word documents, it can generate Excel, it can generate infographics, all of that is available from within the agent. So as we wrap this up, let me show you a few other things on the left hand side is your agent and obviously it shows up under this agent drop down.

14:18But one of the things you can do is first you can pin it. So if you hover it over it, you see this little pin icon. So now it gets pinned, it's not going to disappear as more and more agents get added. You can also select these three dots and you can share it. We already tried sharing it with Albert, but you can share it with other people. You can edit it, you can uninstall it. And when we select edit, it brings that agent builder screen back up and here's where you can perfect it, right? So if at some point in time you're like, Hey, I don't like these suggestive problems. I want to add another one or I want to delete them. You can do that or if you want to change the instructions because it's not behaving correctly then you can do that. And once you've done that, then all you do is you select update on the top right hand side and you're good to go. That's it. If you enjoyed this session, honestly, I think this has come a long way since the beginning. And I really like the fact that now you can easily export this to co pilot studio where

15:19we can do even more and more. So thanks again for watching. And if you liked this video, make sure to give it a thumbs up, consider subscribing and I'll catch you on the next one. Tyler Reddick here from 2311 Racing. Victory Lane? Yeah. It's even better with Chamba by my side. Race to ChambaCasino.com. Let's Chamba. Don't purchase necessary. VTW Group. Voidware Prohibited by law. CTNC. 21 Plus. Sponsored by ChambaCasino. You're listening to a podcast right now, driving, working out, walking the dog. If you're in a podcast, chances are you have something to say too. With RSS.com, starting your own podcast is free and easy. Upload an episode and we distribute it to Apple Podcasts, Spotify, Amazon Music and more. Check your listeners, see where they're from and start earning from ads just like this. If you've been thinking about starting a podcast, this is your sign. Start your new podcast for free today at RSS.com.

More episodes

More from All About AI with Shervin

View all episodes →