Edit

Share via


Tools and SDKs

Important

TeamsFx SDK is no longer supported by Microsoft for building Microsoft 365 Copilot extensions, Microsoft 365 agents, or modern Teams app scenarios. The SDK is currently in deprecation mode and will receive community-only support on GitHub until September 2026.

For all new Microsoft-supported development (Copilot extensions, AI agents, Teams apps, or broader Microsoft 365 extensibility), use:

New projects should not be built with TeamsFx. Existing TeamsFx solutions should be migrated to the Microsoft 365 Agents SDK.

Build and develop your Microsoft Teams agents and apps using SDKs, libraries, and tools. Microsoft provides a comprehensive platform to create, develop, test, debug, and publish your Teams agents and apps seamlessly, making the entire process efficient and streamlined. Teams offers the following platform:

SDKs and libraries

Microsoft Teams platform provides SDKs, libraries, and APIs to build and develop Teams agents and apps. Teams SDK is the primary SDK for building Microsoft Teams agents and is recommended for all new development scenarios, including tabs, bots, message extensions, and meeting extensions.

Core SDKs and libraries to build Teams agents and apps

Important

  • Teams AI library is now renamed to Teams SDK.
  • Teams AI library v1 is deprecated. We recommend that you upgrade your agents to use the updated Teams SDK.

Teams SDK is now generally available for JavaScript and C#, supports Python in developer preview. It provides a simplified SDK, support for Model Context Protocol (MCP), Agent-to-Agent communication (A2A), and streamlined tools to enable developers to build intelligent agents for Teams.

SDKs and libraries Why you need it Related SDKs and libraries
Teams SDK Teams SDK is a Teams-centric interface to GPT-based common language models and user intent engines. This reduces the requirement for you to handle complex and expensive tasks of writing and maintaining conversational bot logic to integrate with Large Language Models (LLMs). Based on Azure OpenAI.
Agents SDK Agents SDK enables you to build extensible, multi-channel agents that run across Microsoft 365 experiences, including Microsoft 365 Copilot and Microsoft Teams. It provides a unified development model for agent orchestration, lifecycle management, and integration with AI services of your choice. Based on Azure OpenAI.
Microsoft Graph SDKs The Microsoft Graph SDKs are designed to simplify the creation of high-quality, efficient, and resilient applications that access Microsoft Graph. The SDKs include two components such as service library and core library. Based on Microsoft Graph.

Teams Developer Platform SDKs & libraries

SDKs and libraries Why you need it Related SDKs and libraries
Teams JavaScript client library The Teams JavaScript client library (TeamsJS) enables you to create hosted experiences within Teams, Microsoft 365 app, and Outlook. These experiences involve hosting your app content in an iFrame. You can use it with Microsoft Graph SDK, Adaptive Cards, and Fluent UI React components.
You can pass the reference to SharePoint Framework (SPFx).
SharePoint Framework (SPFx) The SharePoint Framework (SPFx) offers a page and web part model that fully supports client-side SharePoint development, seamlessly integrates with SharePoint data, and extends Microsoft Teams and Microsoft Viva. You can use it with Microsoft Graph SDK, Adaptive Cards, and Fluent UI React components.
Based on SharePoint REST API.
Live Share SDK Live Share is an SDK created to turn Teams apps into collaborative multi-user experiences without requiring dedicated back-end code to be written. You can use it with Microsoft Graph SDK, Adaptive Cards, and Fluent UI React components.
You can pass the reference to Teams JavaScript client library.

Additional libraries and UI utilities to build Teams agents and apps

Libraries Why you need it Related SDKs and libraries
Adaptive Cards An Adaptive Card is a customizable card that can contain any combination of text, speech, images, buttons, and input fields. You can use it with Teams JavaScript client library, and SharePoint Framework (SPFx).
Fluent UI React components Fluent UI React components are a collection of UI elements and tools that come from combining various React-based component libraries used in production, like @fluentui/react and @fluentui/react-northstar. You can use it with Teams JavaScript client library and SharePoint Framework (SPFx).
Fluid Framework Fluid Framework consists of client libraries that help distribute and synchronize shared state. These libraries enable multiple clients to simultaneously create and operate on shared data structures using coding patterns similar to those used to work with local data. You can pass the reference to Live Share SDK.
Based on Azure Fluid Relay.

Microsoft Entra ID-secured services and APIs

