Study working Bot Framework SDK code examples in your language of choice to learn how bots handle conversation state
Copy a sample as a starting point for a bot that sends welcome messages, handles file attachments, or runs an auth flow
Understand how multi-step conversations and dialog flows work before starting a real bot project
Follow Microsoft's migration guidance to move an existing Bot Framework bot to the newer Microsoft 365 Agents SDK
This repository is archived and no longer maintained, Microsoft recommends migrating to the Microsoft 365 Agents SDK instead.
BotBuilder-Samples is a collection of example projects for Microsoft's Bot Framework SDK, which is a toolkit for building chat bots and conversational applications. The samples are organized by topic and each one demonstrates a specific capability, such as sending welcome messages, using buttons and cards, handling file attachments, managing conversation state, or connecting to a language understanding service. Each sample is available in three programming languages: C#, JavaScript and TypeScript, and Python. This means developers can study the same concept in whichever language they work with. The samples range from a simple echo bot that just repeats back what the user types, to more complex examples involving multi-step conversations, authentication flows, and connecting to external services like question answering systems. The Bot Framework SDK itself handles the underlying plumbing of a chat bot, including receiving messages from channels like Microsoft Teams or a web chat widget, managing conversational state across multiple turns, and sending responses. The samples show how to use these features in practice. This repository is archived and is no longer being updated or maintained. Microsoft announced the archive as of late 2025 and directed developers to a newer project called the Microsoft 365 Agents SDK, which is the current supported path for building conversational agents. Existing bots built with the Bot Framework SDK can be migrated to the Agents SDK using migration guidance Microsoft published separately. Support tickets for the Bot Framework SDK stopped being serviced at the end of December 2025.
← microsoft on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.