Microsoft 365 Agents Toolkit

repository·dev·Indexed 20 days ago

https://github.com/officedev/microsoft-365-agents-toolkit

A comprehensive suite of tools including a CLI, VS Code extension, Visual Studio extension, and SDKs designed to simplify the creation, debugging, testing, and deployment of agents and apps for Microsoft 365 Copilot, Microsoft Teams, and Office Add-ins.

Tokens
649.9K
Snippets
1.1K
Records
2.4K
Agent score
72%

What's inside Microsoft 365 Agents Toolkit

  1. Overview of Message Extension features

    dev

    The Message Extensions template demonstrates three core Microsoft Teams capabilities:

    • Action commands: Enables user interaction through buttons and forms within the compose message area.
    • Search commands: Allows users to search for information or trigger actions within the context of a message.
    • Link unfurling: Automatically transforms URLs with specific domains (e.g., .botframework.com) into rich Adaptive Cards when pasted into the compose message area.
  2. Overview of Microsoft 365 Agents Toolkit MCP Server

    dev

    The Microsoft 365 Agents Toolkit MCP Server is a Model Context Protocol (MCP) server that connects AI agents to developers building applications and agents for Microsoft 365 and Microsoft 365 Copilot.

    It enables developers to:

    • Build and deploy AI agents for Microsoft 365.
    • Integrate with Microsoft 365 Copilot features.
    • Access and manage app and agent templates.
    • Troubleshoot common issues effectively.
  3. Overview of the Declarative Agent with API Plugin template

    dev

    This template allows you to build a custom version of Microsoft 365 Copilot (a Declarative Agent) that can be extended with plugins to retrieve data and execute tasks on external systems. In this specific template, the agent uses an API plugin powered by Azure Functions to interact with a repair record system.

    Core Concepts

    • Declarative Agent: A custom Copilot configuration used for specific scenarios (e.g., specialized knowledge or specific processes).
    • API Plugin: An extension that allows the agent to interact with REST APIs to perform actions or fetch data.
    • Azure Functions: Used in this template to host the backend logic for the repair API.
  4. Overview of Custom Search Results app template

    dev
    The Custom Search Results app template is designed to build a Microsoft Teams message extension that interacts with third-party data, apps, or services via an API. This allows Teams to retrieve real-time information (e.g., news coverage) or knowledge-based information (e.g., design files from Figma) directly within the chat interface.
  5. Overview of the React with Fluent UI template

    dev

    The React with Fluent UI template is a starter application designed to showcase how to build visually appealing web pages that can be embedded in Microsoft Teams, Outlook, and the Microsoft 365 app.

    Key features include:

    • Fluent UI Framework: Used for the frontend implementation to ensure a native look and feel.
    • Single Sign-On (SSO): Implemented using Nested App Auth.
    • Microsoft Graph Integration: Built-in capability to access user data from Microsoft Graph.
  6. Overview of the Basic Foundry Agent template

    dev
    The Basic Foundry Agent template is a starter application built on the Microsoft 365 Agents SDK. It demonstrates how to create an agent that responds to user queries by connecting to a Microsoft Foundry (formerly Azure AI Foundry) agent via the Responses API. This allows you to use existing Foundry agents within Microsoft Teams without duplicating logic.
  7. Overview of the M365 Agents Toolkit Toolchain

    dev

    The M365 Agents Toolkit provides a unified toolchain for developing, managing, and publishing various Microsoft 365 agent types. This includes the atk CLI, the m365agents.yml lifecycle management system, environment configuration, project templates, manifests, and the Agents Playground.

    This toolchain is capability-agnostic, meaning the core commands and lifecycle patterns apply to all supported project types, including:

    • Declarative agents
    • API plugins
    • Copilot connectors
    • Custom engine agents
    • Teams bots, tabs, and message extensions
    • Office add-ins
    • RAG agents
  8. Overview of TeamsFx Core

    dev
    TeamsFx Core is the central package that implements shared capabilities for both the Microsoft 365 Agents Toolkit IDE Extensions and the Command Line Interface (CLI). It operates based on API contracts defined in the project's API package. Developers using the CLI or IDE extensions are interacting with the capabilities provided by this core implementation.