Important
The Bot Framework SDK used to build some of our (now archived) samples is deprecated. Existing customers can continue to use Bot Framework SDK without disruption. Support tickets for Bot Framework SDK are no longer being serviced as of December 31st, 2025. If you have an existing agent built with the Bot Framework SDK, you can upgrade to the Teams SDK. For details on core changes and migration steps, see the migration guide
This repository features samples using Teams SDK and TeamsJS. These samples were created to help developers design and build collaborative and rich AI-powered experiences for Microsoft Teams. Teams SDK reduces boilerplate code and external dependencies while providing native AI capabilities and Teams-specific abstractions. TeamsJS provides the client-side APIs that let apps integrate with the Microsoft Teams host and build contextual, interactive experiences inside Teams.
Teams SDK supports C#, JavaScript, and Python.
Teams Platform offers samples to help developers jumpstart their development journey. These samples provide clear and concise examples of how to utilize Teams SDK or TeamsJS in your apps and agents. These samples are curated to show a wide variety of scenarios across multiple surfaces while maintaining a small subset of samples to preserve clarity.
The repository is organized into 3 different folders as noted below:
Teams SDK – Contains 8 new condensed samples built with the Teams SDK
Archived – Contains 100+ older samples
TeamsJS – Contains 58 samples built with the TeamsJS Library
The samples are sorted by SDK in the sections below to help you find exactly what you are looking for. For more in-depth information on these samples and how to utilize them see our TEAMS PLATFORM DEVELOPER DOCUMENTATION
Each sample contains a README that describes the scenario and platform features being used. The links below will navigate you to the folders containing samples using Teams SDK or TeamsJS. The archived samples based on deprecated frameworks and SDKs are available within the Teams SDK folder.
Issues and bugs can be filed directly on the SDK repository, our engineering team will respond directly.