Introduction

Completed

Declarative agents for Microsoft 365 Copilot let you create AI-powered assistants optimized for specific scenarios. Using instructions, you define the context for the agent and configure its tone of voice or how it should respond. By integrating an agent with an API, you allow the agent to connect to external applications to retrieve data and perform actions.

Example scenario

Suppose you work in a car repair shop. Your organization keeps track of the different repair requests using a specialized system. You and your colleagues regularly look up information about the different repairs. The current system offers a rudimentary search functionality that finds repairs only matching keywords. You would like to have an AI-powered assistant capable of answering questions about repairs, asked using natural language.

What will we be doing?

By the end of this module, you'll be able to integrate declarative agents with secured APIs. You'll understand how to securely connect a declarative agent to APIs secured with API keys and OAuth.

Prerequisites

  • Basic knowledge of what Microsoft 365 Copilot is and how it works
  • Basic knowledge of how to build a declarative agent for Microsoft 365 Copilot
  • Basic knowledge of how to build an action for declarative agent with API plugin
  • Basic understanding of OAuth and Microsoft Entra ID
  • Microsoft 365 tenant with Microsoft 365 Copilot
  • Visual Studio Code with the Microsoft 365 Agents Toolkit extension installed
  • Azure Functions Core Tools
  • Node.js v20