An introduction to Microsoft 365 Copilot Agents
Creating, extending and customising Copilot agents is a fundamental process for adapting functionality to specific business or personal needs.
In this article, I will provide an overview of Copilot Agents, explaining what they are, which out-of-the-box agents Microsoft has released to date, what types of agents we can customize, and I will also explain what autonomous agents and SharePoint Agents are.
What are Copilot Agents?
Agents are scoped versions of Microsoft 365 Copilot that act as AI assistants to automate and run business processes. They enable customers to bring custom knowledge, skills, and process automation into Microsoft 365 Copilot for their specific needs.
Pre-built Copilot agents
Microsoft has launched a wide range of pre-built agents that span multiple business functions. These agents can be deployed immediately or further configured by incorporating your organisation’s knowledge and skills.
At the time I'm writing they are all in preview. A brief description of the available pre-built agents is provided here below:
How do I create a Copilot Agent?
Before diving into how we can extend Copilot, it is essential to understand two concepts:
Anatomy of Microsoft 365 Copilot
Foundation Models
Foundation models are large language models (LLMs) that form the core of Copilot's capabilities. These models, such as GPT-4, are trained on vast amounts of data and use deep learning techniques to understand, summarize, predict, and generate content. They provide the underlying AI intelligence that powers Copilot's functionality.
User Experience
The user experience component focuses on how users interact with Copilot within Microsoft 365 apps like Word, Excel, PowerPoint, Outlook, and Teams. It ensures that the integration is seamless and intuitive, allowing users to leverage Copilot's capabilities without disrupting their workflow. This includes features like drafting, summarizing, and answering questions in the context of the user's work.
Orchestrator
The orchestrator is responsible for coordinating the various components of Copilot and ensuring that they work together harmoniously. It manages the flow of information between the foundation models, user data, and the Microsoft 365 apps, ensuring that responses are accurate and relevant to the user's context.
Knowledge
The knowledge component involves the integration of Microsoft Graph, which includes information about users, activities, and organizational data. This allows Copilot to access and utilize relevant data from emails, chats, documents, and meetings to provide contextually appropriate responses and insights.
Skills
Skills refer to the specific capabilities and functionalities that Copilot offers within different Microsoft 365 apps. For example, in Word, Copilot can help users create, understand, and edit documents; in Excel, it can assist with data analysis and visualization; and in Teams, it can facilitate communication and collaboration.
Declarative Agents
Declarative agents are designed to be configured through predefined rules and well-defined scenarios. These agents function on the basis of declarations of intent and specific conditions that guide their behaviour.
Custom Engine Agents
Custom engine agents offer the highest level of control and customisation.
Blue pill or pink pill...?
When it comes to extending Copilot, you can decide to swallow the blue pill or swallow the pink pill…
Staying on the Blue side of things, you're going to reuse the foundations of Copilot: you're going to reuse the UI, you're going to reuse the templates and also the Microsoft Orchestrator. You're going to add Knowledge and Skills instead.
On the other hand, if you swallow the pink pill, you are going to completely replace the Copilot engine with your own custom.
Swallowing the blue pill: creating a Declarative Agent
Declarative agents are a collection of custom knowledge and custom skills hosted on the Microsoft 365 Copilot orchestrator and foundation models.
You can add knowledge to Declarative Agents via connectors, and skills via plugins.
Recommended by LinkedIn
Adding Knowledge
Graph Connectors
Microsoft Graph Connectors provide a platform to ingest your unstructured data into Microsoft Graph, so that Copilot can reason over the entirety of your enterprise content. Microsoft Graph Connectors existed before Copilot, in fact it powers other Microsoft 365 experiences, like Microsoft Search.
Power Platform Connectors
Power Platform Connectors are essentially API wrappers that allow Copilot Agents to interact with various external services and applications. These connectors enable Copilot to perform a wide range of tasks by connecting to services both within the Microsoft ecosystem (like Office 365, SharePoint, Dynamics 365) and outside it (such as Twitter, Google services, Salesforce). There are three main types of connectors:
By leveraging these connectors, Copilot Agents can access and utilise data from various sources, enhancing their capabilities and making them more dynamic and responsive to specific business needs.
Adding Skills
Plugins
Plugins don't ingest data, they look directly in real-time at the external systems, they can also interact with the external systems, that is not only read data but also write data.
There are 3 types of plugin:
The pink pill: Custom Engine Agents
Custom engine agents are developed using custom foundation models and orchestrators and can be tailored to specific enterprise needs with your own stack. Custom engine agents currently work as standalone Teams apps.
These are an evolution of Microsoft Teams bots and, just like before, you can use Teams AI Library and Teams Toolkit to create them. I intend to come back to Custom Engine Agents with a dedicated article.
Declarative? or Custom Engine?
Autonomous Agents
An autonomous agent is an AI system that can perform complex tasks independently, that is without direct human intervention.
Let's see a typical example of an autonomous agent created with Copilot: a prospective client sends you an email requesting an engagement. As soon as the email is received, the agent gets to work, extracting the relevant details.
It then follows a series of steps, including verifying any previous engagement with this customer, validating the industry sector, summarising the client needs, it then writes and sends an email to the relevant expert in your organisation, with all the client details.
The particular feature that makes a Copilot Agent an autonomous agent is the fact that it can activate by itself: this is possible thanks to the event triggers, defined in Copilot Studio, which may kind of remind you the Power Automate triggers.
SharePoint Agents
SharePoint Agents are a specialised type of agents, tailored on SharePoint Online and that can be created outside of Copilot Studio. Every SharePoint site includes an agent scoped for the site’s content, ready to assist you instantly. These ready-made agents are an easy starting point to get answers without combing through the site or digging around with search—they can be used immediately without any customization.
For specific projects or tasks, any SharePoint user can create a customized agent based on the relevant files, folders, or sites, with just one click.
The SharePoint Agents can easily be shared via email or within Teams chats. Not only are coworkers able to use the agent that you shared, but @mentioning the agent in a group chat setting gives the team a subject matter expert ready to assist and facilitate collaboration.
They adhere to existing SharePoint user permissions, they don’t broadly share the files you selected whenever you share the agent with others in your organization.
Agents created using SharePoint data are file-based. They are stored within the same site where they were created. Since they are files, you can manage them just like you manage other files. You can copy, move, delete, or archive them.
AI Adoption Strategist | Ex Microsoft | Microsoft 365 and Copilot Solutions Specialist | MCT | Project Management I Customer Success | Enterprise Skilling I Ed-tech Consultant
4moVery helpful! Thanks for explaining the copilot agents concepts in an effective way.