Configure and deploy agents from the Agent Library

The Copilot Agent Library is a curated, marketplace-style catalog of production-ready AI agent templates and reusable components for Microsoft Copilot Studio and Microsoft 365 Copilot. It provides organizations with a self-service experience for discovering, evaluating, and deploying agents directly into their Power Platform environment. This experience accelerates time-to-value from weeks to minutes.

Rather than building agents from scratch, teams can browse a rich visual catalog of prebuilt templates that address common business scenarios. They can deploy these templates by using guided install flows and customize them to fit their organization's needs.

You can find the Copilot Agent Library app on Microsoft Marketplace. You can also download the underlying template files from GitHub.

Screenshot of the Copilot Agent Library showing agent templates and reusable components in a marketplace-style catalog.

Why use the Agent Library?

  • Accelerate deployment: Deploy a production-ready agent in minutes instead of building from scratch. Each template is prebuilt, tested, and follows Microsoft best practices.
  • Built-in governance: Every template follows Microsoft security, compliance, and AI design standards, giving organizations a solid foundation from day one.
  • Guided discovery: A marketplace-style catalog with rich metadata, search, and filtering makes it easy to find the right agent for your business scenario.
  • Reusable components: In addition to complete agents, the library includes modular building blocks, like research, document extraction, and content synthesis, that you can add to your own agents.
  • Fully customizable: Every agent is yours after deployment. Tailor instructions, knowledge sources, branding, and actions to fit your organization.

Get the Agent Library

To access the library, you can either get the app from Microsoft Marketplace or download the templates directly from GitHub.

  1. Go to the Copilot Agent Library on Microsoft Marketplace.
  2. Select Get it now and sign in with your Microsoft 365 account.
  3. Review and accept the terms of service, and then select Get it now again to confirm.
  4. In the Power Platform admin center, select the environment where you want to install the app, then select Install.
  5. Wait for the installation to complete. You can monitor progress in the Power Platform admin center under Environments > [select your environment] > Resources > Dynamics 365 apps.
  6. When the installation finishes, open the Agent Library app from make.powerapps.com > Apps to browse templates and deploy agents.

Learn more about installing apps from Marketplace in Install an app in the environment view.

From GitHub

If you prefer to download templates directly, get them from the microsoft/m365-agent-templates repository. Each template includes a README with setup instructions.

Note

Marketplace and GitHub have the same templates. The difference is the experience: Marketplace gives you a visual catalog with guided deployment, and GitHub gives you the raw solution files.

Prerequisites

Before you can deploy agents from the library, make sure you have the following prerequisites in place. Some prerequisites are required for all agents, while others depend on the type of agent you're deploying.

All agents

Custom agents (Copilot Studio)

Learn more in Copilot Studio licensing.

Declarative agents (Microsoft 365 Copilot)

Important

Some templates use connectors that need AI model providers or external services. If your organization has data policies, check that the required connectors aren't blocked. Templates that use only Dataverse (like Request Tracker) work with most default data loss prevention (DLP) settings.

Available templates

The following agent templates are available in the library. Each template is a self-contained solution that you can deploy into any compatible environment.

Template Description
Plan My Day AI-powered daily scheduling that uses your calendar and priorities to organize your day.
Know Your Customer Surfaces customer insights, relationship history, and account context for sales and support teams.
Executive Brief Generates concise executive summaries from meetings, reports, and organizational data.
My Company Policy Answers employee questions about HR, IT, travel, expense, and compliance policies using organizational knowledge.
Request Tracker Streamlines request intake, tracking, approvals, and resolution workflows.

Reusable components

Component collections are modular capabilities you can add to any agent. Import a component into your environment, then reference it from your agent's Topics and add a Call an action node. Learn more in Call an action or topic.