Services and APIs Why you need it Related SDKs and libraries
Azure Bot Services Azure Bot Service is a collection of libraries, tools, and services that let you build, test, deploy, and manage intelligent bots. Used for Teams SDK.
Azure OpenAI Azure OpenAI Service provides REST API access to OpenAI's powerful language models including the GPT-3, Codex, and Embeddings model series. Besides, the new GPT-4 and ChatGPT (gpt-35-turbo) model series are now available in preview. These models can be adapted to your specific task including but not limited to content generation, summarization, semantic search, and natural language to code translation. Used for Teams SDK.
Microsoft Graph Microsoft Graph is the gateway to data and intelligence in Microsoft 365. It provides a unified programmability model that you can use to access the tremendous amount of data in Microsoft 365, Windows, and Enterprise Mobility + Security. Use the wealth of data in Microsoft Graph to build apps for organizations and consumers that interact with millions of users. Used for Microsoft Graph SDK.
SharePoint REST API You can remotely engage with SharePoint data using any technology that supports Representational State Transfer (REST) web requests. You can perform basic create, read, update, and delete (CRUD) operations by using the REST interface provided by SharePoint. Used for SharePoint Framework (SPFx).
Azure Fluid Relay The Fluid Framework is an open source, platform independent framework. Azure Fluid Relay is a managed service for the Fluid Framework that helps developers build real-time collaborative experiences and replicate states across connected JavaScript clients in real-time. Used for Fluid Framework.

Note

The Bot Framework SDK and Bot Framework Emulator have been archived on GitHub and are no longer updated or maintained. Support tickets for the Bot Framework SDK are no longer serviced after December 31, 2025.

We recommend planning your transition to the Teams SDK for building agents in Microsoft Teams. To extend your agent's capabilities across other Microsoft 365 platforms, use the Microsoft 365 Agents SDK.

Tools

The Teams platform brings you the following tools to build Teams agents and apps:

Tools Why you need it Environment Test and debug
Microsoft 365 Agents Toolkit (previously known as Teams Toolkit) Agents Toolkit makes it simple to get started with app and agent development for Teams. You can begin with a project template for common custom solutions built for your org (LOB app) scenarios or start from a sample. Save time on setup through automated app and agent registration and configuration using Visual Studio Code and Visual Studio. Visual Studio Code: JavaScript and TypeScript

Visual Studio: .NET and Blazor
In Visual Studio Code and Visual Studio
Developer Portal for Teams Developer Portal for Teams is the primary tool for configuring, distributing, and managing your Teams apps and agents. With Developer Portal, you can create a basic app manifest (previously known as Teams app manifest) and publish the app and agent to Teams. Supports all languages Developer Portal for Teams
Microsoft 365 Agents Toolkit CLI (previously known as Teams Toolkit CLI) Agents Toolkit CLI is a text-based command line interface (CLI) that accelerates Teams app and agent development. It aims to provide keyboard centric experience when building Teams solution. JavaScript and .NET Use command prompt

More information on building Teams apps and agents with Agents Toolkit.
  Agents Toolkit
Environment variables Use .localconfigs file
Generate manifest Agents Toolkit autogenerates when creating projects.
Deploy Teams app Automatically update use command Microsoft 365 Agents: Update Teams App
Create Microsoft Entra app Automatically create when debugging or provisioning the project. Users can also use their existing Microsoft Entra app by filling in Teams app ID in .localconfigs file.
Add SSO Provide SSO-enabled samples and how-to guides to add SSO.
Bot or Message extension Registration Automatically create when debugging or provisioning the project. User can also specify their own Bot ID.
Expose Node.js app Tab: localhost + HTTPS and Others: Dev Tunnel
Run Node.js app npm run atk:dev
One-click debug F5 or debug in Visual Studio Code and Visual Studio

Workflow for Teams

You can create workflows in Teams by integrating AI. You can manage and use workflows in Teams chats, and include practical workflow ideas like sending weekly reminders or triggering actions via emojis. For more information, see Add or run a workflow in Microsoft Teams.

Recommendations

Tool Details
Microsoft 365 Agents Toolkit We recommend using Agents Toolkit v5 to build your apps and agents, as Agents Toolkit v4 is available only with limited functionality.
Microsoft 365 Agents Toolkit CLI We recommend that you use Agents Toolkit CLI to build your Teams app and agents, as TeamsFx CLI v1 and v2 are available only with limited functionality.