Types of bots
When deciding how to develop your bot, it's important to know your options. You must choose between an AI-enabled bot or a conventional one. This article gives a quick overview to help you start. It shows you how to build a basic bot app and then enhance it into a custom engine agent.
Choose the tools and platforms
If you want to create your own bot, here's a list of tools and platforms to help you get started:
# | Choose ... | From the following options ... |
---|---|---|
1. | Bot type | - Custom engine agent - Conventional bot |
2. | Bot capabilities | Choose the capabilities you want to build in your bot: • Conversational capability • Notification capability • Workflow capability • Command capability |
3. | Tools and Platforms | - Teams AI library: Teams custom engine agents use AI to communicate naturally with users. These agents can handle tasks from simple questions to complex operations. If you have an existing Bot Framework SDK bot, you can migrate it to Teams AI library for advanced capabilities. For more information, see why you must migrate to Teams AI library. - Bot Framework SDK: The Bot Framework SDK allows you to create bots using C#, Python, and JavaScript. You can modify existing bots to work in Teams using C# or Node.js. The SDK extends Bot Builder to: • Use specialized card types like the connector card for Microsoft 365 Groups. • Set Teams-specific channel data on activities. • Process message extension requests. You can develop Teams apps with any web technology and call the Bot Framework REST APIs directly, ensuring token handling in all cases. - Teams Toolkit: Teams Toolkit makes it simple to start developing bot apps for Teams. You can use a project template for common custom bot app scenarios (LOB app) or start from a sample. For more information, see tools and SDKs. - Azure AI services: Azure AI services offer tools and frameworks for building, deploying, and managing intelligent applications. The Azure AI Foundry tool is crucial for creating and testing custom engine agents to manage and test AI models. For more information, see Azure AI Foundry. |
4. | Bot registration service | - Azure AD - Developer Portal |
5. | Advanced bot capabilities | - Call and media bot - Access data using MS Graph - SSO - Bot on Mobile |
Build a bot
Let's start by building a bot. You can use Teams Toolkit, Bot Framework SDK, or Teams AI library. After you build a conventional Teams bot app, you can add the AI layer to your bot to elevate it.
Build a conventional Teams bot app
# | I want to build ... | Here's a sample |
---|---|---|
1. | Conversational bot using Bot Framework SDK | - Bot app with Node.js - Bot app with C# - Bot app with Python |
2. | Conversational bot using Teams Toolkit | Create Teams conversation bot |
Build an AI-powered Teams bot app
You can build a new custom engine agent or elevate your existing conventional bot to be powered by AI.
# | I want to build ... | Here's how... |
---|---|---|
1. | Custom engine agent with Teams AI library and Teams Toolkit | Build a custom engine agent |
2. | Elevate your conventional bot built with Bot framework adapter to use AI | Elevate your conventional bot to use AI |
3. | Migrate your bot built with Bot framework to use Teams AI Library | Migrate your bot to use Teams AI library |
Next step
Choose one of the following as a next step:
If you want to learn more about Teams AI library, select the following:
What is Teams AI library?
If you want to learn about the core capabilities of Teams AI library, select the following:
Understand Teams AI library
If you want to learn more about developing a bot app, select the following:
Understand bot concepts
See also
Platform Docs