Component Description
Research Adds web research and information synthesis capabilities.
Document Extraction Extracts structured data from uploaded documents and files.
Content Synthesis Combines and summarizes information from multiple sources into polished content.
Log Chain of Thoughts Captures the agent's reasoning process for transparency, debugging, and audits.
Executive Brief Generates executive-level briefing content from organizational data.
Save Conversation History Persists conversation transcripts to Dataverse for compliance or analytics.
ServiceNow Ticket Management Creates and manages ServiceNow IT service tickets from conversations.

Agent types

The library includes two types of templates, each targeting a different platform.

  • Custom agents are standalone agents built in Copilot Studio. They can be published to multiple channels, including Microsoft 365 Copilot, Microsoft Teams, web chat, and more. Custom agents use features like custom topics, generative AI with knowledge sources, and Power Automate integration. Learn more in Create and delete agents.

  • Declarative agents extend Microsoft 365 Copilot with specialized instructions, knowledge, and actions. You build them with Agent Builder in Microsoft 365 Copilot or the Microsoft 365 Agents Toolkit in Visual Studio Code, and deploy them as Teams apps. Learn more in Declarative agents for Microsoft 365 Copilot.

Each template card in the Agent Library shows its type.

Deploy a template

Deploying a template from the library imports a prebuilt solution into your environment. After deployment, customize the agent to fit your needs.

From the Agent Library app

  1. Open the Agent Library app and find a template.

  2. Select the card to see details, prerequisites, and deployment options.

  3. For custom agents, the app imports the solution into your environment. Set up connection references and environment variables when prompted.

  4. For declarative agents, choose from:

    • Customize & Download—Set the agent name and instructions, then download.
    • Use Agent Builder—Follow the setup guide (no code required).
    • Build with Visual Studio—Clone the repo and use the Agents Toolkit.
  5. Follow the post-install steps in the app.

From GitHub

  1. Download the .zip file from microsoft/m365-agent-templates.

  2. Deploy the template to your environment:

    • Custom agents: Import at make.powerapps.com > Solutions > Import solution.
    • Declarative agents: Sideload in Teams > Apps > Manage your apps > Upload an app.
  3. Follow the README for configuration details.

After you deploy

Complete these steps to make sure your agent is fully operational:

  1. Configure connections: Ensure all connection references point to valid, authenticated connections in your environment.
  2. Set environment variables: Fill in any values the template requires (API endpoints, SharePoint URLs, and so on).
  3. Enable cloud flows: If the template includes Power Automate cloud flows, verify they're turned on.
  4. Publish the agent: Open the agent in Copilot Studio and select Publish. Imported agents aren't published automatically.
  5. Test: Use the sample prompts from the template's documentation to verify the agent works as expected.

Customize

You can fully customize every agent you deploy. For example, you can:

  • Tailor instructions and prompts to match your organization's voice and terminology.
  • Add your own knowledge sources, such as SharePoint sites, Dataverse tables, and websites.
  • Extend the agent with new topics, Power Automate flows, or connector actions.
  • Update the agent name, icon, and branding to align with your organization.

Troubleshooting

Problem What to try
Import fails Check that you have the right security role and that Dataverse is enabled. Only one import can run at a time.
Agent blocked by DLP Ask your admin whether your organization allows the required connectors. Dataverse-only templates like Request Tracker usually work with the default DLP policy.
Agent doesn't respond Make sure the agent is published, connections are set up, environment variables are filled in, and cloud flows are turned on.
Declarative agent missing in M365 Copilot Confirm the user has a Microsoft 365 Copilot license and sideloading is enabled. It can take a few minutes to appear.
MCP consent prompt Some agents show an Allow button on first use. Select it once. The selection persists.

FAQ

Is it free? Yes. The app and templates are free. You need the right licenses (Copilot Studio or Microsoft 365 Copilot) to run the agents.

How is the Agent Library different from the Copilot Studio Kit? The Copilot Studio Kit helps you build, test, and govern agents. The Agent Library gives you prebuilt agents to deploy. They're complementary.

Are the templates supported by Microsoft? Templates are provided as-is by the Power Customer Advisory Team (Power CAT) and community contributors. For product support, contact Microsoft Support. To report a bug or request a feature, go to Create new issue.