
Make your Own Agents in Copilot | Complete Tutorial
Kevin Stratvert
Overview
This tutorial provides a comprehensive guide to creating and utilizing agents within Microsoft 365 Copilot. It explains what agents are, how they enhance AI capabilities for specific tasks, and the prerequisites for using them (Microsoft 365 business/enterprise accounts). The video covers working with pre-built agents like the Career Coach, Researcher, and Analyst, as well as integrating third-party agents such as Canva. It details how to build custom agents using Copilot Studio and the Agent Builder, including defining instructions, knowledge sources, and capabilities. Finally, it touches upon publishing agents and managing authentication for internal and external use, highlighting the role of administrators and potential costs associated with usage credits.
Save this permanently with flashcards, quizzes, and AI chat
Chapters
- Agents are customized AI assistants that perform specific tasks within defined parameters.
- They can operate independently or create workflows across multiple applications.
- Using agents in Copilot requires a Microsoft 365 business or enterprise account, not the free or individual subscription.
- The course aims to help users understand agents, use existing ones, and build their own without coding.
- Pre-built agents, like the 'Career Coach,' are available within Copilot and Teams to assist with specific professional journeys.
- Agents can be added to your Copilot interface and invoked using the '@' symbol in chat.
- Third-party agents, such as the 'Canva' agent, integrate external applications into Copilot for enhanced functionality.
- It's important to understand an agent's parameters, capabilities, and constraints by asking it to describe them.
- The 'Researcher' agent performs in-depth analysis by comparing multiple sources and can access organizational data.
- The 'Analyst' agent specializes in extracting insights from data, such as spreadsheets, and can identify trends and suggest strategies.
- These agents require the full Microsoft 365 Copilot license and are designed for complex, time-intensive tasks.
- Both agents can access enterprise search and organizational data, providing a deeper level of analysis than standard Copilot.
- Third-party agents extend Copilot's capabilities by connecting to external applications like Canva.
- Adding a third-party agent requires granting it permission to access your Microsoft 365 data, which necessitates trust in the third-party provider.
- Agents can reference information from your emails, files, and messages to inform their actions, such as designing a graphic based on an email thread.
- While agents can initiate actions in connected apps, final edits or complex manipulations often require signing into the native application.
- Excel's agent mode allows Copilot to directly modify spreadsheets, unlike the standard chat interface.
- It can perform actions like sorting, filtering, calculating new columns, and applying conditional formatting based on natural language commands.
- Agent mode can also generate dashboards, tables, and graphs, and provide insights and recommendations based on the data.
- This mode enables independent decision-making by the AI within Excel, going beyond simple query responses.
- The Copilot Agent Builder allows users to create custom agents without coding skills.
- Key steps involve defining the agent's name, description, and detailed instructions (role, rules, constraints).
- Knowledge sources, such as uploaded documents or web links, can be added to provide context and data for the agent.
- Agents can be configured to search the public internet or be limited to provided knowledge sources.
- Testing and refining the agent through iterative prompts is crucial for its effectiveness.
- Copilot Studio offers more sophisticated tools for building complex agents, including AI model selection and trigger configurations.
- It allows for manual definition of instructions, knowledge sources (uploaded files, websites), and capabilities (document generation, code snippets).
- 'Topics' are used to define specific conversational flows and responses for particular user queries, enhancing agent precision.
- Publishing an agent requires configuration of authentication, channels (Teams, Copilot), and administrator approval for wider deployment.
- Usage credits may be required for agents used by individuals without the full Copilot subscription or for external users.
- Agents built in Copilot Studio can be published to various channels, including Microsoft Teams and the Copilot interface.
- Authentication settings determine who can access the agent, ranging from requiring Microsoft sign-in to no authentication for public access.
- Sharing an agent with teammates requires administrator approval and depends on their Microsoft 365 subscription level.
- Publishing externally requires careful consideration of authentication and potential usage credit costs.
- Agents can be shared within an organization via a link, allowing colleagues to add them to their Copilot.
Key takeaways
- Agents transform Copilot from a general AI assistant into specialized tools for specific tasks, significantly boosting efficiency.
- A Microsoft 365 business or enterprise account is essential for accessing and building advanced Copilot agents.
- Leveraging pre-built and third-party agents offers immediate benefits and showcases the potential of AI integration.
- Understanding an agent's parameters, capabilities, and limitations is key to using it effectively.
- Building custom agents requires careful planning of instructions and knowledge sources to ensure accurate and relevant responses.
- Copilot Studio provides advanced capabilities for creating sophisticated agents, including custom conversational flows (topics).
- Proper publishing and authentication management are critical for ensuring agents are accessible to the right users and secure.
- The distinction between agents built with Copilot Agent Builder (no-code) and Copilot Studio (more advanced) is important for managing complexity and features.
Key terms
Test your understanding
- What is the primary difference between a standard Copilot prompt and using a Copilot agent?
- Why is a Microsoft 365 business or enterprise account necessary for using advanced Copilot agents?
- How can you discover the specific functions and limitations of a pre-built or third-party agent?
- What are the key components to define when building a custom agent using the Copilot Agent Builder?
- Explain the role of 'Topics' in Copilot Studio for customizing agent behavior.
- What are the main considerations when publishing an agent for internal versus external use?