Build a bot-based message extension agent for Microsoft 365 Copilot

Note

  • The bot-based search message extension agent is available in public developer preview.
  • Only a bot-based search message extension can be extended as an agent in Microsoft 365 Copilot.
  • Agents for Microsoft 365 Copilot are in preview and work only in Microsoft 365 Copilot in Microsoft Teams.

Start Microsoft Teams app development with your first Teams app. You can create a bot-based message extension agent using JavaScript.

In this tutorial, you'll learn:

  • How to set up a new project with Teams Toolkit.
  • How to build a bot-based message extension agent.
  • How to deploy your app.
  • Trigger your bot-based message extension agent in Microsoft 365 Copilot.

This step-by-step guide helps you to build bot-based message extension agent with Teams Toolkit. You'll see the following output after you've completed this guide:

Screenshot shows the agent prompt and the response from Microsoft 365 Copilot.