Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Microsoft 365 Agents Toolkit empowers developers to build rich agents and apps for Microsoft Teams. It plugs into Azure Functions and works with different development setups. You can use JavaScript, TypeScript, or Python (Python support is currently available in preview). The toolkit streamlines development and supports tabs, bots, and message extension apps.
Get started with building agents and apps in Visual Studio Code using the Agents Toolkit. This guide covers preparation steps, supported environments, and key features.
Build environments
Agents Toolkit in Microsoft Visual Studio Code offers a set of environments to build your agents and apps for Microsoft Teams. You can choose any of the following environments:
- JavaScript or TypeScript
- Python
Create your Teams agent or app using JavaScript or TypeScript
The agents or apps built with JavaScript or TypeScript have the following advantages:
- Comes with its own UI and UX capabilities that are rich and user-friendly.
- Provides quick upgrades to the existing agents or apps.
- Distributes agents or apps on multiple platforms, such as Android and iOS.
- Compatible for creating an agent or app with the existing APIs.
Agents toolkit also supports building agents or app using Python in the developer preview version.
Agents Toolkit in Visual Studio Code supports building:
- Tab app: Your tab app can have web-based content. You can have a custom tab for your web content in Teams or add Teams-specific functionality to your web content.
- Bot app: A bot can be a chatbot or conversational bot that allows you to do simple and repetitive tasks, such as customer service or support staff.
- Message extension app: You can interact with your web service through buttons and forms in the Teams client.
Support for Azure Functions
Agents Toolkit lets you integrate Azure Functions directly into your apps. You focus on the code that matters, while Azure Functions takes care of the infrastructure. It delivers "compute-on-demand" in two key ways:
- Allows implementing your app's logic into readily available blocks of code. These blocks are called functions.
- Scales to meet demand with as many resources and function instances as necessary as the requests increase.
Azure Functions integrates with an array of cloud services to provide feature-rich implementations. The following are some of the common scenarios for Azure Functions:
- Building a scalable web API
- Responding to database changes
- Processing real-time data streams and event processing
- Managing reliable message systems
Node.js version compatibility table for project type
| Agents Toolkit version | Project Type | Supported Node.js versions |
|---|---|---|
| > 5.14.0 | JavaScript or TypeScript | 18, 20, 22 |
| 5.12.* | JavaScript or TypeScript | 18, 20 |
| 5.0.0 | Notify with http or timer trigger Azure functions JavaScript or TypeScript |
16, 18 16, 18 16 16, 18 |
| 4.2.2 | Notify with http or timer trigger Azure functions |
14, 16, 18 (Preview) 14, 16, 18 (Preview) 16 14, 16, 18 |
| 4.0.0 | JavaScript or TypeScript | 14, 16 |
| < 3.7.0 | JavaScript or TypeScript | 10, 12, 14 10, 12, 14 10, 12, 14, 16 |
See also
Platform Docs